Skip to content

Commit 15fa642

Browse files
committed
✨ add login-webcomponent to local test pages
1 parent f7634df commit 15fa642

File tree

4 files changed

+137
-93
lines changed

4 files changed

+137
-93
lines changed
Lines changed: 33 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,53 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
3+
<head>
4+
<meta charset="UTF-8"/>
55
<meta
6-
name="robots"
7-
content="noindex"
6+
name="robots"
7+
content="noindex"
88
/>
99
<link
10-
href="/favicon.ico"
11-
rel="icon"
10+
href="/favicon.ico"
11+
rel="icon"
1212
/>
1313
<meta
14-
content="width=device-width, initial-scale=1.0"
15-
name="viewport"
14+
content="width=device-width, initial-scale=1.0"
15+
name="viewport"
1616
/>
1717
<title>personalization-webcomponent</title>
1818

1919
<!-- Muenchen.de Fontfaces -->
2020
<link
21-
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22-
rel="stylesheet"
21+
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22+
rel="stylesheet"
2323
/>
2424

25+
<!-- Load login-WC from local dev-server -->
26+
<script src="http://localhost:5173/src/main.ts" type="module"></script>
27+
2528
<!-- built files will be auto injected -->
2629
<script
27-
src="src/checklist-detail-webcomponent.ts"
28-
type="module"
30+
src="src/checklist-detail-webcomponent.ts"
31+
type="module"
2932
></script>
30-
</head>
31-
<body>
32-
<noscript>
33-
<strong>
33+
</head>
34+
<body>
35+
<noscript>
36+
<strong>
3437
In order for the development page to work correctly, JavaScript needs to
3538
be activated.
36-
</strong>
37-
</noscript>
38-
<div>
39-
<checklist-detail first-name="Julia"></checklist-detail>
40-
</div>
41-
</body>
39+
</strong>
40+
</noscript>
41+
<dbs-login
42+
kc-url="http://localhost:8100/auth/"
43+
kc-realm="local_realm"
44+
kc-client-id="local"
45+
overview-link="http://localhost:3000/"
46+
ticket-link="http://localhost:3000/"
47+
appointment-link="http://localhost:3000/"
48+
></dbs-login>
49+
<div>
50+
<checklist-detail first-name="Julia"></checklist-detail>
51+
</div>
52+
</body>
4253
</html>
Lines changed: 33 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,53 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
3+
<head>
4+
<meta charset="UTF-8"/>
55
<meta
6-
name="robots"
7-
content="noindex"
6+
name="robots"
7+
content="noindex"
88
/>
99
<link
10-
href="/favicon.ico"
11-
rel="icon"
10+
href="/favicon.ico"
11+
rel="icon"
1212
/>
1313
<meta
14-
content="width=device-width, initial-scale=1.0"
15-
name="viewport"
14+
content="width=device-width, initial-scale=1.0"
15+
name="viewport"
1616
/>
1717
<title>personalization-webcomponent</title>
1818

1919
<!-- Muenchen.de Fontfaces -->
2020
<link
21-
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22-
rel="stylesheet"
21+
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22+
rel="stylesheet"
2323
/>
2424

25+
<!-- Load login-WC from local dev-server -->
26+
<script src="http://localhost:5173/src/main.ts" type="module"></script>
27+
2528
<!-- built files will be auto injected -->
2629
<script
27-
src="src/checklist-overview-webcomponent.ts"
28-
type="module"
30+
src="src/checklist-overview-webcomponent.ts"
31+
type="module"
2932
></script>
30-
</head>
31-
<body>
32-
<noscript>
33-
<strong>
33+
</head>
34+
<body>
35+
<noscript>
36+
<strong>
3437
In order for the development page to work correctly, JavaScript needs to
3538
be activated.
36-
</strong>
37-
</noscript>
38-
<div>
39-
<checklist-overview first-name="Simon" />
40-
</div>
41-
</body>
39+
</strong>
40+
</noscript>
41+
<dbs-login
42+
kc-url="http://localhost:8100/auth/"
43+
kc-realm="local_realm"
44+
kc-client-id="local"
45+
overview-link="http://localhost:3000/"
46+
ticket-link="http://localhost:3000/"
47+
appointment-link="http://localhost:3000/"
48+
></dbs-login>
49+
<div>
50+
<checklist-overview first-name="Simon"/>
51+
</div>
52+
</body>
4253
</html>
Lines changed: 35 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,55 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
3+
<head>
4+
<meta charset="UTF-8"/>
55
<meta
6-
name="robots"
7-
content="noindex"
6+
name="robots"
7+
content="noindex"
88
/>
99
<link
10-
href="/favicon.ico"
11-
rel="icon"
10+
href="/favicon.ico"
11+
rel="icon"
1212
/>
1313
<meta
14-
content="width=device-width, initial-scale=1.0"
15-
name="viewport"
14+
content="width=device-width, initial-scale=1.0"
15+
name="viewport"
1616
/>
1717
<title>personalization-webcomponent</title>
1818

1919
<!-- Muenchen.de Fontfaces -->
2020
<link
21-
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22-
rel="stylesheet"
21+
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22+
rel="stylesheet"
2323
/>
2424

25+
<!-- Load login-WC from local dev-server -->
26+
<script src="http://localhost:5173/src/main.ts" type="module"></script>
27+
2528
<!-- built files will be auto injected -->
2629
<script
27-
src="src/my-checklists-webcomponent.ts"
28-
type="module"
30+
src="src/my-checklists-webcomponent.ts"
31+
type="module"
2932
></script>
30-
</head>
31-
<body>
32-
<noscript>
33-
<strong>
33+
</head>
34+
<body>
35+
<noscript>
36+
<strong>
3437
In order for the development page to work correctly, JavaScript needs to
3538
be activated.
36-
</strong>
37-
</noscript>
38-
<div>
39-
<my-checklists
40-
checklist-detail-url="./index-checklist-detail.html"
41-
></my-checklists>
42-
</div>
43-
</body>
39+
</strong>
40+
</noscript>
41+
<dbs-login
42+
kc-url="http://localhost:8100/auth/"
43+
kc-realm="local_realm"
44+
kc-client-id="local"
45+
overview-link="http://localhost:3000/"
46+
ticket-link="http://localhost:3000/"
47+
appointment-link="http://localhost:3000/"
48+
></dbs-login>
49+
<div>
50+
<my-checklists
51+
checklist-detail-url="./index-checklist-detail.html"
52+
></my-checklists>
53+
</div>
54+
</body>
4455
</html>
Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,58 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
3+
<head>
4+
<meta charset="UTF-8"/>
55
<meta
6-
name="robots"
7-
content="noindex"
6+
name="robots"
7+
content="noindex"
88
/>
99
<link
10-
href="/favicon.ico"
11-
rel="icon"
10+
href="/favicon.ico"
11+
rel="icon"
1212
/>
1313
<meta
14-
content="width=device-width, initial-scale=1.0"
15-
name="viewport"
14+
content="width=device-width, initial-scale=1.0"
15+
name="viewport"
1616
/>
1717
<title>personalization-webcomponents</title>
1818

1919
<!-- Muenchen.de Fontfaces -->
2020
<link
21-
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22-
rel="stylesheet"
21+
href="https://assets.muenchen.de/mde/1.0.10/css/fonts.css"
22+
rel="stylesheet"
2323
/>
24-
</head>
25-
<body>
26-
<noscript>
27-
<strong>
24+
25+
<!-- Load login-WC from local dev-server -->
26+
<script src="http://localhost:5173/src/main.ts" type="module"></script>
27+
</head>
28+
<body>
29+
<noscript>
30+
<strong>
2831
In order for the development page to work correctly, JavaScript needs to
2932
be activated.
30-
</strong>
31-
</noscript>
32-
<div>
33-
<h1>The following webcomponents are available:</h1>
34-
<ul>
33+
</strong>
34+
</noscript>
35+
<div>
36+
<dbs-login
37+
kc-url="http://localhost:8100/auth/"
38+
kc-realm="local_realm"
39+
kc-client-id="local"
40+
overview-link="http://localhost:3000/"
41+
ticket-link="http://localhost:3000/"
42+
appointment-link="http://localhost:3000/"
43+
></dbs-login>
44+
<h1>The following webcomponents are available:</h1>
45+
<ul>
3546
<li>
36-
<a href="index-checklist-detail.html">checklist-detail webcomp</a>
47+
<a href="index-checklist-detail.html">checklist-detail webcomp</a>
3748
</li>
3849
<li>
39-
<a href="index-checklist-overview.html">checklist-overview webcomp</a>
50+
<a href="index-checklist-overview.html">checklist-overview webcomp</a>
4051
</li>
4152
<li>
42-
<a href="index-my-checklists.html">my-checklists webcomp</a>
53+
<a href="index-my-checklists.html">my-checklists webcomp</a>
4354
</li>
44-
</ul>
45-
</div>
46-
</body>
55+
</ul>
56+
</div>
57+
</body>
4758
</html>

0 commit comments

Comments
 (0)