nlvmi/web/header.php

68 lines
3.6 KiB
PHP
Raw Permalink Normal View History

2018-08-12 15:09:47 +02:00
<html lang="en">
<head>
2018-11-09 14:39:03 +01:00
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
2018-08-12 15:09:47 +02:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<link rel="stylesheet" href="bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
2018-08-15 13:50:00 +02:00
<script src="jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
2018-08-12 15:09:47 +02:00
<script src="popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
<script src="bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
2018-08-15 13:50:00 +02:00
<link href="bootstrap-toggle.min.css" rel="stylesheet">
<script src="bootstrap-toggle.min.js"></script>
2018-08-12 15:09:47 +02:00
<title>nlvmi</title>
</head>
<body>
2018-12-01 17:52:19 +01:00
<div class="modal fade" id="imagemgmt" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header" id="imagemodaltext1">
Imagemanagement
</div>
<div class="modal-body" id="imagemodaltext2">
...
</div>
<div id="imgprogr" class="d-none row"><div id="imgprogd" style="text-align:center;" class="col"></div></div>
<div id="imgprog" class="d-none row"><div class="col" style="text-align:center;"><progress style="max-width:80%;" max="100" value="0" id=imgprogbar></progress></div></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
2018-08-13 16:49:49 +02:00
<div class="modal fade" id="confirm-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header" id="modaltext1">
Are you sure?
</div>
<div class="modal-body" id="modaltext2">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<a class="btn btn-danger btn-ok">Delete</a>
</div>
</div>
</div>
2018-12-01 17:52:19 +01:00
</div>
<script src="nlvmi.js?5"></script>
<div class=container-fluid><div class="row" style="background-color:lightgreen;"><div class="col-sm"><h1><a href="?" style=color:white;>nlvmi</a><a href="?" style="color:black;font-size:10px;">@<?php echo gethostname();?></a></h1></div><div class=col-sm style=text-align:right>
2018-12-01 17:52:19 +01:00
<?php if($_SESSION['isadmin']==1){ echo "<a style=padding-right:2em;color:black href=#imagemgmt onclick=\"javascript:imagemgmt('show');\"> images </a> <a style=padding-right:2em;color:black href=# onclick=\"javascript:post('?', {'servermgmt': 'show'});\"> servers </a> <a style=padding-right:2em;color:black href=# onclick=\"javascript:post('?', {'usermgmt': 'show'});\"> usermanagement </a> ";} ?>
<a style=padding-right:2em;color:black href=# onclick="javascript:post('?', {'logout': 'logout'});"> logout </a></div></div>
<style>
::-webkit-input-placeholder {
font-size: 9px!important;
}
:-moz-placeholder { /* Firefox 18- */
font-size: 8px!important;
}
::-moz-placeholder { /* Firefox 19+ */
font-size: 8px!important;
}
</style>