スマホ版のUIを改善しUXを向上
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
{{if .users}}
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover" aria-label="ユーザー一覧">
|
||||
<table class="table table-hover custom-table" aria-label="ユーザー一覧">
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th scope="col">ID</th>
|
||||
@@ -20,7 +20,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{{range .users}}
|
||||
<tr {{if eq .ID $.currentUserID}}class="table-primary"{{end}}>
|
||||
<tr class="user-row {{if eq .ID $.currentUserID}}table-primary{{end}}">
|
||||
<td>{{.ID}}</td>
|
||||
<td>{{.Name}}{{if eq .ID $.currentUserID}}<span class="badge bg-info ms-2">自分</span>{{end}}</td>
|
||||
<td>{{.Email}}</td>
|
||||
|
||||
Reference in New Issue
Block a user