Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
archery
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
archery
Commits
671118ff
Commit
671118ff
authored
Oct 26, 2014
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added colors to total scores in completed matches
parent
f2de599f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sass/main.sass
sass/main.sass
+1
-1
templates/match/view.latte
templates/match/view.latte
+2
-2
No files found.
sass/main.sass
View file @
671118ff
...
...
@@ -62,7 +62,7 @@ $lg-width: 1200px
$black
:
#303030
$white
:
#F2F2F2
&
.
recurve.
colored
&
.colored
.val-10
,
.val-9
background-color
:
$yellow
...
...
templates/match/view.latte
View file @
671118ff
...
...
@@ -45,8 +45,8 @@
class="val-{$arrow} {$j == $match->arrows - 1 ? separator}">
<input type="text" disabled value="{$arrow}">
</td>
<td
>{$sum = array_sum($row)
}</td>
<td
>{$total = $total + $sum
}</td>
<td
class="val-{floor(($sum = array_sum($row)) / $match->arrows)}">{$sum
}</td>
<td
class="val-{floor(($total = $total + $sum) / ($match->arrows * ($i + 1)))}">{$total
}</td>
</tr>
</tbody>
<tbody>
...
...
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