Update design of public pages
This commit is contained in:
@ -1,20 +1,5 @@
|
||||
<.header>
|
||||
Listing Autoren
|
||||
<:actions>
|
||||
<.link href={~p"/autoren/new"}>
|
||||
<.button>New Autor</.button>
|
||||
</.link>
|
||||
</:actions>
|
||||
Autoren
|
||||
</.header>
|
||||
|
||||
<.table id="autoren" rows={@autoren} row_click={&JS.navigate(~p"/autoren/#{&1}")}>
|
||||
<:col :let={autor} label="Name"><%= autor.name %></:col>
|
||||
<:col :let={autor} label="Description"><%= autor.description %></:col>
|
||||
<:col :let={autor} label="Homepage name"><%= autor.homepage_name %></:col>
|
||||
<:col :let={autor} label="Homepage url"><%= autor.homepage_url %></:col>
|
||||
<:action :let={autor}>
|
||||
<div class="sr-only">
|
||||
<.link navigate={~p"/autoren/#{autor}"}>Show</.link>
|
||||
</div>
|
||||
</:action>
|
||||
</.table>
|
||||
<.autor :for={autor <- @autoren} autor={autor} />
|
||||
|
||||
Reference in New Issue
Block a user