static: formatting

This commit is contained in:
Jens Langhammer 2020-11-24 11:50:49 +01:00
parent 7a481396c6
commit bc412466b2
7 changed files with 19 additions and 15 deletions

View File

@ -21,7 +21,11 @@
content="width=device-width, initial-scale=1, maximum-scale=1"
/>
<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
rel="shortcut icon"
type="image/png"
@ -57,10 +61,7 @@
href="#main-content"
>Skip to content</a
>
<pb-sidebar
class="pf-c-page__sidebar"
>
</pb-sidebar>
<pb-sidebar class="pf-c-page__sidebar"> </pb-sidebar>
<pb-router-outlet
role="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

View File

@ -9,8 +9,8 @@ import copy from "rollup-plugin-copy";
const resources = [
{ src: "src/index.html", dest: "dist" },
{ src: 'src/passbook.css', dest: 'dist' },
{ src: 'src/assets/*', dest: 'dist/assets' },
{ src: "src/passbook.css", dest: "dist" },
{ src: "src/assets/*", dest: "dist/assets" },
];
export default [

View File

@ -95,9 +95,11 @@ export class ModalButton extends LitElement {
this.querySelector(
"[slot=modal]"
)!.innerHTML = data;
console.log(`passbook/modalbutton: re-showing form`);
this.updateHandlers();
} else {
this.open = false;
console.log(`passbook/modalbutton: successful submit`);
this.dispatchEvent(
new CustomEvent("hashchange", {
bubbles: true,

View File

@ -21,7 +21,11 @@
content="width=device-width, initial-scale=1, maximum-scale=1"
/>
<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
rel="shortcut icon"
type="image/png"
@ -57,10 +61,7 @@
href="#main-content"
>Skip to content</a
>
<pb-sidebar
class="pf-c-page__sidebar"
>
</pb-sidebar>
<pb-sidebar class="pf-c-page__sidebar"> </pb-sidebar>
<pb-router-outlet
role="main"
class="pf-c-page__main"

View File

@ -1,4 +1,4 @@
import 'construct-style-sheets-polyfill';
import "construct-style-sheets-polyfill";
import "./legacy.js";