[KEYCLOAK-1430] Buttons in form headers should not be primary buttons

This commit is contained in:
giriraj sharma 2015-07-13 22:41:54 +05:30
parent e3da38df7c
commit b876a5f7bd
11 changed files with 18 additions and 18 deletions

View file

@ -47,9 +47,9 @@
<tr> <tr>
<th class="kc-table-actions" colspan="3" data-ng-show="access.manageClients"> <th class="kc-table-actions" colspan="3" data-ng-show="access.manageClients">
<div class="pull-right"> <div class="pull-right">
<a class="btn btn-primary" tooltip="Manually register cluster node. This is usually not needed as cluster node should be registered automatically by adapter" <a class="btn btn-default" tooltip="Manually register cluster node. This is usually not needed as cluster node should be registered automatically by adapter"
tooltip-placement="bottom" href="#/register-node/realms/{{realm.realm}}/clients/{{client.id}}/clustering">Register node manually</a> tooltip-placement="bottom" href="#/register-node/realms/{{realm.realm}}/clients/{{client.id}}/clustering">Register node manually</a>
<a class="btn btn-primary" data-ng-click="testNodesAvailable()" data-ng-show="nodeRegistrations && nodeRegistrations.length > 0">Test cluster availability</a> <a class="btn btn-default" data-ng-click="testNodesAvailable()" data-ng-show="nodeRegistrations && nodeRegistrations.length > 0">Test cluster availability</a>
</div> </div>
</th> </th>
</tr> </tr>

View file

@ -19,8 +19,8 @@
</div> </div>
<div class="pull-right" data-ng-show="access.manageRealm"> <div class="pull-right" data-ng-show="access.manageRealm">
<a class="btn btn-primary" href="#/create/client/{{realm.realm}}">Create</a> <a class="btn btn-default" href="#/create/client/{{realm.realm}}">Create</a>
<a class="btn btn-primary" href="#/import/client/{{realm.realm}}" data-ng-show="importButton">Import</a> <a class="btn btn-default" href="#/import/client/{{realm.realm}}" data-ng-show="importButton">Import</a>
</div> </div>
</div> </div>
</th> </th>

View file

@ -24,8 +24,8 @@
</div> </div>
<div class="pull-right" data-ng-show="access.manageRealm"> <div class="pull-right" data-ng-show="access.manageRealm">
<a class="btn btn-primary" href="#/create/client/{{realm.realm}}/{{client.id}}/mappers">Create</a> <a class="btn btn-default" href="#/create/client/{{realm.realm}}/{{client.id}}/mappers">Create</a>
<a class="btn btn-primary" href="#/realms/{{realm.realm}}/clients/{{client.id}}/add-mappers">Add Builtin</a> <a class="btn btn-default" href="#/realms/{{realm.realm}}/clients/{{client.id}}/add-mappers">Add Builtin</a>
</div> </div>
</div> </div>
</th> </th>

View file

@ -14,7 +14,7 @@
<tr> <tr>
<th class="kc-table-actions" colspan="3" data-ng-show="access.manageClients"> <th class="kc-table-actions" colspan="3" data-ng-show="access.manageClients">
<div class="pull-right"> <div class="pull-right">
<a class="btn btn-primary" href="#/create/role/{{realm.realm}}/clients/{{client.id}}">Add Role</a> <a class="btn btn-default" href="#/create/role/{{realm.realm}}/clients/{{client.id}}">Add Role</a>
</div> </div>
</th> </th>
</tr> </tr>

View file

@ -25,7 +25,7 @@
<tr> <tr>
<th class="kc-table-actions" colspan="3"> <th class="kc-table-actions" colspan="3">
<div class="pull-right"> <div class="pull-right">
<a class="btn btn-primary" ng-click="loadUsers()" tooltip-placement="left" tooltip="Warning, this is a potentially expensive operation depending on number of active sessions.">Show Sessions</a> <a class="btn btn-default" ng-click="loadUsers()" tooltip-placement="left" tooltip="Warning, this is a potentially expensive operation depending on number of active sessions.">Show Sessions</a>
</div> </div>
</th> </th>
</tr> </tr>

View file

@ -28,8 +28,8 @@
<span class="glyphicon glyphicon-minus" data-ng-show="filter"></span> <span class="glyphicon glyphicon-minus" data-ng-show="filter"></span>
Filter Filter
</button> </button>
<button class="btn btn-default btn-primary" data-ng-click="update()">Update</button> <button class="btn btn-default btn-default" data-ng-click="update()">Update</button>
<button class="btn btn-default btn-primary" data-ng-click="reset()">Reset</button> <button class="btn btn-default btn-default" data-ng-click="reset()">Reset</button>
</div> </div>
<form class="form-horizontal" data-ng-show="filter"> <form class="form-horizontal" data-ng-show="filter">
<div class="form-group"> <div class="form-group">

View file

@ -26,8 +26,8 @@
<span class="glyphicon glyphicon-minus" data-ng-show="filter"></span> <span class="glyphicon glyphicon-minus" data-ng-show="filter"></span>
Filter Filter
</button> </button>
<button class="btn btn-default btn-primary" data-ng-click="update()">Update</button> <button class="btn btn-default btn-default" data-ng-click="update()">Update</button>
<button class="btn btn-default btn-primary" data-ng-click="reset()">Reset</button> <button class="btn btn-default btn-default" data-ng-click="reset()">Reset</button>
</div> </div>
<form class="form-horizontal"> <form class="form-horizontal">
<div class="form-group" data-ng-show="filter"> <div class="form-group" data-ng-show="filter">

View file

@ -21,7 +21,7 @@
</div> </div>
<div class="pull-right" data-ng-show="access.manageRealm"> <div class="pull-right" data-ng-show="access.manageRealm">
<a class="btn btn-primary" href="#/create/role/{{realm.realm}}">Add Role</a> <a class="btn btn-default" href="#/create/role/{{realm.realm}}">Add Role</a>
</div> </div>
</div> </div>
</th> </th>

View file

@ -11,7 +11,7 @@
<tr> <tr>
<th class="kc-table-actions" colspan="3"> <th class="kc-table-actions" colspan="3">
<div class="pull-right"> <div class="pull-right">
<a class="btn btn-primary" ng-click="logoutAll()">Logout All</a> <a class="btn btn-default" ng-click="logoutAll()">Logout All</a>
</div> </div>
</th> </th>
</tr> </tr>

View file

@ -15,10 +15,10 @@
</div> </div>
</div> </div>
</div> </div>
<button class="btn btn-primary" ng-click="query.search = null; firstPage()">View all users</button> <button class="btn btn-default" ng-click="query.search = null; firstPage()">View all users</button>
<div class="pull-right" data-ng-show="access.manageUsers"> <div class="pull-right" data-ng-show="access.manageUsers">
<a class="btn btn-primary" href="#/create/user/{{realm.realm}}">Add User</a> <a class="btn btn-default" href="#/create/user/{{realm.realm}}">Add User</a>
</div> </div>
</div> </div>
</th> </th>

View file

@ -11,9 +11,9 @@
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">
<thead> <thead>
<tr data-ng-show="access.manageUsers"> <tr data-ng-show="access.manageUsers">
<th class="kc-table-actions" colspan="6"> <th class="kc-table-actions" colspan="6">
<div class="pull-right" data-ng-show="access.manageUsers"> <div class="pull-right" data-ng-show="access.manageUsers">
<a class="btn btn-primary" ng-click="logoutAll()">Logout All Sessions</a> <a class="btn btn-default" ng-click="logoutAll()">Logout All Sessions</a>
</div> </div>
</th> </th>
</tr> </tr>