Parcourir la source

ui btn classes

tags/0.1.2
Robin Thoni il y a 8 ans
Parent
révision
93c5048566
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 2
    2
      src/luedittable.js
  2. 1
    1
      src/modals/dialogokcancel.js

+ 2
- 2
src/luedittable.js Voir le fichier

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 Voir le fichier

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>')

Chargement…
Annuler
Enregistrer