allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [25/26] git commit: [#7656] ticket:654 Small amends to layout
Date Fri, 19 Sep 2014 20:04:39 GMT
[#7656] ticket:654 Small amends to layout


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/7cb33a49
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/7cb33a49
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/7cb33a49

Branch: refs/heads/master
Commit: 7cb33a498110a04435ca5a0c2c3fbf9c0ee05221
Parents: 1b7aea6
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Thu Sep 18 10:02:47 2014 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri Sep 19 19:35:42 2014 +0000

----------------------------------------------------------------------
 Allura/allura/lib/widgets/forms.py             |  3 ++-
 Allura/allura/templates/site_admin_search.html | 11 +++++++----
 2 files changed, 9 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/7cb33a49/Allura/allura/lib/widgets/forms.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/forms.py b/Allura/allura/lib/widgets/forms.py
index 0d25079..55700b1 100644
--- a/Allura/allura/lib/widgets/forms.py
+++ b/Allura/allura/lib/widgets/forms.py
@@ -1086,6 +1086,7 @@ class AdminSearchForm(ForgeForm):
         ForgeForm.defaults,
         action='',
         method='get',
+        style='wide',
         submit_text=None)
 
     def __init__(self, fields, *args, **kw):
@@ -1102,7 +1103,7 @@ class AdminSearchForm(ForgeForm):
                     name='f',
                     show_label=False,
                     options=search_fields),
-                ew.InputField(name='q', show_label=False, attrs={'style': 'width: 500px'}),
+                ew.InputField(name='q', show_label=False, attrs={'style': 'width: 600px'}),
                 ew.SubmitButton(
                     show_label=False,
                     attrs={

http://git-wip-us.apache.org/repos/asf/allura/blob/7cb33a49/Allura/allura/templates/site_admin_search.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/site_admin_search.html b/Allura/allura/templates/site_admin_search.html
index b0d86a8..7345c4d 100644
--- a/Allura/allura/templates/site_admin_search.html
+++ b/Allura/allura/templates/site_admin_search.html
@@ -26,9 +26,9 @@
 {% block header %}Search {{ type_s }}s{% endblock %}
 
 {% block content %}
-  <div class="grid-19"><p><a href="/nf/admin">Back to Site Admin Home</a></p></div>
+  <div class="grid-23"><p><a href="/nf/admin">Back to Site Admin Home</a></p></div>
 
-  <div class="grid-19">
+  <div class="grid-23">
     {{ c.search_form.display(q=q, f=f) }}
   </div>
 
@@ -38,7 +38,7 @@
     </table>
   {% endif %}
 
-  <div class="grid-19">
+  <div class="grid-23">
     {{c.page_list.display(limit=limit, page=page_num, count=count)}}
     {{c.page_size.display(limit=limit, page=page_num, count=count)}}
   </div>
@@ -46,7 +46,10 @@
 
 {% block extra_css %}
 <style>
-  table { clear: both; }
+  .pad table {
+    clear: both;
+    width: 900px;
+  }
   table th {
     text-align: left;
     padding: 5px 10px;


Mime
View raw message