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
967b768e
Verified
Commit
967b768e
authored
5 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
bootstrap
parent
2a83c155
Branches
Branches containing commit
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
+9
-5
9 additions, 5 deletions
wol/www/index.php
with
9 additions
and
5 deletions
wol/www/index.php
+
9
−
5
View file @
967b768e
...
...
@@ -16,12 +16,16 @@
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<script
src=
"jquery-3.3.1.min.js"
></script>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity=
"sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin=
"anonymous"
>
</head>
<div
id=
"box"
style=
"font-size:large"
>
<div
id=
"box"
class=
"container"
style=
"font-size:large"
>
<div
id=
"content"
>
<h1>
Interface de gestion des postes
</h1>
<?php
ini_set
(
'display_errors'
,
1
);
ini_set
(
'display_startup_errors'
,
1
);
...
...
@@ -31,7 +35,6 @@ extract($_POST);
if
(
!
isset
(
$action
)){
$lines
=
explode
(
PHP_EOL
,
shell_exec
(
"../scripts/get_registry.sh"
));
?>
<h1>
Interface de gestion des postes
</h1>
<p>
<?php
echo
count
(
$lines
);
?>
postes sont inscrits sur ce serveur
</p>
<h2>
Actions globables
</h2>
<form
action=
"index.php"
method=
"post"
>
...
...
@@ -44,7 +47,7 @@ if(!isset($action)){
</form>
<h2>
Gestion des postes
</h2>
<table>
<table
class=
"table-striped table-bordered table-hover"
>
<tr>
<th>
Nom
</th>
<th>
IP(s)
</th>
...
...
@@ -111,6 +114,7 @@ if(!isset($action)){
<?php
}
else
{
echo
"<h2> Action en cours </h2>"
;
switch
(
$action
){
case
"wake"
:
echo
"<div id='result'><p>Démarrage demandé pour la machine
$mac
, veuillez patienter</p></div>"
;
...
...
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