Author
|
zPlus <zplus@peers.community>
2023-09-04 03:41:31
|
Committer
|
zPlus <zplus@peers.community>
2023-09-04 03:41:31
|
Commit
|
089aa59
(patch)
|
Tree
|
2b0da48
|
Parent(s)
|
|
Add plaintext view to library page.
commits diff:
95d6a37..089aa59
2 files changed,
12 insertions,
8 deletions
—
download
Diffstat
Diff options
+7/-6
M pages/templates/library/item.tpl
50
|
50
|
|
<a href="/library">DOKK Library</a>
|
51
|
51
|
|
</div>
|
52
|
52
|
|
|
53
|
|
- |
<div>
|
54
|
|
- |
<object type="application/pdf" data="https://blob.dokk.org/pdf/{{ item_id }}.pdf">
|
55
|
|
- |
<pre>{{ plaintext }}</pre>
|
56
|
|
- |
</object>
|
57
|
|
- |
</div>
|
|
53
|
+ |
<object type="application/pdf" data="https://blob.dokk.org/pdf/{{ item_id }}.pdf"></object>
|
58
|
54
|
|
|
59
|
|
- |
<div class="details">
|
|
55
|
+ |
<div class="info">
|
60
|
56
|
|
<h1>{{ data["library:title"] }}</h1>
|
61
|
57
|
|
|
62
|
58
|
|
<p>
|
73
|
69
|
|
{% endfor%}
|
74
|
70
|
|
</p>
|
75
|
71
|
|
</div>
|
|
72
|
+ |
|
|
73
|
+ |
<details>
|
|
74
|
+ |
<summary>Plaintext</summary>
|
|
75
|
+ |
<pre>{{ plaintext }}</pre>
|
|
76
|
+ |
</details>
|
76
|
77
|
|
</div>
|
77
|
78
|
|
|
78
|
79
|
|
{% endblock %}
|
+5/-2
M static/css/dokk.css
33
|
33
|
|
}
|
34
|
34
|
|
|
35
|
35
|
|
body > .library_item object {
|
36
|
|
- |
box-shadow: 0 0 2rem 0 #AAA;
|
37
|
36
|
|
height: 80vh;
|
38
|
37
|
|
width: 100%;
|
39
|
38
|
|
}
|
40
|
39
|
|
|
41
|
|
- |
body > .library_item > .details {
|
|
40
|
+ |
body > .library_item > .info {
|
42
|
41
|
|
padding: 3rem 5rem;
|
43
|
42
|
|
}
|
44
|
43
|
|
|
|
44
|
+ |
body > .library_item > details {
|
|
45
|
+ |
padding: 0rem 5rem 3rem 5rem;
|
|
46
|
+ |
}
|
|
47
|
+ |
|
45
|
48
|
|
body > .mimi_and_eunice_strip {
|
46
|
49
|
|
padding: 1rem;
|
47
|
50
|
|
}
|