|
|
@ -63,13 +63,15 @@
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right" id="main-nav">
|
|
|
|
<ul class="nav navbar-nav navbar-right" id="main-nav">
|
|
|
|
{% if g.user.is_authenticated() %}
|
|
|
|
{% if g.user.is_authenticated() %}
|
|
|
|
<li>
|
|
|
|
{% if g.user.role %}
|
|
|
|
<form id="form-upload" class="navbar-form" action="{{ url_for('upload') }}" method="post" enctype="multipart/form-data">
|
|
|
|
<li>
|
|
|
|
<div class="form-group">
|
|
|
|
<form id="form-upload" class="navbar-form" action="{{ url_for('upload') }}" method="post" enctype="multipart/form-data">
|
|
|
|
<span class="btn btn-default btn-file">Upload <input id="btn-upload" name="btn-upload" type="file"></span>
|
|
|
|
<div class="form-group">
|
|
|
|
</div>
|
|
|
|
<span class="btn btn-default btn-file">Upload <input id="btn-upload" name="btn-upload" type="file"></span>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% if g.user.role %}
|
|
|
|
{% if g.user.role %}
|
|
|
|
<li><a href="{{url_for('user_list')}}"><span class="glyphicon glyphicon-dashboard"></span> Admin</a></li>
|
|
|
|
<li><a href="{{url_for('user_list')}}"><span class="glyphicon glyphicon-dashboard"></span> Admin</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|