Browse Source

ui btn classes

tags/0.1.2
Robin Thoni 8 years ago
parent
commit
93c5048566
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      src/luedittable.js
  2. 1
    1
      src/modals/dialogokcancel.js

+ 2
- 2
src/luedittable.js View File

@@ -132,11 +132,11 @@ angular.module('luticateUtils').run(['$templateCache', function($templateCache)
132 132
     $templateCache.put('/luticate/lutable.html',
133 133
 '        <lu-basic-table options="tableOptions"></lu-basic-table>' +
134 134
 '<div class="col-sm-12">' +
135
-'    <button class="btn btn-default" type="button" ng-click="deleteItems()"' +
135
+'    <button class="btn btn-danger" type="button" ng-click="deleteItems()"' +
136 136
 'ng-disabled="tableOptions.checkedItems.length == 0" ng-show="tableOptions.canDel()">' +
137 137
 '    <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Delete' +
138 138
 '    </button>' +
139
-'    <button class="btn btn-default" type="button" ng-click="tableOptions.addItem()" ng-show="tableOptions.canAdd()">' +
139
+'    <button class="btn btn-primary" type="button" ng-click="tableOptions.addItem()" ng-show="tableOptions.canAdd()">' +
140 140
 '    <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Add' +
141 141
 '    </button>' +
142 142
 '    </div>');

+ 1
- 1
src/modals/dialogokcancel.js View File

@@ -81,7 +81,7 @@ angular.module("luticateUtils").run(["$templateCache", function($templateCache)
81 81
 '</div>' +
82 82
 '<div class="modal-footer">' +
83 83
 '    <button type="button" class="btn btn-default" ng-click="__cancel()">Cancel</button>' +
84
-'    <button type="submit" class="btn btn-default" ng-enabled="!pending">OK</button>' +
84
+'    <button type="submit" class="btn btn-primary" ng-enabled="!pending">OK</button>' +
85 85
 '    </div>' +
86 86
 '    </form>' +
87 87
 '    </div>')

Loading…
Cancel
Save