[chronojump-server] Fixing new task form to align controls and labels
- From: Marcos Venteo Garcia <mventeo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump-server] Fixing new task form to align controls and labels
- Date: Thu, 26 Oct 2017 12:21:10 +0000 (UTC)
commit ea8600c6e59df6860567639eea882dca02d05229
Author: Marcos Venteo <mventeo gmail com>
Date: Thu Oct 26 14:20:47 2017 +0200
Fixing new task form to align controls and labels
chronojumpserver/templates/player_list.html | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/chronojumpserver/templates/player_list.html b/chronojumpserver/templates/player_list.html
index 7360f2e..9d474dd 100755
--- a/chronojumpserver/templates/player_list.html
+++ b/chronojumpserver/templates/player_list.html
@@ -25,26 +25,28 @@
<input type="hidden" id="taskId">
<nav class="navbar navbar-default">
<ul class="nav navbar-nav">
- <li id="taskParamSelector" role="presentation"
class="active"><a href="#paramTask" aria-controls="paramTask" role="pill"
data-toggle="tab">Parametritzada</a></li>
+ <!--<li id="taskParamSelector" role="presentation"
class="active"><a href="#paramTask" aria-controls="paramTask" role="pill" data-toggle="tab"></a></li>-->
<!--<li id="taskFreeSelector" role="presentation"><a
href="#freeTask" aria-controls="freeTask" role="tab" data-toggle="pill">Lliure</a></li>-->
</ul>
- <form class="navbar-form navbar-right">
-
+ <form class="navbar-form navbar-left">
<div class="form-group">
+ <label for="station">EstaciĆ³:</label>
<select name="station" class="form-control"
id="stationSelect">
{% for station in stations %}
<option
data-station-type="{{station.type}}" value={{station.id}}>{{station.name}}</option>
{% endfor %}
</select>
</div>
- <div class="form-group ">
+
+ <div class="form-group" style="margin-left: 20px">
+ <label for="station">Exercici:</label>
<select name="exercise" class="form-control" disabled
id="exerciseSelect">
<option value=""></option>
</select>
</div>
</form>
- <p class="navbar-text navbar-right">EstaciĆ³/Excercici:</p>
+
</nav>
<div class="tab-content">
@@ -67,11 +69,11 @@
</div>
<div class="form-group taskParameter">
- <label for="taskpercentMax" class="col-sm-2
control-label">Max Vm<br>registrada (m/s):</label>
+ <label for="taskpercentMax" class="col-sm-2
control-label" style="padding-top:0;margin-top: -5px;">Max Vm<br>registrada (m/s):</label>
<div class="col-sm-2">
<input id="taskMaxSpeed"
name="taskMaxSpeed" type="number" class="form-control" disabled readonly></input>
</div>
- <label for="taskpercentMax" class="col-sm-2
control-label">Max Vm<br>registrada (%):</label>
+ <label for="taskpercentMax" class="col-sm-2
control-label" style="padding-top:0;margin-top: -5px;">Max Vm<br>registrada (%):</label>
<div class="col-sm-2">
<input id="taskpercentMaxSpeed"
name="taskpercentMaxSpeed" type="number" class="form-control" disabled max="100" min="0"></input>
</div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]