move new/editvm to ajax, check macaddress not in use already and a few fixes

This commit is contained in:
mad
2018-08-18 13:53:25 +02:00
parent 66e950ea54
commit 3ab4fa63fc
3 changed files with 82 additions and 49 deletions

View File

@@ -27,7 +27,7 @@
</div>
</div>
</div>
<script src="nlvmi.js?2"></script>
<script src="nlvmi.js?3"></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>
<?php if($_SESSION['isadmin']==1){ echo "<a style=color:black href=# onclick=\"javascript:post('?', {'usermgmt': 'show'});\">usermanagement</a></br>"; } ?><a style=color:black href=# onclick="javascript:post('?', {'logout': 'logout'});">logout</a></div></div>