1. Olemis Lang
  2. bloodhound_theme-mq

Commits

Olemis Lang  committed 2f4c2a9

BH Theme #137 : Button classes in components admin panel

  • Participants
  • Parent commits 31ec0fe
  • Branches t137_btncls2

Comments (0)

Files changed (1)

File t137/t137_r1365626_bncls_admin.diff

View file
  • Ignore whitespace
 
 diff -r ddde226fa5db bhtheme/templates/bh_admin_basics.html
 --- a/bhtheme/templates/bh_admin_basics.html	Wed Aug 15 17:15:36 2012 -0400
-+++ b/bhtheme/templates/bh_admin_basics.html	Wed Aug 15 17:34:25 2012 -0400
++++ b/bhtheme/templates/bh_admin_basics.html	Wed Aug 15 19:58:55 2012 -0400
 @@ -50,7 +50,7 @@
            <label class="control-label" for="descr">Description:</label>
            <div class="controls">
        </div>
      </form>
    </body>
+diff -r ddde226fa5db bhtheme/templates/bh_admin_components.html
+--- a/bhtheme/templates/bh_admin_components.html	Wed Aug 15 17:15:36 2012 -0400
++++ b/bhtheme/templates/bh_admin_components.html	Wed Aug 15 19:58:55 2012 -0400
+@@ -80,10 +80,14 @@
+             </fieldset>
+           </div>
+           <div class="control-group">
+-            <input class="btn" type="submit" name="cancel"
+-                value="${_('Cancel')}" />
+-            <input class="btn" type="submit" name="save"
+-                value="${_('Save')}" />
++            <button class="btn btn-primary" type="submit" name="save"
++                value="${_('Save')}" >
++              <i class="icon-ok icon-white"></i> Save
++            </button>
++            <button class="btn" type="submit" name="cancel"
++                value="${_('Cancel')}" >
++              <i class="icon-ban-circle"></i> Cancel
++            </button>
+           </div>
+         </fieldset>
+       </form>
+@@ -115,10 +119,14 @@
+                   </tbody>
+                 </table>
+                 <div class="control-group">
+-                  <input class="btn" type="submit" name="remove"
+-                      value="${_('Remove selected items')}" />
+-                  <input class="btn" type="submit" name="apply"
+-                      value="${_('Apply changes')}" />
++                  <button class="btn" type="submit" name="remove"
++                      value="${_('Remove selected items')}">
++                    <i class="icon-trash"></i> Remove selected items
++                  </button>
++                  <button class="btn" type="submit" name="apply"
++                      value="${_('Apply changes')}">
++                    <i class="icon-ok"></i> Apply changes
++                  </button>
+                 </div>
+                 <p class="help-block">
+                   <span class="label label-info">Notice</span>
+@@ -141,8 +149,10 @@
+                 <label for="name">Name:</label>
+                 <input class="input-medium" type="text" id="name" name="name" />
+                 ${owner_field()}
+-                <input class="btn" type="submit" name="add"
+-                    value="${_('Add')}"/>
++                <button class="btn" type="submit" name="add"
++                    value="_('Add')">
++                  <i class="icon-plus-sign"></i> Add
++                </button>
+               </fieldset>
+             </form>
+           </div>