You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by rj...@apache.org on 2013/03/06 09:45:47 UTC

svn commit: r1453211 - in /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates: bh_admin_components.html bh_admin_enums.html bh_admin_milestones.html bh_admin_perms.html bh_admin_products.html bh_admin_versions.html

Author: rjollos
Date: Wed Mar  6 08:45:47 2013
New Revision: 1453211

URL: http://svn.apache.org/r1453211
Log:
Refs #381:
 * Consistently place the submit buttons in the lower left corner of the admin panels.
 * Consistently use `Note` for labels, replacing uses of `Notice`.

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_components.html
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_enums.html
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_versions.html

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_components.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_components.html?rev=1453211&r1=1453210&r2=1453211&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_components.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_components.html Wed Mar  6 08:45:47 2013
@@ -79,10 +79,10 @@
               </div>
             </fieldset>
           </div>
-          <div class="control-group">
-            <input class="btn" type="submit" name="save"
+          <div class="control-group buttons">
+            <input type="submit" class="btn" name="save"
                 value="${_('Save')}" />
-            <input class="btn-link" type="submit" name="cancel"
+            <input type="submit" class="btn-link" name="cancel"
                    value="${_('Cancel')}" />
           </div>
         </fieldset>
@@ -102,10 +102,8 @@
                 </div>
                 ${owner_field()}
                 <div class="control-group">
-                  <div class="controls">
-                    <input type="submit" class="btn" name="add"
-                           value="${_('Add')}"/>
-                  </div>
+                  <input type="submit" class="btn" name="add"
+                         value="${_('Add')}"/>
                 </div>
               </fieldset>
             </form>
@@ -142,7 +140,7 @@
                       value="${_('Apply changes')}" />
                 </div>
                 <p class="help-block">
-                  <span class="label label-info">Notice</span>
+                  <span class="label label-info">Note</span>
                   You can remove all items from this list to completely hide this
                   field from the user interface.
                 </p>

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_enums.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_enums.html?rev=1453211&r1=1453210&r2=1453211&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_enums.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_enums.html Wed Mar  6 08:45:47 2013
@@ -42,10 +42,10 @@
               <input type="text" id="name" name="name" value="${enum.name}" />
             </div>
           </div>
-          <div class="btn-group">
-            <input class="btn" type="submit" name="save"
+          <div class="control-group buttons">
+            <input type="submit" class="btn" name="save"
                    value="${_('Save')}"/>
-            <input class="btn-link" type="submit" name="cancel"
+            <input type="submit" class="btn-link" name="cancel"
                    value="${_('Cancel')}"/>
           </div>
         </fieldset>

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html?rev=1453211&r1=1453210&r2=1453211&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html Wed Mar  6 08:45:47 2013
@@ -119,7 +119,6 @@
                       <input type="text" name="name" id="name" class="input-xlarge" />
                     </div>
                   </div>
-
                   <div class="control-group">
                     <label class="control-label" for="duedate">Due:</label>
                     <div class="controls">
@@ -129,11 +128,8 @@
                           placeholder="${_('Format: %(datehint)s', datehint=datetime_hint)}" />
                     </div>
                   </div>
-
                   <div class="control-group">
-                    <div class="controls">
-                      <input class="btn" type="submit" name="add" value="${_('Add')}" />
-                    </div>
+                    <input class="btn" type="submit" name="add" value="${_('Add')}" />
                   </div>
                 </fieldset>
               </form>

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html?rev=1453211&r1=1453210&r2=1453211&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html Wed Mar  6 08:45:47 2013
@@ -54,10 +54,8 @@
               </div>
             </div>
             <div class="control-group">
-              <div class="controls">
-                <input type="submit" class="btn" name="add"
-                       value="${_('Add')}" />
-              </div>
+              <input type="submit" class="btn" name="add"
+                     value="${_('Add')}" />
             </div>
             <p class="help-block">
               <span class="label label-info">Note</span> Grant permission
@@ -85,10 +83,8 @@
               </div>
             </div>
             <div class="control-group">
-              <div class="controls">
                 <input type="submit" class="btn" name="add"
                        value="${_('Add')}"/>
-              </div>
             </div>
             <p class="help-block">
               <span class="label label-info">Note</span> Add a user or group

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html?rev=1453211&r1=1453210&r2=1453211&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html Wed Mar  6 08:45:47 2013
@@ -115,10 +115,8 @@
                 </div>
                 ${owner_field()}
                 <div class="control-group">
-                  <div class="controls">
-                    <input type="submit" class="btn" name="add"
-                           value="${_('Add')}" />
-                  </div>
+                  <input type="submit" class="btn" name="add"
+                         value="${_('Add')}" />
                 </div>
               </fieldset>
             </form>
@@ -157,7 +155,7 @@
                       value="${_('Apply changes')}" />
                 </div>
                 <p class="help-block">
-                  <span class="label label-info">Notice</span>
+                  <span class="label label-info">Note</span>
                   You can remove all items from this list to completely hide this
                   field from the user interface.
                 </p>

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_versions.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_versions.html?rev=1453211&r1=1453210&r2=1453211&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_versions.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_versions.html Wed Mar  6 08:45:47 2013
@@ -103,9 +103,7 @@
                     </div>
                 </div>
                 <div class="control-group">
-                  <div class="controls">
-                    <input type="submit" class="btn" name="add" value="${_('Add')}" />
-                  </div>
+                  <input type="submit" class="btn" name="add" value="${_('Add')}" />
                 </div>
               </fieldset>
             </form>