Author: david
Date: Thu Sep 29 10:46:03 2011
New Revision: 9870

Log:
Move print button into h1.label.  Scale image to 20x20px to fit

Modified:
   trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php
   trunk/images/printer-icon.png
   trunk/plugins/sfCaribouPlugin/css/style.css

Modified: trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php  Thu Sep 
29 09:59:20 2011        (r9869)
+++ trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php  Thu Sep 
29 10:46:03 2011        (r9870)
@@ -1,10 +1,9 @@
 <h1><?php echo __('View %1%', array('%1%' => 
sfConfig::get('app_ui_label_physicalobject'))) ?></h1>
 
-<h1 class="label"><?php echo render_title($resource) ?></h1>
-
-<div id="action-icons">
-  <?php echo link_to(image_tag('printer-icon.png', array('alt' => 
__('Print'))), array($resource, 'module' => 'physicalobject', 'action' => 
'boxList'), array('title' => __('Print'))) ?>
-</div>
+<h1 class="label">
+  <?php echo render_title($resource) ?>
+  <?php echo link_to(image_tag('printer-icon.png', array('alt' => __('Print'), 
'id' => 'print-button')), array($resource, 'module' => 'physicalobject', 
'action' => 'boxList'), array('title' => __('Print'))) ?>
+</h1>
 
 <div class="section">
 

Modified: trunk/images/printer-icon.png
==============================================================================
Binary file (source and/or target). No diff available.

Modified: trunk/plugins/sfCaribouPlugin/css/style.css
==============================================================================
--- trunk/plugins/sfCaribouPlugin/css/style.css Thu Sep 29 09:59:20 2011        
(r9869)
+++ trunk/plugins/sfCaribouPlugin/css/style.css Thu Sep 29 10:46:03 2011        
(r9870)
@@ -337,22 +337,8 @@
   margin: 0;
 }
 
-#action-icons
+#print-button
 {
-  background-color: #EDF5FA;
-  border-width: 0 1px 1px 1px;
-  border-color: #D3E7F4;
-  border-style: solid;
-
-  border-radius: 2px;
-  -moz-border-radius: 2px;
-  -webkit-border-radius: 2px;
-
-  text-align: right;
-  padding: 3px;
-}
-
-#action-icons img
-{
-  margin: 0px 3px;
+  margin: 2px 3px;
+  float: right;
 }

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to