Browse Source

ui btn classes

tags/0.1.2
Robin Thoni 9 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
     $templateCache.put('/luticate/lutable.html',
132
     $templateCache.put('/luticate/lutable.html',
133
 '        <lu-basic-table options="tableOptions"></lu-basic-table>' +
133
 '        <lu-basic-table options="tableOptions"></lu-basic-table>' +
134
 '<div class="col-sm-12">' +
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
 'ng-disabled="tableOptions.checkedItems.length == 0" ng-show="tableOptions.canDel()">' +
136
 'ng-disabled="tableOptions.checkedItems.length == 0" ng-show="tableOptions.canDel()">' +
137
 '    <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Delete' +
137
 '    <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Delete' +
138
 '    </button>' +
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
 '    <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Add' +
140
 '    <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Add' +
141
 '    </button>' +
141
 '    </button>' +
142
 '    </div>');
142
 '    </div>');

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

81
 '</div>' +
81
 '</div>' +
82
 '<div class="modal-footer">' +
82
 '<div class="modal-footer">' +
83
 '    <button type="button" class="btn btn-default" ng-click="__cancel()">Cancel</button>' +
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
 '    </div>' +
85
 '    </div>' +
86
 '    </form>' +
86
 '    </form>' +
87
 '    </div>')
87
 '    </div>')

Loading…
Cancel
Save