added Stufff
This commit is contained in:
21
templates/_notebook.html
Normal file
21
templates/_notebook.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<div class="card-container">
|
||||
<div class="card">
|
||||
<a href="{{ url_for('view_notebook', notebook_path=notebook.path) }}" class="a">
|
||||
<i class="fas fa-file-code"></i> {{ notebook.name }}
|
||||
</a>
|
||||
|
||||
<div class="buttons">
|
||||
<div class="card-stats">
|
||||
<p>Last Modified: <strong>{{ notebook.modified }}</strong></p>
|
||||
<p>Size: <strong>{{ notebook.size }} KB</strong></p>
|
||||
</div>
|
||||
{% if config.ENABLE_DOWNLOAD %}
|
||||
<a href="{{ url_for('download_notebook', notebook_path=notebook.path) }}" class="button download-button">
|
||||
<i class="fas fa-download"></i> Download
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user