Skip to content

Commit

Permalink
feat: Improved styles
Browse files Browse the repository at this point in the history
  • Loading branch information
stormalinblue committed May 29, 2018
1 parent cf2f51d commit f81c454
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions src/client/assets/styles/forms/poll-select.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.form-check-label {
font-weight: normal;
}
15 changes: 8 additions & 7 deletions src/client/views/poll-select.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
{% block mainContent %}
<div class="election-export-container col-lg-10 mx-auto">
<div class="election-export-container card">
<div class="card-header">
<h3>Select Polls to hold elections for in this poll booth:</h3>
<div class="card-header bg-dark">
<h3>Select Polls to hold elections for in this poll booth</h3>
</div>
<div class="card-body">
<form id="poll-select-form" action="{{ formURL }}" data-method="GET">
<div class="form-group">
{% for poll in election.polls %}
{% for poll in election.polls -%}
<div class="form-check">
<input name= "pollIDs" class="form-check-input" type="checkbox" value="{{ poll.id }}" id="check{{ poll.id }}">
<label class="form-check-label h5" for="check{{ poll.id }}">{{ poll.name }}</label>
<label class="form-check-label" for="check{{ poll.id }}">{{ poll.name }}</label>
</div>
{% endfor %}
{%- endfor %}
</div>
<button id="exportPollsBtn" type="submit" class="btn btn-success">
<i class="fas fa-download"></i>
Begin Voting
<i class="{{ submitBtnIcon }}"></i>
{{ submitBtnText }}
</button>
</form>
</div>
Expand All @@ -28,6 +28,7 @@ <h3>Select Polls to hold elections for in this poll booth:</h3>

{% block stylesheets %}
<link rel="stylesheet" href="/assets/styles/forms.css">
<link rel="stylesheet" href="/assets/styles/forms/poll-select.css">
{%- endblock %}

{% block scripts %}
Expand Down

0 comments on commit f81c454

Please sign in to comment.