@ -1,5 +1,5 @@
<!DOCTYPE html>
<!DOCTYPE html>
< html >
< html lang = "{{ g.user.locale }}" >
< head >
< head >
< title > {{instance}} | {{title}}< / title >
< title > {{instance}} | {{title}}< / title >
< meta charset = "utf-8" >
< meta charset = "utf-8" >
@ -19,28 +19,9 @@
< script src = "https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js" > < / script >
< script src = "https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js" > < / script >
<![endif]-->
<![endif]-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- script src="https://code.jquery.com/jquery.js"></script -->
< script src = "{{ url_for('static', filename='js/libs/jquery.min.js') }}" > < / script >
<!-- Include all compiled plugins (below), or include individual files as needed -->
< script src = "{{ url_for('static', filename='js/libs/bootstrap.min.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/libs/underscore-min.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/libs/intention.min.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/libs/context.min.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/libs/plugins.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/libs/jquery.form.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/main.js') }}" > < / script >
{% block header %}{% endblock %}
{% block header %}{% endblock %}
< / head >
< / head >
< body >
< body >
< script >
$(document).ready(function(){
$("#btn-upload").change(function() {
$("#form-upload").submit();
});
});
< / script >
<!-- Static navbar -->
<!-- Static navbar -->
< div class = "navbar navbar-default navbar-static-top" role = "navigation" >
< div class = "navbar navbar-default navbar-static-top" role = "navigation" >
< div class = "container-fluid" >
< div class = "container-fluid" >
@ -56,7 +37,8 @@
{% if g.user.is_authenticated or g.user.is_anonymous() %}
{% if g.user.is_authenticated or g.user.is_anonymous() %}
< form class = "navbar-form navbar-left" role = "search" action = "{{url_for('search')}}" method = "GET" >
< form class = "navbar-form navbar-left" role = "search" action = "{{url_for('search')}}" method = "GET" >
< div class = "form-group input-group input-group-sm" >
< div class = "form-group input-group input-group-sm" >
< input type = "text" class = "form-control" name = "query" placeholder = "{{_('Search')}}" >
< label for = "query" class = "sr-only" > {{_('Search')}}< / label >
< input type = "text" class = "form-control" id = "query" name = "query" placeholder = "{{_('Search')}}" >
< span class = "input-group-btn" >
< span class = "input-group-btn" >
< button type = "submit" class = "btn btn-default" > {{_('Go!')}}< / button >
< button type = "submit" class = "btn btn-default" > {{_('Go!')}}< / button >
< / span >
< / span >
@ -220,6 +202,26 @@
< / div >
< / div >
< / div >
< / div >
{% block modal %}{% endblock %}
{% block modal %}{% endblock %}
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- script src="https://code.jquery.com/jquery.js"></script -->
< script src = "{{ url_for('static', filename='js/libs/jquery.min.js') }}" > < / script >
<!-- Include all compiled plugins (below), or include individual files as needed -->
< script src = "{{ url_for('static', filename='js/libs/bootstrap.min.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/libs/underscore-min.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/libs/intention.min.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/libs/context.min.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/libs/plugins.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/libs/jquery.form.js') }}" > < / script >
< script src = "{{ url_for('static', filename='js/main.js') }}" > < / script >
< script type = "text/javascript" >
$(function() {
$("#btn-upload").change(function() {
$("#form-upload").submit();
});
});
< / script >
{% block js %}{% endblock %}
{% block js %}{% endblock %}
< / body >
< / body >
< / html >
< / html >