Skip to content

Commit

Permalink
Manual port of changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Dec 21, 2023
1 parent a46bf67 commit 642c17b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions lute/templates/read/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{% block body %}

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

<div id="rendering_controls" style="display: none">
<pre>
Expand All @@ -19,6 +20,8 @@
</pre>
</div>

<div id="read_pane_container">

<div id="read_pane_left">

<div id="reading-header">
Expand Down Expand Up @@ -71,6 +74,35 @@ <h2 style="margin: 0px">
id="navNext10"
onclick="goto_relative_page(10)"
>&#187;</span>

<a id="text-options-btn">
<img
src="{{ url_for('static', filename='icn/text.svg') }}"
title="Text Options" />
<div id="text-options-container" class="hide-text-options">
<div class="text-options-triangle"></div>
<div class="text-options-size row">
<button class="btn row-elem font-minus" title="Decrease font size"></button>
<input id="font-size">
<button class="btn row-elem font-plus" title="Increase font size"></button>
</div>
<div class="text-options-lh row">
<button class="btn row-elem lh-minus" title="Decrease line height"></button>
<input id="line-height">
<button class="btn row-elem lh-plus" title="Increase line height"></button>
</div>
<div class="text-options-width row">
<button class="btn row-elem width-minus" title="Decrease content width"></button>
<input id="content-width">
<button class="btn row-elem width-plus" title="Increase content width"></button>
</div>
<div class="text-options-column row">
<button class="column-one column-btn" title="One column text">&#124;</button>
<button class="column-two column-btn" title="Two column text">&#124;&#124;</button>
<button class="column-three column-btn" title="Three column text">&#124;&#124;&#124;</button>
</div>
</div>
</a>
</h2>
</div>

Expand Down Expand Up @@ -204,6 +236,7 @@ <h2>&#127881;</h2>
</div>

</div>
<div class="btm-margin-container"></div>
</div>

<div id="read_pane_right">
Expand Down Expand Up @@ -232,6 +265,8 @@ <h2>&#127881;</h2>
</iframe>
</div>

</div>

<script>
$(document).ready(function () {
show_player();
Expand Down

0 comments on commit 642c17b

Please sign in to comment.