-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
133 lines (118 loc) · 4.07 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="theme-color" content="#0072c6">
<link href="static/lib/metro/css/metro.css" rel="stylesheet">
<link href="static/lib/metro/css/metro-icons.min.css" rel="stylesheet">
<link href="static/lib/metro/css/metro-responsive.min.css" rel="stylesheet">
<link href="static/lib/metro/css/metro-colors.min.css" rel="stylesheet">
<link href="static/lib/metro/css/metro-schemes.min.css" rel="stylesheet">
<link href="static/lib/gridforms/gridforms.css" rel="stylesheet">
<link href="static/css/jquery-ui.min.css" rel="stylesheet">
<link href="static/css/jquery-ui.structure.min.css" rel="stylesheet">
<link href="static/css/jquery-ui.theme.min.css" rel="stylesheet">
<link href="static/css/select2.min.css" rel="stylesheet">
<link href="static/css/MonthPicker.css" rel="stylesheet">
<link href="static/css/table-section.css" rel="stylesheet">
<script src="static/js/jquery.min.js"></script>
<script src="static/js/jquery-ui.min.js"></script>
<script src="static/lib/metro/js/metro.js"></script>
<script src="static/lib/gridforms/gridforms.js"></script>
<script src="static/js/select2.full.min.js"></script>
<script src="static/js/clipboard.min.js"></script>
<script src="static/js/MonthPicker.js"></script>
<script src="static/js/jquery.numeric.min.js"></script>
<script src="static/js/momentjs-locales.min.js"></script>
<script src="static/js/table-section.js"></script>
<link rel="apple-touch-icon" sizes="180x180" href="static/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" href="static/favicon/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="static/favicon/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="static/favicon/manifest.json">
<link rel="mask-icon" href="static/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="static/favicon/favicon.ico">
<meta name="msapplication-config" content="static/favicon/browserconfig.xml">
<title>Test</title>
<style>
fieldset {
border: 1px solid #CCC;
}
legend {
color: #CCC;
}
a.back-to-top {
display: none;
width: 50px;
height: 50px;
position: fixed;
z-index: 999;
right: 20px;
bottom: 20px;
background: #000;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
opacity: 0.6;
}
@media print {
.hide-for-print {
display: none !important;
}
}
.cell_link {
display: block;
margin: -10em;
padding: 10em;
}
.badge {
font-size: .7em;
background: red;
color: white;
width: 18px;
height: 18px;
margin: 0;
border-radius: 50%;
position: absolute;
top: 10px;
right: 10px;
text-align: center;
line-height: 18px;
}
.hidden_notification_badge {
visibility: hidden;
}
</style>
</head>
<body class="bg-grayDark">
<div id="app">
<div id="top" style="margin-top: 3.5rem"></div>
<!-- Hier wird der Content stehen-->
<router-view/>
<div id="bottom"></div>
<a href="#top" class="back-to-top align-center v-align-middle"><span class="mif-arrow-up mif-3x fg-white"></span></a>
</div>
<script>
$('a[href^="#"]').on('click', function(e) {
e.preventDefault();
var $topmargin = $('.main-content');
var target = this.hash;
var $target = $(target);
var new_top_value = $target.offset().top - parseInt($topmargin.css("margin-top"));
$('html, body').stop().animate({
'scrollTop': new_top_value
}, 900, 'swing', function() {
window.location.hash = target;
});
});
var amountScrolled = 300;
$(window).scroll(function() {
if ($(window).scrollTop() > amountScrolled) {
$('a.back-to-top').fadeIn('slow');
} else {
$('a.back-to-top').fadeOut('slow');
}
});
</script>
<!-- built files will be auto injected -->
</body>
</html>