mirror of
https://github.com/janeczku/calibre-web.git
synced 2024-11-26 08:51:05 +02:00
e0459eb62b
Added renaming of shelf name Added sorting abilty to shelfs jquery is loaded locally now
22 lines
789 B
HTML
22 lines
789 B
HTML
{% extends "layout.html" %}
|
|
{% block body %}
|
|
<div class="discover">
|
|
<h1>{{title}}</h1>
|
|
<form role="form" method="POST">
|
|
<div class="form-group">
|
|
<label for="title">{{_('Title')}}</label>
|
|
<input type="text" class="form-control" name="title" id="title" value="{{ shelf.name if shelf.name != None }}">
|
|
</div>
|
|
<div class="checkbox">
|
|
<label>
|
|
<input type="checkbox" name="is_public" {% if shelf.is_public == 1 %}checked{% endif %}> {{_('should the shelf be public?')}}
|
|
</label>
|
|
</div>
|
|
<button type="submit" class="btn btn-default">{{_('Submit')}}</button>
|
|
{% if shelf.id != None %}
|
|
<a href="{{ url_for('show_shelf', shelf_id=shelf.id) }}" class="btn btn-default">{{_('Back')}}</a>
|
|
{% endif %}
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|