{% load staticfiles %}
<!DOCTYPE html>
<html 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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>{% block title %} {% endblock title %} </title>
<!-- Bootstrap -->
<link href="{% static "css/blueimp-gallery.min.css" %}" rel="stylesheet">
<link href="{% static "css/bootstrap.css" %}" rel="stylesheet">
<link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet">
<!-- <link href="{% static "css/bootstrap-theme.css" %}" rel="stylesheet"> -->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Меню -->
<nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{% url "home" %}">Brand</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav"></ul>
<ul class="nav navbar-nav navbar-right">
{% for cat in categor %}
<li {% if cat.id_cat in request.path %}class="active"{% endif %} >
<a href="{% url "Albom" cat.id_cat %}">{{ cat.Name_cat }}</a>
<span class="sr-only">(current)</span>
</li>
{% endfor %}
</ul>
</div>
<!-- /.navbar-collapse --> </div>
<!-- /.container-fluid --> </nav>
<!-- Меню -->
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
{% block content%}
{% endblock content%}
{% block carusel %}
{% endblock carusel %}
<!-- Футер -->
<div id="footer">
<div class="container">
<p class="text-muted">This Bootstrap Example courtesy <a href="#">Bootply.com</a></p>
</div>
</div>
<ul class="nav pull-right scroll-top">
<li><a href="#" title="Scroll to top"><i class="glyphicon glyphicon-chevron-up"></i></a></li>
</ul>
</div>
</div>
<!-- Футер -->
<!-- кол мд 12 -->
<!-- Яваскрипты -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="{% static "js/jquery.blueimp-gallery.min.js" %}"></script>
<script src="{% static "js/blueimp-gallery.min.js" %}"></script>
<script src="{% static "js/bootstrap.min.js" %}"></script>
</body>
</html>
% extends "adst/base.html" %}
{% block title %}{{ alb_opis.Name_album }}{% endblock title %}
{% load static %}
<!-- Сама галарея -->
{% block content %}
<div id="blueimp-gallery" class="blueimp-gallery">
<!-- The container for the modal slides -->
<div class="slides"></div>
<!-- Controls for the borderless lightbox -->
<h3 class="title"></h3>
<a class="prev">‹</a>
<a class="next">›</a>
<a class="close">×</a>
<a class="play-pause"></a>
<ol class="indicator"></ol>
<!-- The modal dialog, which will be used to wrap the lightbox content -->
<div class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" aria-hidden="true">×</button>
<h4 class="modal-title"></h4>
</div>
<div class="modal-body next"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default pull-left prev"> <i class="glyphicon glyphicon-chevron-left"></i>
Previous
</button>
<button type="button" class="btn btn-primary next">
Next
<i class="glyphicon glyphicon-chevron-right"></i>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Сама галарея -->
<!-- Фотки з альбому -->
<div id="links">
{% for ph in phot %}
<div class="col-lg-2 col-md-2 col-sm-6 col-xs-12">
<div class="thumbnail with-caption">
<a href="{{ph.image.url}}" title="{{ ph.Title_f_photo }}" data-gallery>
<img src="{{ph.image.url}} " alt="{{ ph.Alt_f_photo }}"/></a>
</div>
</div>
{% endfor %}
{{ alb_opis.description}}
</div>
</div>
{{ alb_opis.description}}
{% endblock content %}