Skip to content

Commit 642c17b

Browse files
committed
Manual port of changes.
1 parent a46bf67 commit 642c17b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

lute/templates/read/index.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
{% block body %}
66

77
<script type="text/javascript" src="{{ url_for('static', filename='js/player.js') }}" charset="utf-8" defer></script>
8+
<script type="text/javascript" src="{{ url_for('static', filename='js/text-options.js') }}" charset="utf-8" defer></script>
89

910
<div id="rendering_controls" style="display: none">
1011
<pre>
@@ -19,6 +20,8 @@
1920
</pre>
2021
</div>
2122

23+
<div id="read_pane_container">
24+
2225
<div id="read_pane_left">
2326

2427
<div id="reading-header">
@@ -71,6 +74,35 @@ <h2 style="margin: 0px">
7174
id="navNext10"
7275
onclick="goto_relative_page(10)"
7376
>&#187;</span>
77+
78+
<a id="text-options-btn">
79+
<img
80+
src="{{ url_for('static', filename='icn/text.svg') }}"
81+
title="Text Options" />
82+
<div id="text-options-container" class="hide-text-options">
83+
<div class="text-options-triangle"></div>
84+
<div class="text-options-size row">
85+
<button class="btn row-elem font-minus" title="Decrease font size"></button>
86+
<input id="font-size">
87+
<button class="btn row-elem font-plus" title="Increase font size"></button>
88+
</div>
89+
<div class="text-options-lh row">
90+
<button class="btn row-elem lh-minus" title="Decrease line height"></button>
91+
<input id="line-height">
92+
<button class="btn row-elem lh-plus" title="Increase line height"></button>
93+
</div>
94+
<div class="text-options-width row">
95+
<button class="btn row-elem width-minus" title="Decrease content width"></button>
96+
<input id="content-width">
97+
<button class="btn row-elem width-plus" title="Increase content width"></button>
98+
</div>
99+
<div class="text-options-column row">
100+
<button class="column-one column-btn" title="One column text">&#124;</button>
101+
<button class="column-two column-btn" title="Two column text">&#124;&#124;</button>
102+
<button class="column-three column-btn" title="Three column text">&#124;&#124;&#124;</button>
103+
</div>
104+
</div>
105+
</a>
74106
</h2>
75107
</div>
76108

@@ -204,6 +236,7 @@ <h2>&#127881;</h2>
204236
</div>
205237

206238
</div>
239+
<div class="btm-margin-container"></div>
207240
</div>
208241

209242
<div id="read_pane_right">
@@ -232,6 +265,8 @@ <h2>&#127881;</h2>
232265
</iframe>
233266
</div>
234267

268+
</div>
269+
235270
<script>
236271
$(document).ready(function () {
237272
show_player();

0 commit comments

Comments
 (0)