fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17384] more on controller: mobilefrontend


From: sigurdne
Subject: [Fmsystem-commits] [17384] more on controller: mobilefrontend
Date: Sat, 2 Dec 2017 08:18:00 -0500 (EST)

Revision: 17384
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17384
Author:   sigurdne
Date:     2017-12-02 08:17:59 -0500 (Sat, 02 Dec 2017)
Log Message:
-----------
more on controller: mobilefrontend

Modified Paths:
--------------
    trunk/controller/js/controller/case.js
    trunk/controller/templates/mobilefrontend/case/cases_tab_menu.xsl
    trunk/controller/templates/mobilefrontend/case/create_case_message.xsl
    trunk/controller/templates/mobilefrontend/case/view_case_message.xsl
    trunk/controller/templates/mobilefrontend/check_list/edit_check_list.xsl
    
trunk/controller/templates/mobilefrontend/check_list/fragments/add_check_list_menu.xsl
    
trunk/controller/templates/mobilefrontend/check_list/fragments/check_list_menu.xsl
    
trunk/controller/templates/mobilefrontend/check_list/fragments/check_list_top_section.xsl
    
trunk/controller/templates/mobilefrontend/check_list/fragments/nav_control_plan.xsl
    trunk/controller/templates/mobilefrontend/check_list/view_control_info.xsl
    trunk/controller/templates/mobilefrontend/css/base.css
    trunk/phpgwapi/templates/mobilefrontend/head.inc.php
    trunk/phpgwapi/templates/mobilefrontend/navbar.inc.php

Added Paths:
-----------
    trunk/phpgwapi/templates/mobilefrontend/css/base.css

Removed Paths:
-------------
    trunk/phpgwapi/templates/mobilefrontend/css/frontend.css

Modified: trunk/controller/js/controller/case.js
===================================================================
--- trunk/controller/js/controller/case.js      2017-12-01 20:06:40 UTC (rev 
17383)
+++ trunk/controller/js/controller/case.js      2017-12-02 13:17:59 UTC (rev 
17384)
@@ -55,10 +55,10 @@
                                                                }
                                                                else
                                                                {
-                                                                       
$(submitBnt).val('Lagre sak');
+                                                                       
$(submitBnt).val('Lagre ny sak');
                                                                }
 
-                                                               
$(submitBnt).addClass("not_active");
+                                                               
$(submitBnt).addClass("case_saved");
                                                        }, 1000);
 
                                                        /*

Modified: trunk/controller/templates/mobilefrontend/case/cases_tab_menu.xsl
===================================================================
--- trunk/controller/templates/mobilefrontend/case/cases_tab_menu.xsl   
2017-12-01 20:06:40 UTC (rev 17383)
+++ trunk/controller/templates/mobilefrontend/case/cases_tab_menu.xsl   
2017-12-02 13:17:59 UTC (rev 17384)
@@ -11,7 +11,7 @@
                                <xsl:if test="$active_tab = 'view_open_cases'">
                                        <xsl:attribute 
name="class">pure-menu-item pure-menu-selected</xsl:attribute>
                                </xsl:if>
-                               <a id="view_open_cases" class="pure-menu-link">
+                               <a id="view_open_cases" class="pure-menu-link 
bigmenubutton">
                                        <xsl:attribute name="href">
                                                
<xsl:text>index.php?menuaction=controller.uicase.view_open_cases</xsl:text>
                                                
<xsl:text>&amp;check_list_id=</xsl:text>
@@ -25,7 +25,7 @@
                                <xsl:if test="$active_tab = 
'view_closed_cases'">
                                        <xsl:attribute 
name="class">pure-menu-item pure-menu-selected</xsl:attribute>
                                </xsl:if>
-                               <a id="view_closed_cases" 
class="pure-menu-link">
+                               <a id="view_closed_cases" class="pure-menu-link 
bigmenubutton">
                                        <xsl:attribute name="href">
                                                
<xsl:text>index.php?menuaction=controller.uicase.view_closed_cases</xsl:text>
                                                
<xsl:text>&amp;check_list_id=</xsl:text>

Modified: trunk/controller/templates/mobilefrontend/case/create_case_message.xsl
===================================================================
--- trunk/controller/templates/mobilefrontend/case/create_case_message.xsl      
2017-12-01 20:06:40 UTC (rev 17383)
+++ trunk/controller/templates/mobilefrontend/case/create_case_message.xsl      
2017-12-02 13:17:59 UTC (rev 17384)
@@ -34,7 +34,7 @@
                                                <xsl:when test="type = 
'component'">
                                                        <li 
class="pure-menu-item">
 
-                                                               <a 
class="pure-menu-link">
+                                                               <a 
class="pure-menu-link bigmenubutton">
                                                                        
<xsl:attribute name="href">
                                                                                
<xsl:value-of select="php:function('get_phpgw_link', '/index.php', 
'menuaction:controller.uicomponent.index' )" />
                                                                                
<xsl:text>&amp;year=</xsl:text>
@@ -52,7 +52,7 @@
                                                </xsl:when>
                                                <xsl:otherwise>
                                                        <li 
class="pure-menu-item">
-                                                               <a 
class="pure-menu-link">
+                                                               <a 
class="pure-menu-link bigmenubutton">
                                                                        
<xsl:attribute name="href">
                                                                                
<xsl:value-of select="php:function('get_phpgw_link', '/index.php', 
'menuaction:controller.uicalendar.view_calendar_for_year' )" />
                                                                                
<xsl:text>&amp;year=</xsl:text>
@@ -65,7 +65,7 @@
                                                        </li>
                                                        <li 
class="pure-menu-item">
 
-                                                               <a 
class="pure-menu-link">
+                                                               <a 
class="pure-menu-link bigmenubutton">
                                                                        
<xsl:attribute name="href">
                                                                                
<xsl:value-of select="php:function('get_phpgw_link', '/index.php', 
'menuaction:controller.uicalendar.view_calendar_for_month' )" />
                                                                                
<xsl:text>&amp;year=</xsl:text>

Modified: trunk/controller/templates/mobilefrontend/case/view_case_message.xsl
===================================================================
--- trunk/controller/templates/mobilefrontend/case/view_case_message.xsl        
2017-12-01 20:06:40 UTC (rev 17383)
+++ trunk/controller/templates/mobilefrontend/case/view_case_message.xsl        
2017-12-02 13:17:59 UTC (rev 17384)
@@ -32,7 +32,7 @@
                                                <xsl:when test="type = 
'component'">
                                                        <li 
class="pure-menu-item">
 
-                                                               <a 
class="pure-menu-link">
+                                                               <a 
class="pure-menu-link bigmenubutton">
                                                                        
<xsl:attribute name="href">
                                                                                
<xsl:value-of select="php:function('get_phpgw_link', '/index.php', 
'menuaction:controller.uicomponent.index' )" />
                                                                                
<xsl:text>&amp;year=</xsl:text>
@@ -50,7 +50,7 @@
                                                </xsl:when>
                                                <xsl:otherwise>
                                                        <li 
class="pure-menu-item">
-                                                               <a 
class="pure-menu-link">
+                                                               <a 
class="pure-menu-link bigmenubutton">
                                                                        
<xsl:attribute name="href">
                                                                                
<xsl:value-of select="php:function('get_phpgw_link', '/index.php', 
'menuaction:controller.uicalendar.view_calendar_for_year' )" />
                                                                                
<xsl:text>&amp;year=</xsl:text>
@@ -63,7 +63,7 @@
                                                        </li>
                                                        <li 
class="pure-menu-item">
 
-                                                               <a 
class="pure-menu-link">
+                                                               <a 
class="pure-menu-link bigmenubutton">
                                                                        
<xsl:attribute name="href">
                                                                                
<xsl:value-of select="php:function('get_phpgw_link', '/index.php', 
'menuaction:controller.uicalendar.view_calendar_for_month' )" />
                                                                                
<xsl:text>&amp;year=</xsl:text>

Modified: 
trunk/controller/templates/mobilefrontend/check_list/edit_check_list.xsl
===================================================================
--- trunk/controller/templates/mobilefrontend/check_list/edit_check_list.xsl    
2017-12-01 20:06:40 UTC (rev 17383)
+++ trunk/controller/templates/mobilefrontend/check_list/edit_check_list.xsl    
2017-12-02 13:17:59 UTC (rev 17384)
@@ -192,8 +192,8 @@
                                                <input class="btn" 
type="submit" name="save_control" value="Lagre detaljer" />
                                        </div-->
                                        <div id="submit_group" class="pure-g">
-                                               <div class="pure-u-1-4">
-                                                       <input  
id="save_check_list" class="pure-button pure-button-primary pure-input-1" 
type="submit" name="save_check_list">
+                                               <div >
+                                                       <input  
id="save_check_list" class="pure-button pure-button-primary" type="submit" 
name="save_check_list">
                                                                <xsl:attribute 
name="value">
                                                                        
<xsl:value-of select="php:function('lang', 'save_check_list')" />
                                                                </xsl:attribute>
@@ -200,8 +200,8 @@
                                                        </input>
                                                </div>
                                                <xsl:if test = 
"check_list/num_open_cases = 0">
-                                                       <div class="pure-u-1-4">
-                                                               <input 
id="submit_ok" class="pure-button pure-button-primary pure-input-1" 
type="submit" name="submit_ok">
+                                                       <div>
+                                                               <input 
id="submit_ok" class="pure-button pure-button-primary" type="submit" 
name="submit_ok">
                                                                        
<xsl:attribute name="value">
                                                                                
<xsl:value-of select="php:function('lang', 'ok')" />
                                                                        
</xsl:attribute>
@@ -208,8 +208,8 @@
                                                                </input>
                                                        </div>
                                                </xsl:if>
-                                               <div class="pure-u-1-4">
-                                                       <input 
id="submit_deviation" class="pure-button pure-button-primary pure-input-1" 
type="submit" name="submit_deviation">
+                                               <div> <!-- class="pure-u-1-4"-->
+                                                       <input 
id="submit_deviation" class="pure-button pure-button-primary" type="submit" 
name="submit_deviation">
                                                                <xsl:attribute 
name="value">
                                                                        
<xsl:value-of select="php:function('lang', 'deviation')" />
                                                                </xsl:attribute>

Modified: 
trunk/controller/templates/mobilefrontend/check_list/fragments/add_check_list_menu.xsl
===================================================================
--- 
trunk/controller/templates/mobilefrontend/check_list/fragments/add_check_list_menu.xsl
      2017-12-01 20:06:40 UTC (rev 17383)
+++ 
trunk/controller/templates/mobilefrontend/check_list/fragments/add_check_list_menu.xsl
      2017-12-02 13:17:59 UTC (rev 17384)
@@ -5,21 +5,21 @@
        </xsl:variable>
 
        <li class="pure-menu-item pure-menu-disabled">
-               <a href="#" class="pure-menu-link">Vis detaljer for 
sjekkliste</a>
+               <a href="#" class="pure-menu-link bigmenubutton">Vis detaljer 
for sjekkliste</a>
        </li>
        <li class="pure-menu-item pure-menu-disabled">
-               <a href="#" class="pure-menu-link">Vis saker</a>
+               <a href="#" class="pure-menu-link bigmenubutton">Vis saker</a>
        </li>
        <li class="pure-menu-item pure-menu-disabled">
-               <a href="#" class="pure-menu-link">Vis info om kontroll</a>
+               <a href="#" class="pure-menu-link bigmenubutton">Vis info om 
kontroll</a>
        </li>
        <li class="pure-menu-item pure-menu-disabled">
-               <a href="#" class="pure-menu-link">
+               <a href="#" class="pure-menu-link bigmenubutton">
                        <xsl:value-of select="php:function('lang', 'add 
case')"/>
                </a>
        </li>
        <li class="pure-menu-item pure-menu-disabled">
-               <a href="#" class="pure-menu-link">
+               <a href="#" class="pure-menu-link bigmenubutton">
                        <xsl:value-of select="php:function('lang', 'add 
ticket')"/>
                </a>
        </li>

Modified: 
trunk/controller/templates/mobilefrontend/check_list/fragments/check_list_menu.xsl
===================================================================
--- 
trunk/controller/templates/mobilefrontend/check_list/fragments/check_list_menu.xsl
  2017-12-01 20:06:40 UTC (rev 17383)
+++ 
trunk/controller/templates/mobilefrontend/check_list/fragments/check_list_menu.xsl
  2017-12-02 13:17:59 UTC (rev 17384)
@@ -11,7 +11,7 @@
                                <xsl:attribute name="class">pure-menu-item 
pure-menu-selected</xsl:attribute>
                        </xsl:when>
                </xsl:choose>
-               <a class="pure-menu-link">
+               <a class="pure-menu-link bigmenubutton">
                        <xsl:attribute name="href">
                                
<xsl:text>index.php?menuaction=controller.uicheck_list.edit_check_list</xsl:text>
                                <xsl:text>&amp;check_list_id=</xsl:text>
@@ -26,7 +26,7 @@
                <xsl:if test="$active_tab = 'view_cases'">
                        <xsl:attribute name="class">pure-menu-item 
pure-menu-selected</xsl:attribute>
                </xsl:if>
-               <a class="pure-menu-link">
+               <a class="pure-menu-link bigmenubutton">
                        <xsl:attribute name="href">
                                
<xsl:text>index.php?menuaction=controller.uicase.view_open_cases</xsl:text>
                                <xsl:text>&amp;check_list_id=</xsl:text>
@@ -43,7 +43,7 @@
                                <xsl:attribute name="class">pure-menu-item 
pure-menu-selected</xsl:attribute>
                        </xsl:when>
                </xsl:choose>
-               <a class="pure-menu-link">
+               <a class="pure-menu-link bigmenubutton">
                        <xsl:attribute name="href">
                                
<xsl:text>index.php?menuaction=controller.uicheck_list.view_control_info</xsl:text>
                                <xsl:text>&amp;check_list_id=</xsl:text>
@@ -55,7 +55,7 @@
        </li>
        <!-- ==================  REGISTER NEW CASE  ===================== -->
        <li class="pure-menu-item">
-               <a class="pure-menu-link">
+               <a class="pure-menu-link bigmenubutton">
                        <xsl:attribute name="href">
                                
<xsl:text>index.php?menuaction=controller.uicase.add_case</xsl:text>
                                <xsl:text>&amp;check_list_id=</xsl:text>
@@ -67,7 +67,7 @@
        </li>
        <!-- ==================  REGISTER NEW MESSAGE  ===================== -->
        <li class="pure-menu-item">
-               <a class="pure-menu-link">
+               <a class="pure-menu-link bigmenubutton">
                        <xsl:attribute name="href">
                                
<xsl:text>index.php?menuaction=controller.uicase.create_case_message</xsl:text>
                                <xsl:text>&amp;check_list_id=</xsl:text>

Modified: 
trunk/controller/templates/mobilefrontend/check_list/fragments/check_list_top_section.xsl
===================================================================
--- 
trunk/controller/templates/mobilefrontend/check_list/fragments/check_list_top_section.xsl
   2017-12-01 20:06:40 UTC (rev 17383)
+++ 
trunk/controller/templates/mobilefrontend/check_list/fragments/check_list_top_section.xsl
   2017-12-02 13:17:59 UTC (rev 17384)
@@ -42,7 +42,7 @@
                                                <xsl:choose>
                                                        <xsl:when 
test="check_list/status = 0">
                                                                <input 
id='update-check-list-status-value' type="hidden" name="status" value="1" />
-                                                               <input 
id="status_submit" type="submit" class="pure-button pure-button-primary">
+                                                               <input 
id="status_submit" type="submit" class="pure-button pure-button-primary 
bigmenubutton">
                                                                        
<xsl:attribute name="value">
                                                                                
<xsl:value-of select="php:function('lang', 'set status: done')" />
                                                                        
</xsl:attribute>
@@ -50,7 +50,7 @@
                                                        </xsl:when>
                                                        <xsl:otherwise>
                                                                <input 
id='update-check-list-status-value' type="hidden" name="status" value="0" />
-                                                               <input 
type="submit" class="pure-button pure-button-primary">
+                                                               <input 
type="submit" class="pure-button pure-button-primary bigmenubutton">
                                                                        
<xsl:attribute name="value">
                                                                                
<xsl:value-of select="php:function('lang', 'is_executed')" />
                                                                        
</xsl:attribute>

Modified: 
trunk/controller/templates/mobilefrontend/check_list/fragments/nav_control_plan.xsl
===================================================================
--- 
trunk/controller/templates/mobilefrontend/check_list/fragments/nav_control_plan.xsl
 2017-12-01 20:06:40 UTC (rev 17383)
+++ 
trunk/controller/templates/mobilefrontend/check_list/fragments/nav_control_plan.xsl
 2017-12-02 13:17:59 UTC (rev 17384)
@@ -8,7 +8,7 @@
        <xsl:choose>
                <xsl:when test="type = 'component'">
                        <li class="pure-menu-item">
-                               <a class="pure-menu-link">
+                               <a class="pure-menu-link bigmenubutton">
                                        <xsl:attribute name="href">
                                                <xsl:value-of 
select="php:function('get_phpgw_link', '/index.php', 
'menuaction:controller.uicomponent.index' )" />
                                                <xsl:text>&amp;year=</xsl:text>
@@ -26,7 +26,7 @@
                </xsl:when>
                <xsl:otherwise>
                        <li class="pure-menu-item">
-                               <a class="pure-menu-link">
+                               <a class="pure-menu-link bigmenubutton">
                                        <xsl:attribute name="href">
                                                <xsl:value-of 
select="php:function('get_phpgw_link', '/index.php', 
'menuaction:controller.uicalendar.view_calendar_for_year' )" />
                                                <xsl:text>&amp;year=</xsl:text>
@@ -38,7 +38,7 @@
                                </a>
                        </li>
                        <li class="pure-menu-item">
-                               <a class="pure-menu-link">
+                               <a class="pure-menu-link bigmenubutton">
                                        <xsl:attribute name="href">
                                                <xsl:value-of 
select="php:function('get_phpgw_link', '/index.php', 
'menuaction:controller.uicalendar.view_calendar_for_month' )" />
                                                <xsl:text>&amp;year=</xsl:text>

Modified: 
trunk/controller/templates/mobilefrontend/check_list/view_control_info.xsl
===================================================================
--- trunk/controller/templates/mobilefrontend/check_list/view_control_info.xsl  
2017-12-01 20:06:40 UTC (rev 17383)
+++ trunk/controller/templates/mobilefrontend/check_list/view_control_info.xsl  
2017-12-02 13:17:59 UTC (rev 17384)
@@ -78,7 +78,7 @@
        <div class="pure-menu pure-menu-horizontal pure-menu-scrollable">
                <ul class="pure-menu-list">
                        <li class="pure-menu-item pure-menu-selected">
-                               <a id="view_control_details" 
class="pure-menu-link">
+                               <a id="view_control_details" 
class="pure-menu-link bigmenubutton">
                                        <xsl:attribute name="value">
                                                
<xsl:text>index.php?menuaction=controller.uicheck_list.view_control_details</xsl:text>
                                                
<xsl:text>&amp;control_id=</xsl:text>
@@ -92,7 +92,7 @@
                                </a>
                        </li>
                        <li class="pure-menu-item">
-                               <a id="view_control_items" 
class="pure-menu-link">
+                               <a id="view_control_items" 
class="pure-menu-link bigmenubutton">
                                        <xsl:attribute name="value">
                                                
<xsl:text>index.php?menuaction=controller.uicheck_list.view_control_items</xsl:text>
                                                
<xsl:text>&amp;check_list_id=</xsl:text>
@@ -104,7 +104,7 @@
                                </a>
                        </li>
                        <li class="pure-menu-item">
-                               <a id="view_procedures" class="pure-menu-link">
+                               <a id="view_procedures" class="pure-menu-link 
bigmenubutton">
                                        <xsl:attribute name="value">
                                                
<xsl:text>index.php?menuaction=controller.uiprocedure.view_procedures_for_control</xsl:text>
                                                
<xsl:text>&amp;check_list_id=</xsl:text>

Modified: trunk/controller/templates/mobilefrontend/css/base.css
===================================================================
--- trunk/controller/templates/mobilefrontend/css/base.css      2017-12-01 
20:06:40 UTC (rev 17383)
+++ trunk/controller/templates/mobilefrontend/css/base.css      2017-12-02 
13:17:59 UTC (rev 17384)
@@ -19,26 +19,34 @@
 #save_check_list
 {
        text-align: center;
-    padding: 32px 5px;
-       margin-bottom: 10px;
+       width: 140px;
 }
-#submit_ok {
+
+#submit_ok
+{
        text-align: center;
        background-color: #4CAF50; /* Green */
-    padding: 32px 5px;
-       margin-bottom: 10px;
+       width: 140px;
 }
+
 #submit_deviation {
        text-align: center;
        background-color: #f44336;
-    padding: 32px 5px;
-       margin-bottom: 10px;
+       width: 140px;
 }
+
 #submit_group {
        position: relative;
     float: none;
        margin-left: 150px;
+       margin-bottom: 10px;
+
 }
+
+.case_saved
+{
+       background-color: #4CAF50; /* Green */
+}
 ul.add-cases {
     list-style-type: none;
 }
@@ -56,11 +64,6 @@
     padding: 7px 10px;
 }
 
-body {
-       margin-left:5px;
-       margin-right:5px;
-       padding:0;
-}
 .frm_update_case{
   display: none;
 }
@@ -68,53 +71,3 @@
   display: block;
 }
 
-
-* {
-  box-sizing: border-box;
-}
-html {
- /* font-family: helvetica;*/
-}
-
-html, body {
-  max-width: 100vw;
-}
-
-table {
- margin: auto;
-  border-collapse: collapse;
-  overflow-x: auto;
-  display: block;
-  width: fit-content;
-  max-width: 100%;
-  box-shadow: 0 0 1px 1px rgba(0, 0, 0, .1);
-}
-
-td, th {
-  border: solid rgb(200, 200, 200) 1px;
-  padding: .5rem;
-}
-
-th {
-  text-align: left;
-  background-color: rgb(190, 220, 250);
- /* text-transform: uppercase;*/
-  padding-top: 1rem;
-  padding-bottom: 1rem;
-  border-bottom: rgb(50, 50, 100) solid 2px;
-  border-top: none;
-}
-
-td {
-  white-space: nowrap;
-  border-bottom: none;
-  color: rgb(20, 20, 20);
-}
-
-td:first-of-type, th:first-of-type {
-  border-left: none;
-}
-
-td:last-of-type, th:last-of-type {
-  border-right: none;
-}
\ No newline at end of file

Copied: trunk/phpgwapi/templates/mobilefrontend/css/base.css (from rev 17383, 
trunk/phpgwapi/templates/mobilefrontend/css/frontend.css)
===================================================================
--- trunk/phpgwapi/templates/mobilefrontend/css/base.css                        
        (rev 0)
+++ trunk/phpgwapi/templates/mobilefrontend/css/base.css        2017-12-02 
13:17:59 UTC (rev 17384)
@@ -0,0 +1,115 @@
+
+/* CSS for newlayout */
+
+
+#wrapper{
+background-color: #fff;
+width: 100%;
+textalign: left;
+margin: 0 auto;
+padding: 0 0px 40px;
+}
+
+#header{
+overflow: hidden;
+line-height: 1;
+width: 100%;
+background-image: none !important;
+height: 40px !important;
+}
+
+.clearBoth {
+       clear: both;
+}
+.messages {
+       font-size: 15px;
+}
+.messages table {
+       display: inline;
+       position: absolute;
+}
+
+body {
+    text-align: left;
+}
+
+body{
+color: #575757;
+width:100%;
+height:100%;
+/*background: #fff;*/
+/*url('../images/newlayout/bodyBg.gif') repeat-x;text-align: left;width:100%;*/
+}
+
+.required
+{
+       border: 1px solid red
+}
+
+
+.bigmenubutton
+{
+       padding: 32px 5px;
+       border: 1px solid #E7E1DA;
+}
+
+.pure-button
+{
+       padding: 32px 10px;
+}
+
+body {
+       margin-left:5px;
+       margin-right:5px;
+       padding:0;
+}
+
+* {
+  box-sizing: border-box;
+}
+html {
+ /* font-family: helvetica;*/
+}
+
+html, body {
+  max-width: 100vw;
+}
+
+table {
+ margin: auto;
+  border-collapse: collapse;
+  overflow-x: auto;
+  display: block;
+  width: fit-content;
+  max-width: 100%;
+  box-shadow: 0 0 1px 1px rgba(0, 0, 0, .1);
+}
+
+td, th {
+  border: solid rgb(200, 200, 200) 1px;
+  padding: .5rem;
+}
+
+th {
+  text-align: left;
+  background-color: rgb(190, 220, 250);
+ /* text-transform: uppercase;*/
+  padding-top: 1rem;
+  padding-bottom: 1rem;
+  border-bottom: rgb(50, 50, 100) solid 2px;
+  border-top: none;
+}
+
+td {
+  white-space: nowrap;
+  border-bottom: none;
+  color: rgb(20, 20, 20);
+}
+
+td:first-of-type, th:first-of-type {
+  border-left: none;
+}
+
+td:last-of-type, th:last-of-type {
+  border-right: none;
+}
\ No newline at end of file

Deleted: trunk/phpgwapi/templates/mobilefrontend/css/frontend.css
===================================================================
--- trunk/phpgwapi/templates/mobilefrontend/css/frontend.css    2017-12-01 
20:06:40 UTC (rev 17383)
+++ trunk/phpgwapi/templates/mobilefrontend/css/frontend.css    2017-12-02 
13:17:59 UTC (rev 17384)
@@ -1,518 +0,0 @@
-body {
-    font: normal small verdana,sans-serif;
-    margin: 0;
-    text-align: left;
-    background: white;
-}
-button { padding: .3em .6em; margin: .4em 0;}
-a:link, a:visited { color: black;}
-div#wrapper {}
-ul#metanav {
-    float: right;
-    list-style-type: none;
-       padding-top: 10px;
-}
-ul#metanav a, ul#sidebar a { color: #700; }
-div#content {
-    margin: 0 2em;
-    min-height: 500px;
-}
-#header-search  { 
-    float: right;
-    margin: -1.5em 1em 1em 1em;
-}
-#header-search.hidden  { display: none; }
-#header-search .query { width: 15em;}
-
-div#header {
-    background: url(../images/header_bg.png) repeat-x;
-    height: 129px;
-}
-div#header a {
-       float: left;
-}
-div#logo {
-    width: 125px;
-    height: 114px;
-    margin-left: 10px;
-}
-div#centerimage {
-    background: url(../images/header_fg.png) no-repeat;
-       background-position: bottom center;
-       margin: 0 auto;
-       padding-top: 4px;
-       height: 109px;
-       overflow: hidden;
-}
-div#footer {
-    border-top: 1px solid #aaa;
-    padding-top: .3em;
-    color: #666;
-    font-size: 90%;
-}
-ul.nav { 
-    list-style-type: 0;
-    padding-left: 0;
-}
-div.clr {clear: both;}
-ul.nav a { color: inherit; }
-ul.nav li { display: inline;}
-ul.nav li:before { content: '⇒ '; font-size: 90%; color: #444;}
-ul.nav li:first-child:before { display: none; }
-#login-bar {
-    clear: right;
-    float: right;
-    padding: .5em 1em 0 0;
-}
-form#search {
-    text-align: center;
-    padding-top: 5em;
-}
-input#search {
-    font-size: 120%;
-    color: #666;
-    width: 20em;
-}
-div.hint {
-       margin-top: 0.4em;
-    font-size: 90%;
-    color: #444;
-}
-div.hint i { color: #383;}
-
-ol#result {
-    padding-left: 0;
-}
-ol#result dl { margin: 0; }
-
-ol#result .header {
-    font-size: 120%;
-    background-color: #eee;
-    border-top: 1px solid #ccc;
-    border-bottom: 1px solid #ccc;
-    padding: .1em 0em .25em .2em;
-    margin-top: .5em;
-}
-ol#result .details {
-}
-ol#result .details h4 {
-    margin: 0.2em 0 0 0;
-    font-weight: normal;
-    font-style: italic;
-    color: #888;
-}
-ol#result .details .col {
-    padding: 0em 0.2em 0.4em 0.2em;
-    /*float: left;*/
-    width: 50%;
-    /*border: 1px solid #eee;*/
-}
-ol#result .details .moreInfo {
-    margin-top: .4em;
-}
-
-ol#result li:last-child {
-       border-bottom: 1px solid #ccc;
-}
-
-dl.form {}
-
-dl.form dt {
-    font-style: italic;
-    font-weight: bolder;
-    margin: .5em 0 .1em 0;
-    color: #002;
-}
-
-dl.form dt label { font-size: 90%; color: #733; font-style: italic;}
-dl.form dd {
-    float: left;
-    margin: 0 0 0 .4em;
-}
-table.fancyTable {
-    border-spacing: 0;
-    border: 1px solid #ccc;
-}
-table.fancyTable thead th {
-    font-weight: normal;
-    border-bottom: 1px solid #777;
-    padding: .1em .3em;
-    font-size: 85%;
-    font-style: italic;
-    color: #744;
-}
-table.fancyTable tbody td {
-    padding: .2em .7em;
-    border-bottom: 1px solid white;
-}
-table.fancyTable tbody tr:hover td {
-    background: #ffe;
-    border-bottom-color: #cca;
-}
-table.fancyTable tbody td.godkand { color: #474; }
-table.fancyTable tbody td.avslag { color: #744; }
-table.fancyTable tbody td.inskickad { color: #447; }
-table.fancyTable tbody td.ny { color: #447; }
-table.fancyTable tbody td a{ color: inherit; text-decoration: inherit;}
-
-div#help {
-    width: 15em;
-    float: right;
-    background: #3287d8;
-    border: 1px solid #66a;
-    border-radius: .6em;
-    -moz-border-radius: .6em;
-    -webkit-border-radius: .6em;
-    color: white;
-}
-div#help dl { margin: .2em .8em; min-height: 10em;}
-div#help dl dd { font-style: italic;}
-div#help h2 { 
-    margin: 0; 
-    font-size: 80%; 
-    padding: .1em .5em;
-    font-weight: normal;
-    border-bottom: 1px solid #67b1ff;
-}
-#weekView tr.time td { border-top: 1px solid #aaa;}
-#weekView tr td:first-child { background: #ddd;}
-
-
-#cloud {
-    text-align: center;
-    list-style-type: none;
-    padding-left: 0;
-    color: #888;
-    margin: 3em 0;
-    font-size: 120%;
-}
-#cloud div { padding: .2em};
-#cloud strong { padding: .2em};
-
-#cloud li { display: inline; white-space: nowrap; padding: 0 .2em;}
-#cloud li.small { font-size: 100%;}
-#cloud li.medium { font-size: 130%;}
-#cloud li.large { font-size: 200%; color: #777;}
-#cloud li.xlarge { font-size: 240%; color: #555;}
-#cloud li:hover { text-decoration: underline; cursor: pointer; }
-
-dl.tooltip  { width: 300px;}
-
-dl.tooltip dt {
-    float: left;
-    clear: left;
-    width: 7em;
-    font-style: italic;
-}
-
-dl.tooltip dd {
-    float: left;
-}
-
-div.info:hover { 
-    background-image: url(../images/info.png);
-    background-repeat: no-repeat;
-    background-position: 100% 0%;
-}
-
-dl.contactinfo {}
-dl.contactinfo dt {
-  margin-left: 1em;
-}
-dl.contactinfo dd {
-  margin-left: 2em;
-}
-
-/*#frontend {
-       width: 900px;
-}*/
-
-#frontend dl.proplist-col {
-       width: 300px;
-}
-
-#frontend dl.proplist-col.main {
-       width: 400px;
-}
-
-#frontend dl.proplist-col.images {
-       float:right;
-       clear:right;
-}
-
-
-
-#frontend h2 { margin-bottom: 0.1em;}
-#frontend dl.proplist.images dd img { width: 300px; border:1px solid #777; 
padding: 1px;}
-#frontend dl.proplist.images dl { margin-bottom: 1.5em; }
-
-#frontend #result dl.proplist.images dt { display: none;}
-#frontend #result dl.proplist.images dd { display: inline; padding-right: 1em;}
-#frontend #result dl.proplist.images dd img { width: auto; height: 120px; 
border:1px solid black;}
-
-
-#agegroup {
-    background: #eee;
-    white-space: nowrap;
-}
-#agegroup, #agegroup td, #agegroup th { width: 1%; }
-#agegroup td, #agegroup th { padding: .1em .3em;}
-#agegroup td input { width: 3em; }
-
-#overlay-info { padding: 1em; }
-#overlay-info h3 { margin: 0 0 .9em 0; }
-#overlay-info dt { font-style: italic; font-weight: bolder; font-size: 90%;}
-#overlay-info dd { padding-left: 2em; }
-#overlay-info .close { float: right; }
-#overlay-info .actions { margin-top: 1em;}
-
-.yui-calendar td.calcell {
-       border:0px !important;
-}
-.yui-skin-sam .yui-dt TABLE TH{
-       border: none !important;
-}
-.yui-skin-sam .yui-dt TABLE TD{
-       border: none !important;
-}
-
-/* CSS for newlayout */
-body{
-color: #575757;
-margin:0;
-padding:0;
-width:100%;
-height:100%;
-background: #fff url('../images/newlayout/bodyBg.gif') repeat-x;text-align: 
left;width:100%;
-}
-
-#wrapper{
-background-color: #fff;
-width: 100%;
-textalign: left;
-margin: 0 auto;
-padding: 0 0px 40px;
-}
-
-#header{
-overflow: hidden;
-line-height: 1;
-width: 100%;
-background-image: none !important;
-height: 40px !important;
-}
-
-#login-bar{
-margin-top:10px;
-}
-
-#login-bar a{
-border-right: 1px solid #575757;
-padding: 0 0.5em;
-line-height: 1.2em;
-}
-#home-menu{
-margin: 0 0 0 16px !important;
-}
-
-
-#home-menu a{
-border-right: 1px solid #575757;
-padding: 0 0.5em;
-line-height: 1.2em;
-}
-
-#app-menu{
-margin: 0 0 0 16px !important;
-}
-
-#app-menu a{
-border-right: 1px solid #575757;
-padding: 0 0.5em;
-line-height: 1.2em;
-}
-
-#applications{
-margin: 0 0 0 16px !important;
-}
-
-#applications a{
-border-right: 1px solid #575757;
-padding: 0 0.5em;
-line-height: 1.2em;
-}
-
-
-#logo{
-background: url(../images/newlayout/logo.png) no-repeat;
-float: left;
-height: 75px;
-width: 102px;
-margin: 14px 0 0 49px !important;
-}
-
-#centerimage{
-display: block !important;
-margin-right: 5px !important;
-width: 172px !important;
-height: 108px !important;
-background: url(../images/newlayout/aktivby_logo.jpg) no-repeat !important;
-background-position: bottom center !important;
-padding: 22px 0px 0px 100px !important;
-}
-
-#header-search{
-margin: -3em 1em 1em 1em;
-}
-
-#frontend{
-background-image: url(../images/newlayout/pageContainerBg.gif);
-background-repeat: repeat-x;
-}
-
-#line{
-border-top: 5px solid #B11F24; 
-clear: left;
-height: 30px;
-width: 100%;
-margin-left: 0px;
-}
- #content{
-text-align:left;
-}
-
-#cloud{
-text-align:left;
-margin-left: 280px;
-}
-
-#footer{
-border: none !important;
-/*background:url('../images/newlayout/footerFjell_inkl_bunnlinje.gif') 
no-repeat scroll center top transparent;*/
-clear:both;
-overflow:auto;
-height:20px;
-}
-
-#footer_address{
-padding-top: 1.5em;
-}
-
-#yui-history-iframe {
-    height: 1px;
-    left: 0;
-    position: absolute;
-    top: 0;
-    visibility: hidden;
-    width: 1px;
-}
-
-
-.requirement {
-       line-height:2;
-}
-.requirement hr {
-       border: 1px solid white;
-}
-.requirement-responsibility-left {
-       float: left;
-       margin-left: 1em;
-}
-.requirement-responsibility-left h2 {
-       text-transform: uppercase;
-       margin-bottom: 0em;;
-}
-.requirement-responsibility-left-sub {
-       float: left;
-}
-.requirement-responsibility-right {
-       float: right;
-       margin-left: 1em;
-}
-
-.requirement-responsibility-right .proplist-col {
-       width: auto;
-}
-.requirement-description {
-       margin-left: 1em;
-       margin-bottom: 1em;
-}
-.requirement-condition {
-       margin-left: 1em;
-       line-height: 2.2;
-}
-.requirement-related {
-       margin-left: 1em;
-}
-.requirement-action-left {
-       float:left;
-       width: 20%;
-       margin-left:1em;
-       border-right: 1px solid white;
-}
-.requirement-action-right {
-       margin-left: 1em;
-       width: 75%;
-       float:right;
-}
-.requirement-action-label {
-       width: 45%;
-}
-.requirement-action-label-wide {
-       width: 45%;
-}
-.requirement-action-sub-left {
-       float:left;
-       width:45%;
-}
-.requirement-action-sub-left div {
-       line-height: 2;
-}
-.requirement-action-sub-right {
-       float: right;
-       text-align: left;
-       width: 50%;
-}
-.requirement-action-sub-right div {
-       line-height: 2;
-}
-.clearBoth {
-       clear: both;
-}
-.messages {
-       font-size: 15px;
-}
-.messages table {
-       display: inline;
-       position: absolute;
-}
-.coordinator_select dd select{
-       width:300px;
-}
-.controlButton {
-       margin-left: 2em;
-       margin-right: 1.5em;
-       float: right;
-}
-.requirement-condition .proplist-col table tr td table {
-       border: none;
-       padding-left: 2px;
-       padding-right: 2px;
-}
-.requirement-condition .proplist-col table tr td table th {
-       border: none;
-       background: none;
-       font-weight: bold;
-       padding-right: 1em;
-}
-.requirement-condition .proplist-col table tr td table td {
-       border: none;
-       padding-right: 1em;
-       text-align: center;
-       font-weight: bold;
-}
-
-.required {
-border: 1px solid red
-}
-

Modified: trunk/phpgwapi/templates/mobilefrontend/head.inc.php
===================================================================
--- trunk/phpgwapi/templates/mobilefrontend/head.inc.php        2017-12-01 
20:06:40 UTC (rev 17383)
+++ trunk/phpgwapi/templates/mobilefrontend/head.inc.php        2017-12-02 
13:17:59 UTC (rev 17384)
@@ -31,7 +31,7 @@
        $stylesheets[] = "/phpgwapi/templates/bookingfrontend/css/frontend.css";
     $stylesheets[] = "/bookingfrontend/css/bookingfrontend.css";
 
-//     $stylesheets[] = "/phpgwapi/templates/mobilefrontend/css/frontend.css";
+       $stylesheets[] = "/phpgwapi/templates/mobilefrontend/css/base.css";
 
        foreach ( $stylesheets as $stylesheet )
        {

Modified: trunk/phpgwapi/templates/mobilefrontend/navbar.inc.php
===================================================================
--- trunk/phpgwapi/templates/mobilefrontend/navbar.inc.php      2017-12-01 
20:06:40 UTC (rev 17383)
+++ trunk/phpgwapi/templates/mobilefrontend/navbar.inc.php      2017-12-02 
13:17:59 UTC (rev 17384)
@@ -29,19 +29,19 @@
 
 
                $topmenu = <<<HTML
-               <div class="pure-menu pure-menu-horizontal">
+               <div class="pure-menu pure-menu-horizontal 
pure-menu-scrollable">
                        <ul class="pure-menu-list">
                                <li class="pure-menu-heading pure-menu-link 
pure-menu-selected">
-                                       <a href="{$site_url}" 
class="pure-menu-link">{$GLOBALS['phpgw_info']['user']['fullname']}</a>
+                                       <a href="{$site_url}" 
class="pure-menu-link 
bigmenubutton">{$GLOBALS['phpgw_info']['user']['fullname']}</a>
                                </li>
                                <li class="pure-menu-item">
-                                       <a href="{$controller_url}" 
class="pure-menu-link">{$controller_text}</a>
+                                       <a href="{$controller_url}" 
class="pure-menu-link bigmenubutton">{$controller_text}</a>
                                </li>
                                <li class="pure-menu-item">
-                                       <a href="{$tts_url}" 
class="pure-menu-link">{$tts_text}</a>
+                                       <a href="{$tts_url}" 
class="pure-menu-link bigmenubutton">{$tts_text}</a>
                                </li>
                                <li class="pure-menu-item">
-                                       <a href="{$condition_survey_url}" 
class="pure-menu-link">{$condition_survey_text}</a>
+                                       <a href="{$condition_survey_url}" 
class="pure-menu-link bigmenubutton">{$condition_survey_text}</a>
                                </li>
 HTML;
 
@@ -49,7 +49,7 @@
                {
                        $topmenu .= <<<HTML
                                <li class="pure-menu-item">
-                                       <a href="{$movein_url}" 
class="pure-menu-link">{$movein_text}</a>
+                                       <a href="{$movein_url}" 
class="pure-menu-link bigmenubutton">{$movein_text}</a>
                                </li>
 HTML;
 
@@ -58,7 +58,7 @@
                {
                        $topmenu .= <<<HTML
                                <li class="pure-menu-item">
-                                       <a href="{$moveout_url}" 
class="pure-menu-link">{$moveout_text}</a>
+                                       <a href="{$moveout_url}" 
class="pure-menu-link bigmenubutton">{$moveout_text}</a>
                                </li>
 HTML;
 




reply via email to

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