2016-02-07 19:05:38 +03:00
|
|
|
|
|
|
|
{{define "header"}}
|
2016-04-10 16:08:18 +03:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.85">
|
2016-03-19 17:30:02 +03:00
|
|
|
<link rel="apple-touch-icon" sizes="57x57" href=/static/img/cowyo/apple-icon-57x57.png>
|
|
|
|
<link rel="apple-touch-icon" sizes="60x60" href=/static/img/cowyo/img/cowyo/apple-icon-60x60.png>
|
|
|
|
<link rel="apple-touch-icon" sizes="72x72" href=/static/img/cowyo/apple-icon-72x72.png>
|
|
|
|
<link rel="apple-touch-icon" sizes="76x76" href=/static/img/cowyo/apple-icon-76x76.png>
|
|
|
|
<link rel="apple-touch-icon" sizes="114x114" href=/static/img/cowyo/apple-icon-114x114.png>
|
|
|
|
<link rel="apple-touch-icon" sizes="120x120" href=/static/img/cowyo/apple-icon-120x120.png>
|
|
|
|
<link rel="apple-touch-icon" sizes="144x144" href=/static/img/cowyo/apple-icon-144x144.png>
|
|
|
|
<link rel="apple-touch-icon" sizes="152x152" href=/static/img/cowyo/apple-icon-152x152.png>
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href=/static/img/cowyo/apple-icon-180x180.png>
|
|
|
|
<link rel="icon" type="image/png" sizes="192x192" href=/static/img/cowyo/android-icon-192x192.png>
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href=/static/img/cowyo/favicon-32x32.png>
|
|
|
|
<link rel="icon" type="image/png" sizes="96x96" href=/static/img/cowyo/favicon-96x96.png>
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href=/static/img/cowyo/favicon-16x16.png>
|
|
|
|
<link rel="manifest" href=/static/img/cowyo/manifest.json>
|
2016-02-07 19:05:38 +03:00
|
|
|
<meta name="msapplication-TileColor" content="#ffffff">
|
|
|
|
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
2016-02-08 18:27:44 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/css/bootstrap.min.css">
|
2016-04-10 16:08:18 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/css/bootstrap-theme.min.css">
|
2016-02-08 18:27:44 +03:00
|
|
|
<script src="/static/js/jquery.js"></script>
|
2016-02-08 21:37:43 +03:00
|
|
|
<script src="/static/js/bootstrap.min.js"></script>
|
2016-02-08 18:27:44 +03:00
|
|
|
<!-- <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-7s5uDGW3AHqw6xtJmNNtr+OBRJUlgkNJEo78P4b0yRw= sha512-nNo+yCHEyn0smMxSswnf/OnX6/KwJuZTlNZBjauKhTK0c+zT+q5JOCx0UFhXQ6rJR9jg6Es8gPuD2uZcYDLqSw==" crossorigin="anonymous">
|
2016-02-08 18:15:41 +03:00
|
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha256-KXn5puMvxCw+dAYznun+drMdG1IFl3agK0p/pqT9KAo= sha512-2e8qq0ETcfWRI4HJBzQiA3UoyFk6tbNyG+qSaIBZLyW9Xf3sWZHN/lxe9fTh1U45DpPf07yj94KsUHHWe4Yk1A==" crossorigin="anonymous"></script>
|
2016-02-08 18:27:44 +03:00
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> -->
|
2016-04-10 16:08:18 +03:00
|
|
|
<style>
|
2016-04-10 16:50:18 +03:00
|
|
|
.dropdown-menu>li
|
|
|
|
{ position:relative;
|
|
|
|
-webkit-user-select: none; /* Chrome/Safari */
|
|
|
|
-moz-user-select: none; /* Firefox */
|
|
|
|
-ms-user-select: none; /* IE10+ */
|
|
|
|
/* Rules below not implemented in browsers yet */
|
|
|
|
-o-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
cursor:pointer;
|
2016-04-10 16:08:18 +03:00
|
|
|
}
|
2016-04-10 16:50:18 +03:00
|
|
|
.dropdown-menu .sub-menu {
|
|
|
|
left: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
display:none;
|
|
|
|
margin-top: -1px;
|
|
|
|
border-top-left-radius:0;
|
|
|
|
border-bottom-left-radius:0;
|
|
|
|
border-left-color:#fff;
|
|
|
|
box-shadow:none;
|
|
|
|
}
|
|
|
|
.right-caret:after,.left-caret:after
|
|
|
|
{ content:"";
|
|
|
|
border-bottom: 5px solid transparent;
|
|
|
|
border-top: 5px solid transparent;
|
|
|
|
display: inline-block;
|
|
|
|
height: 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 0;
|
|
|
|
margin-left:5px;
|
|
|
|
}
|
|
|
|
.right-caret:after
|
|
|
|
{ border-left: 5px solid #000000;
|
|
|
|
}
|
|
|
|
.left-caret:after
|
|
|
|
{ border-right: 5px solid #000000;
|
|
|
|
}
|
|
|
|
</style>
|
2016-04-10 16:08:18 +03:00
|
|
|
|
2016-04-10 16:50:18 +03:00
|
|
|
<script>
|
2016-04-10 16:08:18 +03:00
|
|
|
|
2016-04-10 16:50:18 +03:00
|
|
|
$(function(){
|
|
|
|
$(".dropdown-menu > li > a.trigger").on("click",function(e){
|
|
|
|
var current=$(this).next();
|
|
|
|
var grandparent=$(this).parent().parent();
|
|
|
|
if($(this).hasClass('left-caret')||$(this).hasClass('right-caret'))
|
|
|
|
$(this).toggleClass('right-caret left-caret');
|
|
|
|
grandparent.find('.left-caret').not(this).toggleClass('right-caret left-caret');
|
|
|
|
grandparent.find(".sub-menu:visible").not(current).hide();
|
|
|
|
current.toggle();
|
|
|
|
e.stopPropagation();
|
|
|
|
});
|
|
|
|
$(".dropdown-menu > li > a:not(.trigger)").on("click",function(){
|
|
|
|
var root=$(this).closest('.dropdown');
|
|
|
|
root.find('.left-caret').toggleClass('right-caret left-caret');
|
|
|
|
root.find('.sub-menu:visible').hide();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2016-02-14 18:59:07 +03:00
|
|
|
|
2016-02-07 19:05:38 +03:00
|
|
|
{{end}}
|