1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-12-08 01:08:07 +00:00

Removed unused wishlist code

Added renaming of shelf name
Added sorting abilty to shelfs
jquery is loaded locally now
This commit is contained in:
OzzieIsaacs
2016-12-26 11:33:32 +01:00
parent 580389d279
commit e0459eb62b
12 changed files with 30955 additions and 42 deletions

View File

@@ -5,14 +5,17 @@
<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="">
<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"> {{_('should the shelf be public?')}}
<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 %}