Delete buttons restyled.
This commit is contained in:
parent
322a2c9dfb
commit
4474a212e7
9 changed files with 10 additions and 10 deletions
|
@ -35,7 +35,8 @@ angular.module('ffffng')
|
|||
'onSubmit': '=fSubmit',
|
||||
'onCancel': '=fCancel',
|
||||
'submitIcon': '@fSubmitIcon',
|
||||
'submitLabel': '@fSubmitLabel'
|
||||
'submitLabel': '@fSubmitLabel',
|
||||
'submitBtn': '@fSubmitBtn'
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
|
@ -15,7 +15,6 @@ $brand-warning: #FDBC41;
|
|||
$brand-danger: #C9302C;
|
||||
$brand-info: #009EE0;
|
||||
|
||||
|
||||
// Scaffolding
|
||||
$body-bg: $gray-lighter;
|
||||
$text-color: $gray-dark;
|
||||
|
@ -62,7 +61,7 @@ $btn-primary-border: darken($btn-primary-bg, 10%);
|
|||
$btn-success-color: #FFFFFF;
|
||||
$btn-success-bg: $brand-success;
|
||||
$btn-success-border: darken($btn-success-bg, 10%);
|
||||
$btn-warning-color: #FFFFFF;
|
||||
$btn-warning-color: $gray-dark;
|
||||
$btn-warning-bg: $brand-warning;
|
||||
$btn-warning-border: darken($btn-warning-bg, 10%);
|
||||
$btn-danger-color: #FFFFFF;
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
.delete-node {
|
||||
button {
|
||||
//@extend .btn-link;
|
||||
@extend .btn-warning;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
margin-left: 5px;
|
||||
|
||||
&.proceed {
|
||||
@extend .btn-primary;
|
||||
@extend .btn-warning;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ f-token-form {
|
|||
}
|
||||
|
||||
.submit {
|
||||
@extend .btn, .btn-primary;
|
||||
@extend .btn;
|
||||
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<a href="mailto:{{ config.community.contactEmail }}">{{ config.community.contactEmail }}</a>.
|
||||
</strong>
|
||||
</p>
|
||||
<f-token-form f-submit="onSubmitToken" f-cancel="cancel" f-submit-icon="fa-trash" f-submit-label="Knoten löschen"></f-token-form>
|
||||
<f-token-form f-submit="onSubmitToken" f-cancel="cancel" f-submit-icon="fa-trash" f-submit-label="Knoten löschen" f-submit-btn="btn-warning"></f-token-form>
|
||||
|
||||
<p>
|
||||
<em>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
<div class="modal-body">
|
||||
<p>
|
||||
Soll der Knoten „{{node.hostname}}“ wirklich endgültig gelöscht werden?
|
||||
Soll der Knoten <strong>{{node.hostname}}</strong> wirklich endgültig gelöscht werden?
|
||||
Du kannst ihn selbstverständlich später jederzeit erneut anmelden!
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<button class="submit" type="submit">
|
||||
<button class="submit {{submitBtn}}" type="submit">
|
||||
<i class="fa {{submitIcon}}"></i> {{submitLabel}}
|
||||
</button>
|
||||
<button class="cancel" type="reset" ng-click="onCancel()">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<a href="mailto:{{ config.community.contactEmail }}">{{ config.community.contactEmail }}</a>.
|
||||
</strong>
|
||||
</p>
|
||||
<f-token-form f-submit="onSubmitToken" f-cancel="cancel" f-submit-icon="fa-pencil" f-submit-label="Knotendaten ändern"></f-token-form>
|
||||
<f-token-form f-submit="onSubmitToken" f-cancel="cancel" f-submit-icon="fa-pencil" f-submit-label="Knotendaten ändern" f-submit-btn="btn-primary"></f-token-form>
|
||||
</div>
|
||||
|
||||
<div ng-if="hasData()">
|
||||
|
|
Loading…
Reference in a new issue