Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikweb
Commits
b099ddac
Commit
b099ddac
authored
Aug 29, 2013
by
Simon Daron
Browse files
Add some debug style
parent
18c807d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/css/general.css
View file @
b099ddac
...
...
@@ -9,6 +9,14 @@ body {
/*padding: 0px 10px;*/
clear
:
both
;
}
code
,
pre
{
display
:
block
;
overflow
:
auto
;
padding
:
0.5em
;
background
:
black
!important
;
color
:
white
!important
;
font-family
:
monospace
;
}
audio
{
display
:
block
;
width
:
90%
;
...
...
panikweb_templates/static/js/audioPlayer.js
View file @
b099ddac
...
...
@@ -21,7 +21,7 @@
_create
:
function
()
{
// Initialization logic here
self
=
this
;
this
.
debugContainer
=
$
(
'
<
div>
'
);
this
.
debugContainer
=
$
(
'
<
pre>
'
).
hide
(
);
this
.
playlistContainer
=
this
.
options
.
playlistContainer
;
this
.
element
.
addClass
(
this
.
options
.
classes
);
this
.
element
.
append
(
this
.
playlistContainer
);
...
...
@@ -42,12 +42,12 @@
});
this
.
savePlaylist
();
this
.
debugContainer
.
text
(
JSON
.
stringify
(
this
.
playlist
)
JSON
.
stringify
(
this
.
playlist
,
null
,
'
\t
'
)
);
return
this
.
playlist
;
},
savePlaylist
:
function
(){
localStorage
[
'
playlist
'
]
=
JSON
.
stringify
(
this
.
playlist
);
localStorage
[
'
playlist
'
]
=
JSON
.
stringify
(
this
.
playlist
,
null
,
'
\t
'
);
},
loadPlaylist
:
function
(){
this
.
playlist
=
localStorage
[
'
playlist
'
]?
JSON
.
parse
(
localStorage
[
'
playlist
'
]):
this
.
playlist
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment