Commit 2afd3bbc authored by Vladimir Zhukov's avatar Vladimir Zhukov
Browse files

swap buttons

parent ba1fa12f
Pipeline #1488 passed with stage
in 3 seconds
......@@ -55,33 +55,37 @@
</span>
</div>
<div class="d-flex flex-row flex-sm-column mt-3 mt-sm-0">
<div class="btn-group ms-sm-3" style="min-width: 110px;">
<button
class="btn btn-success"
onclick="usePlis('{{ task.key }}', 1);"
>
+1
</button>
<div class="btn-group ms-sm-3">
<button
class="btn btn-danger"
style="min-width: 60px;"
onclick="usePlis('{{ task.key }}', -1);"
>
-1
</button>
</div>
<div class="btn-group mt-sm-2 ms-3" style="min-width: 110px;">
<button
class="btn btn-success"
onclick="usePlis('{{ task.key }}', 10);"
style="min-width: 60px;"
onclick="usePlis('{{ task.key }}', 1);"
>
+10
+1
</button>
</div>
<div class="btn-group mt-sm-2 ms-3">
<button
class="btn btn-danger"
style="min-width: 60px;"
onclick="usePlis('{{ task.key }}', -10);"
>
-10
</button>
<button
class="btn btn-success"
style="min-width: 60px;"
onclick="usePlis('{{ task.key }}', 10);"
>
+10
</button>
</div>
</div>
</div>
......
......@@ -65,33 +65,37 @@
</span>
</div>
<div class="d-flex flex-row flex-sm-column mt-3 mt-sm-0">
<div class="btn-group ms-sm-3" style="min-width: 110px;">
<button
class="btn btn-success"
onclick="usePlisUniversity('{{ university.key }}', 1);"
>
+1
</button>
<div class="btn-group ms-sm-3">
<button
class="btn btn-danger"
style="min-width: 60px;"
onclick="usePlisUniversity('{{ university.key }}', -1);"
>
-1
</button>
</div>
<div class="btn-group mt-sm-2 ms-3" style="min-width: 110px;">
<button
class="btn btn-success"
onclick="usePlisUniversity('{{ university.key }}', 10);"
style="min-width: 60px;"
onclick="usePlisUniversity('{{ university.key }}', 1);"
>
+10
+1
</button>
</div>
<div class="btn-group mt-sm-2 ms-3">
<button
class="btn btn-danger"
style="min-width: 60px;"
onclick="usePlisUniversity('{{ university.key }}', -10);"
>
-10
</button>
<button
class="btn btn-success"
style="min-width: 60px;"
onclick="usePlisUniversity('{{ university.key }}', 10);"
>
+10
</button>
</div>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment