Author: peter
Date: Mon Sep 14 14:06:01 2009
New Revision: 3270

Log:
move and restyle actor and repository search on their list templates

Modified:
   trunk/apps/qubit/modules/actor/config/view.yml
   trunk/apps/qubit/modules/actor/templates/listSuccess.php
   trunk/apps/qubit/modules/repository/config/view.yml
   trunk/apps/qubit/modules/repository/templates/listSuccess.php
   trunk/plugins/sfAlouettePlugin/web/css/style.css
   trunk/plugins/sfColumbiaPlugin/web/css/style.css
   trunk/web/css/form.css

Modified: trunk/apps/qubit/modules/actor/config/view.yml
==============================================================================
--- trunk/apps/qubit/modules/actor/config/view.yml      Mon Sep 14 13:15:23 
2009        (r3269)
+++ trunk/apps/qubit/modules/actor/config/view.yml      Mon Sep 14 14:06:01 
2009        (r3270)
@@ -7,7 +7,7 @@
   javascripts: [/sfDrupalPlugin/vendor/drupal/misc/collapse, 
/sfDrupalPlugin/vendor/drupal/misc/textarea, multiDelete]
 
 listSuccess:
-  javascripts: [search]
+  javascripts:
   components:
     sidebar: []
 

Modified: trunk/apps/qubit/modules/actor/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/actor/templates/listSuccess.php    Mon Sep 14 
13:15:23 2009        (r3269)
+++ trunk/apps/qubit/modules/actor/templates/listSuccess.php    Mon Sep 14 
14:06:01 2009        (r3270)
@@ -1,8 +1,3 @@
-<form action="<?php echo url_for(array('module' => 'actor', 'action' => 
'list')) ?>">
-  <?php echo input_tag('query', $sf_request->query, array('class' => 
'search')) ?>
-  <?php echo submit_tag(__('Search actors')) ?>
-</form>
-
 <div class="pageTitle"><?php echo __('list %1%', array('%1%' => 
sfConfig::get('app_ui_label_actor'))) ?></div>
 
 <table class="list"><thead><tr>
@@ -42,3 +37,10 @@
 </tr><?php endforeach; ?></tbody></table>
 
 <?php echo get_partial('default/pager', array('pager' => $pager)) ?>
+
+<div id="list-search">
+  <form action="<?php echo url_for(array('module' => 'actor', 'action' => 
'list')) ?>">
+    <?php echo input_tag('query', $sf_request->query, array('class' => 
'search')) ?>
+    <?php echo submit_tag(__('search ').sfConfig::get('app_ui_label_actor')) ?>
+  </form>
+</div>

Modified: trunk/apps/qubit/modules/repository/config/view.yml
==============================================================================
--- trunk/apps/qubit/modules/repository/config/view.yml Mon Sep 14 13:15:23 
2009        (r3269)
+++ trunk/apps/qubit/modules/repository/config/view.yml Mon Sep 14 14:06:01 
2009        (r3270)
@@ -2,7 +2,7 @@
   javascripts: [/sfDrupalPlugin/vendor/drupal/misc/collapse, 
/sfDrupalPlugin/vendor/drupal/misc/textarea, multiDelete, multiInstanceSelect, 
multiInstanceInput]
 
 listSuccess:
-  javascripts: [search]
+  javascripts:
   components:
     sidebar: []
 

Modified: trunk/apps/qubit/modules/repository/templates/listSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/repository/templates/listSuccess.php       Mon Sep 
14 13:15:23 2009        (r3269)
+++ trunk/apps/qubit/modules/repository/templates/listSuccess.php       Mon Sep 
14 14:06:01 2009        (r3270)
@@ -1,8 +1,3 @@
-<form action="<?php echo url_for(array('module' => 'repository', 'action' => 
'list')) ?>">
-  <?php echo input_tag('query', $sf_request->query, array('class' => 
'search')) ?>
-  <?php echo submit_tag(__('Search repositories')) ?>
-</form>
-
 <div class="pageTitle"><?php echo __('list %1%', array('%1%' => 
sfConfig::get('app_ui_label_repository'))) ?></div>
 
 <table class="list">
@@ -76,3 +71,10 @@
 </table>
 
 <?php echo get_partial('default/pager', array('pager' => $pager)) ?>
+
+<div id="list-search">
+  <form action="<?php echo url_for(array('module' => 'repository', 'action' => 
'list')) ?>">
+    <?php echo input_tag('query', $sf_request->query, array('class' => 
'search')) ?>
+    <?php echo submit_tag(__('search 
').sfConfig::get('app_ui_label_repository')) ?>
+  </form>
+</div>

Modified: trunk/plugins/sfAlouettePlugin/web/css/style.css
==============================================================================
--- trunk/plugins/sfAlouettePlugin/web/css/style.css    Mon Sep 14 13:15:23 
2009        (r3269)
+++ trunk/plugins/sfAlouettePlugin/web/css/style.css    Mon Sep 14 14:06:01 
2009        (r3270)
@@ -625,6 +625,15 @@
   left: 380px;
 }
 
+/*********************************************************
+                LIST TEMPLATES SEARCH
+**********************************************************/
+
+#list-search
+{
+  background-color: #D5DCB5;
+}
+
 /*******************************************************/
 /*                                                     */
 /*                  TREEVIEW-SKIN.CSS                  */
@@ -640,4 +649,4 @@
 .ygtvlabel:hover {
   background-color: #38420D;
   color: #ffffff;
-}
\ No newline at end of file
+}

Modified: trunk/plugins/sfColumbiaPlugin/web/css/style.css
==============================================================================
--- trunk/plugins/sfColumbiaPlugin/web/css/style.css    Mon Sep 14 13:15:23 
2009        (r3269)
+++ trunk/plugins/sfColumbiaPlugin/web/css/style.css    Mon Sep 14 14:06:01 
2009        (r3270)
@@ -647,6 +647,15 @@
   left: 380px;
 }
 
+/*********************************************************
+                LIST TEMPLATES SEARCH
+**********************************************************/
+
+#list-search
+{
+  background-color: #F1F9FC;
+}
+
 
 /*******************************************************/
 /*                                                     */

Modified: trunk/web/css/form.css
==============================================================================
--- trunk/web/css/form.css      Mon Sep 14 13:15:23 2009        (r3269)
+++ trunk/web/css/form.css      Mon Sep 14 14:06:01 2009        (r3270)
@@ -452,4 +452,45 @@
 .form-item li:hover
 {
   list-style-image: url(../images/delete.png);
-}
\ No newline at end of file
+}
+
+/*********************************************************
+                LIST TEMPLATES SEARCH
+**********************************************************/
+
+#list-search
+{
+  margin: 30px 10px 10px 10px;
+  padding: 5px 3px 3px 3px;
+  height: 27px;
+  width: 95%;
+  background-color: #FF9933;
+  border: 1px solid #999999;
+}
+
+#list-search input#query
+{
+  float: left;
+  width: 250px;
+  font-size: 14px;
+}
+
+#list-search .form-submit, #list-search .form-submit:hover
+{
+  float: none;
+  font: 11px Verdana, Arial, sans-serif;
+  margin: 0 0 0 10px;
+  padding: 3px 3px 6px 3px;
+}
+
+#list-search .textbox
+{
+  background-color: #FFFFFF;
+  border: 1px solid #A3A3A3;
+  font: bold 20px Verdana, Arial, sans-serif;
+}
+
+#list-search .textbox:focus
+{
+  background: #CCCCCC;
+}

--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to