mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
New look and feel for auth screens
This commit is contained in:
parent
8d525ce733
commit
ff1d737c68
13 changed files with 49 additions and 37 deletions
|
@ -16,7 +16,7 @@ export default Component.extend({
|
|||
tagName: 'button',
|
||||
classNames: [],
|
||||
classNameBindings: ['calcClass'],
|
||||
attributeBindings: ['calcAttrs:data-dismiss'],
|
||||
attributeBindings: ['calcAttrs:data-dismiss', 'submitAttrs:type'],
|
||||
|
||||
label: '',
|
||||
icon: '',
|
||||
|
@ -57,6 +57,10 @@ export default Component.extend({
|
|||
return null;
|
||||
}),
|
||||
|
||||
submitAttrs: computed(function() {
|
||||
return this.submit ? "submit": null;
|
||||
}),
|
||||
|
||||
click(e) {
|
||||
e.preventDefault();
|
||||
if (is.not.undefined(this.onClick)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue