songs2slides

A tool that automatically finds song lyrics and creates lyric slideshows
git clone https://git.ashermorgan.net/songs2slides/
Log | Files | Refs | README

commit 483b7f7e0d6776874d5e5554ee507a91b29cd684
parent a65b52e990f62b7ccd195254a513eb1d908edcfb
Author: Asher Morgan <59518073+ashermorgan@users.noreply.github.com>
Date:   Tue, 23 Jul 2024 12:52:59 -0700

Update step 2 lyric placeholder text

Diffstat:
Msongs2slides/static/create.css | 4++++
Msongs2slides/templates/create-step-2.html | 14+++++---------
2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/songs2slides/static/create.css b/songs2slides/static/create.css @@ -62,6 +62,10 @@ tfoot td { } /* step 2 */ +#missing-message { + font-style: italic; +} + details { margin-bottom: 1rem; } diff --git a/songs2slides/templates/create-step-2.html b/songs2slides/templates/create-step-2.html @@ -7,12 +7,6 @@ <script src="{{ url_for('static', filename='create.js') }}"></script> {% endblock head %} -{% set format_hint = -'Each stanza will appear on its own slide. ' + -'Stanzas must be separated by one blank line. ' + -'Three blank lines represent an empty slide.' -%} - {% block main %} <form id="create-form" method="POST" action="{{ url_for('.create_step_3') }}"> <h1>Step 2: Review Lyrics</h1> @@ -20,7 +14,9 @@ Review the parsed song lyrics below and make any necessary corrections. </p> <p> - {{ format_hint }} + Each stanza will appear on its own slide. + Stanzas must be separated by one blank line. + Three blank lines represent an empty slide. </p> <p id="missing-message" {% if missing == 0 %} hidden {% endif %}> @@ -52,8 +48,8 @@ </summary> <textarea name="lyrics-{{ loop.index }}" placeholder="{{ - 'Lyrics not found, please enter them here manually.\n\n' - if not song.lyrics else '' }}{{ format_hint }}" + 'Lyrics not found, please enter them manually.' + if not song.lyrics else 'Enter song lyrics.' }}" aria-label="{{ song.title }} Lyrics" oninput="save_lyrics()" >{{ song.lyrics or '' }}</textarea>