Clean up some ui interactions

2.4.0-dev
Kevin Chung 2020-05-01 21:03:15 -04:00
parent 9003c29846
commit 3d652a968e
6 changed files with 12 additions and 12 deletions

View File

@ -50,7 +50,7 @@
<small class="form-text text-muted">Files distributed along with your challenge</small>
</label>
<input class="form-control-file" type="file" name="file" multiple="multiple">
<sub>Attach multiple files using Control+Click or Cmd+Click</sub>
<sub class="text-muted">Attach multiple files using Control+Click or Cmd+Click</sub>
</div>
</div>
<div class="form-group">

View File

@ -24,7 +24,7 @@
<div class="col-md-12">
<p>This is the time when the competition will begin. Challenges will automatically
unlock and users will be able to submit answers.</p>
<sub class="text-right mb-3">* All time fields required</sub>
<sub class="text-muted text-right mb-3">* All time fields required</sub>
</div>
<div class="form-group col-md-2">
@ -87,7 +87,7 @@
<div class="col-md-12">
<p>This is the time when the competition will end. Challenges will automatically
close and users won't be able to submit answers.</p>
<sub class="text-right mb-3">* All time fields required</sub>
<sub class="text-muted text-right mb-3">* All time fields required</sub>
</div>
<div class="form-group col-md-2">
@ -159,7 +159,7 @@
<p>Freeze time specifies the timestamp that the competition will be frozen to.
All solves before the freeze time will be shown, but new solves won't be shown to
users. </p>
<sub class="text-right mb-3">* All time fields required</sub>
<sub class="text-muted text-right mb-3">* All time fields required</sub>
</div>
<div class="form-group col-md-2">

View File

@ -24,7 +24,7 @@
<form id="file-add-form" method="POST">
<div class="form-group">
<input class="form-control-file" type="file" name="file" multiple="multiple">
<sub>Attach multiple files using Control+Click or Cmd+Click</sub>
<sub class="text-muted">Attach multiple files using Control+Click or Cmd+Click</sub>
</div>
<div class="form-group">
<button class="btn btn-success float-right" id="submit-files">Upload</button>

View File

@ -11,7 +11,7 @@
<div class="form-group">
<label>Tag
<br>
<small>Type tag and press Enter</small>
<small class="text-muted">Type tag and press Enter</small>
</label>
<input id="tags-add-input" maxlength="80" type="text" class="form-control">
</div>

View File

@ -196,7 +196,7 @@
</thead>
<tbody>
{% for member in members %}
<tr>
<tr data-href="{{ url_for('admin.users_detail', user_id=member.id) }}">
<td class="text-center">
{% if team.captain_id == member.id %}
<span class="badge badge-primary">Captain</span>
@ -256,7 +256,7 @@
</thead>
<tbody>
{% for solve in solves %}
<tr class="chal-solve">
<tr class="chal-solve" data-href="{{ url_for("admin.challenges_detail", challenge_id=solve.challenge_id) }}">
<td class="text-center chal" id="{{ solve.challenge_id }}">
<a href="{{ url_for("admin.challenges_detail", challenge_id=solve.challenge_id) }}">
{{ solve.challenge.name }}
@ -305,7 +305,7 @@
</thead>
<tbody>
{% for fail in fails %}
<tr class="chal-wrong">
<tr class="chal-wrong" data-href="{{ url_for("admin.challenges_detail", challenge_id=fail.challenge_id) }}">
<td class="text-center chal" id="{{ fail.challenge_id }}">
<a href="{{ url_for("admin.challenges_detail", challenge_id=fail.challenge_id) }}">
{{ fail.challenge.name }}

View File

@ -213,7 +213,7 @@
</thead>
<tbody>
{% for solve in solves %}
<tr class="chal-solve">
<tr class="chal-solve" data-href="{{ url_for("admin.challenges_detail", challenge_id=solve.challenge_id) }}">
<td class="text-center chal" id="{{ solve.challenge_id }}">
<a href="{{ url_for("admin.challenges_detail", challenge_id=solve.challenge_id) }}">
{{ solve.challenge.name }}
@ -255,7 +255,7 @@
</thead>
<tbody>
{% for fail in fails %}
<tr class="chal-wrong">
<tr class="chal-wrong" data-href="{{ url_for("admin.challenges_detail", challenge_id=fail.challenge_id) }}">
<td class="text-center chal" id="{{ fail.challenge_id }}">
<a href="{{ url_for("admin.challenges_detail", challenge_id=fail.challenge_id) }}">
{{ fail.challenge.name }}
@ -340,7 +340,7 @@
</thead>
<tbody>
{% for challenge in missing %}
<tr class="chal-solve">
<tr class="chal-solve" data-href="{{ url_for("admin.challenges_detail", challenge_id=challenge.id) }}">
<td class="text-center chal" id="{{ challenge.id }}">
<a href="{{ url_for("admin.challenges_detail", challenge_id=challenge.id) }}">
{{ challenge.name }}