diff options
author | Johannes Raggam <raggam-nl@adm.at> | 2011-05-26 11:29:24 (GMT) |
---|---|---|
committer | Johannes Raggam <raggam-nl@adm.at> | 2011-05-26 11:29:24 (GMT) |
commit | b8c4d41508a0dd1c0019e8cb6e699d276c9d9882 (patch) | |
tree | ced834222557d99989e9f2dfc0145ad7b70959ea /nop/templates/nop_form.html | |
parent | 91d616f78490860fbbb40f25227e5c082f8be497 (diff) |
move nop_form one level up
Diffstat (limited to 'nop/templates/nop_form.html')
-rw-r--r-- | nop/templates/nop_form.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/nop/templates/nop_form.html b/nop/templates/nop_form.html new file mode 100644 index 0000000..e4efcd9 --- /dev/null +++ b/nop/templates/nop_form.html @@ -0,0 +1,51 @@ +<html> +<head> + <title>Now Playing — Radio Helsinki - Freies Radio Graz</title> + <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script> + <script type="text/javascript" src="http://cdn.jquerytools.org/1.2.5/form/jquery.tools.min.js"></script> + <link rel="stylesheet" type="text/css" href="http://static.flowplayer.org/tools/demos/dateinput/css/skin1.css"/> + + <script type="text/javascript" src="http://www.ama3.com/anytime/AnyTime/anytimec.js"></script> + <link rel="stylesheet" type="text/css" href="http://www.ama3.com/anytime/AnyTime/anytimec.css"/> + + <script type="text/javascript"><!-- + $(document).ready(function() { + $("#nop_date").dateinput({ + format: 'yyyy-mm-dd', + firstDay: 1 + }); + $("#nop_time").AnyTime_picker({ + format: "%H:%i", + labelTitle: "Zeit", + labelHour: "Stunde", + labelMinute: "Minute" + }); + }); + --></script> + +</head> +<body> + + <div id="content-main" class="show-detail"> + <form action="" method="post">{% csrf_token %} + {{ form.as_table }} + <input type="submit" value="senden" /> + </form> + + {% if nowplaying %} + <ul> + {% for track in nowplaying %} + <li> + <small>{{track.datetime}}:</small> + <strong>{{track.artist}}</strong> - + {{track.title}} - + {{track.album}} + in der Sendung <em>{{track.showtitle}}</em> + </li> + {% endfor %} + </ul> + {% endif %} + </div> + +</body> +</html> |