Semaphore/public/html/admin.jade

34 lines
1.7 KiB
Plaintext
Raw Normal View History

2016-05-17 17:18:26 +02:00
.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)
2016-05-17 17:43:15 +02:00
li.list-group-item: a(href="https://github.com/ansible-semaphore/semaphore/wiki" target="_blank") Wiki
2016-05-17 17:18:26 +02:00
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
2016-05-17 17:43:15 +02:00
.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.
2016-05-17 17:43:15 +02:00
div(ng-bind-html="upgrade.updateBody")
2016-05-17 17:18:26 +02:00
.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 }}