Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.toolbox
Commits
7b05db94
Commit
7b05db94
authored
Sep 27, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't EVER mix spaces and tabs
parent
3da1fda7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
slapos/runner/templates/instanceInspect.html
slapos/runner/templates/instanceInspect.html
+32
-32
No files found.
slapos/runner/templates/instanceInspect.html
View file @
7b05db94
...
@@ -24,33 +24,33 @@
...
@@ -24,33 +24,33 @@
<li><a
href=
"#tab4"
id=
"instancetabfiles"
>
Partitions Content
</a></li>
<li><a
href=
"#tab4"
id=
"instancetabfiles"
>
Partitions Content
</a></li>
</ul>
<!-- //Tab buttons -->
</ul>
<!-- //Tab buttons -->
<div
class=
"tabDetails"
>
<div
class=
"tabDetails"
>
<div
id=
"tab1"
class=
"tabContents"
>
<div
id=
"tab1"
class=
"tabContents"
>
<p>
This tab show all process generated by slapgrid for your application. You can click on the process name to display log.
</p>
<p>
This tab show all process generated by slapgrid for your application. You can click on the process name to display log.
</p>
{% if supervisor %}
{% if supervisor %}
<table
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
id=
"supervisordcontent"
>
<table
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
id=
"supervisordcontent"
>
<tr>
<tr>
<th>
Partition and Process name
</th><th>
Status
</th><th>
Process PID
</th><th>
UpTime
</th><th></th>
<th>
Partition and Process name
</th><th>
Status
</th><th>
Process PID
</th><th>
UpTime
</th><th></th>
</tr>
</tr>
{% for item in supervisor %}
{% for item in supervisor %}
<tr>
<tr>
<td
class=
'first'
><b><a
href=
"{{ url_for('tailProcess', process=item[0]) }}"
>
{{ item[0]}}
</a></b></td>
<td
class=
'first'
><b><a
href=
"{{ url_for('tailProcess', process=item[0]) }}"
>
{{ item[0]}}
</a></b></td>
<td
align=
"center"
><a
href=
"{{ url_for('startStopProccess', process=item[0], action=item[1]) }}"
>
{{ item[1]}}
</a></td>
<td
align=
"center"
><a
href=
"{{ url_for('startStopProccess', process=item[0], action=item[1]) }}"
>
{{ item[1]}}
</a></td>
<td
align=
"center"
>
{{ item[3]}}
</td><td>
{{ item[5]}}
</td>
<td
align=
"center"
>
{{ item[3]}}
</td><td>
{{ item[5]}}
</td>
<td
align=
"center"
><a
href=
"{{ url_for('startStopProccess', process=item[0], action='RESTART') }}"
>
Restart
</a></td>
<td
align=
"center"
><a
href=
"{{ url_for('startStopProccess', process=item[0], action='RESTART') }}"
>
Restart
</a></td>
</tr>
</tr>
{% endfor %}
{% endfor %}
</table><br/>
</table><br/>
<a
href=
"#"
id=
"refresh"
class=
"lshare simple no-right-border"
style=
"float:left"
>
Refresh Status
</a>
<a
href=
"#"
id=
"refresh"
class=
"lshare simple no-right-border"
style=
"float:left"
>
Refresh Status
</a>
<a
href=
"{{ url_for('stopAllPartition') }}"
class=
"lshare simple"
style=
"float:left"
>
Stop all process
</a>
<a
href=
"{{ url_for('stopAllPartition') }}"
class=
"lshare simple"
style=
"float:left"
>
Stop all process
</a>
<img
class=
"waitting"
id=
"imgwaitting"
src=
"{{ url_for('static', filename='images/waiting.gif') }}"
alt=
""
/>
<img
class=
"waitting"
id=
"imgwaitting"
src=
"{{ url_for('static', filename='images/waiting.gif') }}"
alt=
""
/>
<div
class=
"clear"
></div><br/>
<div
class=
"clear"
></div><br/>
{% else %}
{% else %}
<h2>
No process to display, please run your instance
</h2>
<h2>
No process to display, please run your instance
</h2>
{%endif%}
{%endif%}
</div>
<!-- end tab1 -->
</div>
<!-- end tab1 -->
<div
id=
"tab2"
class=
"tabContents"
>
<div
id=
"tab2"
class=
"tabContents"
>
{% if slap_status %}
{% if slap_status %}
<p>
Uses parameters below to run your application
</p>
<p>
Uses parameters below to run your application
</p>
<div
class=
"menu-box-right"
style=
"width: 597px;"
>
<div
class=
"menu-box-right"
style=
"width: 597px;"
>
<div
style=
"background:#fff; padding:10px;"
>
<div
style=
"background:#fff; padding:10px;"
>
{% for item in slap_status %}
{% for item in slap_status %}
...
@@ -64,12 +64,12 @@
...
@@ -64,12 +64,12 @@
<div
id=
"bcontent{{item[0]}}"
>
<div
id=
"bcontent{{item[0]}}"
>
<table
cellpadding=
"0"
cellspacing=
"0"
width=
"577"
>
<table
cellpadding=
"0"
cellspacing=
"0"
width=
"577"
>
<tr>
<tr>
<th>
Parameter Name
</th><th>
Parameter Value
</th>
<th>
Parameter Name
</th><th>
Parameter Value
</th>
</tr>
</tr>
{% for k in item[1] %}
{% for k in item[1] %}
<tr>
<tr>
<td
class=
"propertie first"
>
{{k}}
</td><td
align=
'left'
><span
class=
"slapvalues"
>
{{item[1][k]}}
</span></td>
<td
class=
"propertie first"
>
{{k}}
</td><td
align=
'left'
><span
class=
"slapvalues"
>
{{item[1][k]}}
</span></td>
</tr>
</tr>
{% endfor %}
{% endfor %}
</table>
</table>
</div>
</div>
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<br/><h2>
Partition {{item[0]}} is still empty
</h2>
<br/><h2>
Partition {{item[0]}} is still empty
</h2>
{%endif%}
{%endif%}
</div>
</div>
{% endfor %}
{% endfor %}
</div>
</div>
</div>
</div>
<div
class=
"menu-box-left"
style=
"width: 110px;"
>
<div
class=
"menu-box-left"
style=
"width: 110px;"
>
...
@@ -88,14 +88,14 @@
...
@@ -88,14 +88,14 @@
<li><input
type=
"radio"
name=
"slapresponse"
id=
"{{item[0]}}"
value=
"{{item[0]}}"
/>
<li><input
type=
"radio"
name=
"slapresponse"
id=
"{{item[0]}}"
value=
"{{item[0]}}"
/>
<label
for=
"{{item[0]}}"
{%
if
item
[
1
]
%}
style=
"font-weight:bold"
{%
endif
%}
>
{{item[0]}}
</label></li>
<label
for=
"{{item[0]}}"
{%
if
item
[
1
]
%}
style=
"font-weight:bold"
{%
endif
%}
>
{{item[0]}}
</label></li>
{% endfor %}
{% endfor %}
</ul>
</ul>
</div>
</div>
<div
class=
"clear"
></div><br/>
<div
class=
"clear"
></div><br/>
{% else %}
{% else %}
<h2>
No response. Please run Software Instance!
</h2>
<h2>
No response. Please run Software Instance!
</h2>
{%endif%}
{%endif%}
</div>
<!-- end tab2 -->
</div>
<!-- end tab2 -->
<div
id=
"tab3"
class=
"tabContents"
>
<div
id=
"tab3"
class=
"tabContents"
>
<div
id=
"softwareType"
>
<div
id=
"softwareType"
>
<h2
class=
'hight'
>
Software Type parameter
</h2>
<h2
class=
'hight'
>
Software Type parameter
</h2>
<div
class=
"slidebox"
>
<div
class=
"slidebox"
>
...
@@ -107,12 +107,12 @@
...
@@ -107,12 +107,12 @@
<div
id=
"parameterkw"
>
<div
id=
"parameterkw"
>
<h2
class=
'hight'
>
Partitions Parameter
</h2>
<h2
class=
'hight'
>
Partitions Parameter
</h2>
<div
class=
"slidebox"
>
<div
class=
"slidebox"
>
<table
class=
"small"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
id=
"partitionParameter"
>
<table
class=
"small"
cellpadding=
"0"
cellspacing=
"0"
width=
"100%"
id=
"partitionParameter"
>
<tr
id=
"row_1"
>
<tr
id=
"row_1"
>
<th
width=
"150"
>
Parameter Name
</th><th>
Parameter Value
</th><th
width=
"49"
>
<th
width=
"150"
>
Parameter Name
</th><th>
Parameter Value
</th><th
width=
"49"
>
<a
href=
"#"
class=
"link"
id=
"add_attribute"
>
[new]
</a>
<a
href=
"#"
class=
"link"
id=
"add_attribute"
>
[new]
</a>
</th>
</th>
</tr>
</tr>
</table>
</table>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment