fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [13476] booking.xsl


From: Saul
Subject: [Fmsystem-commits] [13476] booking.xsl
Date: Mon, 22 Jun 2015 23:08:30 +0000

Revision: 13476
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13476
Author:   psaul
Date:     2015-06-22 23:08:30 +0000 (Mon, 22 Jun 2015)
Log Message:
-----------
booking.xsl

Modified Paths:
--------------
    branches/dev-syncromind/booking/templates/base/booking.xsl

Modified: branches/dev-syncromind/booking/templates/base/booking.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/booking.xsl  2015-06-22 
23:08:11 UTC (rev 13475)
+++ branches/dev-syncromind/booking/templates/base/booking.xsl  2015-06-22 
23:08:30 UTC (rev 13476)
@@ -1,46 +1,77 @@
 <xsl:template match="data" xmlns:php="http://php.net/xsl";>
-    <div id="content">
-        <ul class="pathway">
+    <!--div id="content"-->
+        <!--ul class="pathway">
             <li><a href="{booking/bookings_link}"><xsl:value-of 
select="php:function('lang', 'Bookings')" /></a></li>
             <li>#<xsl:value-of select="booking/id"/> (<xsl:value-of 
select="booking/activity_name"/>)</li>
-        </ul>
+        </ul-->
 
         <xsl:call-template name="msgbox"/>
-               <xsl:call-template name="yui_booking_i18n"/>
+               <!--xsl:call-template name="yui_booking_i18n"/-->
+        <form action="" method="POST" id='form'  class="pure-form 
pure-form-aligned" name="form">
+            <input type="hidden" name="tab" value=""/>
+            <div id="tab-content">
+                <xsl:value-of disable-output-escaping="yes" 
select="booking/tabs"/>
+                <div id="booking">
+                    <fieldset>
+                        
+                        <h1>
+                            #<xsl:value-of select="booking/id"/> 
(<xsl:value-of select="booking/activity_name"/>)
+                        </h1>
+                        
+                        <div class="pure-control-group">
+                            <label>
+                                <xsl:value-of select="php:function('lang', 
'From')" />
+                            </label>
+                            <xsl:value-of 
select="php:function('pretty_timestamp', booking/from_)"/>
+                        </div>
+                        <div class="pure-control-group">
+                            <label>
+                                <xsl:value-of select="php:function('lang', 
'To')" />
+                            </label>
+                            <xsl:value-of 
select="php:function('pretty_timestamp', booking/to_)"/>
+                        </div>
+                        <div class="pure-control-group">
+                            <label>
+                                <xsl:value-of select="php:function('lang', 
'Cost')" />
+                            </label>
+                            <xsl:value-of select="booking/cost"/>
+                        </div>
+                        <div class="pure-control-group">
+                            <label>
+                                <xsl:value-of select="php:function('lang', 
'Season')" />
+                            </label>
+                            <xsl:value-of select="booking/season_name"/>
+                        </div>
+                        <div class="pure-control-group">
+                            <label>
+                                <xsl:value-of select="php:function('lang', 
'Group')" />
+                            </label>
+                            <xsl:value-of select="booking/group_name"/>
+                        </div>
+                        <div class="pure-control-group">
+                            <label>
+                                <xsl:value-of select="php:function('lang', 
'Resources')" />
+                            </label>
+                            <div id="resources_container"/>
+                        </div>
+                    </fieldset>
+                </div>
+            </div>
+        </form>
+        <div class="form-buttons">
+                <xsl:if test="booking/permission/write">
+                        <button>
+                    <xsl:attribute 
name="onclick">window.location.href="<xsl:value-of 
select="booking/edit_link"/>"</xsl:attribute>
+                    <xsl:value-of select="php:function('lang', 'Edit')" />
+                </button> 
+                        <button>
+                    <xsl:attribute 
name="onclick">window.location.href="<xsl:value-of 
select="booking/delete_link"/>"</xsl:attribute>
+                    <xsl:value-of select="php:function('lang', 'Delete 
booking')" />
+                </button>
+                </xsl:if>
+        </div>
+    <!--/div-->
 
-        <dl class="proplist-col">
-            <dt><xsl:value-of select="php:function('lang', 'From')" /></dt>
-            <dd><xsl:value-of select="php:function('pretty_timestamp', 
booking/from_)"/></dd>
-            <dt><xsl:value-of select="php:function('lang', 'To')" /></dt>
-            <dd><xsl:value-of select="php:function('pretty_timestamp', 
booking/to_)"/></dd>
-            <dt><xsl:value-of select="php:function('lang', 'Cost')" /></dt>
-            <dd><xsl:value-of select="booking/cost"/></dd>
-        </dl>
-        <dl class="proplist-col">
-            <dt><xsl:value-of select="php:function('lang', 'Season')" /></dt>
-            <dd><xsl:value-of select="booking/season_name"/></dd>
-            <dt><xsl:value-of select="php:function('lang', 'Group')" /></dt>
-            <dd><xsl:value-of select="booking/group_name"/></dd>
-        </dl>
-        <dl class="proplist-col">
-            <dt><xsl:value-of select="php:function('lang', 'Resources')" 
/></dt>
-            <dd><div id="resources_container"/></dd>
-        </dl>
-
-               <div class="form-buttons">
-                       <xsl:if test="booking/permission/write">
-                               <button>
-                           <xsl:attribute 
name="onclick">window.location.href="<xsl:value-of 
select="booking/edit_link"/>"</xsl:attribute>
-                           <xsl:value-of select="php:function('lang', 'Edit')" 
/>
-                       </button> 
-                               <button>
-                           <xsl:attribute 
name="onclick">window.location.href="<xsl:value-of 
select="booking/delete_link"/>"</xsl:attribute>
-                           <xsl:value-of select="php:function('lang', 'Delete 
booking')" />
-                       </button>
-                       </xsl:if>
-               </div>
-    </div>
-
 <script type="text/javascript">
     var resourceIds = '<xsl:value-of select="booking/resource_ids"/>';
        var lang = <xsl:value-of select="php:function('js_lang', 'Name', 
'Resource Type')"/>;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]