[Task]: Minor changes to the admin frontend
This commit is contained in:
parent
0e068f1c4c
commit
8853dc25f1
|
@ -1,4 +1,4 @@
|
|||
<!-- SVG to show the current stock with an traffic light food labeling system -->
|
||||
<!-- SVG to show the current stock with a traffic light food labeling system -->
|
||||
<!-- Used functions -->
|
||||
<!-- process_radius ANZAHL MAXANZAHL RADIUS -->
|
||||
<!-- procent ANZAHL MAXANZAHL -->
|
||||
|
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -0,0 +1,10 @@
|
|||
<!-- SVG to show the current freshness of goods with a traffic light food labeling system -->
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
||||
<g class="arcs">
|
||||
{{if gt .Count 4}}
|
||||
<circle cx="50" cy="50" r="40" fill="#b02" stroke="#aaa" stroke-width="5"/>
|
||||
{{else}}
|
||||
<circle cx="50" cy="50" r="40" fill="#fff" stroke="#6a4" stroke-width="5"/>
|
||||
{{end}}
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 438 B |
|
@ -2,7 +2,20 @@
|
|||
<table class="ui table very basic">
|
||||
<tr>
|
||||
<td>Count</td>
|
||||
<td>Time of Delevery</td>
|
||||
<td>Status of Freshness</td>
|
||||
<td>< /td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>{{list.length}}</td>
|
||||
<td>#</td>
|
||||
<td><img class="icon" src="/api/good/freshness"/></td>
|
||||
<td><i class="trash icon"></i></td>
|
||||
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
<table class="ui table list" ng-if="list.length > 0">
|
||||
|
|
Reference in New Issue