Browse Source

Fix edit service link

Kristan Kenney 6 years ago
parent
commit
10b833c76b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      web/templates/admin/list_services.html

+ 2 - 2
web/templates/admin/list_services.html

@@ -104,9 +104,9 @@
           <div class="clearfix l-unit__stat-col--left super-compact">
           <div class="clearfix l-unit__stat-col--left super-compact">
             <input id="check<?php echo $i ?>" class="ch-toggle" type="checkbox" name="service[]" value="<?php echo $key ?>">
             <input id="check<?php echo $i ?>" class="ch-toggle" type="checkbox" name="service[]" value="<?php echo $key ?>">
           </div>
           </div>
-          <div class="clearfix l-unit__stat-col--left wide-2"><b><a href="/edit/server/<? echo $key ?>/&token=<?=$_SESSION['token']?>"><?=$key?></a></b></div>
+          <div class="clearfix l-unit__stat-col--left wide-2"><b><a href="/edit/server/<? echo $key ?>/"><?=$key?></a></b></div>
           <div class="clearfix l-unit__stat-col--left text-center compact-2">
           <div class="clearfix l-unit__stat-col--left text-center compact-2">
-                  <a href="/edit/server/<? echo $key ?>/&token=<?=$_SESSION['token']?>"><i class="fas fa-pencil-alt status-icon orange status-icon dim icon-large"></i></a>
+                  <a href="/edit/server/<? echo $key ?>/"><i class="fas fa-pencil-alt status-icon orange status-icon dim icon-large"></i></a>
                   <a href="/restart/service/?srv=<?=$key?>&token=<?=$_SESSION['token']?>"><i class="data-controls fas fa-undo status-icon highlight status-icon dim icon-large"></i></a>
                   <a href="/restart/service/?srv=<?=$key?>&token=<?=$_SESSION['token']?>"><i class="data-controls fas fa-undo status-icon highlight status-icon dim icon-large"></i></a>
                   <a href="/<?php echo $action ?>/service/?srv=<?=$key?>&token=<?=$_SESSION['token']?>"><i class="fas fa-pause status-icon red status-icon dim icon-large"></i></a>
                   <a href="/<?php echo $action ?>/service/?srv=<?=$key?>&token=<?=$_SESSION['token']?>"><i class="fas fa-pause status-icon red status-icon dim icon-large"></i></a>
             </div>
             </div>