inline action links
This commit is contained in:
parent
a078b768da
commit
627daa2f46
@ -111,3 +111,8 @@ pre {outline: 1px solid #ccc; padding: 5px; margin: 5px; }
|
|||||||
.boolean { color: blue; }
|
.boolean { color: blue; }
|
||||||
.null { color: magenta; }
|
.null { color: magenta; }
|
||||||
.key { color: green; }
|
.key { color: green; }
|
||||||
|
|
||||||
|
.action-li {
|
||||||
|
display: inline;
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
@ -15,13 +15,13 @@ block content
|
|||||||
td #{project.name}
|
td #{project.name}
|
||||||
td
|
td
|
||||||
ul(style='list-style-type: none; margin: 0; padding: 0;')
|
ul(style='list-style-type: none; margin: 0; padding: 0;')
|
||||||
li
|
li.action-li
|
||||||
a.action(href='/dash/v1/project/view/'+project.id) View
|
a.action(href='/dash/v1/project/view/'+project.id) View
|
||||||
li
|
li.action-li
|
||||||
a.action(href='/dash/v1/project/share/'+project.id) Share
|
a.action(href='/dash/v1/project/share/'+project.id) Share
|
||||||
li
|
li.action-li
|
||||||
a.action(href='/dash/v1/project/delete/'+project.id) Delete
|
a.action(href='/dash/v1/project/delete/'+project.id) Delete
|
||||||
li
|
li.action-li
|
||||||
a.action(href='/dash/v1/project/edit/'+project.id) Edit
|
a.action(href='/dash/v1/project/edit/'+project.id) Edit
|
||||||
|
|
||||||
if shared_projects.view || shared_projects.edit
|
if shared_projects.view || shared_projects.edit
|
||||||
|
Loading…
Reference in New Issue
Block a user