Reformat code.
This commit is contained in:
parent
9fc0f9347b
commit
e0a3106d2e
|
@ -45,4 +45,4 @@ export class KeyValueVersionsPage extends Page {
|
||||||
get name() {
|
get name() {
|
||||||
return "K/V Versions";
|
return "K/V Versions";
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -25,8 +25,8 @@ export class TOTPViewPage extends Page {
|
||||||
id: "loadingText",
|
id: "loadingText",
|
||||||
text: "Loading TOTP Codes..",
|
text: "Loading TOTP Codes..",
|
||||||
}),
|
}),
|
||||||
makeElement({tag: "br"}),
|
makeElement({ tag: "br" }),
|
||||||
makeElement({tag: "br"}),
|
makeElement({ tag: "br" }),
|
||||||
totpList
|
totpList
|
||||||
]
|
]
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -7,14 +7,14 @@ export class TransitViewSecretPage extends Page {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
makeTile(title, description, icon = "code", onclick = _ => {}) {
|
makeTile(title, description, icon = "code", onclick = _ => { }) {
|
||||||
return makeElement({
|
return makeElement({
|
||||||
tag: "div",
|
|
||||||
class: ["uk-tile", "uk-tile-default", "uk-tile-primary", "uk-padding-small"],
|
|
||||||
children: makeElement({
|
|
||||||
tag: "a",
|
tag: "a",
|
||||||
class: "uk-link-heading",
|
class: "uk-link-heading",
|
||||||
onclick: onclick,
|
onclick: onclick,
|
||||||
|
children: makeElement({
|
||||||
|
tag: "div",
|
||||||
|
class: ["uk-tile", "uk-tile-default", "uk-tile-primary", "uk-padding-small"],
|
||||||
children: [
|
children: [
|
||||||
makeElement({
|
makeElement({
|
||||||
tag: "p",
|
tag: "p",
|
||||||
|
@ -37,7 +37,6 @@ export class TransitViewSecretPage extends Page {
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ export class UnsealPage extends Page {
|
||||||
this.unsealProgress = makeElement({
|
this.unsealProgress = makeElement({
|
||||||
tag: "progress",
|
tag: "progress",
|
||||||
class: "uk-progress",
|
class: "uk-progress",
|
||||||
attributes: {value: "0", max: "0"}
|
attributes: { value: "0", max: "0" }
|
||||||
});
|
});
|
||||||
this.unsealProgressText = makeElement({
|
this.unsealProgressText = makeElement({
|
||||||
tag: "p",
|
tag: "p",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {changePage} from "../pageUtils.js";
|
import { changePage } from "../pageUtils.js";
|
||||||
|
|
||||||
export class Page {
|
export class Page {
|
||||||
constructor() { }
|
constructor() { }
|
||||||
|
|
Loading…
Reference in a new issue