Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
eole-wol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
primtux-eole
Grenoble
eole-wol
Commits
be816359
Verified
Commit
be816359
authored
5 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Log buttons
parent
43ec78e4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
wol/www/index.php
+15
-2
15 additions, 2 deletions
wol/www/index.php
with
15 additions
and
2 deletions
wol/www/index.php
+
15
−
2
View file @
be816359
...
@@ -56,7 +56,10 @@ if(!isset($action)){
...
@@ -56,7 +56,10 @@ if(!isset($action)){
<input
type=
"hidden"
name=
"action"
value=
"upgradeAllApt"
>
<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)"
>
<input
type=
"submit"
value=
"Mettre à jour tous les postes avec mises à jour APT"
title=
"Mettre à jour tous les postes (config + APT)"
>
</form>
</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>
<h2>
Gestion des postes
</h2>
<div
class=
"table-responsive"
>
<div
class=
"table-responsive"
>
<table
class=
"table-striped table-bordered table-hover"
style=
"text-align:center;"
>
<table
class=
"table-striped table-bordered table-hover"
style=
"text-align:center;"
>
...
@@ -115,6 +118,11 @@ if(!isset($action)){
...
@@ -115,6 +118,11 @@ if(!isset($action)){
<input
type=
"hidden"
name=
"mac"
value=
"
<?php
echo
$entry
[
1
]
?>
;"
>
<input
type=
"hidden"
name=
"mac"
value=
"
<?php
echo
$entry
[
1
]
?>
;"
>
<input
type=
"submit"
value=
"Mise à jour config + APT"
title=
"Mettre à jour + apt"
>
<input
type=
"submit"
value=
"Mise à jour config + APT"
title=
"Mettre à jour + apt"
>
</form>
</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
<?php
echo
"</td></tr>"
;
echo
"</td></tr>"
;
}
}
...
@@ -178,13 +186,18 @@ if(!isset($action)){
...
@@ -178,13 +186,18 @@ if(!isset($action)){
case
"upgradeAllApt"
:
case
"upgradeAllApt"
:
echo
"I should upgradeAllApt machines, not implemented yet"
;
echo
"I should upgradeAllApt machines, not implemented yet"
;
breaK
;
breaK
;
case
"getLogAll"
:
echo
"I should download all logs, not implemented yet"
;
break
;
case
"upgrade"
:
case
"upgrade"
:
echo
"I should upgrade
$mac
, not implemented yet"
;
echo
"I should upgrade
$mac
, not implemented yet"
;
break
;
break
;
case
"upgradeAPT"
:
case
"upgradeAPT"
:
echo
"I should upgrade
$mac
with apt, not implemented yet"
;
echo
"I should upgrade
$mac
with apt, not implemented yet"
;
break
;
break
;
case
"getLog"
:
echo
"I should download logs for
$mac
, not implemented yet"
;
break
;
}
}
}
}
?>
?>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment