camp/content/templates/base.html

83 lines
2.8 KiB
HTML
Raw Normal View History

2017-06-10 09:59:00 +00:00
<!doctype html>
<html class="no-js" lang="en">
<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>Studio CAMP</title>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans"/>
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static "css/foundation.css" %}">
2017-07-03 08:14:07 +00:00
<link rel="stylesheet" type="text/css" href="{% static "css/jquery.bxslider.css" %}">
2017-12-20 00:06:32 +00:00
<link rel="stylesheet" type="text/css" href="{% static "css/main.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "css/app.css" %}">
2017-06-10 09:59:00 +00:00
</head>
<body>
<div class="off-canvas-wrapper-inner" data-off-canvas-wrapper>
<div class="off-canvas position-right" id="offCanvasRight" data-off-canvas data-position="right">
<ul class="vertical-menu">
2017-12-18 12:54:04 +00:00
<li><a href="/">HOME</a></li>
<li><a href="/about">ABOUT</a></li>
<li><a href="/projects">PROJECTS</a></li>
<li><a href="/events">EVENTS</a></li>
<li><a href="/works">WORKS</a></li>
<li><a href="/texts">TEXTS</a></li>
<li><a href="/contact">CONTACT</a></li>
2017-06-10 09:59:00 +00:00
</ul>
</div>
<div class="off-canvas-content" data-off-canvas-content>
<div class="title-bar-right">
<button class="menu-icon" type="button" data-toggle="offCanvasRight"></button>
</div>
</div>
</div>
2017-12-22 21:20:19 +00:00
<form method="get" action='/search/'>
2017-12-22 22:22:14 +00:00
<input type="search" name="q" class="search-form" value="{{query|default:""}}">
<input type="submit" style="visibility: hidden;" />
2017-12-22 21:20:19 +00:00
</form>
2017-06-10 09:59:00 +00:00
{% block content %}
{% endblock %}
{% load static %}
<script src="{% static "js/jquery.js" %}"></script>
<script src="{% static "js/foundation.js" %}"></script>
2017-12-18 12:54:04 +00:00
<script src="{% static "js/app.js" %}"></script>
2017-06-10 09:59:00 +00:00
<script src="{% static "js/what-input.js" %}"></script>
2017-07-03 08:14:07 +00:00
<script src="{% static "js/jquery.bxslider.js" %}"></script>
<script type="text/javascript">
$(document).ready(function(){
2017-12-23 12:19:35 +00:00
slider = $('.slider1').bxSlider({
2017-07-03 08:14:07 +00:00
adaptiveHeight : true,
pager : false,
});
2017-12-23 12:19:35 +00:00
document.querySelectorAll('.select-image').forEach(function(a) {
a.onclick = function(event) {
event.preventDefault();
slider.goToSlide(this.dataset.id)
};
});
2017-07-03 08:14:07 +00:00
2017-12-23 12:19:35 +00:00
$(document).keydown(function(e){
if (e.keyCode == 39) // Right arrow
{
slider && slider.goToNextSlide();
return false;
}
else if (e.keyCode == 37) // left arrow
{
slider && slider.goToPrevSlide();
return false;
}
});
2017-07-03 08:14:07 +00:00
});
</script>
2017-06-10 09:59:00 +00:00
</body>
2017-12-18 12:54:04 +00:00
</html>