# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = '/media/'
-# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
-# trailing slash.
-# Examples: "http://foo.com/media/", "/media/".
-ADMIN_MEDIA_PREFIX = 'http://localhost/django/media/'
+# Absolute path to the directory static files should be collected to.
+# Don't put anything in this directory yourself; store your static files
+# in apps' "static/" subdirectories and in STATICFILES_DIRS.
+# Example: "/home/media/media.lawrence.com/static/"
+STATIC_ROOT = '/data/telemeta/static/'
+
+# URL prefix for static files.
+# Example: "http://media.lawrence.com/static/"
+STATIC_URL = '/static/'
+
+# Additional locations of static files
+STATICFILES_DIRS = (
+# Put strings here, like "/home/html/static" or "C:/www/django/static".
+# Always use forward slashes, even on Windows.
+# Don't forget to use absolute paths, not relative paths.
+)
+# List of finder classes that know how to find static files in
+# various locations.
+STATICFILES_FINDERS = (
+'django.contrib.staticfiles.finders.FileSystemFinder',
+'django.contrib.staticfiles.finders.AppDirectoriesFinder',
+# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
+)
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'a8l7%06wr2k+3=%#*#@#rvop2mmzko)44%7k(zx%lls^ihm9^5'
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
+ 'django.contrib.staticfiles',
'django_extensions',
'telemeta',
'jsonrpc',
color: #6a0307;
font-weight: bold;
display: inline;
- font-size: 120%;
+ font-size: 120%;
}
#content h3 {
color: #6a0307;
}
#collection_player {
- background: transparent;
+ background: transparent;
/* background-image: url(../images/grid_bg.png); */
}
#collection_player .title {
- padding: 2px 5px 7px 5px;
+ padding: 2px 5px 7px 5px;
}
overflow-y: scroll;
width: 100%;
}
-
+
.analyzer-title {
background-color: #f2f2f2;
/* Drop Down Menus */
-.clear {clear:both}
+.clear {clear:both}
#nav {
margin:0;
padding:0;
list-style:none;
-}
+}
/* make the LI display inline */
/* it's position relative so that position absolute */
/* can be used in submenu */
#nav li {
-display:inline-block;
+display:inline-block;
position:relative;
z-index:500;
}
-
+
/* this is the parent menu */
#nav li a {
display:block;
background-color: #6a0307;
color: #FFF;
}
-
+
#nav ul li {
width:100px;
float:left;
border-bottom:0px solid #fff;
}
-
+
/* display block will make the link fill the whole area of LI */
#nav ul a {
- display:block;
+ display:block;
height:15px;
padding: 5px 5px;
font-size: 11px;
border-top-right-radius: 0px 0px;
border-bottom-width: 0px;
}
-
+
#nav ul a:hover {
background-color: #FFF ;
color: #6a0307 ;
table.listing tbody tr:hover { background: #f7f8fa !important }
table td.error {
- color: red;
+ color: red;
font-weight: bold;
}
.infos li.error{
- color: red;
+ color: red;
font-weight: bold;
font-size: 110%;
}
#module-set .module h3 {
color: #FFF;
font-size: 1.1em;
- font-weight: bold;
+ font-weight: bold;
}
#module-set .module a:hover {
-moz-border-radius: 1ex;-webkit-border-radius: 1ex;border-radius: 1ex;
background-image: url('../images/ok.png');
}
-.markerdiv{
+.markerdiv{
border: 1px solid #aaaaaa;
margin-bottom: 1ex;
-moz-border-radius: 1e;
}
.icon_edit{
- background-image: url('../images/edit_page.png');
+ background-image: url('../images/edit_page.png');
}
.icon_copy{
background-image: url('../images/copy_page.png');
--- /dev/null
+{% extends "telemeta/mediaitem_detail.html" %}
+{% load telemeta_utils %}
+{% load i18n %}
+
+
+{% block stylesheets %}
+{{ block.super }}
+ <style type="text/css">
+ #rightcol {
+ width: {{width}}px;
+ padding: 0px;
+ border: 0px solid #999;
+ background-color: transparent;
+ }
+ .ts-skin-lab .ts-player .ts-wave {
+ height: {{height}}px;
+ }
+ .ts-player {
+ margin-top: 0px;
+ border: 0px solid #999;
+ }
+
+ </style>
+{% endblock %}
+
+{% block title %}{% endblock %}
+{% block title_buttons %}{% endblock %}
+
+{% block layout %}
+{% block content %}
+<div>
+{% if item.file %}
+ {% if public_access or user.is_staff %}
+ <div id="rightcol" style="float: left; padding-bottom:0;">
+ <div id="player_minimized" class="ts-skin-lab">
+ <div class="wazing"></div>
+ <div id="player" class="ts-player">
+ </div>
+ </div>
+
+ </div>
+ {% endif %}
+{% endif %}
+</div>
+
+{% endblock content%}
+{% endblock layout %}
+
+{% block footer %}{% endblock %}
dict(template='telemeta/mediaitem_add.html'), name="telemeta-item-add"),
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,
dict(template='telemeta/mediaitem_player.html'), name="telemeta-item-player"),
+ 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,
+ dict(template='telemeta/mediaitem_player_simple.html'), name="telemeta-item-player-simple"),
url(r'^archives/items/(?P<public_id>[A-Za-z0-9._-]+)/performances/$', item_view.item_performances_edit,
dict(template='telemeta/mediaitem_performances_edit.html'), name="telemeta-item-performances_edit"),
url(r'^archives/items/(?P<public_id>[A-Za-z0-9._-]+)/keywords/$', item_view.item_keywords_edit,