-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (65 loc) · 2.39 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Date-picker</title>
<!-- <link rel="preconnect" href="https://polyfill.io/" crossorigin /> -->
<!-- <script>
window.polymerSkipLoadingFontRoboto = true;
if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('service-worker.js', {
scope: '/',
});
});
}
window.process = { env: { NODE_ENV: 'production' } };
</script> -->
<!-- <link rel="stylesheet" href="font/font.css" /> -->
<style>
body {
margin: 0;
background-color: rgb(98, 0, 238);
font-family: "Iran Sans", "Roboto", "Tahoma", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
}
date-picker {
width: 320px;
margin: 50px auto;
background-color: #ffffff;
border-radius: 12px;
}
</style>
</head>
<body>
<date-picker debug solar time-picker></date-picker>
<!-- <clock-element debug></clock-element> -->
<!-- https://polyfill.io/v3/url-builder/ -->
<!-- <script src="https://polyfill.io/v3/polyfill.min.js?features=requestAnimationFrame,requestIdleCallback,scrollY,CustomEvent,document.querySelector,localStorage,fetch"></script> -->
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script type="module" src="js/date-picker.js"></script>
<script>
// document.querySelector('date-picker').selectedDateList = [[2020, 7, 5], [2020, 7, 12]];
document.querySelector('date-picker').addEventListener('date-changed', (event) => { console.info(event.detail); });
</script>
<!-- <script type="module" src="js/components/clock.js"></script> -->
<noscript>
<p
style="text-align: center; margin-top: 1em; font-size: 1.1em"
dir="ltr"
>
Please enable JavaScript to view this website.
</p>
<p
style="text-align: center; margin-top: 0.2em; font-size: 1.1em"
dir="rtl"
>
لطفا JavaScript را برای مشاهده این وب سایت فعال کنید.
</p>
</noscript>
</body>
</html>