update php inline, add convenience nav buttons, add time to latest out page

This commit is contained in:
2019-08-16 15:00:27 -05:00
parent 22b323afc8
commit daf2694c16
5 changed files with 31 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ html
- var e_project = (user && project && devbug.permission.project.sync_edit(project, user))
#pre-header-content DevBug | v#{devbug.version} #{(user ? " | User: "+user.username : "")} #{(e_project ? " | Project: "+project.name+" | API: "+project.uuid : "")} #{((_flitter.config('server.environment') === 'development') ? " | Development" : "" )} | <i>Editor Mode</i>
#title-header
#title-header-content-sm #{title ? title : 'DevBug Dashboard'}
#title-header-content-sm !{title ? title : 'DevBug Dashboard'}
.iheader
block header
.idiv
@@ -32,5 +32,8 @@ html
else if show_back && project
li.navbar-right
a#navbar-back(href='/dash/v1/project/view/'+project.id) Back to Project
if project && !hide_project_latest
li.navbar-right
a#navbar-project-latest(href="/dash/v1/out/view-latest/"+project.id) View Latest Output
script(src="/assets/dash_v1.js")
block scripts

View File

@@ -15,6 +15,8 @@ block content
ul(style='list-style-type: none; margin: 0; padding: 0;')
li.action-li
a.action(href='/dash/v1/project/view/'+project.id) View
li.action-li
a.action(href='/dash/v1/out/view-latest/'+project.id) Latest Output
li.action-li
a.action(href='/dash/v1/project/share/'+project.id) Share
li.action-li

View File

@@ -23,6 +23,9 @@ html
else if show_back && project
li.navbar-right
a#navbar-back(href='/dash/v1/project/view/'+project.id) Back to Project
if project && !hide_project_latest
li.navbar-right
a#navbar-project-latest(href="/dash/v1/out/view-latest/"+project.id) View Latest Output
block navbar-right
.content
block content