Explorar el Código

ui btn classes

tags/0.1.2
Robin Thoni hace 9 años
padre
commit
93c5048566
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2
    2
      src/luedittable.js
  2. 1
    1
      src/modals/dialogokcancel.js

+ 2
- 2
src/luedittable.js Ver fichero

@@ -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 Ver fichero

@@ -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…
Cancelar
Guardar