fix: member template
This commit is contained in:
parent
3ba2416855
commit
e7d2a62b4a
@ -17,12 +17,15 @@
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#box-register-form select, #box-register-form input {
|
||||
#box-register-form select,
|
||||
#box-register-form input {
|
||||
padding: .5rem 1rem;
|
||||
}
|
||||
|
||||
|
||||
i { color: var(--bg); }
|
||||
i {
|
||||
color: var(--bg);
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
@ -58,7 +61,9 @@
|
||||
<select name="id_box" id="id_box">
|
||||
|
||||
<% allboxes.forEach(function(box) { %>
|
||||
<option value="<%=box.id%>"><%=box.id%></option>
|
||||
<option value="<%=box.id%>">
|
||||
<%=box.id%>
|
||||
</option>
|
||||
<% }); %>
|
||||
</select>
|
||||
|
||||
@ -168,14 +173,21 @@
|
||||
<td>
|
||||
<%=model.name%>
|
||||
</td>
|
||||
<td><a href="/membres/byid/<%=model.creator%>"><i class="fa-solid fa-user"></i>
|
||||
<%=model.creator%>
|
||||
<% if (model.creator===undefined) {%>
|
||||
|
||||
<td></td>
|
||||
<% } else {%>
|
||||
<td><a href="/membres/byid/<%=model.creator.id_member%>"><i class="fa-solid fa-user"></i>
|
||||
<%=model.creator.name%>
|
||||
</a></td>
|
||||
<% } %>
|
||||
<td><a href="/models/byname/<%=model.name%>"><i class="fa-solid fa-eye"></i></a></td>
|
||||
</tr>
|
||||
|
||||
<% }); %>
|
||||
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="box"></div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user