-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
128 lines (101 loc) · 3.9 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Extruder Calc</title>
<link rel="stylesheet" type="text/css" href="/styles/inline.css">
<link rel="icon" href="/images/favicon.ico" type="image/x-icon" />
<!-- CODELAB: Add link rel manifest -->
<link rel="manifest" href="/manifest.json">
<!-- CODELAB: Add iOS meta tags and icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Extruder Calc">
<link rel="apple-touch-icon" href="/images/icons/ico-main-maskable-large.png">
<!-- CODELAB: Add description here -->
<meta name="description" content="Prosty kalkulator pracy przy wytłaczarce profili PVC.">
<!-- CODELAB: Add meta theme-color -->
<meta name="theme-color" content="#790005" />
</head>
<body>
<header class="header">
<h1>
ExCalc
</h1>
<button id="butInstall" aria-label="Install" hidden></button>
<button id="butLight" aria-label="Light" hidden></button>
<button id="butDark" aria-label="Dark"></button>
</header>
<main class="main">
<div id="btnContainer" class="btnContainer hidden">
<button id="butClean" class="btns" aria-label="Clean">
Wyczyść
</button>
</div>
<div id="about" class="info-card">
<div id="info" class="alert alert-danger">
<strong>Uwaga!</strong> Wprowadź dane do formularza aby obliczyć czas realizacji zamówienia i ilość kartonów!
</div>
<div id="wynik_row" class="alert alert-success" hidden>
<span id="wynik"></span>
</div>
<div id="kartony_row" class="alert alert-success" hidden>
<span id="kartony"></span>
</div>
</div>
<div id="weather-template" class="weather-card">
<form id="indexCountForm" name="indexCountForm">
<div class="form-group row">
<label for="inputWymiar" class="col-sm-2 col-form-label">Wymiar (w milimetrach)*</label>
<div class="col-sm-10">
<input type="number" class="form-control" id="inputWymiar" placeholder="Wymiar (w milimetrach)*">
</div>
</div>
<div class="form-group row">
<label for="inputSpeed" class="col-sm-2 col-form-label">Prędkosć odciągu (w metrach na minutę)*</label>
<div class="col-sm-10">
<input type="number" class="form-control" id="inputSpeed" placeholder="Prędkosć odciągu (w metrach na minutę)*">
</div>
</div>
<div class="form-group row">
<label for="inputSztuk" class="col-sm-2 col-form-label">Ilość do zrobienia (sztuk)*</label>
<div class="col-sm-10">
<input type="number" class="form-control" id="inputSztuk" placeholder="Ilość do zrobienia (sztuk)*">
</div>
</div>
<div class="form-group row">
<label for="inputPoIle" class="col-sm-2 col-form-label">Pakowane po (sztuk)</label>
<div class="col-sm-10">
<input type="number" class="form-control" id="inputPoIle" placeholder="Pakowane po (sztuk)">
</div>
</div>
</form>
</div>
</main>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-58243912-8"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-58243912-8');
</script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js"></script>
<script src="/scripts/app.js"></script>
<!-- CODELAB: Add the install script here -->
<script src="/scripts/install.js"></script>
<script>
// CODELAB: Register service worker.
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/service-worker.js')
.then((reg) => {
console.log('Service worker registered.', reg);
});
});
}
</script>
</body>
</html>