vsgallery/tpl/layout.html

24 lines
869 B
HTML
Raw Normal View History

2022-01-08 16:22:16 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/style.css">
2022-01-10 16:14:35 +00:00
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
2022-01-08 16:22:16 +00:00
<script src="js/shortcut.js"></script>
<title>{% yield title %}</title>
</head>
<body>
{% yield content %}
<script>
addEventListener("DOMContentLoaded", function(){
shortcut.add("Left", function() { document.getElementById("link-prev").click(); }, { 'disable_in_input': true, 'propagate': true });
shortcut.add("Right", function() { document.getElementById("link-next").click(); }, { 'disable_in_input': true, 'propagate': true });
shortcut.add("Home", function() { document.getElementById("link-home").click(); }, {'disable_in_input': true, 'propagate': true });
});
</script>
</body>
</html>