fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [9629]


From: Torstein
Subject: [Fmsystem-commits] [9629]
Date: Tue, 19 Jun 2012 13:26:07 +0000

Revision: 9629
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9629
Author:   vator
Date:     2012-06-19 13:26:00 +0000 (Tue, 19 Jun 2012)
Log Message:
-----------


Modified Paths:
--------------
    trunk/controller/inc/class.uicontrol_group.inc.php
    trunk/controller/inc/class.uicontrol_item.inc.php
    trunk/controller/templates/base/css/base.css

Modified: trunk/controller/inc/class.uicontrol_group.inc.php
===================================================================
--- trunk/controller/inc/class.uicontrol_group.inc.php  2012-06-19 12:49:03 UTC 
(rev 9628)
+++ trunk/controller/inc/class.uicontrol_group.inc.php  2012-06-19 13:26:00 UTC 
(rev 9629)
@@ -118,7 +118,13 @@
                                                                'type' => 
'link',
                                                                'value' => 
$_SESSION['showall'] ? lang('Show only active') : lang('Show all'),
                                                                'href' => 
self::link(array('menuaction' => $this->url_prefix.'.toggle_show_inactive'))
-                                                       )
+                                                       ),
+                                                       array(
+                                                               'type' => 
'link',
+                                                               'value' => 
lang('New control group'),
+                                                               'href' => 
self::link(array('menuaction' => 'controller.uicontrol_group.add')),
+                                                               'class' => 
'new_item'
+                                                       ),
                                                ),
                                        ),
                                ),

Modified: trunk/controller/inc/class.uicontrol_item.inc.php
===================================================================
--- trunk/controller/inc/class.uicontrol_item.inc.php   2012-06-19 12:49:03 UTC 
(rev 9628)
+++ trunk/controller/inc/class.uicontrol_item.inc.php   2012-06-19 13:26:00 UTC 
(rev 9629)
@@ -123,7 +123,13 @@
                                                                'type' => 
'submit',
                                                                'name' => 
'search',
                                                                'value' => 
lang('Search')
-                                                       )
+                                                       ),
+                                                       array(
+                                                               'type' => 
'link',
+                                                               'value' => 
lang('New control item'),
+                                                               'href' => 
self::link(array('menuaction' => 'controller.uicontrol_item.add')),
+                                                               'class' => 
'new_item'
+                                                       ),
                                                ),
                                        ),
                                ),

Modified: trunk/controller/templates/base/css/base.css
===================================================================
--- trunk/controller/templates/base/css/base.css        2012-06-19 12:49:03 UTC 
(rev 9628)
+++ trunk/controller/templates/base/css/base.css        2012-06-19 13:26:00 UTC 
(rev 9629)
@@ -365,12 +365,16 @@
 }
 
 #innertoolbar-button {
-    font-size: 1em;
-    line-height: 1.2em;
-    min-height: 1.2em;
-    padding: 2px 15px;
+  font-size: 1em;
+  line-height: 1.2em;
+  min-height: 1.2em;
+  padding: 2px 15px;
 }
 
+a#innertoolbar-button {
+  padding: 3px 15px;
+}
+
 .row input[type="submit"] {
   padding: 2px 10px;
 }
@@ -432,9 +436,10 @@
 }
 
 .yui-skin-sam .yui-button .first-child {
-  border: 0;
-  margin:0;
+    border: 0 none;
+    margin: 0 10px 0 0;
 }
+
 .yui-skin-sam .yui-button {
   background: none;
   border:0;
@@ -1018,9 +1023,10 @@
        width:150px;    
 }
 
-.new_item a#innertoolbar-button{
-       background: grey;
-       font-weight: bold;
+.new_item a#innertoolbar-button {
+    background: none repeat scroll 0 0 grey;
+    border: 1px solid #666666;
+    font-weight: bold;
 }
 
 #frm_save_check_items input[type="submit"]{




reply via email to

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