2019-06-22 17:51:29 +00:00
|
|
|
extends ./template
|
|
|
|
block content
|
2019-08-07 18:04:17 +00:00
|
|
|
h2 Project API Key:
|
|
|
|
pre
|
|
|
|
code #{project.uuid}
|
2019-07-23 21:44:40 +00:00
|
|
|
|
2019-08-07 18:01:05 +00:00
|
|
|
h2 Inline Helpers
|
|
|
|
p You can use the links below to generate inline helper scripts which are pre-configured for this project.
|
|
|
|
ul(style='list-style-type: none; margin: 0; padding: 0;')
|
|
|
|
li.action-li
|
|
|
|
a.btn(href=project.id+'/inline/node') Node.js
|
|
|
|
//li.action-li
|
|
|
|
// a.btn(href=project.id+'/inline/ecma') JavaScript (Web)
|
|
|
|
li.action-li
|
|
|
|
a.btn(href=project.id+'/inline/php') PHP
|
|
|
|
//li.action-li
|
|
|
|
// a.btn(href=project.id+'/inline/api') DevBug API
|
|
|
|
|
|
|
|
br
|
|
|
|
br
|
|
|
|
|
2019-07-23 21:44:40 +00:00
|
|
|
h2 Code Snippets
|
|
|
|
a.btn(href='/dash/v1/project/snippet/'+project.id+'/new') +
|
|
|
|
table
|
|
|
|
thead
|
|
|
|
tr
|
|
|
|
th(scope='col' style='min-width: 250px') Title
|
|
|
|
th(scope='col') Actions
|
2019-07-24 17:05:27 +00:00
|
|
|
tbody
|
|
|
|
each snippet in snippets
|
|
|
|
tr
|
|
|
|
td #{snippet.name}
|
|
|
|
td
|
|
|
|
ul(style='list-style-type: none; margin: 0; padding: 0;')
|
|
|
|
li.action-li
|
|
|
|
a.action(href='/dash/v1/project/snippet/'+project.id+'/view/'+snippet.uuid) View
|
|
|
|
if ( devbug.permission.snippet.edit(snippet, user) )
|
|
|
|
li.action-li
|
|
|
|
a.action(href='/dash/v1/project/snippet/'+project.id+'/delete/'+snippet.uuid) Delete
|
|
|
|
li.action-li
|
|
|
|
a.action(href='/dash/v1/project/snippet/'+project.id+'/edit/'+snippet.uuid) Edit
|
|
|
|
li.action-li
|
|
|
|
a.action(href='/dash/v1/snippet/share/'+snippet.id) Share
|
2019-07-23 21:44:40 +00:00
|
|
|
|
|
|
|
h2 Development Outputs
|
2019-08-14 15:03:19 +00:00
|
|
|
a.btn(href='/dash/v1/out/view-latest/'+project.id) Latest
|
2019-06-22 17:51:29 +00:00
|
|
|
table
|
|
|
|
thead
|
|
|
|
tr
|
|
|
|
th(scope='col' style='min-width: 250px') Brief
|
|
|
|
th(scope='col' style='min-width: 250px') Created On
|
|
|
|
th(scope='col') Actions
|
|
|
|
tbody
|
|
|
|
each out in outs
|
2019-06-21 22:01:34 +00:00
|
|
|
tr
|
2019-06-22 17:51:29 +00:00
|
|
|
td #{out.brief}
|
|
|
|
td #{ out.created.toLocaleString({timeZone: 'America/Chicago'}) }
|
|
|
|
td
|
|
|
|
ul(style='list-style-type: none; margin: 0; padding: 0;')
|
2019-07-22 14:55:37 +00:00
|
|
|
li.action-li
|
2019-06-22 17:51:29 +00:00
|
|
|
a.action(href='/dash/v1/out/view/'+out.id) View
|
2019-07-10 19:10:36 +00:00
|
|
|
if ( devbug.permission.project.edit(project, user) )
|
2019-07-22 14:55:37 +00:00
|
|
|
li.action-li
|
2019-07-10 19:10:36 +00:00
|
|
|
a.action(href='/dash/v1/out/delete/'+out.id+'/'+project.id) Delete
|