mirror of
https://github.com/unraid/webgui.git
synced 2026-05-07 21:01:19 -05:00
Improve button styling on the Docker update dialog
This commit is contained in:
@@ -541,8 +541,8 @@ if (isset($_POST['contName'])) {
|
||||
echo "<pre>".htmlspecialchars($postXML)."</pre>";
|
||||
echo "<h2>COMMAND:</h2>";
|
||||
echo "<pre>".htmlspecialchars($cmd)."</pre>";
|
||||
echo "<div style='text-align:center'><input type='button' value='Back' onclick='window.location=window.location.pathname+window.location.hash+\"?xmlTemplate=edit:${filename}\"'>";
|
||||
echo "<input type='button' value='Done' onclick='done()'></div><br>";
|
||||
echo "<div style='text-align:center'><button type='button' onclick='window.location=window.location.pathname+window.location.hash+\"?xmlTemplate=edit:${filename}\"'>Back</button>";
|
||||
echo "<button type='button' onclick='done()'>Done</button></div><br>";
|
||||
goto END;
|
||||
}
|
||||
|
||||
@@ -550,7 +550,7 @@ if (isset($_POST['contName'])) {
|
||||
if (!$DockerClient->doesImageExist($Repository)) {
|
||||
// Pull image
|
||||
if (!pullImage($Name, $Repository)) {
|
||||
echo '<div style="text-align:center"><input type="button" value="Done" onclick="done()"></div><br>';
|
||||
echo '<div style="text-align:center"><button type="button" onclick="done()">Done</button></div><br>';
|
||||
goto END;
|
||||
}
|
||||
}
|
||||
@@ -595,7 +595,7 @@ if (isset($_POST['contName'])) {
|
||||
$_GET['cmd'] = $cmd;
|
||||
include($dockerManPaths['plugin'] . "/include/Exec.php");
|
||||
|
||||
echo '<div style="text-align:center"><input type="button" value="Done" onclick="done()"></div><br>';
|
||||
echo '<div style="text-align:center"><button type="button" onclick="done()">Done</button></div><br>';
|
||||
goto END;
|
||||
}
|
||||
|
||||
@@ -651,7 +651,7 @@ if ($_GET['updateContainer']){
|
||||
}
|
||||
}
|
||||
|
||||
echo '<div style="text-align:center"><input type="button" value="Done" onclick="window.parent.jQuery(\'#iframe-popup\').dialog(\'close\');"></div><br>';
|
||||
echo '<div style="text-align:center"><button type="button" onclick="window.parent.jQuery(\'#iframe-popup\').dialog(\'close\');">Done</button></div><br>';
|
||||
goto END;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user