This commit is contained in:
Bruno Windels 2020-05-04 19:24:20 +02:00
parent cc87e35f23
commit 1ef564bdb0
2 changed files with 1 additions and 7 deletions

View File

@ -1,5 +1,6 @@
import {TemplateView} from "../general/TemplateView.js"; import {TemplateView} from "../general/TemplateView.js";
import {brawlGithubLink} from "./common.js"; import {brawlGithubLink} from "./common.js";
import {spinner} from "../common.js";
export class LoginView extends TemplateView { export class LoginView extends TemplateView {
render(t, vm) { render(t, vm) {
@ -24,12 +25,6 @@ export class LoginView extends TemplateView {
} }
} }
function spinner(t, extraClasses = undefined) {
return t.svg({className: Object.assign({"spinner": true}, extraClasses), viewBox:"0 0 100% 100%"},
t.circle({cx:"50%", cy:"50%", r:"45%", pathLength:"100"})
);
}
class SessionLoadView extends TemplateView { class SessionLoadView extends TemplateView {
render(t) { render(t) {
return t.div({className: "SessionLoadView"}, [ return t.div({className: "SessionLoadView"}, [

View File

@ -24,7 +24,6 @@ export class Disposables {
} }
} }
disposeTracked(value) { disposeTracked(value) {
const idx = this._disposables.indexOf(value); const idx = this._disposables.indexOf(value);
if (idx !== -1) { if (idx !== -1) {