console adjustments

This commit is contained in:
Gabriel Cardoso committed 2013-11-20 16:16:54 -02:00
1 parent 42d7e430ce
commit db6c4f66e0
8 files changed
+19 -11

No files matched your search

@@ -32,7 +32,7 @@ module.controller('ApplicationCredentialsCtrl', function($scope, $location, real
$scope.changePassword = function() {
if ($scope.password != $scope.confirmPassword) {
Notifications.error("Password not confirmed");
Notifications.error("Password and confirmation does not match.");
$scope.password = "";
$scope.confirmPassword = "";
return;
@@ -46,12 +46,12 @@ module.controller('ApplicationCredentialsCtrl', function($scope, $location, real
ApplicationCredentials.update({ realm : realm.id, application : application.id }, creds,
function() {
Notifications.success('Change password successful');
Notifications.success('The password has been changed.');
$scope.password = null;
$scope.confirmPassword = null;
},
function() {
Notifications.error("Change password failed");
Notifications.error("The password was not changed due to a problem.");
$scope.password = null;
$scope.confirmPassword = null;
}
@@ -68,11 +68,11 @@ module.controller('ApplicationCredentialsCtrl', function($scope, $location, real
ApplicationCredentials.update({ realm : realm.id, application : application.id }, creds,
function() {
Notifications.success('Change totp successful');
Notifications.success('The totp was changed.');
$scope.totp = null;
},
function() {
Notifications.error("Change totp failed");
Notifications.error("The totp was not changed due to a problem.");
$scope.totp = null;
}
);
@@ -25,7 +25,7 @@
<span class="dropdown-label" data-ng-show="showNav()">Realm:</span>
<div class="select-rcue" data-ng-show="showNav()">
<select ng-change="changeRealm()" ng-model="current.realm" ng-options="r.realm for r in current.realms"></select>
</div><a href="#/realms/{{current.realm.id}}" id="refresh" data-ng-show="showNav()"><span class="icon-spinner6">Icon: spinner</span></a>
</div><a href="#/realms/{{current.realm.id}}" id="refresh" data-ng-show="showNav()" class="tooltipBottomTrigger" data-original-title="Refresh"><span class="icon-spinner6">Icon: spinner</span></a>
</li>
</ul>
<div class="pull-right" data-ng-show="auth.loggedIn">
@@ -22,7 +22,7 @@
</ol>
<h2><span>{{realm.realm}}</span> Keys</h2>
<form name="realmForm" novalidate>
<fieldset>
<fieldset class="border-top">
<div class="form-group">
<label for="publicKey">Public key</label>
@@ -32,7 +32,7 @@
</div>
</fieldset>
<div class="form-actions">
<button type="submit" data-ng-click="generate()" class="destructive">Generate new keys</button>
<button type="submit" data-ng-click="generate()">Generate new keys</button>
</div>
</form>
@@ -20,7 +20,8 @@
<li><a href="#/realms/{{realm.id}}">Settings</a></li>
<li class="active">SMTP Configuration</li>
</ol>
<h2><span>{{realm.realm}}</span> SMTP Settings</h2>
<h2 class="pull-left"><span>{{realm.realm}}</span> SMTP Settings</h2>
<p class="subtitle"><span class="required">*</span> Required fields</p>
<form name="realmForm" novalidate>
<fieldset>
<legend uncollapsed><span class="text">Required Settings</span></legend>