質問編集履歴
1
HTMLコードを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -58,6 +58,74 @@
|
|
58
58
|
|
59
59
|
|
60
60
|
|
61
|
+
### コード
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
```HTML
|
66
|
+
|
67
|
+
<div class="width-max">
|
68
|
+
|
69
|
+
<div class="width-max">
|
70
|
+
|
71
|
+
<table class="text-center" width="100%">
|
72
|
+
|
73
|
+
<thead>
|
74
|
+
|
75
|
+
<tr>
|
76
|
+
|
77
|
+
<th class="cols" width="7%">Check</th>
|
78
|
+
|
79
|
+
<th class="cols" width="31%">name</i></th>
|
80
|
+
|
81
|
+
<th class="cols" width="31%">name_id</th>
|
82
|
+
|
83
|
+
<th class="cols" width="31%">class</th>
|
84
|
+
|
85
|
+
</tr>
|
86
|
+
|
87
|
+
</thead>
|
88
|
+
|
89
|
+
</table>
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<div class="width-max" style="height: 400px; overflow: auto;">
|
94
|
+
|
95
|
+
<table class="text-center" width="100%">
|
96
|
+
|
97
|
+
<tbody>
|
98
|
+
|
99
|
+
{% for person in person_list %}
|
100
|
+
|
101
|
+
<tr class="person{{person.id}}">
|
102
|
+
|
103
|
+
<td width="7%"><input type="checkbox" name="#" value=""></td>
|
104
|
+
|
105
|
+
<td width="31%">{{person.name}}</td>
|
106
|
+
|
107
|
+
<td width="31%">{{person.id}}</td>
|
108
|
+
|
109
|
+
<td width="31%">{{person.class.id}}</td>
|
110
|
+
|
111
|
+
</tr>
|
112
|
+
|
113
|
+
{% endfor %}
|
114
|
+
|
115
|
+
</tbody>
|
116
|
+
|
117
|
+
</table>
|
118
|
+
|
119
|
+
</div>
|
120
|
+
|
121
|
+
</div>
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
```
|
126
|
+
|
127
|
+
|
128
|
+
|
61
129
|
###試したこと
|
62
130
|
|
63
131
|
```JavaScript
|