static: formatting
This commit is contained in:
parent
7a481396c6
commit
bc412466b2
|
@ -21,7 +21,11 @@
|
||||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||||
/>
|
/>
|
||||||
<title>passbook</title>
|
<title>passbook</title>
|
||||||
<link rel="icon" type="image/png" href="/static/dist/assets/images/logo.png" />
|
<link
|
||||||
|
rel="icon"
|
||||||
|
type="image/png"
|
||||||
|
href="/static/dist/assets/images/logo.png"
|
||||||
|
/>
|
||||||
<link
|
<link
|
||||||
rel="shortcut icon"
|
rel="shortcut icon"
|
||||||
type="image/png"
|
type="image/png"
|
||||||
|
@ -57,10 +61,7 @@
|
||||||
href="#main-content"
|
href="#main-content"
|
||||||
>Skip to content</a
|
>Skip to content</a
|
||||||
>
|
>
|
||||||
<pb-sidebar
|
<pb-sidebar class="pf-c-page__sidebar"> </pb-sidebar>
|
||||||
class="pf-c-page__sidebar"
|
|
||||||
>
|
|
||||||
</pb-sidebar>
|
|
||||||
<pb-router-outlet
|
<pb-router-outlet
|
||||||
role="main"
|
role="main"
|
||||||
class="pf-c-page__main"
|
class="pf-c-page__main"
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -9,8 +9,8 @@ import copy from "rollup-plugin-copy";
|
||||||
|
|
||||||
const resources = [
|
const resources = [
|
||||||
{ src: "src/index.html", dest: "dist" },
|
{ src: "src/index.html", dest: "dist" },
|
||||||
{ src: 'src/passbook.css', dest: 'dist' },
|
{ src: "src/passbook.css", dest: "dist" },
|
||||||
{ src: 'src/assets/*', dest: 'dist/assets' },
|
{ src: "src/assets/*", dest: "dist/assets" },
|
||||||
];
|
];
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
|
|
|
@ -95,9 +95,11 @@ export class ModalButton extends LitElement {
|
||||||
this.querySelector(
|
this.querySelector(
|
||||||
"[slot=modal]"
|
"[slot=modal]"
|
||||||
)!.innerHTML = data;
|
)!.innerHTML = data;
|
||||||
|
console.log(`passbook/modalbutton: re-showing form`);
|
||||||
this.updateHandlers();
|
this.updateHandlers();
|
||||||
} else {
|
} else {
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
console.log(`passbook/modalbutton: successful submit`);
|
||||||
this.dispatchEvent(
|
this.dispatchEvent(
|
||||||
new CustomEvent("hashchange", {
|
new CustomEvent("hashchange", {
|
||||||
bubbles: true,
|
bubbles: true,
|
||||||
|
|
|
@ -21,7 +21,11 @@
|
||||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||||
/>
|
/>
|
||||||
<title>passbook</title>
|
<title>passbook</title>
|
||||||
<link rel="icon" type="image/png" href="/static/dist/assets/images/logo.png" />
|
<link
|
||||||
|
rel="icon"
|
||||||
|
type="image/png"
|
||||||
|
href="/static/dist/assets/images/logo.png"
|
||||||
|
/>
|
||||||
<link
|
<link
|
||||||
rel="shortcut icon"
|
rel="shortcut icon"
|
||||||
type="image/png"
|
type="image/png"
|
||||||
|
@ -57,10 +61,7 @@
|
||||||
href="#main-content"
|
href="#main-content"
|
||||||
>Skip to content</a
|
>Skip to content</a
|
||||||
>
|
>
|
||||||
<pb-sidebar
|
<pb-sidebar class="pf-c-page__sidebar"> </pb-sidebar>
|
||||||
class="pf-c-page__sidebar"
|
|
||||||
>
|
|
||||||
</pb-sidebar>
|
|
||||||
<pb-router-outlet
|
<pb-router-outlet
|
||||||
role="main"
|
role="main"
|
||||||
class="pf-c-page__main"
|
class="pf-c-page__main"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import 'construct-style-sheets-polyfill';
|
import "construct-style-sheets-polyfill";
|
||||||
|
|
||||||
import "./legacy.js";
|
import "./legacy.js";
|
||||||
|
|
||||||
|
|
Reference in New Issue