Semaphore/public/html/admin.pug
Matej Kramny 80538908a8 update contributing.md
- fix ./make.sh watch
- rename .jade -> .pug
2017-02-22 03:51:23 -08: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 }}