Changeset 74a669d
- Timestamp:
- 04/02/12 11:13:54 (14 months ago)
- Branches:
- social
- Children:
- d928813
- Parents:
- ddaaf4c (diff), 47b7698 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- yomguy <yomguy@…> (04/02/12 11:13:54)
- git-committer:
- yomguy <yomguy@…> (04/02/12 11:13:54)
- Files:
-
- 1 added
- 4 edited
-
example/sandbox_sqlite/settings.py (modified) (2 diffs)
-
telemeta/htdocs/css/telemeta.css (modified) (13 diffs)
-
telemeta/templates/telemeta/mediaitem_player_simple.html (added)
-
telemeta/urls.py (modified) (1 diff)
-
telemeta/templates/telemeta/base.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
example/sandbox_sqlite/settings.py
rda3dd5d r74a669d 62 62 MEDIA_URL = '/media/' 63 63 64 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a 65 # trailing slash. 66 # Examples: "http://foo.com/media/", "/media/". 67 ADMIN_MEDIA_PREFIX = 'http://localhost/django/media/' 64 # Absolute path to the directory static files should be collected to. 65 # Don't put anything in this directory yourself; store your static files 66 # in apps' "static/" subdirectories and in STATICFILES_DIRS. 67 # Example: "/home/media/media.lawrence.com/static/" 68 STATIC_ROOT = '/data/telemeta/static/' 68 69 70 # URL prefix for static files. 71 # Example: "http://media.lawrence.com/static/" 72 STATIC_URL = '/static/' 73 74 # Additional locations of static files 75 STATICFILES_DIRS = ( 76 # Put strings here, like "/home/html/static" or "C:/www/django/static". 77 # Always use forward slashes, even on Windows. 78 # Don't forget to use absolute paths, not relative paths. 79 ) 80 81 # List of finder classes that know how to find static files in 82 # various locations. 83 STATICFILES_FINDERS = ( 84 'django.contrib.staticfiles.finders.FileSystemFinder', 85 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 86 # 'django.contrib.staticfiles.finders.DefaultStorageFinder', 87 ) 69 88 # Make this unique, and don't share it with anybody. 70 89 SECRET_KEY = 'a8l7%06wr2k+3=%#*#@#rvop2mmzko)44%7k(zx%lls^ihm9^5' … … 106 125 'django.contrib.messages', 107 126 'django.contrib.admin', 127 'django.contrib.staticfiles', 108 128 'django_extensions', 109 129 'telemeta', -
telemeta/htdocs/css/telemeta.css
r8a5b1b5 r47b7698 88 88 font-weight: bold; 89 89 display: inline; 90 font-size: 120%; 90 font-size: 120%; 91 91 } 92 92 #content h3 { … … 168 168 169 169 #collection_player { 170 background: transparent; 170 background: transparent; 171 171 /* background-image: url(../images/grid_bg.png); */ 172 172 } 173 173 174 174 #collection_player .title { 175 padding: 2px 5px 7px 5px; 175 padding: 2px 5px 7px 5px; 176 176 } 177 177 … … 208 208 width: 100%; 209 209 } 210 210 211 211 212 212 .analyzer-title { … … 477 477 478 478 /* Drop Down Menus */ 479 .clear {clear:both} 479 .clear {clear:both} 480 480 481 481 #nav { … … 483 483 padding:0; 484 484 list-style:none; 485 } 485 } 486 486 487 487 /* make the LI display inline */ … … 490 490 491 491 #nav li { 492 display:inline-block; 492 display:inline-block; 493 493 position:relative; 494 494 z-index:500; 495 495 } 496 496 497 497 /* this is the parent menu */ 498 498 #nav li a { … … 520 520 color: #FFF; 521 521 } 522 522 523 523 #nav ul li { 524 524 width:100px; … … 526 526 border-bottom:0px solid #fff; 527 527 } 528 528 529 529 /* display block will make the link fill the whole area of LI */ 530 530 #nav ul a { 531 display:block; 531 display:block; 532 532 height:15px; 533 533 padding: 5px 5px; … … 542 542 border-bottom-width: 0px; 543 543 } 544 544 545 545 #nav ul a:hover { 546 546 background-color: #FFF ; … … 852 852 853 853 table td.error { 854 color: red; 854 color: red; 855 855 font-weight: bold; 856 856 } 857 857 858 858 .infos li.error{ 859 color: red; 859 color: red; 860 860 font-weight: bold; 861 861 font-size: 110%; … … 919 919 color: #FFF; 920 920 font-size: 1.1em; 921 font-weight: bold; 921 font-weight: bold; 922 922 } 923 923 … … 1077 1077 background-image: url('../images/ok.png'); 1078 1078 } 1079 .markerdiv{ 1079 .markerdiv{ 1080 1080 border: 1px solid #aaaaaa; 1081 1081 margin-bottom: 1ex; … … 1138 1138 1139 1139 .icon_edit{ 1140 background-image: url('../images/edit_page.png'); 1140 background-image: url('../images/edit_page.png'); 1141 1141 } 1142 1142 .icon_copy{ -
telemeta/urls.py
r8a5b1b5 r47b7698 113 113 url(r'^archives/items/(?P<public_id>[A-Za-z0-9._-]+)/player/(?P<width>[0-9]+)x(?P<height>[0-9]+)/$', item_view.item_detail, 114 114 dict(template='telemeta/mediaitem_player.html'), name="telemeta-item-player"), 115 url(r'^archives/items/(?P<public_id>[A-Za-z0-9._-]+)/player/(?P<width>[0-9]+)x(?P<height>[0-9]+)/simple/$', item_view.item_detail, 116 dict(template='telemeta/mediaitem_player_simple.html'), name="telemeta-item-player-simple"), 115 117 url(r'^archives/items/(?P<public_id>[A-Za-z0-9._-]+)/performances/$', item_view.item_performances_edit, 116 118 dict(template='telemeta/mediaitem_performances_edit.html'), name="telemeta-item-performances_edit"), -
telemeta/templates/telemeta/base.html
r8a5b1b5 rddaaf4c 64 64 <img src="{% url telemeta-images "logout.png" %}" alt="logout" style="vertical-align:middle" /></a> 65 65 {% else %} 66 <div style="float: left;"> 66 67 <a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a> | 67 68 <a href="{% url telemeta-login %}?next={{ request.path|urlencode }}">{% trans "Sign in" %}</a> 69 </div> 70 <div style="float: right;;"> 71 {% load facebook %} 72 {% facebook_button %} 73 </div> 68 74 {% endif %} 69 75 </div>
Note: See TracChangeset
for help on using the changeset viewer.
