forked from 0x2620/pandora
use Ox.localStorage
This commit is contained in:
parent
691b1e98cc
commit
90a36cfa17
5 changed files with 22 additions and 20 deletions
|
|
@ -47,6 +47,7 @@ class Command(BaseCommand):
|
|||
for s in models.Stream.objects.exclude(format=format, resolution=resolution).filter(source=None):
|
||||
s.source = models.Stream.objects.get(file=s.file, resolution=resolution, format=format)
|
||||
s.save()
|
||||
print "update streams"
|
||||
for s in models.Stream.objects.filter(source=None):
|
||||
if not glob("%s*"%s.timeline_prefix):
|
||||
s.make_timeline()
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
<meta name="application-url" content="{{base_url}}"/>
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="{{settings.SITENAME}}" />
|
||||
<script>
|
||||
if (localStorage && !localStorage.OxTheme)
|
||||
localStorage.OxTheme = '{{settings.CONFIG.user.ui.theme}}';
|
||||
if (localStorage && !localStorage['Ox.theme'])
|
||||
localStorage['Ox.theme'] = '"{{settings.CONFIG.user.ui.theme}}"';
|
||||
</script>
|
||||
<script type="text/javascript" src="/static/oxjs/build/Ox.js"></script>
|
||||
<script type="text/javascript" src="/static/js/pandora.js"></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue