This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
165 lines (141 loc) · 6.04 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Selbstauskunft</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/easy-autocomplete.css" rel="stylesheet">
<script type="text/javascript" src="js/jspdf.debug.js"></script>
<script type="text/javascript" src="js/companies.js"></script>
<script type="text/javascript" src="js/print.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.easy-autocomplete.js"></script>
<script type="text/javascript">
</script>
</head>
<body class="bg-light">
<div class="container">
<div class="py-5 text-center">
<img class="d-block mx-auto mb-4" src="img/icon.png" alt="" width="72" height="72">
<h2>Selbstauskunft</h2>
<p class="lead">Dieses Tool dient zum Generieren von PDFs zur Selbstauskunft nach Artikel 15 DSGVO.</p>
</div>
<div class="row">
<div class="col-md-4 order-md-2 mb-4">
<h4 class="d-flex justify-content-between align-items-center mb-3">
<span class="text-muted">Ausgewählte Firmen</span>
<span class="badge badge-secondary badge-pill" id="company-count">0</span>
</h4>
<ul class="list-group mb-3" id="company-list">
<!-- <ul> for adding companies -->
</ul>
<div class="card p-2">
<div class="input-group">
<input type="text" id="company-input" class="form-control" placeholder="Firmenname">
<div class="input-group-append">
<button onclick="newElement()" class="btn btn-secondary">Hinzufügen</button>
</div>
</div>
</div>
</div>
<div class="col-md-8 order-md-1">
<h4 class="mb-3">Persönliche Informationen</h4>
<form class="needs-validation" id="personaldata" novalidate="">
<div class="mb-3">
<label for="pname">Name</label>
<input type="text" class="form-control" id="pname" placeholder="Erika Mustermann" required="">
<div class="invalid-feedback">
Dein Name ist benötigt.
</div>
</div>
<div class="mb-3">
<label for="address">Adresse</label>
<input type="text" class="form-control" id="address" placeholder="Musterstraße 13" required="">
<div class="invalid-feedback">
Bitte eine Adresse eingeben
</div>
</div>
<div class="row">
<div class="col-md-4 mb-3">
<label for="zip">Postleitzahl</label>
<input type="text" class="form-control" id="zip" placeholder="15567" required="">
<div class="invalid-feedback">
Postleitzahl benötigt
</div>
</div>
<div class="col-md-8 mb-3">
<label for="address2">Stadt</label>
<input type="text" class="form-control" id="town" placeholder="Musterstadt" required="">
<div class="invalid-feedback">
Bitte eine Stadt eingeben
</div>
</div>
</div>
<!-- <div class="mb-3">
<label for="email">Email <span class="text-muted">(Optional)</span></label>
<input type="email" class="form-control" id="email" placeholder="[email protected]">
<div class="invalid-feedback">
Bitte gib eine korrekte e-Mail-Adresse an.
</div>
</div> -->
<!--
<hr class="mb-4">
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="same-address">
<label class="custom-control-label" for="same-address">Shipping address is the same as my billing address</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="save-info">
<label class="custom-control-label" for="save-info">Save this information for next time</label>
</div> -->
<hr class="mb-4">
<button class="btn btn-primary btn-lg btn-block" type="submit">PDF(s) generieren</button>
</form>
</div>
</div>
<footer class="my-5 pt-5 text-muted text-center text-small">
<p class="mb-1">© 2018 Selbstauskunft™</p>
<ul class="list-inline">
<li class="list-inline-item"><a href="https://www.datenanfragen.de/blog/musterbrief-dsgvo-anfrage-auskunft/">Quelle der Anfrage</a></li>
</ul>
</footer>
</div>
<script>
// Example starter JavaScript for disabling form submissions if there are invalid fields
(function() {
'use strict';
window.addEventListener('load', function() {
// Fetch all the forms we want to apply custom Bootstrap validation styles to
var forms = document.getElementsByClassName('needs-validation');
// Loop over them and prevent submission
var validation = Array.prototype.filter.call(forms, function(form) {
form.addEventListener('submit', function(event) {
if (form.checkValidity() === false) {
event.preventDefault();
event.stopPropagation();
} else {
initiateprint();
}
form.classList.add('was-validated');
}, false);
});
}, false);
})();
</script>
<script type="text/javascript">
var options = {
data: Object.keys(jsoncompanies),
list: {
match: {
enabled: true
},
sort: {
enabled: true
}
}
};
$("#company-input").easyAutocomplete(options);
</script>
</body></html>