many improvements from Vladyslav

This commit is contained in:
mdipierro
2012-07-14 22:45:32 -05:00
parent 709038cc0a
commit 1b34f47ec9
14 changed files with 63 additions and 47 deletions
@@ -12,20 +12,20 @@ $(document).ready(function() {
});
</script>
<h2>OpenShift Deployment Interface</h2>
<h2>{{=T("OpenShift Deployment Interface")}}</h2>
<p class="help">{{=T("This page can commit your changes to an openshift app repo and push them to your cloud instance. This assumes that you've already created the application instance using the web2py skeleton and have that repo somewhere on a filesystem that this web2py instance can access. This functionality requires GitPython installed and on the python path of the runtime that web2py is operating in.")}}</p>
<p class="help">{{=T("Note: If you receive an error with github status code of 128, ensure the system and account you are deploying from has a cooresponding ssh key configured in the openshift account.")}}</p>
{{if command:}}
<h3>Command</h3>
<button onclick="$.get('{{=URL(r=request,f='kill')}}');">kill process</button>
<h3>{{=T("Command")}}</h3>
<button onclick="$.get('{{=URL(r=request,f='kill')}}');">{{=T("kill process")}}</button>
{{=CODE(command)}}
<h3>OpenShift Output</h3>
<h3>{{=T("OpenShift Output")}}</h3>
<pre id="target"></pre>
{{else:}}
<h3>Deployment form</h3>
<h3>{{=T("Deployment form")}}</h3>
<div class="deploy_form form">
{{=form}}
</div>