metamaps--metamaps/views/doorkeeper/applications/index.html.erb

29 lines
697 B
Plaintext
Raw Normal View History

<div id="yield">
<div class="centerContent">
<div class="page-header">
2018-03-04 02:25:42 +00:00
<h2>{ t('.title') }</h2>
</div>
<table class="table table-striped">
<thead>
<tr>
2018-03-04 02:25:42 +00:00
<th>{ t('.name') }</th>
<th>{ t('.callback_url') }</th>
<th></th>
</tr>
</thead>
<tbody>
2018-03-04 02:25:42 +00:00
{ @applications.each do |application| }
<tr id="application_{ application.id }">
<td>{ link_to application.name, oauth_application_path(application) }</td>
<td>{ application.redirect_uri }</td>
<td>{ render 'delete_form', application: application }</td>
</tr>
2018-03-04 02:25:42 +00:00
{ end }
</tbody>
</table>
2018-03-04 02:25:42 +00:00
{ link_to t('.new'), new_oauth_application_path, class: 'button link-button' }
</div>
</div>
2018-03-04 02:25:42 +00:00
{ render 'script' }