inline action links

master
Garrett Mills 3 years ago
parent a078b768da
commit 627daa2f46
  1. 5
      app/assets/dash_v1.css
  2. 8
      app/views/dash_v1/main.pug

@ -111,3 +111,8 @@ pre {outline: 1px solid #ccc; padding: 5px; margin: 5px; }
.boolean { color: blue; }
.null { color: magenta; }
.key { color: green; }
.action-li {
display: inline;
margin-right: 15px;
}

@ -15,13 +15,13 @@ block content
td #{project.name}
td
ul(style='list-style-type: none; margin: 0; padding: 0;')
li
li.action-li
a.action(href='/dash/v1/project/view/'+project.id) View
li
li.action-li
a.action(href='/dash/v1/project/share/'+project.id) Share
li
li.action-li
a.action(href='/dash/v1/project/delete/'+project.id) Delete
li
li.action-li
a.action(href='/dash/v1/project/edit/'+project.id) Edit
if shared_projects.view || shared_projects.edit

Loading…
Cancel
Save