Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladimir Zhukov
cyberlozhkin
Commits
2afd3bbc
Commit
2afd3bbc
authored
Jan 04, 2022
by
Vladimir Zhukov
Browse files
swap buttons
parent
ba1fa12f
Pipeline
#1488
passed with stage
in 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cyberlozhkin/templates/tabs/tasks.html
View file @
2afd3bbc
...
...
@@ -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);"
>
+1
0
+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>
...
...
cyberlozhkin/templates/tabs/university.html
View file @
2afd3bbc
...
...
@@ -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);"
>
+1
0
+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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment