Skip to content

Commit

Permalink
tidy up app/show template for consistency #115
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Sep 14, 2020
1 parent 6c94745 commit 80d3f6e
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions lib/auth_web/templates/app/show.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<p>
<strong>URL:</strong>
<span class="db ba b--black-80 pa2 bg-light-gray w-100 mt2">
<span class="db ba b--black-80 pa2 bg-light-gray w-70 mt2">
<%= @app.url %>
</span>
</p>
Expand All @@ -29,28 +29,25 @@
<% end %>
<% end %>




<span>
<%= link "< All Apps", to: Routes.app_path(@conn, :index),
class: "fl pointer br2 ba b--dark-blue bg-blue white pa3 ml1 mv1 f4
shadow-hover bg-animate hover-bg-dark-blue border-box no-underline"
%>
</span>

<span>
<%= link "Edit", to: Routes.app_path(@conn, :edit, @app),
class: "fr pointer br2 ba b--dark-green bg-green white pa3 ml1 mv1 f4
shadow-hover bg-animate hover-bg-dark-green border-box no-underline"
%>
</span>

<span>
<%= link "Reset API Key", to: Routes.app_path(@conn, :resetapikey, @app),
class: "fl ml5 pointer br2 ba b--orange bg-gold white pa3 ml1 mv1 f4
shadow-hover bg-animate hover-bg-orange border-box no-underline"
%>
</span>
<span>
<%= link "< All Apps", to: Routes.app_path(@conn, :index),
class: "fl pointer br2 ba b--dark-blue bg-blue white pv2 ph3 ml1 mv1 f4
shadow-hover bg-animate hover-bg-dark-blue border-box no-underline"
%>
</span>

<span>
<%= link "Edit", to: Routes.app_path(@conn, :edit, @app),
class: "fr pointer br2 ba b--dark-green bg-green white pv2 ph3 ml1 mv1 f4
shadow-hover bg-animate hover-bg-dark-green border-box no-underline"
%>
</span>

<span>
<%= link "Reset API Key", to: Routes.app_path(@conn, :resetapikey, @app),
class: "fl ml5 pointer br2 ba b--orange bg-gold white pv2 ph3 ml1 mv1 f4
shadow-hover bg-animate hover-bg-orange border-box no-underline"
%>
</span>

</div>

0 comments on commit 80d3f6e

Please sign in to comment.