mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
* fix: ui clean-up (#43305)
fix: ui cleanup
(cherry picked from commit b127a0c8b7)
# Conflicts:
# erpnext/manufacturing/doctype/bom_creator/bom_creator.json
# erpnext/manufacturing/doctype/plant_floor/plant_floor.json
# erpnext/public/js/templates/visual_plant_floor_template.html
* chore: fix conflicts
* chore: fix conflicts
* chore: fix conflicts
---------
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
{% $.each(workstations, (idx, row) => { %}
|
|
<div class="workstation-wrapper">
|
|
<div class="workstation-status text-right">
|
|
{% if(row.status == "Production") { %}
|
|
<div class="ring-container">
|
|
<div class="ringring"></div>
|
|
<div class="circle"></div>
|
|
</div>
|
|
{% } %}
|
|
<span class="indicator-pill no-indicator-dot whitespace-nowrap {{row.color}}" style="margin: 3px 4px 0px 0px;">
|
|
<span style="font-size:13px">{{row.status}}</span>
|
|
</span>
|
|
</div>
|
|
<div class="workstation-image">
|
|
<div class="flex items-center justify-center h-32 border-b-grey text-6xl text-grey-100">
|
|
<a class="workstation-image-link" href="{{row.workstation_link}}">
|
|
{% if(row.status_image) { %}
|
|
<img class="workstation-image-cls" src="{{row.status_image}}">
|
|
{% } else { %}
|
|
<div class="workstation-image-cls workstation-abbr">{{frappe.get_abbr(row.name, 2)}}</div>
|
|
{% } %}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="workstation-card" style="display: grid;">
|
|
<span class="ellipsis" title="{{row.name}}">
|
|
{{row.workstation_name}}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
{% }); %}
|