allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject allura git commit: [#7793] ticket:679 Limit extraneous fieldset styling
Date Mon, 10 Nov 2014 15:42:52 GMT
Repository: allura
Updated Branches:
  refs/heads/master e9c2d07de -> 915152493


[#7793] ticket:679 Limit extraneous fieldset styling


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

Branch: refs/heads/master
Commit: 9151524934ad87150118bb5242c096ca2db09331
Parents: e9c2d07
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Mon Nov 10 10:10:25 2014 +0000
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Mon Nov 10 10:10:25 2014 +0000

----------------------------------------------------------------------
 Allura/allura/nf/allura/css/site_style.css           |  4 ++--
 Allura/allura/templates/site_admin_user_details.html | 10 +++++-----
 Allura/allura/templates/user_prefs.html              | 12 ++++++------
 3 files changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/91515249/Allura/allura/nf/allura/css/site_style.css
----------------------------------------------------------------------
diff --git a/Allura/allura/nf/allura/css/site_style.css b/Allura/allura/nf/allura/css/site_style.css
index 963f071..93692f6 100644
--- a/Allura/allura/nf/allura/css/site_style.css
+++ b/Allura/allura/nf/allura/css/site_style.css
@@ -3498,7 +3498,7 @@ ul.dropdown ul li a:hover {
 }
 .strikethrough { text-decoration: line-through; }
 
-fieldset {
+fieldset.preferences {
   margin-bottom: 2em;
   border: 1px solid silver;
   padding: 8px;
@@ -3506,7 +3506,7 @@ fieldset {
   -moz-border-radius: 4px;
   border-radius: 4px;
 }
-legend {
+fieldset.preferences legend {
   margin: .2em;
   padding: .2em;
   font-size: 1.5em;

http://git-wip-us.apache.org/repos/asf/allura/blob/91515249/Allura/allura/templates/site_admin_user_details.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/site_admin_user_details.html b/Allura/allura/templates/site_admin_user_details.html
index 0666b5c..8f18d7e 100644
--- a/Allura/allura/templates/site_admin_user_details.html
+++ b/Allura/allura/templates/site_admin_user_details.html
@@ -28,7 +28,7 @@
 
   {% block general_info %}
     <div class="grid-23">
-      <fieldset>
+      <fieldset class="preferences">
         <legend>General</legend>
         <div class="grid-16">
         <ul>
@@ -67,7 +67,7 @@
 
   {% block emails %}
     <div class="grid-23">
-      <fieldset>
+      <fieldset class="preferences">
         <legend>Emails</legend>
         <form action="update_emails" method="post">
           {% include 'allura:templates/update_emails_form.html' %}
@@ -79,7 +79,7 @@
 
   {% block session_info %}
     <div class="grid-23">
-      <fieldset>
+      <fieldset class="preferences">
         <legend>Session</legend>
         <h3>Last login</h3>
         <ul>
@@ -103,7 +103,7 @@
   {% block audit_log %}
     <div class="grid-23">
       {% set al = audit_log %}
-      <fieldset>
+      <fieldset class="preferences">
         <legend>Audit log</legend>
         <form action='/nf/admin/user/add_audit_trail_entry' method='POST'>
           <div class='grid-22'>
@@ -127,7 +127,7 @@
 
   {% block user_projects %}
     <div class="grid-23">
-      <fieldset>
+      <fieldset class="preferences">
         <legend>Projects</legend>
         <ul>
           {% for p in projects %}

http://git-wip-us.apache.org/repos/asf/allura/blob/91515249/Allura/allura/templates/user_prefs.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/user_prefs.html b/Allura/allura/templates/user_prefs.html
index bc8cf42..bd593ab 100644
--- a/Allura/allura/templates/user_prefs.html
+++ b/Allura/allura/templates/user_prefs.html
@@ -29,7 +29,7 @@
   <div class="grid-23">
     <h2>Preferences</h2>
     {% block info %}
-    <fieldset>
+    <fieldset class="preferences">
       <legend>Username: {{ c.user.username }}</legend>
       <p><a href="{{ c.user.private_project().url() }}">My profile and my projects</a></p>
       <p><a href="{{ c.user.private_project().url() }}admin/overview">Set avatar
icon</a></p>
@@ -41,7 +41,7 @@
 
     {% block edit_prefs_form %}
       {% if h.asbool(tg.config.get('auth.allow_edit_prefs', True)) %}
-        <fieldset>
+        <fieldset class="preferences">
           <legend>General Settings</legend>
           <form action="update" method="POST">
             <label class="grid-4">Display Name</label>
@@ -64,7 +64,7 @@
           </form>
         </fieldset>
 
-        <fieldset>
+        <fieldset class="preferences">
           <legend>Email addresses</legend>
           <form action="update_emails" method="post" name="update-email">
             {% include 'allura:templates/update_emails_form.html' %}
@@ -93,7 +93,7 @@
 
     {% block password_change_form %}
       {% if h.asbool(tg.config.get('auth.allow_password_change', True)) %}
-        <fieldset>
+        <fieldset class="preferences">
           <legend>Change Password</legend>
           {{ c.password_change_form.display() }}
         </fieldset>
@@ -102,7 +102,7 @@
 
     {% block upload_key_form %}
       {% if h.asbool(tg.config.get('auth.allow_upload_ssh_key', False)) %}
-        <fieldset>
+        <fieldset class="preferences">
           <legend>Upload ssh public key</legend>
           {{ c.upload_key_form.display() }}
         </fieldset>
@@ -111,7 +111,7 @@
 
     {% block user_messages_form %}
       {% if h.asbool(tg.config.get('auth.allow_user_messages_config', True)) %}
-        <fieldset>
+        <fieldset class="preferences">
           <legend>User Messages</legend>
           <form method="POST" action="user_message">
           <div class="grid-10">


Mime
View raw message