diff options
author | Christian Pointner <equinox@helsinki.at> | 2014-09-19 23:45:16 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2014-09-19 23:45:16 (GMT) |
commit | be89d5f1957d159df4289494c7cab9722e8dc9a5 (patch) | |
tree | 05891bad7bbe320090d01e0715a1e3cd4bb774de /index.html | |
parent | 59984c7553efdd0bb27eb932cecc07609c112245 (diff) |
renamed listdropboxes to listshows
loading show list
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 25 |
1 files changed, 18 insertions, 7 deletions
@@ -42,6 +42,17 @@ $('#alertbox').html('<div class="alert alert-info"><a class="close" data-dismiss="alert" href="#">×</a><h4 class="alert-heading">' + heading + '</h4>' + message + '</div>'); } + function updateShowsList(data, status, req) { + alert(data); + } + + var shows_list = []; + function app_shows_init() { + shows_list = []; + data = { LOGIN_NAME: username, PASSWORD: token }; + $.post("/listshows.cgi", data, updateShowsList, "xml") + } + function selectApp(app) { switch(app) { case "musicpools": @@ -56,6 +67,7 @@ $('#app-musicpools').hide(); $('#nav-btn-musicpools').removeClass('active'); app = 'shows'; + app_shows_init(); } sessionStorage.setItem("app", app); } @@ -178,8 +190,7 @@ <div class="span10"> <form class="well form-inline"> <label class="control-label" for="select-dropbox"><h3>Sendung auswählen</h3></label> - <select id="select-dropbox"> - <option>Democracy Now!</option> + <select id="show-selector"> </select> </form> </div> @@ -192,22 +203,22 @@ </div> <div class="row-fluid"> <div class="span12"> - <h2 id="show-title">Democracy Now!</h2> + <h2 id="show-title"></h2> </div> </div> <div class="row-fluid" id="show-details"> <div class="span2"> </div> <div class="span2"> - <strong>Tag:</strong> <span id="show-day">Dienstag</span> + <strong>Tag:</strong> <span id="show-dow"></span> </div> <div class="span2"> - <strong>Rythmus:</strong> <span id="show-rhythm">wöchentlich</span> + <strong>Rythmus:</strong> <span id="show-rhythm"></span> </div> <div class="span2"> - <strong>Startzeit:</strong> <span id="show-starttime">00:00</span> + <strong>Startzeit:</strong> <span id="show-starttime"></span> </div> <div class="span2"> - <strong>Dauer:</strong> <span id="show-length">30 Minuten</span> + <strong>Dauer:</strong> <span id="show-length"></span> </div> <div class="span2"> </div> </div> |