Commit 5eabdae7 authored by jlopez's avatar jlopez
Browse files

Add more fix

parent 203f875f
...@@ -25,6 +25,7 @@ function printSection($name, $db) { ...@@ -25,6 +25,7 @@ function printSection($name, $db) {
<label for="selectedR" class="font-weight-bold">R version :</label> <label for="selectedR" class="font-weight-bold">R version :</label>
<select class="custom-select" id="selectedR"> <select class="custom-select" id="selectedR">
<option value="0" selected="selected" >None</option> <option value="0" selected="selected" >None</option>
<option value="3.6.3">3.6.3</option>
<option value="3.5">3.5</option> <option value="3.5">3.5</option>
</select> </select>
</div> </div>
...@@ -69,7 +70,7 @@ function printSection($name, $db) { ...@@ -69,7 +70,7 @@ function printSection($name, $db) {
function printPanel($name) { function printPanel($name) {
echo ' echo '
<label for="find'.$name.'Packages">Find packages with pattern :</label> <label for="find'.$name.'Packages">Find packages containing substring :</label>
<input type="email" class="form-control" id="find'.$name.'Packages">'; <input type="email" class="form-control" id="find'.$name.'Packages">';
......
...@@ -50,6 +50,13 @@ require_once "./inc/php/buildHeader.php"; ...@@ -50,6 +50,13 @@ require_once "./inc/php/buildHeader.php";
</select> </select>
</div> </div>
<div class="form-group">
<p class="font-weight-bold">OR</p>
</div>
<div class="form-group"> <div class="form-group">
<label for="baseNameInput" class="font-weight-bold">From Image :</label> <label for="baseNameInput" class="font-weight-bold">From Image :</label>
...@@ -230,7 +237,7 @@ require_once "./inc/php/buildHeader.php"; ...@@ -230,7 +237,7 @@ require_once "./inc/php/buildHeader.php";
</div> </div>
<div class="card-body"> <div class="card-body">
<div class="form-group"> <div class="form-group">
<label for="ExecLineInput" class="font-weight-bold">Exec Line (%Runscript / CMD) :</label> <label for="ExecLineInput" class="font-weight-bold">Exec Line (<a href="https://singularity.lbl.gov/docs-docker#how-does-the-runscript-work">%Runscript</a> / <a href="https://docs.docker.com/engine/reference/builder/#cmd">CMD</a>) :</label>
<input type="text" class="form-control" id="ExecLineInput" value='exec /bin/bash "$@"'> <input type="text" class="form-control" id="ExecLineInput" value='exec /bin/bash "$@"'>
</div> </div>
...@@ -243,7 +250,7 @@ require_once "./inc/php/buildHeader.php"; ...@@ -243,7 +250,7 @@ require_once "./inc/php/buildHeader.php";
<div class="col-8"> <div class="col-8">
<div class="card border border-dark"> <div class="card border border-dark">
<div class="card-header bg-dark text-light"> <div class="card-header bg-dark text-light">
Tools packages : Tools from packages manager :
</div> </div>
<div class="card-body"> <div class="card-body">
<nav> <nav>
...@@ -253,7 +260,7 @@ require_once "./inc/php/buildHeader.php"; ...@@ -253,7 +260,7 @@ require_once "./inc/php/buildHeader.php";
$index = 0; $index = 0;
foreach ($section as $s) { foreach ($section as $s) {
if($index == 0) { if($index == 0) {
echo '<a class="nav-item nav-link active" id="nav-'.$s->name.'-tab" data-toggle="tab" href="#nav-'.$s->name.'" role="tab" aria-controls="nav-'.$s->name.'" aria-selected="false">'.$s->visual.'</a>'; echo '<a class="nav-item nav-link active" id="nav-'.$s->name.'-tab" data-toggle="tab" href="#nav-'.$s->name.'" role="tab" aria-controls="nav-'.$s->name.'" aria-selected="false">'.$s->visual.' packages manager</a>';
} else { } else {
echo '<a class="nav-item nav-link" id="nav-'.$s->name.'-tab" data-toggle="tab" href="#nav-'.$s->name.'" role="tab" aria-controls="nav-'.$s->name.'" aria-selected="false">'.$s->visual.'</a>'; echo '<a class="nav-item nav-link" id="nav-'.$s->name.'-tab" data-toggle="tab" href="#nav-'.$s->name.'" role="tab" aria-controls="nav-'.$s->name.'" aria-selected="false">'.$s->visual.'</a>';
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment