hello-world-walkthroughipv6v0.98-seriesv0.98.2v0.98.3v0.99v1.0v1.1
|
Last change
on this file since 420aab was
420aab,
checked in by Pedro Ferreira <jose.pedro.ferreira@…>, 16 months ago
|
|
[FIX] Don't activate undo in display mode
|
-
Property mode set to
100644
|
|
File size:
995 bytes
|
| Line | |
|---|
| 1 | <div class="groupTitleNoBorder">${ _("Timetable")} <em>(${ _("from") } ${ start_date } ${ _("to") } ${ end_date } <a href=${ editURL }>[${_("edit")}]</a> ${_("Timezone")}: ${ timezone })</em></div> |
|---|
| 2 | |
|---|
| 3 | <div id="timetableDiv" style="position: relative;" data-mode="management"> |
|---|
| 4 | |
|---|
| 5 | <div class="timetablePreLoading" style="width: 700px; height: 300px;"> |
|---|
| 6 | <div class="text" style="padding-top: 200px;"> ${ _("Building timetable...") }</div> |
|---|
| 7 | </div> |
|---|
| 8 | |
|---|
| 9 | <div class="clearfix"></div> |
|---|
| 10 | |
|---|
| 11 | <script type="text/javascript"> |
|---|
| 12 | var ttdata = ${ str(ttdata) }; |
|---|
| 13 | var eventInfo = ${ eventInfo }; |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | //Variables used to resize the timetable. |
|---|
| 17 | var widthOffset = 300; |
|---|
| 18 | var historyBroker = new BrowserHistoryBroker(); |
|---|
| 19 | var timetable = new TopLevelManagementTimeTable(ttdata, eventInfo, document.body.clientWidth - widthOffset,$E('timetableDiv'), false, historyBroker, false, ${ customLinks }); |
|---|
| 20 | |
|---|
| 21 | IndicoUI.executeOnLoad(function(){ |
|---|
| 22 | |
|---|
| 23 | $E('timetableDiv').set(timetable.draw()); |
|---|
| 24 | timetable.postDraw(); |
|---|
| 25 | |
|---|
| 26 | }); |
|---|
| 27 | </script> |
|---|
Note: See
TracBrowser
for help on using the repository browser.