- Timestamp:
- 12 Jan 2012, 11:43:29 (13 years ago)
- Location:
- main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/static/waeup-base.css
r7451 r7453 41 41 } 42 42 43 .container { 44 width: 700px; 45 } 46 43 47 h2 { 44 48 margin-bottom: 12px; … … 57 61 border-top-left-radius: 3px; 58 62 border-top-right-radius: 3px; 63 border-bottom-left-radius: 3px; 64 border-bottom-right-radius: 3px; 59 65 } 60 66 … … 83 89 84 90 /* SIRP stuff */ 85 86 .container {87 width: 700px;88 }89 91 90 92 .actionbar { … … 118 120 line-height: 16px; 119 121 } 122 123 .student-info-bar{ 124 padding: 7px 14px; 125 margin-left: -20px; 126 margin-right: -20px; 127 margin-bottom: 14px; 128 padding-left: 20px; 129 padding-right: 20px; 130 width: 700px; 131 background-color: #FFFFFF; 132 background-image: None; 133 border: 0px; 134 border-top-left-radius: 3px; 135 border-top-right-radius: 3px; 136 border-bottom-left-radius: 3px; 137 border-bottom-right-radius: 3px; 138 } 139 140 .student-info-bar li { 141 display: inline; 142 text-shadow: 0 1px 0 #ffffff; 143 } 144 .student-info-bar .divider { 145 padding: 0 5px; 146 color: #bfbfbf; 147 } 148 .student-info-bar .active a { 149 color: #404040; 150 } 151 .wfstatus { 152 float: right; 153 line-height: 18px; 154 } -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/templates/studentsitelayout.pt
r7450 r7453 45 45 </div> 46 46 </div> 47 48 47 <div class="container"> 48 <ul class="student-info-bar"> 49 <tal:breadcrumbs 50 tal:condition="python: layout.isAuthenticated()" 51 tal:content="structure provider:breadcrumbs" /> 52 <span tal:condition="layout/getStudentName" class="wfstatus"> 53 Student Id: 54 <span tal:replace="python:context.getStudent().student_id">Id 55 </span> 56 State: 57 <span tal:replace="python:context.getStudent().state">State 58 </span> 59 </span> 60 </ul> 49 61 <div class="content"> 50 62 <div tal:define="message context/@@messages" … … 65 77 </div> 66 78 </div> 67 68 79 </body> 69 80 </html> -
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/browser/viewlets.py
r7442 r7453 195 195 breadcrumbs = IBreadcrumbContainer(self.view) 196 196 for breadcrumb in breadcrumbs: 197 yield dict( 198 title = breadcrumb.title, 199 url = self.view.url(breadcrumb.context, breadcrumb.target) 200 ) 197 if breadcrumb.target: 198 yield dict( 199 title = breadcrumb.title, 200 url = self.view.url(breadcrumb.context, breadcrumb.target) 201 ) 201 202 202 203
Note: See TracChangeset for help on using the changeset viewer.