akkounts/app/views/admin/ldap_users/index.html.erb
Sebastian Kippe 2e301c3019
All checks were successful
continuous-integration/drone/push Build is passing
Port admin to new layout
2022-02-20 11:22:06 -06:00

35 lines
927 B
Plaintext

<%= render partial: "components/header", locals: { page_title: "LDAP Users: #{@ou}" } %>
<%= render layout: "components/main_simple" do %>
<h3 class="hidden">Domains</h3>
<ul class="mb-10">
<li class="inline-block">
<%= link_to 'kosmos.org', admin_ldap_users_path, class: "ks-text-link" %>
</li>
<li class="inline-block ml-6">
<%= link_to '5apps.com', admin_ldap_users_path(ou: '5apps.com'), class: "ks-text-link" %>
</li>
</ul>
<table>
<thead>
<tr class="text-left">
<th>UID</th>
<th>E-Mail</th>
<th>Admin</th>
<!-- <th>Password</th> -->
</tr>
</thead>
<tbody>
<% @entries.each do |entry| %>
<tr>
<td><%= entry[:uid] %></td>
<td><%= entry[:mail] %></td>
<td><%= entry[:admin] %></td>
<!-- <td><%= entry[:password] %></td> -->
</tr>
<% end %>
</tbody>
</table>
<% end %>