uhr/index.html

72 lines
2.9 KiB
HTML
Raw Normal View History

2013-11-19 16:55:01 +01:00
<!DOCTYPE html>
<!--
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
2013-11-19 16:55:01 +01:00
<html manifest="manifest.appcache">
<head>
<title>Bärneruhr - Die Zeit im Wort</title>
2014-06-28 02:09:48 +02:00
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<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="Bärneruhr" />
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1" />
2013-11-25 16:58:21 +01:00
<link rel="stylesheet" type="text/css" href="uhr.css" />
<link rel="stylesheet" type="text/css" href="uhr-black.css" data-class="black" data-name="Schwarz" />
2014-06-28 02:09:48 +02:00
<link rel="shortcut icon" type="image/png" href="favicon.png" />
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png" />
<script type="text/javascript" src="jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="jquery-cookie-1.4.0.js"></script>
<script type="text/javascript" src="uhr.js"></script>
<script type="text/javascript">
(function(doc, nav, standalone) {
if ((standalone in nav) && nav[standalone]) {
var curnode;
var loc = doc.location;
var stop = /^(a|html)$/i;
doc.addEventListener('click', function(e) {
curnode = e.target;
while (!(stop).test(curnode.nodeName)) {
curnode = curnode.parentNode;
}
2014-07-16 23:48:13 +02:00
if ('href' in curnode && (curnode.href.indexOf('http') || ~curnode.href.indexOf(location.host))) {
e.preventDefault();
location.href=curnode.href;
}
}, false);
}
}(document, window.navigator, 'standalone'));
</script>
2013-11-19 16:55:01 +01:00
</head>
<body style="padding:0;margin:0;">
<div id="uhr"></div>
2014-06-28 15:52:48 +02:00
<p id="disclaimer">Created by <a href="http://www.fritteli.ch/">fritteli</a>, inspired by <a href="http://www.qlocktwo.com/">QLOCKTWO</a>. <a href="info/">Read more!</a> - <a href="showcase">View full showcase!</a></p>
<script type="text/javascript" src="uhr-de_CH.js"></script>
2013-11-19 16:55:01 +01:00
<script type="text/javascript">
(function($) {
var width = $(window).width();
var height = $(window).height();
var size = (width < height ? width : height) + 'px';
$('#uhr').uhr({
2014-02-28 22:52:38 +01:00
width: size,
color: 'black',
language: 'de_CH',
force: true,
controls: false
});
})(jQuery);
2013-11-19 16:55:01 +01:00
</script>
</body>
</html>