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