- name: "blerg.PasswdDialog",
- kind: "onyx.Popup",
- classes: "blerg-dialog",
- autoDismiss: true,
- centered: true,
- floating: true,
- modal: true,
- components: [
- {tag: "h2", content: "Sign Up"},
- {kind: "onyx.Groupbox", components: [
- {kind: "onyx.InputDecorator", components: [
- {name: "password1", kind: "onyx.Input", placeholder: "Username", type: "password"}
- ]},
- {kind: "onyx.InputDecorator", components: [
- {name: "password2", kind: "onyx.Input", placeholder: "Password", type: "password"}
- ]}
- ]},
- {kind: "onyx.Button", content: "Change", onclick: "changeClick", classes: "onyx.affirmative"},
- {kind: "onyx.Button", content: "Cancel", onclick: "cancelClick", classes: "onyx-negative"}
- ],
- changeClick: function() {
- // Do stuff
- },
- cancelClick: function() {
- this.hide();
- }
+ name: "blerg.PasswdDialog",
+ kind: "onyx.Popup",
+ classes: "blerg-dialog",
+ autoDismiss: true,
+ centered: true,
+ floating: true,
+ modal: true,
+ components: [
+ {tag: "h2", content: "Sign Up"},
+ {kind: "onyx.Groupbox", components: [
+ {kind: "onyx.InputDecorator", components: [
+ {name: "password1", kind: "onyx.Input", placeholder: "Username", type: "password"}
+ ]},
+ {kind: "onyx.InputDecorator", components: [
+ {name: "password2", kind: "onyx.Input", placeholder: "Password", type: "password"}
+ ]}
+ ]},
+ {kind: "onyx.Button", content: "Change", onclick: "changeClick", classes: "onyx.affirmative"},
+ {kind: "onyx.Button", content: "Cancel", onclick: "cancelClick", classes: "onyx-negative"}
+ ],
+ changeClick: function() {
+ // Do stuff
+ },
+ cancelClick: function() {
+ this.hide();
+ }