[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 -->
|
<!-- Used functions -->
|
||||||
<!-- process_radius ANZAHL MAXANZAHL RADIUS -->
|
<!-- process_radius ANZAHL MAXANZAHL RADIUS -->
|
||||||
<!-- procent ANZAHL MAXANZAHL -->
|
<!-- 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 |
|
@ -1,8 +1,21 @@
|
||||||
<h1>{{obj.title}} <img class="icon" src="/api/good/availablity/{{obj.id}}"/></h1>
|
<h1>{{obj.title}} <img class="icon" src="/api/good/availablity/{{obj.id}}"/></h1>
|
||||||
<table class="ui table very basic">
|
<table class="ui table very basic">
|
||||||
<tr>
|
<tr>
|
||||||
<td>Count</td>
|
<td>Count</td>
|
||||||
|
<td>Time of Delevery</td>
|
||||||
|
<td>Status of Freshness</td>
|
||||||
|
<td>< /td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
<tr>
|
||||||
<td>{{list.length}}</td>
|
<td>{{list.length}}</td>
|
||||||
|
<td>#</td>
|
||||||
|
<td><img class="icon" src="/api/good/freshness"/></td>
|
||||||
|
<td><i class="trash icon"></i></td>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<table class="ui table list" ng-if="list.length > 0">
|
<table class="ui table list" ng-if="list.length > 0">
|
||||||
|
|
Reference in New Issue