Commit bb7b5893 authored by Tristan Cavelier's avatar Tristan Cavelier

fix typos

ressource => resource
parent 8a5a44ae
......@@ -8,7 +8,7 @@ parts =
deploy-settings-cgi
deploy-status-cgi
deploy-status-history-cgi
deploy-ressource-monitoring-cgi
deploy-resource-monitoring-cgi
setup-static-files
certificate-authority
zero-parameters
......
......@@ -100,12 +100,12 @@ download-only = true
filename = logfile.cgi.in
mode = 0644
[ressources-cgi]
[resources-cgi]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/webfile-directory/${:filename}
download-only = true
#md5sum =
filename = ressources.cgi.in
filename = resources.cgi.in
mode = 0644
[status-cgi]
......
......@@ -196,11 +196,11 @@ context =
[log-folder-cgi]
log-folder = $${monitor-directory:log}
[deploy-ressource-monitoring-cgi]
[deploy-resource-monitoring-cgi]
recipe = slapos.recipe.template:jinja2
template = ${ressources-cgi:location}/${ressources-cgi:filename}
template = ${resources-cgi:location}/${resources-cgi:filename}
rendered = $${monitor-directory:monitoring-cgi}/$${:filename}
filename = ressources.cgi
filename = resources.cgi
mode = $${deploy-settings-cgi:mode}
context =
key monitor_bin monitor-parameters:executable
......
......@@ -92,7 +92,7 @@ $(document).ready(function () {
function refresh() {
if (send) { return}
var dataPost = {'posting-script': "monitoring/ressources.cgi",
var dataPost = {'posting-script': "monitoring/resources.cgi",
action: "refresh"};
send = true;
$("#msg").fadeIn();
......@@ -163,7 +163,7 @@ $(document).ready(function () {
});
</script>
</head><body>
<h1>Computer partition ressources monitoring</h1>
<h1>Computer partition resources monitoring</h1>
<div style="width:850px; padding: 10px 0;">
<div style='float:left; width: 500px'>
<table class="tg" id="box3">
......@@ -181,7 +181,7 @@ $(document).ready(function () {
</div>
</div>
<div style='clear:both'></div>
<h2>Total ressources consumption for partition (last minute)</h2>
<h2>Total resources consumption for partition (last minute)</h2>
<table class="tg" id="box2">
<tr>
<th class="tg-s6z2">Total Process</th>
......@@ -192,7 +192,7 @@ $(document).ready(function () {
<th class="tg-s6z2">Memory %</th>
</tr>
</table>
<h2>ressources consumption for partition by process pid (last minute)</h2>
<h2>resources consumption for partition by process pid (last minute)</h2>
<table class="tg" id="box1">
<tr>
<th class="tg-s6z2">Process PID</th>
......@@ -204,4 +204,4 @@ $(document).ready(function () {
</tr>
</table>
<p id="error"></p>
</body></html>"""
\ No newline at end of file
</body></html>"""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment