Changeset 7bd661 in indico
- Timestamp:
- 04/12/10 15:54:11 (3 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, new-webex, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 4c7d4152dff271ba5df5a8606605969cab454080
- Children:
- bebabe
- Parents:
- ccf519
- git-author:
- Jose Benito <jose.benito.gonzalez@…> (04/12/10 15:01:07)
- git-committer:
- Jose Benito <jose.benito.gonzalez@…> (04/12/10 15:54:11)
- Location:
- indico
- Files:
-
- 6 edited
-
MaKaC/po/locale/fr_FR/LC_MESSAGES/messages.po (modified) (1 diff)
-
MaKaC/webinterface/pages/category.py (modified) (1 diff)
-
MaKaC/webinterface/tpls/CategoryOverview.tpl (modified) (4 diffs)
-
htdocs/css/Default.css (modified) (1 diff)
-
htdocs/css/calendar-blue.css (modified) (7 diffs)
-
htdocs/js/calendar/calendar-setup.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/po/locale/fr_FR/LC_MESSAGES/messages.po
r962f8e r7bd661 321 321 322 322 #: /home/pferreir/indico/cds-indico/indico/MaKaC/webinterface/tpls/CategoryOverview.tpl:26 323 msgid "Detail slevel"323 msgid "Detail level" 324 324 msgstr "Niveau de détails" 325 325 -
indico/MaKaC/webinterface/pages/category.py
r2e1528 r7bd661 801 801 categ=cm.getById(str(icon)) 802 802 otherOW = self._ow.getOverviewOtherCateg(categ) 803 a=(""" <a href="%s" style="font-size: 1.0em;"><img src="%s" width="16" height="16" border="0" alt="category"> %s</a> <BR>""" %(\803 a=(""" <a href="%s" style="font-size: 1.0em;"><img src="%s" width="16" height="16" border="0"> %s</a> <br/>""" %(\ 804 804 vars["categOverviewURLGen"]( otherOW ),\ 805 805 urlHandlers.UHCategoryIcon.getURL(categ),\ -
indico/MaKaC/webinterface/tpls/CategoryOverview.tpl
rccf519 r7bd661 1 <div class="container" >1 <div class="container" style="overflow: visible; margin:15px;"> 2 2 <div class="categoryHeader"> 3 3 <ul> 4 4 <li><a href="<%= categDisplayURL %>"><%= _("Go back to category page") %></a></li> 5 5 </ul> 6 <h1 class="categoryTitle" style="margin-bottom: 0; border: none;">6 <h1 class="categoryTitle"> 7 7 <%= categoryTitle %> 8 8 <span style="font-style: italic; font-size: 0.8em;">(<%= _("events overview") %>)</span> 9 9 </h1> 10 10 </div> 11 12 <!-- old version of an overeview with vertical options bar13 <div class="topBar">14 <div class="content"">15 16 <form action="%(postURL)s" id="optionsForm" method="GET">17 <h1 style="display: inline; padding-right: 50px;"><%= _("Display options") %></h1>18 19 %(locator)s20 21 <%= _("Period")%>: 22 <select name="period" style="margin-right: 30px; font-size: 10pt; min-width: 70px;">23 <option value="day" %(selDay)s> <%= _("day")%></option>24 <option value="week" %(selWeek)s> <%= _("week")%></option>25 <option value="month" %(selMonth)s> <%= _("month")%></option>26 </select>27 <%= _("Details level")%>: <span><select name="detail" style="margin-right: 30px; font-size: 10pt; min-width: 70px;">28 %(detailLevelOpts)s29 </select></span>30 <%= _("Date")%>: 31 <span id="datePlace" style="margin-right: 30px; font-size: 10pt;"></span>32 <input type="hidden" id="day" name="day" value="<%= day %>" />33 <input type="hidden" id="month" name="month" value="<%= month %>" />34 <input type="hidden" id="year" name="year" value="<%= year %>" />35 36 <input type="submit" class="btn" value="<%= _("apply")%>" >37 38 </form>39 <% if key: %>40 <div style="display: none;">41 <h1><%= _("Legend") %></h1>42 <div style="margin: 10px 0 30px 10px;">%(key)s</div>43 </div>44 <% end %>45 </div>46 </div>47 48 <div>49 50 <div class="categoryOverview">51 %(overview)s52 </div>53 </div>54 55 </div>56 -->57 11 <table width = "100%%" cellSpacing = 3 cellPadding = 2> 58 12 <tbody> 59 13 <tr> 60 14 <td valign="top"> 61 <table width = "100%%">15 <table> 62 16 <tr><td height = 15></td></tr> 63 17 <tr><td width = "100%%" valign = "top"> 64 <div style="margin-top: 30px; float: none; width: 100%%" class="sideBar clearfix">18 <div style="margin-top: 10px; float: none; width: 100%%" class="sideBar clearfix"> 65 19 <div class="leftCorner"></div> 66 20 <div class="rightCorner"></div> 67 <div class="content" ">21 <div class="content" style="padding-right:10px;padding-left:10px;"> 68 22 69 23 <form action="%(postURL)s" id="optionsForm" name="optionsForm" method="GET"> 70 <h1 style="display: inline; padding-right: 50px;"><%= _("Display options") %></h1><br>24 %(locator)s 71 25 72 %(locator)s<br> 26 <span id="calendar-container" style="width:0px"></span> 27 <input type="hidden" id="dateContainer" name="dateContainer" value="<%= "%s/%s/%s"%(day, month, year)%>"/> 28 <input type="hidden" id="day" name="day" value="<%= day %>" /> 29 <input type="hidden" id="month" name="month" value="<%= month %>" /> 30 <input type="hidden" id="year" name="year" value="<%= year %>" /><br /> 73 31 74 <%= _("Period")%>:<br> 75 <select name="period" onchange="javascript:submitForm()" style="margin-right: 30px; font-size: 10pt; min-width: 100%%; margin-bottom: 10px"> 32 <h1 style="padding-bottom:5px;"><%= _("Display options") %>:</h1> 33 <table cellpadding="0" cellspacing="0" style="width:100%%"> 34 <tr> 35 <td><%= _("Period")%>:</td> 36 <td><select name="period"> 76 37 <option value="day" %(selDay)s> <%= _("day")%></option> 77 38 <option value="week" %(selWeek)s> <%= _("week")%></option> 78 39 <option value="month" %(selMonth)s> <%= _("month")%></option> 79 </select>< br>80 <%= _("Details level")%>:<br> <span><select name="detail" onchange="javascript:submitForm()" style="margin-right: 30px; font-size: 10pt; min-width: 100%%; margin-bottom: 10px">81 %(detailLevelOpts)s82 < /select></span><br>83 <%= _("Date")%>:<br>84 <span id="calendar-container"></span>85 < input type="hidden" id="dateContainer" name="dateContainer" />86 <input type="hidden" id="day" name="day" value="<%= day %>" />87 <input type="hidden" id="month" name="month" value="<%= month %>" />88 <input type="hidden" id="year" name="year" value="<%= year %>" />40 </select></td> 41 </tr> 42 <tr> 43 <td><%= _("Detail level")%>:</td> 44 <td><select name="detail"> 45 <%= detailLevelOpts %> 46 </select></td> 47 </tr> 48 </table> 49 <span id="applyButtonWrapper"><input type="button" value="<%= _("Apply") %>" onclick="javascript:buttonSubmitForm();" /></span> 89 50 90 51 </form> 91 52 <% if key: %> 92 53 <br><h1><%= _("Legend") %>:</h1> 93 <div style="margin: 10px 0 30px 10px; ">%(key)s</div>54 <div style="margin: 10px 0 30px 10px;width:180px;">%(key)s</div> 94 55 <% end %> 95 56 </div> … … 99 60 </td> 100 61 <td valign = "top"> 101 <div> 102 103 <div class="categoryOverview"> 104 %(overview)s 105 </div> 62 <div class="categoryOverview"> 63 %(overview)s 106 64 </div> 107 65 </td> … … 112 70 113 71 <script type="text/javascript"> 72 73 function buttonSubmitForm() { 74 var applyButtonWrapper = $E("applyButtonWrapper"); 75 applyButtonWrapper.set(progressIndicator(true, false)); 76 setTimeout(function(){ 77 submitForm(); 78 }, 30); 79 80 } 114 81 115 82 function submitForm() … … 129 96 130 97 Calendar.setup({ 98 inputField: $E("dateContainer").dom, 99 ifFormat: IndicoDateTimeFormats.DefaultHourless, 131 100 flat : "calendar-container", 132 101 flatCallback : dateChanged -
indico/htdocs/css/Default.css
r5997aa r7bd661 281 281 282 282 .categoryOverview { 283 margin-top: 20px;283 margin-top: 0px; 284 284 } 285 285 -
indico/htdocs/css/calendar-blue.css
rccf519 r7bd661 35 35 border: 1px solid #888888; 36 36 padding: 1px; 37 width: 183px; 37 38 } 38 39 … … 83 84 .calendar thead .name { /* Cells <TD> containing the day names */ 84 85 border-bottom: 1px solid #AAA; 85 padding: 4px ;86 padding: 4px 2px; 86 87 text-align: center; 87 88 color: #000; … … 97 98 border: 1px solid #AAA; 98 99 border-top: none; 99 padding: 3px;100 padding: 1px; 100 101 } 101 102 … … 111 112 color: black; 112 113 text-align: right; 113 padding: 3px 4px;114 padding: 3px 2px; 114 115 } 115 116 .calendar tbody .day.othermonth { … … 138 139 .calendar tbody td.hilite { /* Hovered cells <TD> */ 139 140 background: #EED79A; 140 padding: 1px 3px 1px 1px;141 padding: 1px 1px 1px 1px; 141 142 border: 1px solid #AAA; 142 143 } … … 149 150 .calendar tbody td.selected { /* Cell showing today date */ 150 151 font-weight: bold; 151 padding: 1px 3px 1px 1px;152 padding: 1px 1px 1px 1px; 152 153 background: #fff; 153 154 color: #000; … … 262 263 padding: 0px 2px 0px 3px; 263 264 font-weight: bold; 265 display: None; 264 266 } 265 267 -
indico/htdocs/js/calendar/calendar-setup.js
r9033fd r7bd661 60 60 * saying "nothing to setup". 61 61 */ 62 62 63 63 // ** I18N 64 64 … … 188 188 Calendar._TT["WK"] = $T("wk"); 189 189 Calendar._TT["TIME"] = $T("Time:"); 190 190 191 191 Calendar.setup = function (params) { 192 192 function param_default(pname, def) { if (typeof params[pname] == "undefined") { params[pname] = def; } }; … … 275 275 cal.setDateFormat(params.ifFormat); 276 276 } 277 cal.create(params.flat); 277 278 if (params.inputField && typeof params.inputField.value == "string") { 278 279 cal.parseDate(params.inputField.value); 279 280 } 280 cal.create(params.flat);281 281 cal.show(); 282 282 return false;
Note: See TracChangeset
for help on using the changeset viewer.
