main
Last change
on this file was
42bd667,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Historial Limpio
|
-
Property mode set to
100755
|
File size:
1.5 KB
|
Line | |
---|
1 | {{extend 'layout.html'}} |
---|
2 | <script>$=jQuery</script> |
---|
3 | <link rel="stylesheet" type="text/css" href="{{=URL(r=request,c='static',f='css/jqueryMultiSelect.css')}}" /> |
---|
4 | <script src="{{=URL(r=request,c='static',f='js/jqueryMultiSelect.js')}}"></script> |
---|
5 | <script> |
---|
6 | function callback() { |
---|
7 | $.get('{{=URL(r=request,f='callback')}}','',function(data,status){ if(data!='<done/>') { $('#target').html($('#target').html()+data); callback(); } }); |
---|
8 | } |
---|
9 | $(document).ready(function() { |
---|
10 | $('#no_table_applications').multiSelect({selectAll: false}); |
---|
11 | callback(); |
---|
12 | }); |
---|
13 | </script> |
---|
14 | |
---|
15 | <h2>{{=T("OpenShift Deployment Interface")}}</h2> |
---|
16 | |
---|
17 | <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> |
---|
18 | |
---|
19 | <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> |
---|
20 | |
---|
21 | {{if command:}} |
---|
22 | <h3>{{=T("Command")}}</h3> |
---|
23 | <button onclick="$.get('{{=URL(r=request,f='kill')}}');">{{=T("kill process")}}</button> |
---|
24 | {{=CODE(command)}} |
---|
25 | <h3>{{=T("OpenShift Output")}}</h3> |
---|
26 | <pre id="target"></pre> |
---|
27 | {{else:}} |
---|
28 | <h3>{{=T("Deployment form")}}</h3> |
---|
29 | <div class="deploy_form form"> |
---|
30 | {{=form}} |
---|
31 | </div> |
---|
32 | {{pass}} |
---|
Note: See
TracBrowser
for help on using the repository browser.