Changeset 1a3173 in indico
- Timestamp:
- 12/01/11 13:38:18 (18 months ago)
- Branches:
- master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
- Children:
- 04f83e
- Parents:
- 71a6b7
- git-author:
- Adrian Moennich <jerome.ernst.monnich@…> (11/09/11 12:39:11)
- git-committer:
- Pedro Ferreira <jose.pedro.ferreira@…> (12/01/11 13:38:18)
- Files:
-
- 7 added
- 5 deleted
- 10 edited
-
etc/js/jquery.cfg (modified) (1 diff)
-
indico/MaKaC/common/Configuration.py (modified) (1 diff)
-
indico/MaKaC/webinterface/pages/base.py (modified) (1 diff)
-
indico/MaKaC/webinterface/pages/conferences.py (modified) (2 diffs)
-
indico/MaKaC/webinterface/pages/roomBooking.py (modified) (3 diffs)
-
indico/MaKaC/webinterface/pages/sessions.py (modified) (1 diff)
-
indico/MaKaC/webinterface/tpls/HTMLHeader.tpl (modified) (1 diff)
-
indico/htdocs/css/jquery.colorbox.css (added)
-
indico/htdocs/images/colorbox/border.png (added)
-
indico/htdocs/images/colorbox/controls.png (added)
-
indico/htdocs/images/colorbox/loading.gif (added)
-
indico/htdocs/images/colorbox/loading_background.png (added)
-
indico/htdocs/images/colorbox/overlay.png (added)
-
indico/htdocs/js/indico/Management/Timetable.js (modified) (3 diffs)
-
indico/htdocs/js/indico/jquery/defaults.js (modified) (1 diff)
-
indico/htdocs/js/indico/jquery/global.js (modified) (1 diff)
-
indico/htdocs/js/jquery/jquery.colorbox.js (added)
-
indico/htdocs/js/lightbox/close.gif (deleted)
-
indico/htdocs/js/lightbox/lightbox.css (deleted)
-
indico/htdocs/js/lightbox/lightbox.js (deleted)
-
indico/htdocs/js/lightbox/loading.gif (deleted)
-
indico/htdocs/js/lightbox/overlay.png (deleted)
Legend:
- Unmodified
- Added
- Removed
-
etc/js/jquery.cfg
ra3a8d9 r1a3173 3 3 first= 4 4 underscore.js 5 jquery.js6 jquery-ui.js7 jquery.form.js8 jquery.custom.js9 jquery.daterange.js10 jquery.form.js5 jquery.js 6 jquery-ui.js 7 jquery.form.js 8 jquery.custom.js 9 jquery.daterange.js 10 jquery.form.js 11 11 jquery.qtip.js 12 jquery.dttbutton.js 12 jquery.dttbutton.js 13 jquery.colorbox.js -
indico/MaKaC/common/Configuration.py
rfd562d r1a3173 490 490 'accessCredentials': ('CN=user,OU=Users,' 491 491 'DC=example,DC=com', 492 'secret_password')}, 493 # Room Booking Related 494 'LightboxCssStylesheetName' : "lightbox/lightbox.css", 495 'LightboxJavascriptName' : "lightbox/lightbox.js" 492 'secret_password')} 496 493 } 497 494 -
indico/MaKaC/webinterface/pages/base.py
rc1707f r1a3173 57 57 info = HelperMaKaCInfo().getMaKaCInfoInstance() 58 58 files = ['underscore', 'jquery', 'jquery-ui', 'jquery.form', 'jquery.custom', 59 'jquery.daterange', 'jquery.qtip', 'jquery.dttbutton' ]59 'jquery.daterange', 'jquery.qtip', 'jquery.dttbutton', 'jquery.colorbox'] 60 60 if info.isDebugActive(): 61 61 # We can't use Loader.js as jQuery is included before any indico js -
indico/MaKaC/webinterface/pages/conferences.py
r76da7d r1a3173 2633 2633 pluginCSSFiles = {"paths" : []} 2634 2634 self._notify("includeTimetableCSSFiles", pluginCSSFiles) 2635 cssPaths = ".".join(["""<link rel="stylesheet" href="%s/%s">"""%(baseurl,path) for path in pluginCSSFiles['paths']]) 2636 return """ 2637 <!-- Lightbox --> 2638 <link rel="stylesheet" href="%s/js/lightbox/lightbox.css"> <!--lightbox.css--> 2639 <script type="text/javascript" src="%s/js/lightbox/lightbox.js"></script> 2640 """ % ( baseurl, baseurl) + cssPaths 2635 return ".".join(["""<link rel="stylesheet" href="%s/%s">"""%(baseurl,path) for path in pluginCSSFiles['paths']]) 2641 2636 2642 2637 def _getPageContent(self, params): … … 10528 10523 baseurl = self._getBaseURL() 10529 10524 return """ 10530 <!-- Lightbox -->10531 <link rel="stylesheet" href="%s/js/lightbox/lightbox.css"> <!--lightbox.css-->10532 <script type="text/javascript" src="%s/js/lightbox/lightbox.js"></script>10533 10534 10525 <!-- Our libs --> 10535 10526 <script type="text/javascript" src="%s/js/indico/Legacy/validation.js"></script> 10536 10527 10537 """ % ( baseurl, baseurl, baseurl)10528 """ % (baseurl) 10538 10529 10539 10530 def _setActiveSideMenuItem(self): -
indico/MaKaC/webinterface/pages/roomBooking.py
r18c3cb r1a3173 50 50 # conf = Config.getInstance() 51 51 # return """ 52 # <!-- Lightbox -->53 # <link rel="stylesheet" href="%s/js/lightbox/lightbox.css"> <!--lightbox.css-->54 # <script type="text/javascript" src="%s/js/lightbox/lightbox.js"></script>55 #56 52 # <!-- Our libs --> 57 53 # <script type="text/javascript" src="%s/js/indico/validation.js"></script> … … 61 57 # <script type="text/javascript" src="%s"></script> 62 58 # <script type="text/javascript" src="%s"></script> 63 # """ % ( baseurl, baseurl,baseurl, baseurl, urlHandlers.UHJavascriptCalendar.getURL(),64 # urlHandlers.UHJavascriptCalendarSetup.getURL() )59 # """ % (baseurl, baseurl, urlHandlers.UHJavascriptCalendar.getURL(), 60 # urlHandlers.UHJavascriptCalendarSetup.getURL()) 65 61 66 62 … … 90 86 baseurl = self._getBaseURL() 91 87 return """ 92 <!-- Lightbox -->93 <link rel="stylesheet" href="%s/js/lightbox/lightbox.css"> <!--lightbox.css-->94 <script type="text/javascript" src="%s/js/lightbox/lightbox.js"></script>95 96 88 <!-- Our libs --> 97 89 <script type="text/javascript" src="%s/js/indico/Legacy/validation.js"></script> 98 """ % ( baseurl, baseurl,baseurl)90 """ % (baseurl) 99 91 100 92 def _getSideMenu(self): -
indico/MaKaC/webinterface/pages/sessions.py
r250e54 r1a3173 1411 1411 return WPConfModifScheduleGraphic.getJSFiles(self) 1412 1412 1413 def _getHeadContent( self ):1414 1415 baseurl = self._getBaseURL()1416 return """1417 <!-- Lightbox -->1418 <link rel="stylesheet" href="%s/js/lightbox/lightbox.css"> <!--lightbox.css-->1419 <script type="text/javascript" src="%s/js/lightbox/lightbox.js"></script>1420 """ % ( baseurl, baseurl)1421 1422 1413 def _generateTimetable(self): 1423 1414 -
indico/MaKaC/webinterface/tpls/HTMLHeader.tpl
rf871ad r1a3173 10 10 <link rel="stylesheet" type="text/css" href="${ baseurl }/css/jquery-ui.css"> 11 11 <link rel="stylesheet" type="text/css" href="${ baseurl }/css/jquery.qtip.css"> 12 <link rel="stylesheet" type="text/css" href="${ baseurl }/css/jquery.colorbox.css"> 12 13 <link rel="stylesheet" type="text/css" href="${ baseurl }/css/jquery-ui-custom.css"> 13 14 -
indico/htdocs/js/indico/Management/Timetable.js
r16947b r1a3173 1240 1240 1241 1241 var startTimeRescheduleRB = Html.radio({name:"rescheduleAction", id:"startTimeRescheduleRB", style:{verticalAlign: "middle"}}); 1242 var startTimeRescheduleExample = Html.a({href: Indico.Urls.ImagesBase + '/resched_ex_1.png', title: 'Starting Time Example'}, $T("See an example")); 1243 $(startTimeRescheduleExample.dom).colorbox(); 1242 1244 var startTimeRescheduleLabel = Html.label({style: {fontWeight: "normal"}}, 1243 1245 Html.div("rescheduleLabelTitle", $T("Adjust starting time of all entries")), … … 1251 1253 $T("The first entry will start when the interval starts (") + this.tt.contextInfo.startDate.time.slice(0,5) + "), " , 1252 1254 $T("and the other entries will follow consecutively after it. The durations of the entries will not change. "), 1253 Html.a({href: Indico.Urls.ImagesBase + '/resched_ex_1.png', rel: 'lightbox', title: 'Starting Time Example', onclick: "showLightbox(this); return false;"}, $T("See an example"))));1255 startTimeRescheduleExample)); 1254 1256 1255 1257 startTimeRescheduleLabel.dom.htmlFor = "startTimeRescheduleRB"; 1256 1258 1257 1259 var durationRescheduleRB = Html.radio({name:"rescheduleAction", id:"durationRescheduleRB", style:{verticalAlign: "middle"}}); 1260 var durationRescheduleExample = Html.a({href: Indico.Urls.ImagesBase + '/resched_ex_2.png', title: 'Duration Example'}, $T("See an example")); 1261 $(durationRescheduleExample.dom).colorbox(); 1258 1262 var durationRescheduleLabel = Html.label({style: {fontWeight: "normal"}}, 1259 1263 Html.div("rescheduleLabelTitle", $T("Adjust duration of all entries")), … … 1266 1270 "If a time gap is specified, the duration will be extended up to the value of " + 1267 1271 "this time gap before the starting time of the next entry. "), 1268 Html.a({href: Indico.Urls.ImagesBase + '/resched_ex_2.png', rel: 'lightbox', title: 'Duration Example', onclick: "showLightbox(this); return false;"}, $T("See an example"))));1272 durationRescheduleExample)); 1269 1273 1270 1274 durationRescheduleLabel.dom.htmlFor = "durationRescheduleRB"; -
indico/htdocs/js/indico/jquery/defaults.js
rc1707f r1a3173 10 10 style: {tip: {corner: true}} 11 11 }); 12 13 $.extend($.colorbox.settings, { 14 opacity: 0.6 15 }); -
indico/htdocs/js/indico/jquery/global.js
r71a6b7 r1a3173 25 25 } 26 26 }); 27 28 // Enable colorbox for links with rel="lightbox" 29 $('a[rel="lightbox"]').colorbox(); 27 30 });
Note: See TracChangeset
for help on using the changeset viewer.
