Merge remote-tracking branch 'github_2/it-adds-info-to-shelf-order'
This commit is contained in:
		
						commit
						c740fe9124
					
				| 
						 | 
				
			
			@ -64,6 +64,7 @@ span.glyphicon.glyphicon-tags {padding-right: 5px;color: #999;vertical-align: te
 | 
			
		|||
.navbar-default .navbar-toggle .icon-bar {background-color: #000;}
 | 
			
		||||
.navbar-default .navbar-toggle {border-color: #000;}
 | 
			
		||||
.cover { margin-bottom: 10px;}
 | 
			
		||||
.cover-height { max-height: 100px;}
 | 
			
		||||
 | 
			
		||||
.btn-file {position: relative; overflow: hidden;}
 | 
			
		||||
.btn-file input[type=file] {position: absolute; top: 0; right: 0; min-width: 100%; min-height: 100%; font-size: 100px; text-align: right; filter: alpha(opacity=0); opacity: 0; outline: none; background: white; cursor: inherit; display: block;}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,11 +1,31 @@
 | 
			
		|||
{% extends "layout.html" %}
 | 
			
		||||
{% block body %}
 | 
			
		||||
  <div class="col-sm-6 col-lg-6 col-xs-6">
 | 
			
		||||
  <div class="col-sm-8 col-lg-8 col-xs-12">
 | 
			
		||||
    <h2>{{title}}</h2>
 | 
			
		||||
    <div>{{_('Drag \'n drop to rearrange order')}}</div>
 | 
			
		||||
      <div id="sortTrue" class="list-group">
 | 
			
		||||
        {% for entry in entries %}
 | 
			
		||||
          <div id="{{entry.id}}" class="list-group-item">{{entry.title}}</div>
 | 
			
		||||
          <div id="{{entry.id}}" class="list-group-item">
 | 
			
		||||
            <div class="row">
 | 
			
		||||
              <div class="col-lg-2 col-sm-4 hidden-xs">
 | 
			
		||||
                  <img class="cover-height" src="{{ url_for('web.get_cover', book_id=entry.id) }}">
 | 
			
		||||
              </div>
 | 
			
		||||
              <div class="col-lg-10 col-sm-8 col-xs-12">
 | 
			
		||||
                  {{entry.title}}
 | 
			
		||||
                  {% if entry.series|length > 0 %}
 | 
			
		||||
                    <br>
 | 
			
		||||
                    {{entry.series_index}} - {{entry.series[0].name}}
 | 
			
		||||
                  {% endif %}
 | 
			
		||||
                  <br>
 | 
			
		||||
                  {% for author in entry.authors %}
 | 
			
		||||
                    {{author.name.replace('|',',')}}
 | 
			
		||||
                    {% if not loop.last %}
 | 
			
		||||
                      &
 | 
			
		||||
                    {% endif %}
 | 
			
		||||
                  {% endfor %}
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
      </div>
 | 
			
		||||
        <button onclick="sendData('{{ url_for('shelf.order_shelf', shelf_id=shelf.id) }}')" class="btn btn-default" id="ChangeOrder">{{_('Change order')}}</button>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user