akkounts/app/components/rs_auth_component.html.erb
2023-10-25 22:16:13 +02:00

26 lines
725 B
Plaintext

<div class="py-4 w-1/2 flex items-center gap-6">
<div class="h-16 w-16 flex-none">
<%= image_tag s3_image_url(@web_app.icon), class: "h-full w-full" %>
</div>
<div class="flex-grow">
<h4 class="mb-1 text-lg font-bold">
<%= @web_app.name %>
</h4>
<p class="text-sm text-gray-500">
<%= @auth.client_id %>
</p>
</div>
<!-- <div> -->
<!-- <p class="text&#45;sm text&#45;gray&#45;500"> -->
<!-- Approved <%= time_ago_in_words @auth.created_at %> ago -->
<!-- </p> -->
<!-- </div> -->
<div>
<p class="text-sm text-gray-500">
<%= link_to "#", class: "btn-md btn-outline text-red-700 relative" do %>
Revoke access
<% end %>
</p>
</div>
</div>