1
0
Fork 0

Reformat code.

This commit is contained in:
Kitteh 2021-04-15 15:37:52 +01:00
parent 9fc0f9347b
commit e0a3106d2e
8 changed files with 166 additions and 167 deletions

View file

@ -45,4 +45,4 @@ export class KeyValueVersionsPage extends Page {
get name() {
return "K/V Versions";
}
}
}

View file

@ -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
]
}));

View file

@ -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 {
})
]
})
});
}

View file

@ -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",

View file

@ -1,4 +1,4 @@
import {changePage} from "../pageUtils.js";
import { changePage } from "../pageUtils.js";
export class Page {
constructor() { }