add menu for entering hidden share

This commit is contained in:
q
2018-01-25 20:05:36 +02:00
parent fd18d5f162
commit db3ee2abfd
4 changed files with 27 additions and 2 deletions

View File

@@ -1,6 +1,13 @@
{% extends "layout.html" %}
{% block body %}
<div id=index_title><h1>Flees</h1></div>
<div id=index_menu>
<div id=index_enter>
<input id="index_form_name" type=text name=name title="Hidden share name"
onkeydown="index_form_enter(event)">
<input type=submit value=Go onclick="index_form_submit()">
</div>
</div>
<div class=clear></div>
<table id=index_table>
<tr>
@@ -13,8 +20,6 @@
<td><a href="{{ url_for('list_view',name=entry.name) }}">{{ entry.name }}</a>
<td class=td_right>{% if entry.expire %}{{ entry.expire|safe }}{% else %}-{% endif %}
<td class=td_right>{% if entry.upload %}yes{% else %}no{% endif %}
{% else %}
<li>no shares
{% endfor %}
</table>
{% endblock %}

View File

@@ -3,6 +3,7 @@
<title>Flees</title>
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/styles.css') }}">
<script src="{{ url_for('static', filename='js/tablesort.js') }}" type="text/javascript"></script>
<script src="{{ url_for('static', filename='js/scripts.js') }}" type="text/javascript"></script>
</head>
<body>
<div class=page>