- Timestamp:
- 17 Sep 2007, 06:49:57 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_design/common.css.dtml
r1785 r2249 107 107 padding:3px; 108 108 } 109 input.SearchBox { 110 background:white url(http://localhost:8080/cpsskins/cpsskins_images/search_icon.png) no-repeat scroll left center; 111 border:1px inset #757575; 112 padding:2px 2px 2px 20px; 113 } 114 div.searchField { 115 background:transparent url(http://localhost:8080/cpsskins/cpsskins_images/portlet_search_icon.png) no-repeat scroll left center; 116 padding:2px 2px 2px 20px; 117 } 109 118 110 .toggle_icon { 119 111 clear:left; -
WAeUP_SRP/base/skins/waeup_design/stylesheet_properties.props
r2243 r2249 1 # TODO: I want comments in this file! 2 3 plone_skin:string=Nuxeo CPS Default 4 5 mainFont:string=70% Arial, sans-serif, Verdana, Helvetica 6 mainBackground:string=#ffffff 7 mainFontColor:string=black 8 mainLinkColor:string=#436976 9 mainTabBorderColor:string=#838183 10 mainTabBorderColorSelected:string=#838183 11 mainTabBackground:string=#003a6b 12 mainTabBackgroundNotSelected:string=#9cb2cd 13 # FIXME: remove since it is not used ? 14 #mainTabBackdrop:string=transparent 15 mainTabFontWeight:string=normal 16 mainTabFontColor:string=white 17 mainTabFontColorSelected:string=white 18 19 headingFont:string=100% Arial, sans-serif, Verdana, Helvetica 20 headingFontColor:string=black 21 headingSize1:string=140% 22 headingSize2:string=130% 23 headingSize3:string=120% 24 headingSize4:string=110% 25 headingSize5:string=105% 26 headingSize6:string=100% 27 28 descriptionFont:string=100% Arial, sans-serif, Verdana, Helvetica 29 30 contentFont:string=120% Arial, sans-serif, Verdana, Helvetica 31 contentBackground:string=White 32 contentImageBorder:string=0 33 contentLinkActiveColor:string=Red 34 contentLinkVisitedColor:string=Purple 35 # FIXME: remove since it is not used ? 36 #contentTabBorder:string=1px solid #74ae0b 37 contentTabBackground:string=#cde2a7 38 contentTabBackgroundNotSelected:string=transparent 39 contentTabBackdrop:string=transparent 40 contentTabFontWeight:string=normal 41 contentTabFontColor:string=#578308 42 contentTabFontColorSelected:string=#578308 43 44 preBorder:string=0px none 45 preBackground:string=#eeeeee 46 47 messageFont:string=normal 110% Arial, sans-serif, Verdana, Helvetica 48 messageBackground:string=#ffca31 49 messageBorder:string=2px solid #333333 50 51 textTransform:string=none 52 noBorder:string=none 53 groupBorder:string=0px none transparent 54 requiredField:string=url(required.png) right no-repeat 55 56 inputFont:string=100% Arial, sans-serif, Verdana, Helvetica 57 inputBorder:string=1px inset #757575 58 # FIXME: not used 59 #inputBackground:string=#f7f9fa 60 61 buttonBackground:string=#ffffff 4px 4px no-repeat 62 buttonBackgroundHover:string=#e7e7e7 url(buttonbg_bc.png) bottom left repeat-x 63 buttonBorder:string=1px outset #757575 64 65 contextButtonBackground:string=#ffffff url(buttonbg_e7.png) bottom left repeat-x 66 contextButtonBackgroundHover:string=#e7e7e7 url(buttonbg_bc.png) bottom left repeat-x 67 contextButtonPadding:string=2px 5px 2px 5px 68 contextButtonFontColor:string=#454545 69 contextButtonBorder:string=1px outset #999999 70 71 standaloneButtonBackground:string=#ffffff url(buttonbg_e7.png) bottom left repeat-x 72 standaloneButtonBackgroundHover:string=#e7e7e7 url(buttonbg_bc.png) bottom left repeat-x 73 standaloneButtonPadding:string=2px 5px 2px 5px 74 standaloneButtonFontColor:string=#454545 75 standaloneButtonBorder:string=1px outset #999999 76 77 destructiveButtonBackground:string=#ffffff url(buttonbg_e7.png) bottom left repeat-x 78 destructiveButtonBackgroundHover:string=#e7e7e7 url(buttonbg_bc.png) bottom left repeat-x 79 destructiveButtonPadding:string=2px 5px 2px 5px; 80 destructiveButtonBorder:string=1px outset #757575; 81 destructiveButtonBorderHover:string=1px solid #ff0000 82 destructiveButtonFontColor:string=#454545 83 84 moveUpButtonBackground:string=white url(buttonbg_e7.png) bottom left repeat-x 85 moveDownButtonBackground:string=white url(buttonbg_e7.png) bottom left repeat-x 86 moveTopButtonBackground:string=white url(buttonbg_e7.png) bottom left repeat-x 87 moveBottomButtonBackground:string=white url(buttonbg_e7.png) bottom left repeat-x 88 89 buttonWeight:string=normal 90 91 boxBorder:string=0px solid #838183 92 boxHeaderBackground:string=#003a6b 93 boxHeaderFontColor:string=white 94 # FIXME: Not used 95 #boxLinkBackground:string=transparent 96 #boxLinkColor:string=#436976 97 boxEvenBackground:string=#eeeeee 98 boxOddBackground:string=white 99 boxHighlight:string=2px solid #ffa500 100 101 # FIXME: Not used 102 #listingBorder:string=1px solid #838183 103 #listingHeaderBackground:string=#003a6b 104 #listingHeaderFontColor:string=black 105 #listingLinkHover:string=underline 106 107 topBackground:string=#ffffff 108 topMargin:string=0 109 topPadding:string=0 110 111 logoMargin:string=0.2em 0em 0.3em 1em 112 logoPadding:string=0 113 114 searchMargin:string=0 115 searchPadding:string=0 116 searchFontColor:string=black 117 118 footerBackground:string=#eeeeee 119 footerBorder:string=1px solid #003a6b 120 121 columnsLeftBackground:string=#9cb2cd 122 columnsRightBackground:string=#eeeeee url('rightcol_bg.png') repeat-y 123 124 columnsLeftBackgroundNS4:string=#9cb2cd 125 columnsRightBackgroundNS4:string=#eeeeee 126 127 workspaceBackground:string=#cde2a7 128 workspaceBackgroundSelected:string=#297b28 129 urlFontColor:string=#666666 130 131 legendFontSize:string=80% 132 133 # Layout properties used to display listing type tables (this layout is used for 134 # history and subscriptions tables). 135 listingHeaderBackground:string=#003a6b 136 listingHeaderColor:string=white 137 listingCellBackground:string=#eeeeee 138 listingCellColor:string=black 139 listingCellOddBackground:string=#ffffff 140 listingCellOddColor:string=black 141 listingCellEvenBackground:string=#eeeeee 142 listingCellEvenColor:string=black 143 144 # Layout properties used to display RSS/Syndication logos (those logos 145 # typically appear in each box). 146 rssBorder:string=0.1em outset #ff6600 147 rssBackground:string=#ff6600 148 rssColor:string=#ffffff 149 rssFont:string=bold 70% 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif 150 151 # Layout properties used to display Atom/Syndication logos (those logos 152 # typically appear in each box). 153 atomBorder:string=0.1em outset #ff6600 154 atomBackground:string=#ff6600 155 atomColor:string=#ffffff 156 atomFont:string=bold 70% 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif 157 158 inheritedRole:string=#ffff99 159 inheritedBlockedRole:string=#ff9999 -
WAeUP_SRP/base/skins/waeup_epayment/getPaymentsFolderInfo.py
r2165 r2249 56 56 online_payment = False 57 57 sc_payment = False 58 if review_state == 'cleared_and_validated' or (parttime and review_state == 'returning'): 58 59 #if review_state == 'cleared_and_validated' or (parttime and review_state == 'returning'): 60 # online_payment = True 61 #elif fulltime and review_state == 'returning': 62 # sc_payment = True 63 64 if review_state == 'cleared_and_validated': 59 65 online_payment = True 60 elif fulltime andreview_state == 'returning':66 elif review_state == 'returning': 61 67 sc_payment = True 68 62 69 info['online_payment'] = online_payment 63 70 info['sc_payment'] = sc_payment -
WAeUP_SRP/base/skins/waeup_student/search_students.py
r1845 r2249 14 14 import logging 15 15 logger = logging.getLogger('Skins.search_students') 16 from DateTime import DateTime16 #from DateTime import DateTime 17 17 # 18 18 #with_timer = True 19 with_timer = False19 #with_timer = False 20 20 # 21 21 request = REQUEST … … 203 203 204 204 if only_review or with_review or co_view: 205 if with_timer:206 start = DateTime().timeTime()207 logger.info('"%s","start 100"' % member)208 205 query = Eq('review_state',state) 209 206 review_res = aq_portal(query) … … 211 208 logger.info('%s searches for students in review_state %s' % (member,state)) 212 209 213 if with_timer:214 end = DateTime().timeTime()215 logger.info('"%s","searchtime","%6.2f"' % (member,end-start))216 210 if co_view: 217 211 only_review = False 218 212 with_review = True 219 if with_timer:220 start = DateTime().timeTime()221 logger.info('"%s","start 200"' % member)222 213 query = In('faculty',faculties) | In('department',departments) 223 214 res = aq_students(query) 224 if with_timer:225 end = DateTime().timeTime()226 logger.info('"%s","searchtime","%6.2f"' % (member,end-start))227 start = DateTime().timeTime()228 215 search_set = [r.id for r in res] 229 if with_timer:230 end = DateTime().timeTime()231 logger.info('"%s","searchtime","%6.2f"' % (member,end-start))232 216 elif ca_view: 233 217 only_review = False 234 218 with_review = True 235 if with_timer:236 start = DateTime().timeTime()237 logger.info('"%s","start 200"' % member)238 219 courses = [cl.split('/')[0] for cl in certificate_level] 239 220 levels = [cl.split('/')[1] for cl in certificate_level] 240 221 query = In('course',courses) & In('level',levels) 241 222 res = aq_students(query) 242 if with_timer:243 end = DateTime().timeTime()244 logger.info('"%s","searchtime","%6.2f"' % (member,end-start))245 start = DateTime().timeTime()246 223 search_set = [r.id for r in res] 247 if with_timer:248 end = DateTime().timeTime()249 logger.info('"%s","searchtime","%6.2f"' % (member,end-start))250 if with_timer:251 logger.info('"%s","start 300"' % member)252 start = DateTime().timeTime()253 224 if review_res: 254 225 review_set = [r.getId for r in review_res] 255 if with_timer:256 end = DateTime().timeTime()257 logger.info('"%s","searchtime","%6.2f"' % (member,end-start))258 logger.info('"%s","start 400"' % member)259 start = DateTime().timeTime()260 226 if only_review: 261 227 all = review_set … … 267 233 else: 268 234 all = search_set 269 if with_timer:270 end = DateTime().timeTime()271 logger.info('"%s","searchtime","%6.2f"' % (member,end-start))272 235 items = all[:500] 273 236 students = [] 274 if with_timer:275 logger.info('"%s","start 500"' % member)276 start = DateTime().timeTime()277 237 if items: 278 238 for item in items: … … 288 248 else: 289 249 students.append(info) 290 if with_timer:291 end = DateTime().timeTime()292 logger.info('"%s","searchtime","%6.2f"' % (member,end-start))293 294 250 return context.search_students_form(rendered = rend, 295 251 psm = "",
Note: See TracChangeset for help on using the changeset viewer.