Changeset 1412 for WAeUP_SRP/trunk/profiles/default/layouts
- Timestamp:
- 13 Feb 2007, 14:14:44 (18 years ago)
- Location:
- WAeUP_SRP/trunk/profiles/default/layouts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/acco_bed_booking.xml
r1393 r1412 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="layout.xsl"?> 2 3 <object name="acco_bed_reservation" meta_type="CPS Layout"> 3 4 <property name="layout_create_method"></property> 4 5 <property name="layout_edit_method"></property> 5 6 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_w o_object</property>7 <property name="style_prefix">layout_waeup_</property> 7 8 <property name="flexible_widgets"/> 8 9 <property name="validate_values_expr"></property> 9 <widget name="bed " meta_type="Select Widget">10 <property name="title">Bed </property>10 <widget name="bed_letter" meta_type="Select Widget"> 11 <property name="title">Bed Letter</property> 11 12 <property name="fields"> 12 <element value="bed "/>13 <element value="bed_letter"/> 13 14 </property> 14 15 <property name="is_required">True</property> 15 <property name="label">Bed </property>16 <property name="label_edit">Bed </property>16 <property name="label">Bed Letter</property> 17 <property name="label_edit">Bed Letter</property> 17 18 <property name="readonly_layout_modes"/> 18 19 <property name="hidden_layout_modes"/> … … 49 50 <table> 50 51 <row> 51 <cell name="block_ floor_room"/>52 <cell name="block_room"/> 52 53 </row> 53 54 <row> 54 <cell name="bed "/>55 <cell name="bed_letter"/> 55 56 </row> 56 57 <row> -
WAeUP_SRP/trunk/profiles/default/layouts/acco_hall.xml
r1041 r1412 1 1 <?xml version="1.0"?> 2 <object name="accommodation" meta_type="CPS Layout"> 2 <?xml-stylesheet type="text/xsl" href="layout.xsl"?> 3 <object name="acco_hall" meta_type="CPS Layout"> 3 4 <property name="layout_create_method"></property> 4 5 <property name="layout_edit_method"></property> -
WAeUP_SRP/trunk/profiles/default/layouts/layout.xsl
r1403 r1412 13 13 <body> 14 14 <xsl:for-each select="object"> 15 <h1> <xsl:value-of select="@name"/></h1>15 <h1>Layout: <xsl:value-of select="@name"/></h1> 16 16 </xsl:for-each> 17 17 <h1>Layout</h1> … … 39 39 <h1>Properties</h1> 40 40 <table> 41 <tr> 42 <th>Id</th> 43 <th>Text</th> 44 </tr> 41 45 <xsl:for-each select="object/property"> 42 46 <xsl:variable name="color"> … … 61 65 </table> 62 66 <h1>Widgets</h1> 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> 67 <xsl:for-each select="object/widget"> 68 <xsl:variable name="color"> 69 <xsl:choose> 70 <xsl:when test="position() mod 2 = 0"> 71 <xsl:text>#ffffff</xsl:text> 72 </xsl:when> 73 <xsl:otherwise> 74 <xsl:text>#eeeeee</xsl:text> 75 </xsl:otherwise> 76 </xsl:choose> 77 </xsl:variable> 78 <h3><xsl:value-of select="@name"/> Meta Type: <xsl:value-of select="@meta_type"/></h3> 79 <table> 83 80 <tr style="background-color:{$color}"> 84 81 <th colspan="3"> … … 101 98 </tr> 102 99 </xsl:for-each> 103 </ xsl:for-each>104 </ table>100 </table> 101 </xsl:for-each> 105 102 </body> 106 103 </html>
Note: See TracChangeset for help on using the changeset viewer.