Skip to content

Commit

Permalink
rename dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardchalstrey1 committed Jul 12, 2024
1 parent c147204 commit e19566a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions seshat/apps/core/templates/core/polity_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ <h2 class="h1 text-teal federicka-big" id="sliderDate"></h2>
<label for="playButton">Run animation:</label>
<button id="playButton" type="button" onclick="startPlay()">▶️</button>
<button id="stopButton" type="button" onclick="stopPlay()"></button><br>
<label for="switchPolitiesComponents">Colour by:</label>
<label for="switchPolitiesComponents">Display:</label>
<select name="switchPolitiesComponents" id="switchPolitiesComponents" onchange="plotPolities()">
<option value="polities">Polities</option>
<option value="components">Components</option>
<option value="polities">Full polities</option>
<option value="components">Polity components</option>
</select><br>
<label for="opacitySlide">Opacity:</label>
<input type="range" name="opacitySlide" id="opacitySlide" min="0.1" max="1" step="0.1" value="0.5" class="slider"
Expand Down
6 changes: 3 additions & 3 deletions seshat/apps/core/templates/core/world_map.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ <h1 class="text-teal federicka-big">Seshat World Map</h1>
</select>
</fieldset><br>
<fieldset id="switchPolitiesComponentsFieldset" style="display: block">
<label for="switchPolitiesComponents">Colour by:</label>
<label for="switchPolitiesComponents">Display:</label>
<select name="switchPolitiesComponents" id="switchPolitiesComponents" onchange="plotPolities()">
<option value="polities">Polities</option>
<option value="components">Components</option>
<option value="polities">Full polities</option>
<option value="components">Polity components</option>
</select>
</fieldset>
<label for="opacitySlide">Opacity:</label>
Expand Down

0 comments on commit e19566a

Please sign in to comment.