Changeset 11254 for main/waeup.kofa/trunk/src/waeup/kofa/widgets
- Timestamp:
- 22 Feb 2014, 15:46:03 (11 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk
- Property svn:mergeinfo changed
-
main/waeup.kofa/trunk/src/waeup/kofa
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa merged eligible /main/waeup.kofa/branches/uli-autoinclude-less/src/waeup/kofa 8871-8888 /main/waeup.sirp/branches/uli-studentpw/src/waeup/kofa 6703-6755 /main/waeup.sirp/branches/ulif-extimgstore/src/waeup/kofa 7001-7062 /main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/kofa 7761-7794
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
main/waeup.kofa/trunk/src/waeup/kofa/widgets/phonewidget.py
r8937 r11254 37 37 38 38 subwidget_names = ('country', 'area', 'ext') 39 bootstrap_span = 'span2'39 cssClass = 'phone-input' 40 40 41 41 def _renderPrefixWidget(self, value): … … 51 51 '<option value="%s"%s>%s</option>' % (pval, selected, ptitle)) 52 52 options = '\n'.join(options) 53 return '<select id="%s" name="%s" size="1" class=" span4">\n%s\n</select>' % (53 return '<select id="%s" name="%s" size="1" class="%s">\n%s\n</select>' % ( 54 54 '%s.%s' % (self.name, 'country'), 55 55 '%s.%s' % (self.name, 'country'), 56 self.cssClass, 56 57 options) 57 58 … … 83 84 kwargs.update(name = '%s.%s' % (self.name, subname)) 84 85 kwargs.update(id=kwargs['name']) 85 # kwargs.update(cssClass = '%s %s' % (self.cssClass, 'span1')) 86 kwargs.update(cssClass = '%s %s' % ('', self.bootstrap_span)) 86 kwargs.update(cssClass = '%s %s' % ('', self.cssClass)) 87 87 kwargs.update(value = subvalues[num]) 88 88 fields.append(renderElement(self.tag, **kwargs)) -
main/waeup.kofa/trunk/src/waeup/kofa/widgets/sequencewidget.pt
r7811 r11254 1 <table border="0" class="sequencewidget" 2 i18n:domain="waeup.kofa"> 1 <table i18n:domain="waeup.kofa"> 3 2 <tr tal:repeat="widget view/widgets"> 4 3 <td> … … 19 18 Don't forget to save the form after adding or deleting items. 20 19 </p> 21 <input type="submit" value="Remove selected items" 22 class="btn" 20 <button type="submit" 21 class="btn btn-default" 22 tal:condition="view/need_add" 23 tal:attributes="name string:${view/name}.add" 24 tal:content="view/addButtonLabel" /> 25 <button type="submit" class="btn btn-default" 23 26 tal:condition="view/need_delete" 24 27 tal:attributes="name string:${view/name}.remove" 25 i18n:attributes="value remove-selected-items" /> 26 <input type="submit" value="Add foo" 27 class="btn" 28 tal:condition="view/need_add" 29 tal:attributes="name string:${view/name}.add; 30 value view/addButtonLabel" /> 28 i18n:translate="remove-selected-items">Remove selected items</button> 31 29 </td> 32 30 </tr>
Note: See TracChangeset for help on using the changeset viewer.