standardise ids for tour anchors
To make it harder to accidentally mess up the tour when making changes to pages, this commit adds ids with 'tour' prefixes to (nearly) all elements used by the guided tour as anchor points. The exception is where an element already had an id that is being used by something else in Bookwyrm. Some minor changes also made to clean up the wording of the tour.
This commit is contained in:
parent
a8940b8e12
commit
3f67bc3b61
23 changed files with 75 additions and 75 deletions
|
@ -6,7 +6,7 @@
|
|||
<div class="columns">
|
||||
<div class="column is-two-thirds">
|
||||
<div class="field">
|
||||
<label class="label" for="id_name">{% trans "Name:" %}</label>
|
||||
<label class="label" for="id_name" id="tour-list-name">{% trans "Name:" %}</label>
|
||||
{{ list_form.name }}
|
||||
</div>
|
||||
<div class="field">
|
||||
|
@ -16,7 +16,7 @@
|
|||
</div>
|
||||
<div class="column">
|
||||
<fieldset class="field">
|
||||
<legend class="label" id="list-curation-legend">{% trans "List curation:" %}</legend>
|
||||
<legend class="label" id="tour-list-curation">{% trans "List curation:" %}</legend>
|
||||
|
||||
<div class="field" data-hides="list_group_selector">
|
||||
<input
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</h1>
|
||||
</div>
|
||||
{% if request.user.is_authenticated %}
|
||||
<div class="column is-narrow" id="create-list-button">
|
||||
<div class="column is-narrow" id="tour-create-list">
|
||||
{% trans "Create List" as button_text %}
|
||||
{% include 'snippets/toggle/open_button.html' with controls_text="create_list" icon_with_text="plus" text=button_text focus="create_list_header" %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue