Fix asset links

Add id for table body
This commit is contained in:
Ryan Prather 2024-12-10 23:07:21 -05:00
parent dde2cb34e4
commit d53222bd06

View File

@ -16,14 +16,14 @@
<h6 class="text-white text-capitalize ps-3">Case List</h6> <h6 class="text-white text-capitalize ps-3">Case List</h6>
</div> </div>
<div> <div>
<button type="button" class="btn btn-block btn-light mb-3" onclick="window.open('/index.php/add-case', '_self')">Add Case</button> <button type="button" class="btn btn-block btn-light mb-3" onclick="window.open('{{ path('app_add_case') }}', '_self')">Add Case</button>
</div> </div>
</div> </div>
</div> </div>
<div class="card-body px-0 pb-2"> <div class="card-body px-0 pb-2">
<div> <div>
Filters: Filters:
<select onchange='javascript:filterCasesByUser(this.value)'> <select onchange='filterCasesByUser(this.value)'>
<option value=''></option> <option value=''></option>
{% for w in workers %} {% for w in workers %}
@ -45,7 +45,7 @@
<th class="text-secondary opacity-7"></th> <th class="text-secondary opacity-7"></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody id='case-list'>
{% for c in cases %} {% for c in cases %}
<tr> <tr>
<td> <td>
@ -81,18 +81,21 @@
</p> </p>
</td> </td>
<td class='align-right'> <td class='align-right'>
<a href='/index.php/edit-case/{{ c.id }}' class='' title='Edit Case' data-toggle='tooltip' data-original-title='Edit Case'> <a href='{{ path('app_edit_case', {id: c.id}) }}' class='' title='Edit Case' data-toggle='tooltip'>
<i class="material-symbols-rounded opacity-5">edit</i> <i class="material-symbols-rounded opacity-5">edit</i>
</a> </a>
<a href='/index.php/assign-case/{{ c.id }}' class='' title='Assign Case Worker' data-toggle='tooltip' data-original-title='Assign Worker'> <a href='{{ path('app_assign_case', {id: c.id}) }}' class='' title='Assign Case Worker' data-toggle='tooltip'>
<i class='material-symbols-rounded opacity-5'>badge</i> <i class='material-symbols-rounded opacity-5'>badge</i>
</a> </a>
<a href='/index.php/list-referrals/{{ c.id }}' class='' title='List Referrals' data-toggle='tooltip' data-original-title='Add Referral'> <a href='{{ path('app_list_referrals', {id: c.id}) }}' class='' title='List Referrals' data-toggle='tooltip'>
<i class='material-symbols-rounded opacity-5'>create_new_folder</i> <i class='material-symbols-rounded opacity-5'>create_new_folder</i>
</a> </a>
<a href='/index.php/list-members/{{ c.id }}' class='' title='List Members' data-toggle='tooltip' data-original-title='Add Member'> <a href='{{ path('app_case_members', {id: c.id}) }}' class='' title='List Members' data-toggle='tooltip'>
<i class='material-symbols-rounded opacity-5'>group_add</i> <i class='material-symbols-rounded opacity-5'>group_add</i>
</a> </a>
<a href='{{ path('app_case_notes', {id: c.id}) }}' class='' title='Show Notes' data-toggle='tooltip'>
<i class='material-symbols-rounded opacity-5'>clinical_notes</i>
</a>
</td> </td>
</tr> </tr>
</td> </td>