Semaphore/public/html/admin.jade
Matej Kramny 0b417594a4 Improve setup, upgrade, new API
- Improve upgrade process (fixes #106)
- Improve upgrade UI
- Delete Users API
- Get user API
- User update API
- Security improvement (does not spill secret over api)
- Improve setup (fixes #100)
2016-05-23 20:29:38 +01:00

34 lines
1.7 KiB
Plaintext

.container-fluid
h1.text-center.no-top-margin semaphore v{{ semaphore.version }}
hr
.row
.col-sm-4
ul.list-group
li.list-group-item: a(href="https://github.com/ansible-semaphore/semaphore" target="_blank") GitHub
li.list-group-item: a(href="https://github.com/ansible-semaphore/semaphore/issues/new" target="_blank") Help (GH issues)
li.list-group-item: a(href="https://github.com/ansible-semaphore/semaphore/wiki" target="_blank") Wiki
li.list-group-item: a(href="" ng-click="checkUpdate()") Check for Update
li.list-group-item: a(href="https://ansible-semaphore.github.io/semaphore/" target="_blank") API Documentation
.col-sm-4
div(ng-if="upgrade.updateBody")
button.btn.btn-primary.btn-block(ng-click="doUpgrade()" ng-disabled="upgrade.config.cmdPath.length == 0") upgrade to {{ upgrade.update.tag_name }}
p.text-center(ng-if="upgrade.config.cmdPath.length == 0")
a(href="https://github.com/ansible-semaphore/semaphore/wiki/Troubleshooting#upgrades-failing" target="_blank") Upgrading isn't possible!
br
| You should fix this error or upgrade manually.
div(ng-bind-html="upgrade.updateBody")
.col-sm-4
dl
dt DB
dd: code {{ upgrade.config.dbUser }}@{{ upgrade.config.dbHost }}/{{ upgrade.config.dbName }}
dt Playbook Path
dd: code {{ upgrade.config.path }}
dt semaphore location
dd
span(ng-if="upgrade.config.cmdPath.length == 0")
code semaphore
|  not found in 
code $PATH
| . Upgrading 
a(href="https://github.com/ansible-semaphore/semaphore/wiki/Installation#install-instructions" target="_blank") will not work
code(ng-if="upgrade.config.cmdPath.length > 0") {{ upgrade.config.cmdPath }}