goddamn bracket missing from css file
This commit is contained in:
parent
a12662ba29
commit
5c87a17f6e
@ -365,6 +365,7 @@ box-sizing: border-box;
|
|||||||
align-items: top;
|
align-items: top;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
.grid{
|
.grid{
|
||||||
@ -374,7 +375,7 @@ box-sizing: border-box;
|
|||||||
align-items: top;
|
align-items: top;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.gridbox {
|
.gridbox {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -382,6 +383,7 @@ box-sizing: border-box;
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gridbox:hover{
|
.gridbox:hover{
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<h1 class="header">{{ book.title }}</h1>
|
<h1 class="header">{{ book.title }}</h1>
|
||||||
<div style="float:right; padding-right: 140px;">
|
<div style="float:right; padding-right: 140px;">
|
||||||
<img class="no_cover" id="{{ book.title }}" src="../uploads/cover/{{ book.cover }}" width="280px" onerror="if (this.src != '../uploads/cover/{{ book.cover }}') this.src = '../static/img/default_cover.gif';"></div>
|
<img class="no_cover" id="{{ book.title }}" src="../uploads/cover/{{ book.cover }}" width="280px" onerror="if (this.src != '../uploads/cover/{{ book.cover }}') this.src = '../static/img/default_cover.gif';"></div>
|
||||||
@ -63,6 +62,7 @@
|
|||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<a href="{{url_for('add_to_stack', id=book.id)}}">Add book to Stack ===></a> <br><br>
|
<a href="{{url_for('add_to_stack', id=book.id)}}">Add book to Stack ===></a> <br><br>
|
||||||
|
|
||||||
<a href="../uploads/{{ book.file }}">download {{ book.fileformat }}</a>
|
<a href="../uploads/{{ book.file }}">download {{ book.fileformat }}</a>
|
||||||
@ -87,18 +87,18 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
{% if book.file %}
|
||||||
{% if book.file %}
|
<button id="myBtn" style= "width: 180px; font-size: 10pt;"><a> Download this {{ book.fileformat }}</a></button>
|
||||||
<button id="myBtn" style= "width: 180px; font-size: 10pt;"><a> Download this {{ book.fileformat }}</a></button>
|
<div id="myModal" class="modal">
|
||||||
<div id="myModal" class="modal">
|
<div class="modal-content">
|
||||||
<div class="modal-content">
|
<span class="close">×</span>
|
||||||
<span class="close">×</span>
|
<h3>A message from the uploading librarian:</h3>
|
||||||
<h3>A message from the uploading librarian:</h3>
|
<span style="font-style: italic;">"{{book.message or '...'}}" </span><br>
|
||||||
<span style="font-style: italic;">"{{book.message or '...'}}" </span><br>
|
<h4><a href="../uploads/{{ book.file }}"> >>>> Link to file <<<<</h4></a>
|
||||||
<h4><a href="../uploads/{{ book.file }}"> >>>> Link to file <<<<</h4></a></div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<button style= "font-size: 10pt;"> <a href="{{ url_for('edit_book_by_id', id=book.id )}}">edit</a></button>
|
<button style= "font-size: 10pt;"> <a href="{{ url_for('edit_book_by_id', id=book.id )}}">edit</a></button>
|
||||||
<button style= "font-size: 10pt;"> <a href="{{ url_for('remove_book_by_id', id=book.id)}}">delete</a></button>
|
<button style= "font-size: 10pt;"> <a href="{{ url_for('remove_book_by_id', id=book.id)}}">delete</a></button>
|
||||||
|
Loading…
Reference in New Issue
Block a user