Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change position of "Add a party manually" button #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/templates/archinputform.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ <h2 class="card-text">Arch-shaped parliament diagram generator</h2>
<div class="block card">
<div class="card-body">
<p><strong>To create a border around the spots, set "border width". A width of 0.1 is a thin border, 0.5 is half the radius of the spot, and 1 means you see only border and can't see the spot's color. Leave the border width at 0 for no border.</strong></p>
<div id="partylistcontainer" class="sortableContainer"></div>


<button class="btn btn-success" id="addpartymanual">+ Add a party manually</button>

<div id="partylistcontainer" class="sortableContainer"></div>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/templates/westminsterinputform.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ <h3>Layout options</h3>
<div class="card-body">
<h3>List of parties</h3>

<div id="partylistcontainer" class="sortableContainer"></div>

<button class="btn btn-success" onclick="addParty()">+ Add a party</button>

<div id="partylistcontainer" class="sortableContainer"></div>
</div>
</div>

Expand Down