Changeset 13807
- Timestamp:
- 6 Apr 2016, 10:36:01 (9 years ago)
- Location:
- main/waeup.ikoba/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/layout/rules.xml
r12170 r13807 48 48 <replace css:theme-children="ul.ikoba-navbar-right" 49 49 css:content-children="ul.ikoba-navbar-right" /> 50 51 <!-- maintenance mode warning --> 52 <drop css:theme="div.kofa-maintenance" 53 css:if-not-content="div.maintenance-warning" /> 54 <replace css:theme-children="div.maintenance-warning" 55 css:content-children="div.maintenance-warning" /> 50 56 51 57 <!-- breadcrumbs --> -
main/waeup.ikoba/trunk/layout/static/css/base.css
r12986 r13807 32 32 } 33 33 34 .breadcrumb , .wfstatus {34 .breadcrumb , .wfstatus, .maintenance-warning { 35 35 background-color: #fff; 36 36 margin-bottom: 0px; … … 69 69 .ikoba-breadcrumbs-box-short, 70 70 .ikoba-breadcrumbs-box-long, 71 .ikoba-customer-status-box { 71 .kofa-student-status-box, 72 .kofa-maintenance { 72 73 padding: 0px 5px 0px 5px; 73 74 } … … 85 86 .ikoba-breadcrumbs-box-short .well, 86 87 .ikoba-breadcrumbs-box-long .well, 87 .ikoba-customer-status-box .well { 88 .kofa-student-status-box .well, 89 .kofa-maintenance .well { 88 90 padding: 5px 5px 5px 5px; 89 91 } … … 106 108 .ikoba-customer-status-box .well { 107 109 background-color: #909090; 110 } 111 112 .maintenance-warning { 113 text-align: center; 114 } 115 116 .kofa-maintenance .well { 117 background-color: red; 108 118 } 109 119 -
main/waeup.ikoba/trunk/layout/theme.html
r13804 r13807 88 88 89 89 <div class="row"> 90 <div class="col-md-12 container kofa-maintenance"> 91 <div class="well"> 92 <div class="maintenance-warning"> 93 M A I N T E N A N C E M O D E 94 </div> <!-- /maintenance-warning --> 95 </div> <!-- /well --> 96 </div> <!-- /kofa-maintenance --> 97 </div> 98 99 <div class="row"> 90 100 <div class="col-md-12 container ikoba-breadcrumbs-box-long"> 91 101 <div class="well"> … … 113 123 </ol><!-- /ikoba-breadcrumbs --> 114 124 </div> <!-- /well --> 115 </div> <!-- /ikoba-breadcrumbs-box- short-->125 </div> <!-- /ikoba-breadcrumbs-box-long --> 116 126 </div> 117 127 -
main/waeup.ikoba/trunk/src/waeup/ikoba/browser/layout.py
r13066 r13807 247 247 return usertitle != 'Unauthenticated User' 248 248 249 def isMaintenanceMode(self): 250 """Return True if portal is in maintenance mode. 251 """ 252 if grok.getSite()['configuration'].maintmode_enabled_by: 253 return True 254 return False 255 249 256 def getUserTitle(self): 250 257 """Return principal title of current user. -
main/waeup.ikoba/trunk/src/waeup/ikoba/browser/templates/staffsitelayout.pt
r12706 r13807 57 57 <tal:languages tal:content="structure langs" /> | 58 58 </span> 59 60 <!-- Diazo element--> 61 <span tal:condition="layout/isMaintenanceMode"> 62 <div class="maintenance-warning" i18n:translate=""> 63 M A I N T E N A N C E 64 M O D E O N 65 </div> 66 </span> 67 <!-- /Diazo element--> 59 68 60 69 <!-- Diazo element-->
Note: See TracChangeset for help on using the changeset viewer.