File tree Expand file tree Collapse file tree 1 file changed +21
-19
lines changed Expand file tree Collapse file tree 1 file changed +21
-19
lines changed Original file line number Diff line number Diff line change @@ -125,28 +125,30 @@ <h5 class="card-header">
125
125
</ div >
126
126
</ h5 >
127
127
< table class ="table table-hover attr-table ">
128
- < tr >
129
- < th > {% trans "Device" %}</ th >
130
- < th > {% trans "Position" %}</ th >
131
- < th > {% trans "Master" %}</ th >
132
- < th > {% trans "Priority" %}</ th >
128
+ < thead >
129
+ < tr class ="border-bottom ">
130
+ < th > {% trans "Device" %}</ th >
131
+ < th > {% trans "Position" %}</ th >
132
+ < th > {% trans "Master" %}</ th >
133
+ < th > {% trans "Priority" %}</ th >
133
134
</ tr >
135
+ </ thead >
136
+ < tbody >
134
137
{% for vc_member in vc_members %}
135
- < tr {% if vc_member == object %} class ="info "{% endif %} >
136
- < td >
137
- {{ vc_member|linkify }}
138
- </ td >
139
- < td >
140
- {% badge vc_member.vc_position show_empty=True %}
141
- </ td >
142
- < td >
143
- {% if object.virtual_chassis.master == vc_member %}< i class ="mdi mdi-check-bold "> </ i > {% endif %}
144
- </ td >
145
- < td >
146
- {{ vc_member.vc_priority|placeholder }}
147
- </ td >
148
- </ tr >
138
+ < tr {% if vc_member == object %} class ="table-primary "{% endif %} >
139
+ < td > {{ vc_member|linkify }}</ td >
140
+ < td > {% badge vc_member.vc_position show_empty=True %}</ td >
141
+ < td >
142
+ {% if object.virtual_chassis.master == vc_member %}
143
+ {% checkmark True %}
144
+ {% else %}
145
+ {{ ''|placeholder }}
146
+ {% endif %}
147
+ </ td >
148
+ < td > {{ vc_member.vc_priority|placeholder }}</ td >
149
+ </ tr >
149
150
{% endfor %}
151
+ </ tbody >
150
152
</ table >
151
153
</ div >
152
154
{% endif %}
You can’t perform that action at this time.
0 commit comments