Changeset 1403 for WAeUP_SRP/trunk/profiles/default
- Timestamp:
- 9 Feb 2007, 15:37:49 (18 years ago)
- Location:
- WAeUP_SRP/trunk/profiles/default
- Files:
-
- 2 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/catalog.xsl
r1402 r1403 5 5 <html> 6 6 <body> 7 <head> 8 <title> 9 <xsl:value-of select="object/name"/> 10 </title> 11 <link rel="stylesheet" type="text/css" media="all" 12 href="xsl.css" /> 13 </head> 7 14 <xsl:for-each select="object"> 8 15 <h2> -
WAeUP_SRP/trunk/profiles/default/courses_catalog.xml
r1146 r1403 1 1 <?xml version="1.0"?> 2 <object name="portal_catalog" meta_type="CMF Catalog"> 2 <?xml-stylesheet type="text/xsl" href="catalog.xsl"?> 3 <object name="courses_catalog" meta_type="CMF Catalog"> 3 4 <column value="code"/> 4 5 <column value="faculty"/> -
WAeUP_SRP/trunk/profiles/default/layouts/layout.xsl
r1397 r1403 4 4 <xsl:template match="/"> 5 5 <html> 6 <head> 7 <title> 8 <xsl:value-of select="object/name"/> 9 </title> 10 <link rel="stylesheet" type="text/css" media="all" 11 href="../xsl.css" /> 12 </head> 6 13 <body> 7 14 <xsl:for-each select="object"> 8 <div> 9 <xsl:value-of select="@name"/> 10 </div> 15 <h1><xsl:value-of select="@name"/></h1> 11 16 </xsl:for-each> 17 <h1>Layout</h1> 18 <table> 19 <xsl:for-each select="object/table/row"> 20 <xsl:variable name="color"> 21 <xsl:choose> 22 <xsl:when test="position() mod 2 = 0"> 23 <xsl:text>#ffffff</xsl:text> 24 </xsl:when> 25 <xsl:otherwise> 26 <xsl:text>#eeeeee</xsl:text> 27 </xsl:otherwise> 28 </xsl:choose> 29 </xsl:variable> 30 <tr style="background-color:{$color}"> 31 <xsl:for-each select="cell"> 32 <td> 33 <xsl:value-of select="@name"/> 34 </td> 35 </xsl:for-each> 36 </tr> 37 </xsl:for-each> 38 </table> 12 39 <h1>Properties</h1> 13 <xsl:for-each select="object/property"> 14 Property : 15 <div> 16 <xsl:value-of select="@name"/>: <xsl:value-of select="text()"/> 17 </div> 18 </xsl:for-each> 40 <table> 41 <xsl:for-each select="object/property"> 42 <xsl:variable name="color"> 43 <xsl:choose> 44 <xsl:when test="position() mod 2 = 0"> 45 <xsl:text>#ffffff</xsl:text> 46 </xsl:when> 47 <xsl:otherwise> 48 <xsl:text>#eeeeee</xsl:text> 49 </xsl:otherwise> 50 </xsl:choose> 51 </xsl:variable> 52 <tr style="background-color:{$color}"> 53 <td> 54 <xsl:value-of select="@name"/> 55 </td> 56 <td> 57 <xsl:value-of select="text()"/> 58 </td> 59 </tr> 60 </xsl:for-each> 61 </table> 19 62 <h1>Widgets</h1> 20 <xsl:for-each select="object/widget"> 21 <div>Widget: <xsl:value-of select="@name"/> 22 Type:<xsl:value-of select="@meta_type"/> 23 </div> 24 <div>Properties:</div> 25 <xsl:for-each select="property"> 26 <div> 27 <xsl:value-of select="@name"/>: <xsl:value-of select="text()"/> 28 </div> 29 <div> 30 <xsl:value-of select="element"/> 31 </div> 32 <br/> 63 <table> 64 <xsl:for-each select="object/widget"> 65 <xsl:variable name="color"> 66 <xsl:choose> 67 <xsl:when test="position() mod 2 = 0"> 68 <xsl:text>#ffffff</xsl:text> 69 </xsl:when> 70 <xsl:otherwise> 71 <xsl:text>#eeeeee</xsl:text> 72 </xsl:otherwise> 73 </xsl:choose> 74 </xsl:variable> 75 <tr style="background-color:{$color}"> 76 <th> 77 <xsl:value-of select="@name"/> 78 </th> 79 <td colspan="2"> 80 <xsl:value-of select="@meta_type"/> 81 </td> 82 </tr> 83 <tr style="background-color:{$color}"> 84 <th colspan="3"> 85 Properties: 86 </th> 87 </tr> 88 <xsl:for-each select="property"> 89 <tr style="background-color:{$color}"> 90 <th> 91 <xsl:value-of select="@name"/> 92 </th> 93 <td> 94 <xsl:value-of select="text()"/> 95 </td> 96 <td> 97 <xsl:for-each select="element"> 98 <xsl:value-of select="@value"/> 99 </xsl:for-each> 100 </td> 101 </tr> 102 </xsl:for-each> 33 103 </xsl:for-each> 34 </ xsl:for-each>104 </table> 35 105 </body> 36 106 </html> -
WAeUP_SRP/trunk/profiles/default/layouts/student_study_course.xml
r1025 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="layout.xsl"?> 2 3 <object name="student_study_course" meta_type="CPS Layout"> 3 4 <property name="layout_create_method"></property> … … 7 8 <property name="flexible_widgets"/> 8 9 <property name="validate_values_expr"></property> 9 <widget name="title" meta_type="String Widget">10 <property name="title">Certificate</property>11 <property name="fields">12 <element value="title"/>13 </property>14 <property name="is_required">False</property>15 <property name="label">Certificate</property>16 <property name="label_edit">Certificate</property>17 <property name="readonly_layout_modes"/>18 <property name="hidden_layout_modes"/>19 <property name="hidden_readonly_layout_modes"/>20 </widget>21 10 <widget name="study_course" meta_type="StudyCourse Widget"> 22 11 <property name="title">Certificate Code</property> … … 31 20 <property name="hidden_readonly_layout_modes"/> 32 21 </widget> 22 <widget name="current_level" meta_type="String Widget"> 23 <property name="title">Current Studylevel</property> 24 <property name="fields"> 25 <element value="current_level"/> 26 </property> 27 <property name="is_required">False</property> 28 <property name="label">Current Studylevel</property> 29 <property name="label_edit">Current Studylevel</property> 30 <property name="readonly_layout_modes"/> 31 <property name="hidden_layout_modes"/> 32 <property name="hidden_readonly_layout_modes"/> 33 </widget> 34 <widget name="current_verdict" meta_type="String Widget"> 35 <property name="title">Current Verdict</property> 36 <property name="fields"> 37 <element value="current_verdict"/> 38 </property> 39 <property name="is_required">False</property> 40 <property name="label">Current Verdict</property> 41 <property name="label_edit">Current Verdict</property> 42 <property name="readonly_layout_modes"/> 43 <property name="hidden_layout_modes"/> 44 <property name="hidden_readonly_layout_modes"/> 45 </widget> 33 46 <table> 34 47 <row> 35 48 <cell name="study_course"/> 36 49 </row> 50 <row> 51 <cell name="current_verdict"/> 52 </row> 53 <row> 54 <cell name="current_level"/> 55 </row> 37 56 </table> 38 57 </object> -
WAeUP_SRP/trunk/profiles/default/payments_catalog.xml
r1147 r1403 1 1 <?xml version="1.0"?> 2 <object name="portal_catalog" meta_type="CMF Catalog"> 2 <?xml-stylesheet type="text/xsl" href="catalog.xsl"?> 3 <object name="payments_catalog" meta_type="CMF Catalog"> 3 4 <column value="id"/> 4 5 <column value="student_id"/> -
WAeUP_SRP/trunk/profiles/default/schemas/schema.xsl
r1401 r1403 4 4 <xsl:template match="/"> 5 5 <html> 6 <head> 7 <title> 8 <xsl:value-of select="object/name"/> 9 </title> 10 <link rel="stylesheet" type="text/css" media="all" 11 href="../xsl.css" /> 12 </head> 6 13 <body> 7 14 <xsl:for-each select="object"> -
WAeUP_SRP/trunk/profiles/default/students_catalog.xml
r1401 r1403 1 1 <?xml version="1.0"?> 2 2 <?xml-stylesheet type="text/xsl" href="catalog.xsl"?> 3 <object name=" portal_catalog" meta_type="WAeUP Table">3 <object name="students_catalog" meta_type="WAeUP Table"> 4 4 <column value="id"/> 5 5 <column value="matric_no"/> -
WAeUP_SRP/trunk/profiles/default/types/Certificate.xml
r873 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="types.xsl"?> 2 3 <object name="Certificate" meta_type="CPS Flexible Type Information" 3 4 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> -
WAeUP_SRP/trunk/profiles/default/types/StudentApplication.xml
r873 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="types.xsl"?> 2 3 <object name="StudentApplication" meta_type="CPS Flexible Type Information" 3 4 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> -
WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml
r895 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="types.xsl"?> 2 3 <object name="StudentClearance" meta_type="CPS Flexible Type Information" 3 4 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> -
WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml
r1209 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="types.xsl"?> 2 3 <object name="StudentPersonal" meta_type="CPS Flexible Type Information" 3 4 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> -
WAeUP_SRP/trunk/profiles/default/types/StudentStudyCourse.xml
r731 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="types.xsl"?> 2 3 <object name="StudentStudyCourse" meta_type="CPS Flexible Type Information" 3 4 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
Note: See TracChangeset for help on using the changeset viewer.