fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14161] fixing forms


From: Saul
Subject: [Fmsystem-commits] [14161] fixing forms
Date: Tue, 13 Oct 2015 00:14:25 +0000

Revision: 14161
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14161
Author:   psaul
Date:     2015-10-13 00:14:24 +0000 (Tue, 13 Oct 2015)
Log Message:
-----------
fixing forms

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

Modified: branches/dev-syncromind/booking/templates/base/allocation_info.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/allocation_info.xsl  
2015-10-13 00:13:06 UTC (rev 14160)
+++ branches/dev-syncromind/booking/templates/base/allocation_info.xsl  
2015-10-13 00:14:24 UTC (rev 14161)
@@ -1,5 +1,5 @@
 <xsl:template match="data" xmlns:php="http://php.net/xsl";>
-    <div class="close" style="float: right"><a 
onclick="schedule.closeOverlay(); return false" 
style="cursor:pointer;"><xsl:value-of select="php:function('lang', 
'Close')"/></a></div>
+    <!--div class="close" style="float: right"><a 
onclick="schedule.closeOverlay(); return false" 
style="cursor:pointer;"><xsl:value-of select="php:function('lang', 
'Close')"/></a></div-->
     <h3><xsl:value-of select="php:function('lang', 'Allocation')"/> 
#<xsl:value-of select="allocation/id"/></h3>
     <div class="pure-form pure-form-aligned">
         <div class="pure-control-group">
@@ -20,7 +20,7 @@
         <div class="actions">
             <button onclick="location.href='{allocation/add_link}'" 
class="pure-button pure-button-primary"><xsl:value-of 
select="php:function('lang', 'Create new booking')"/></button>
             <xsl:if test="allocation/delete_link">
-                <button onclick="location.href='{allocation/delete_link}'" 
class="pure-button-primary"><xsl:value-of select="php:function('lang', 'Delete 
allocation')"/></button>
+                <button onclick="location.href='{allocation/delete_link}'" 
class="pure-button pure-button-primary"><xsl:value-of 
select="php:function('lang', 'Delete allocation')"/></button>
             </xsl:if>
         </div>
     </xsl:if>

Modified: branches/dev-syncromind/booking/templates/base/booking_info.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/booking_info.xsl     
2015-10-13 00:13:06 UTC (rev 14160)
+++ branches/dev-syncromind/booking/templates/base/booking_info.xsl     
2015-10-13 00:14:24 UTC (rev 14161)
@@ -1,5 +1,5 @@
 <xsl:template match="data" xmlns:php="http://php.net/xsl";>
-    <div class="close" style="float: right"><a 
onclick="schedule.closeOverlay(); return false" 
style="cursor:pointer;"><xsl:value-of select="php:function('lang', 
'Close')"/></a></div>
+    <!--div class="close" style="float: right"><a 
onclick="schedule.closeOverlay(); return false" 
style="cursor:pointer;"><xsl:value-of select="php:function('lang', 
'Close')"/></a></div-->
     <h3><xsl:value-of select="php:function('lang', 'Booking')"/> 
#<xsl:value-of select="booking/id"/></h3>
     <div class="pure-form pure-form-aligned">
         <div class="pure-control-group">
@@ -23,8 +23,8 @@
     </div>
     <xsl:if test="booking/edit_link">
         <div class="actions">
-            <button 
onclick="location.href='{booking/edit_link}'"><xsl:value-of 
select="php:function('lang', 'Edit booking')"/></button>
-            <button 
onclick="location.href='{booking/delete_link}'"><xsl:value-of 
select="php:function('lang', 'Delete booking')"/></button>
+            <button onclick="location.href='{booking/edit_link}'" 
class="pure-button pure-button-primary"><xsl:value-of 
select="php:function('lang', 'Edit booking')"/></button>
+            <button onclick="location.href='{booking/delete_link}'" 
class="pure-button pure-button-primary"><xsl:value-of 
select="php:function('lang', 'Delete booking')"/></button>
         </div>
     </xsl:if>
 </xsl:template>

Modified: branches/dev-syncromind/booking/templates/base/event_info.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/event_info.xsl       
2015-10-13 00:13:06 UTC (rev 14160)
+++ branches/dev-syncromind/booking/templates/base/event_info.xsl       
2015-10-13 00:14:24 UTC (rev 14161)
@@ -1,34 +1,34 @@
 <xsl:template match="data" xmlns:php="http://php.net/xsl";>
-       <div style="float: right"><a onclick="schedule.closeOverlay(); return 
false" style="cursor:pointer;"><xsl:value-of select="php:function('lang', 
'Close')"/></a></div>
-       <h3><xsl:value-of select="php:function('lang', 'Event')"/> 
#<xsl:value-of select="event/id"/></h3>
-       <xsl:if test="event/is_public=1">
-            <div>
-                <xsl:value-of select="event/description" 
disable-output-escaping="yes"/>
-            </div>
-       </xsl:if>
-       <div class="pure-form pure-form-aligned">
-            <div class="pure-control-group">
-                <label><h4><xsl:value-of select="php:function('lang', 
'Where')"/></h4></label>
-                <a href="{event/building_link}"><xsl:value-of 
select="event/resources[position()=1]/building_name"/></a>
-                (<xsl:value-of select="event/resource_info"/>)
-            </div>
-            <div class="pure-control-group">
-                <label><h4><xsl:value-of select="php:function('lang', 
'When')"/></h4></label>
-                <xsl:value-of select="event/when"/>
-            </div>
-            <div class="pure-control-group">
-                <label><h4><xsl:value-of select="php:function('lang', 
'Who')"/></h4></label>
-                <xsl:if test="event/is_public=1">
-                    <xsl:value-of select="event/contact_name"/>
-                </xsl:if>
-                <xsl:if test="event/is_public=0">
-                    <xsl:value-of select="php:function('lang', 'Private 
event')"/>
-                </xsl:if>
-            </div>
-       </div>
-       <xsl:if test="event/edit_link">
-            <div class="actions">
-                <button 
onclick="location.href='{event/edit_link}'"><xsl:value-of 
select="php:function('lang', 'Edit event')"/></button>
-            </div>
-       </xsl:if>
+    <!--div style="float: right"><a onclick="schedule.closeOverlay(); return 
false" style="cursor:pointer;"><xsl:value-of select="php:function('lang', 
'Close')"/></a></div-->
+    <h3><xsl:value-of select="php:function('lang', 'Event')"/> #<xsl:value-of 
select="event/id"/></h3>
+    <xsl:if test="event/is_public=1">
+        <div>
+            <xsl:value-of select="event/description" 
disable-output-escaping="yes"/>
+        </div>
+    </xsl:if>
+    <div class="pure-form pure-form-aligned">
+        <div class="pure-control-group">
+            <label><h4><xsl:value-of select="php:function('lang', 
'Where')"/></h4></label>
+            <a href="{event/building_link}"><xsl:value-of 
select="event/resources[position()=1]/building_name"/></a>
+            (<xsl:value-of select="event/resource_info"/>)
+        </div>
+        <div class="pure-control-group">
+            <label><h4><xsl:value-of select="php:function('lang', 
'When')"/></h4></label>
+            <xsl:value-of select="event/when"/>
+        </div>
+        <div class="pure-control-group">
+            <label><h4><xsl:value-of select="php:function('lang', 
'Who')"/></h4></label>
+            <xsl:if test="event/is_public=1">
+                <xsl:value-of select="event/contact_name"/>
+            </xsl:if>
+            <xsl:if test="event/is_public=0">
+                <xsl:value-of select="php:function('lang', 'Private event')"/>
+            </xsl:if>
+        </div>
+    </div>
+    <xsl:if test="event/edit_link">
+        <div class="actions">
+            <button onclick="location.href='{event/edit_link}'" 
class="pure-button pure-button-primary"><xsl:value-of 
select="php:function('lang', 'Edit event')"/></button>
+        </div>
+    </xsl:if>
 </xsl:template>




reply via email to

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