Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Grenoble
Eole-Wol
Commits
be816359
Unverified
Commit
be816359
authored
Aug 05, 2019
by
David Beniamine
Browse files
Log buttons
parent
43ec78e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
wol/www/index.php
View file @
be816359
...
...
@@ -56,7 +56,10 @@ if(!isset($action)){
<input
type=
"hidden"
name=
"action"
value=
"upgradeAllApt"
>
<input
type=
"submit"
value=
"Mettre à jour tous les postes avec mises à jour APT"
title=
"Mettre à jour tous les postes (config + APT)"
>
</form>
<form
action=
"index.php"
method=
"post"
>
<input
type=
"hidden"
name=
"action"
value=
"getLogAll"
>
<input
type=
"submit"
value=
"Télécharger le dernier log de mise à jour"
title=
"Télécharger le dernier log de mise à jour"
>
</form>
<h2>
Gestion des postes
</h2>
<div
class=
"table-responsive"
>
<table
class=
"table-striped table-bordered table-hover"
style=
"text-align:center;"
>
...
...
@@ -115,6 +118,11 @@ if(!isset($action)){
<input
type=
"hidden"
name=
"mac"
value=
"
<?php
echo
$entry
[
1
]
?>
;"
>
<input
type=
"submit"
value=
"Mise à jour config + APT"
title=
"Mettre à jour + apt"
>
</form>
<form
action=
"index.php"
method=
"post"
>
<input
type=
"hidden"
name=
"action"
value=
"getLog"
>
<input
type=
"hidden"
name=
"mac"
value=
"
<?php
echo
$entry
[
1
]
?>
;"
>
<input
type=
"submit"
value=
"Log de mise à jour"
title=
"Télécharger le dernier log de mise à jour"
>
</form>
<?php
echo
"</td></tr>"
;
}
...
...
@@ -178,13 +186,18 @@ if(!isset($action)){
case
"upgradeAllApt"
:
echo
"I should upgradeAllApt machines, not implemented yet"
;
breaK
;
case
"getLogAll"
:
echo
"I should download all logs, not implemented yet"
;
break
;
case
"upgrade"
:
echo
"I should upgrade
$mac
, not implemented yet"
;
break
;
case
"upgradeAPT"
:
echo
"I should upgrade
$mac
with apt, not implemented yet"
;
break
;
case
"getLog"
:
echo
"I should download logs for
$mac
, not implemented yet"
;
break
;
}
}
?>
...
...
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