Changeset 6025 for main/waeup.sirp/trunk/src
- Timestamp:
- 3 May 2011, 10:26:16 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 2 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt
r6021 r6025 119 119 >>> print browser.contents 120 120 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 121 ...<span class="required">*</span><span>Name of Faculty</span>121 ...<span class="required">*</span><span>Name of faculty</span> 122 122 ... 123 123 … … 197 197 >>> print browser.contents 198 198 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... 199 ...<span class="required">*</span><span>Name of Department</span>199 ...<span class="required">*</span><span>Name of department</span> 200 200 ... 201 201 -
main/waeup.sirp/trunk/src/waeup/sirp/browser/layout.py
r5998 r6025 13 13 # BBB 14 14 from zope.app.component.hooks import getSite 15 from zope.formlib.utility import setUpWidgets 15 16 from waeup.sirp.interfaces import IWAeUPObject 16 17 from waeup.sirp.browser.interfaces import ITheme … … 84 85 """ 85 86 grok.baseclass() 87 grok.template('default_waeup_display_form') 86 88 87 89 class WAeUPEditFormPage(EditForm, UtilityView): … … 89 91 """ 90 92 grok.baseclass() 93 grok.template('default_waeup_edit_form') 94 95 def setUpWidgets(self,ignore_request=False): 96 super(WAeUPEditFormPage,self).setUpWidgets(ignore_request) 97 if self.widgets.get('title'): 98 self.widgets['title'].displayWidth = 80 91 99 92 100 class WAeUPAddFormPage(AddForm, UtilityView): … … 94 102 """ 95 103 grok.baseclass() 104 grok.template('default_waeup_edit_form') 96 105 97 106 class SiteLayout(WAeUPLayout): -
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r6024 r6025 1358 1358 pnav = 1 1359 1359 form_fields = grok.AutoFields(ICertificate) 1360 grok.template('certificatepage') 1360 1361 1361 1362 @property -
main/waeup.sirp/trunk/src/waeup/sirp/browser/static/waeuptheme-gray1.css
r5999 r6025 103 103 } 104 104 105 form label span { 106 font-size: 100%; 107 } 108 109 td.label label span { 110 color: #222222; 111 font-weight: normal; 112 } 113 105 114 /* jquery-ui customizations */ 106 115 -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatemanagepage.pt
r6024 r6025 29 29 30 30 <div id="tab-1"> 31 <table class=" form-fields">31 <table class="zebra"> 32 32 <tbody> 33 33 <tal:block repeat="widget view/widgets"> … … 45 45 >*</span><span i18n:translate="" 46 46 tal:content="widget/label">label</span> 47 </label> 47 </label>: 48 48 </td> 49 49 <td class="field"> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt
r6023 r6025 30 30 31 31 <div id="tab-1"> 32 <table class=" form-fields">32 <table class="zebra"> 33 33 <tbody> 34 34 <tal:block repeat="widget view/widgets"> … … 46 46 >*</span><span i18n:translate="" 47 47 tal:content="widget/label">label</span> 48 </label> 48 </label>: 49 49 </td> 50 50 <td class="field"> … … 74 74 75 75 <div id="tab-2"> 76 <br /> 76 77 <table class="display dataTableManage"> 77 78 <thead> … … 110 111 111 112 <div id="tab-3"> 113 <br /> 112 114 <table class="display dataTableManage"> 113 115 <thead> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentpage.pt
r6020 r6025 9 9 </ul> 10 10 11 <div id="tab-1"> 11 <div id="tab-1"> 12 <br /> 12 13 <table class="display dataTable"> 13 14 <thead> … … 33 34 </div> 34 35 <div id="tab-2"> 36 <br /> 35 37 <table class="display dataTable"> 36 38 <thead> -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultymanagepage.pt
r6000 r6025 29 29 30 30 <div id="tab-1"> 31 <table class=" form-fields">31 <table class="zebra"> 32 32 <tbody> 33 33 <tal:block repeat="widget view/widgets"> … … 45 45 >*</span><span i18n:translate="" 46 46 tal:content="widget/label">label</span> 47 </label> 47 </label>: 48 48 </td> 49 49 <td class="field"> -
main/waeup.sirp/trunk/src/waeup/sirp/university/interfaces.py
r6008 r6025 27 27 28 28 title = schema.TextLine( 29 title = u'Name of Faculty',29 title = u'Name of faculty', 30 30 default = u'Unnamed', 31 31 required = True, … … 33 33 34 34 title_prefix = schema.Choice( 35 title = u' Title prefix',35 title = u'Name prefix', 36 36 default = u'faculty', 37 37 vocabulary = inst_types, … … 77 77 78 78 title = schema.TextLine( 79 title = u'Name of Department',79 title = u'Name of department', 80 80 default = u'Unnamed', 81 81 required = True, … … 83 83 84 84 title_prefix = schema.Choice( 85 title = u' Title prefix',85 title = u'Name prefix', 86 86 vocabulary = inst_types, 87 87 default = u'department',
Note: See TracChangeset for help on using the changeset viewer.