Changeset 175 for waeup_product/trunk
- Timestamp:
- 15 Nov 2005, 18:59:35 (19 years ago)
- Location:
- waeup_product/trunk/skins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
r173 r175 341 341 'size_min': 5, 342 342 }, 343 } 344 ###) 343 }###) 345 344 346 345 rpw = { ###( … … 364 363 'size_min': 5, 365 364 }, 366 } 365 }###) 366 367 367 username_hidden = { ###( 368 368 'type': 'String Widget', … … 709 709 }, 710 710 },###) 711 'clear ence_sc_id': { ###(711 'clearance_sc_id': { ###( 712 712 'type': 'String Widget', 713 713 'data': { 714 'title': 'Clear ence SC ID',715 'fields': ('clear ence_sc_id',),716 'is_required': False, 717 'label': 'Clear ence SC ID',718 'label_edit': 'Clear ence SC ID',719 'description': '', 720 'help': '', 721 'is_i18n': False, 722 'readonly_layout_modes': (), 723 'hidden_layout_modes': (), 724 'hidden_readonly_layout_modes': (), 725 'hidden_empty': False, 726 'hidden_if_expr': '', 727 'css_class': '', 728 'widget_mode_expr': '', 729 'display_width': 10, 730 'size_max': 0, 731 }, 732 },###) 733 'clear ence_sc_pin': { ###(714 'title': 'Clearance SC ID', 715 'fields': ('clearance_sc_id',), 716 'is_required': False, 717 'label': 'Clearance SC ID', 718 'label_edit': 'Clearance SC ID', 719 'description': '', 720 'help': '', 721 'is_i18n': False, 722 'readonly_layout_modes': (), 723 'hidden_layout_modes': (), 724 'hidden_readonly_layout_modes': (), 725 'hidden_empty': False, 726 'hidden_if_expr': '', 727 'css_class': '', 728 'widget_mode_expr': '', 729 'display_width': 10, 730 'size_max': 0, 731 }, 732 },###) 733 'clearance_sc_pin': { ###( 734 734 'type': 'String Widget', 735 735 'data': { 736 'title': 'clear ence SC Pin',737 'fields': ('clear ence_sc_pin',),738 'is_required': False, 739 'label': 'Clear ence SC Pin',740 'label_edit': 'Clear ence SC Pin',741 'description': '', 742 'help': '', 743 'is_i18n': False, 744 'readonly_layout_modes': (), 745 'hidden_layout_modes': (), 746 'hidden_readonly_layout_modes': (), 747 'hidden_empty': False, 748 'hidden_if_expr': '', 749 'css_class': '', 750 'widget_mode_expr': '', 751 'display_width': 10, 752 'size_max': 0, 753 }, 754 },###) 755 'clear ence_sc_value': { ###(736 'title': 'clearance SC Pin', 737 'fields': ('clearance_sc_pin',), 738 'is_required': False, 739 'label': 'Clearance SC Pin', 740 'label_edit': 'Clearance SC Pin', 741 'description': '', 742 'help': '', 743 'is_i18n': False, 744 'readonly_layout_modes': (), 745 'hidden_layout_modes': (), 746 'hidden_readonly_layout_modes': (), 747 'hidden_empty': False, 748 'hidden_if_expr': '', 749 'css_class': '', 750 'widget_mode_expr': '', 751 'display_width': 10, 752 'size_max': 0, 753 }, 754 },###) 755 'clearance_sc_value': { ###( 756 756 'type': 'Float Widget', 757 757 'data': { 758 'title': 'clear ence SC Value',759 'fields': ('clear ence_sc_value',),760 'is_required': False, 761 'label': 'Clear ence SC Value',762 'label_edit': 'Clear ence SC Value',763 'description': '', 764 'help': '', 765 'is_i18n': False, 766 'readonly_layout_modes': (), 767 'hidden_layout_modes': (), 768 'hidden_readonly_layout_modes': (), 769 'hidden_empty': False, 770 'hidden_if_expr': '', 771 'css_class': '', 772 'widget_mode_expr': '', 773 'display_width': 10, 774 'size_max': 0, 775 }, 776 },###) 777 'clear ence_date': { ###(758 'title': 'clearance SC Value', 759 'fields': ('clearance_sc_value',), 760 'is_required': False, 761 'label': 'Clearance SC Value', 762 'label_edit': 'Clearance SC Value', 763 'description': '', 764 'help': '', 765 'is_i18n': False, 766 'readonly_layout_modes': (), 767 'hidden_layout_modes': (), 768 'hidden_readonly_layout_modes': (), 769 'hidden_empty': False, 770 'hidden_if_expr': '', 771 'css_class': '', 772 'widget_mode_expr': '', 773 'display_width': 10, 774 'size_max': 0, 775 }, 776 },###) 777 'clearance_date': { ###( 778 778 'type': 'DateTime Widget', 779 779 'data': { 780 'title': 'clear ence SC Pin',781 'fields': ('clear ence_date',),782 'is_required': False, 783 'label': 'Clear ence SC Date',784 'label_edit': 'Clear ence SC Date',780 'title': 'clearance SC Pin', 781 'fields': ('clearance_date',), 782 'is_required': False, 783 'label': 'Clearance SC Date', 784 'label_edit': 'Clearance SC Date', 785 785 'description': '', 786 786 'help': '', … … 807 807 [{'widget_id': 'adm_check_sc_value', 'ncols': 1},], 808 808 [{'widget_id': 'adm_check_date', 'ncols': 1},], 809 [{'widget_id': 'clear ence_sc_id', 'ncols': 1},],810 [{'widget_id': 'clear ence_sc_pin', 'ncols': 1},],811 [{'widget_id': 'clear ence_sc_value', 'ncols': 1},],812 [{'widget_id': 'clear ence_date', 'ncols': 1},],809 [{'widget_id': 'clearance_sc_id', 'ncols': 1},], 810 [{'widget_id': 'clearance_sc_pin', 'ncols': 1},], 811 [{'widget_id': 'clearance_sc_value', 'ncols': 1},], 812 [{'widget_id': 'clearance_date', 'ncols': 1},], 813 813 [{'widget_id': 'accommodation', 'ncols': 1},], 814 814 [{'widget_id': 'accommodation_sc_id', 'ncols': 1},], … … 1220 1220 ###) 1221 1221 1222 clear ence = { ###(1222 clearance = { ###( 1223 1223 'widgets': { 1224 1224 'sc_id': { … … 2233 2233 layouts['scratch_card'] = scratch_card 2234 2234 layouts['admission'] = admission 2235 layouts['clear ence'] = clearence2235 layouts['clearance'] = clearance 2236 2236 layouts['admission_slip'] = admission_slip 2237 2237 layouts['jambcreate'] = jamb_layoutcreate -
waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py
r173 r175 158 158 }, 159 159 }, 160 'clear ence_sc_id' : sc_id,161 'clear ence_sc_pin' : sc_pin,162 'clear ence_sc_value' : sc_value,163 'clear ence_date' : {160 'clearance_sc_id' : sc_id, 161 'clearance_sc_pin' : sc_pin, 162 'clearance_sc_value' : sc_value, 163 'clearance_date' : { 164 164 'type': 'CPS DateTime Field', 165 165 'data': { … … 324 324 ###) 325 325 326 student_clear ence = { ###(326 student_clearance = { ###( 327 327 'sc_id': sc_id, 328 328 'sc_pin': sc_pin, … … 879 879 schemas['student'] = student_schema 880 880 schemas['student_admission'] = student_admission 881 schemas['student_clear ence'] = student_clearence881 schemas['student_clearance'] = student_clearance 882 882 schemas['student_documents'] = student_documents 883 883 schemas['student_eligibility'] = student_eligibility -
waeup_product/trunk/skins/waeup_student/eligibility.py
r173 r175 47 47 #pm.setPassword(pw) 48 48 psm = 'Email hay been successfully set.' 49 #psm += 'please <a href="login_form">Login</a> with username %s and password %s' % (context.getId(),pw) 50 return context.eligibility_form(rendered = res, 51 psm = psm, 52 ds = ds, 53 ) 49 return context.REQUEST.RESPONSE.redirect('%s' % context.portal_url.getUrlFromRpath('/students')) 50 51 ##return context.eligibility_form(rendered = res, 52 ## psm = psm, 53 ## ds = ds, 54 ## )
Note: See TracChangeset for help on using the changeset viewer.