UI improvements

This commit is contained in:
2019-06-21 17:54:10 -05:00
parent 487f0c4eeb
commit 15087ca30f
7 changed files with 77 additions and 14 deletions

View File

@@ -4,9 +4,9 @@ html
link(rel='stylesheet' href='/assets/dash_v1.css')
body
h1 DevBug Dashboard
ul(style='list-style-type: none; display: inline; margin: 0; padding: 0; padding-right: 15px;')
li
a(href='/auth/logout') Logout
ul.navul
li.navli
a.nava(href='/auth/logout') Logout
h3 My Projects
ul(style='list-style-type: none;')
li
@@ -24,3 +24,7 @@ html
ul(style='list-style-type: none; margin: 0; padding: 0;')
li
a.action(href='/dash/v1/project/view/'+project.id) View
li
a.action(href='/dash/v1/project/delete/'+project.id) Delete
li
a.action(href='/dash/v1/project/edit/'+project.id) Edit

View File

@@ -1,10 +1,16 @@
html
head
title #{out.brief}
link(rel='stylesheet' href='/assets/dash_v1.css')
body
h2 #{out.brief}
div
a(href='javascript:window.history.back()') Back
ul.navul
li.navli
a.nava(href='/dash/v1') Dashboard
li.navli
a.nava(href='javascript:window.history.back()') Back
li.navli
a.nava(href='/auth/logout') Logout
pre
code
div #{prettyd}

View File

@@ -1,6 +1,7 @@
html
head
title #{(update ? 'Update Project' : 'Create New Project')} | DevBug
link(rel='stylesheet' href='/assets/dash_v1.css')
body
h2 #{(update ? 'Update Project' : 'Create New Project')}
if errors

View File

@@ -5,11 +5,11 @@ html
body
h2 View: #{project.name}
h4 API Key: #{ project.uuid }
ul(style='list-style-type: none; display: inline; margin: 0; padding: 0; padding-right: 15px;')
li
a(href='/dash/v1') Dashboard
li
a(href='/auth/logout') Logout
ul.navul
li.navli
a.nava(href='/dash/v1') Dashboard
li.navli
a.nava(href='/auth/logout') Logout
table
thead
tr

View File

@@ -1,6 +1,6 @@
html
head
title Flitter
title Welcome | DevBug
style(type="text/css").
@import url('https://fonts.googleapis.com/css?family=Rajdhani');
html,
@@ -34,7 +34,8 @@ html
margin-left: 35px;
color: #00323d;
}
body
body
.flitter-container
img.flitter-image(src="/assets/flitter.png")
p.flitter-name powered by flitter
p.flitter-name devbug
a.flitter-name(style='font-size: 20pt; text-decoration: none;' href='/dash/v1') Dashboard