diff options
author | Irina Gómez <irinagomez@us.es> | 2021-07-04 14:01:16 +0200 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2021-07-04 14:01:16 +0200 |
commit | 9b90a8ec13167378b555c085ce00ec055fa8ef3e (patch) | |
tree | 1a1bd6f1ea071b89436149a800a3afb9b98a0d15 /admin/WebConsole/includes/pintaParticiones.php | |
parent | 48ba4e8e65a0c2c3bf65bbfeaa3911c95ad84d17 (diff) |
#918 The web console commands for cloning synchronized images adapt to images synced with git.918-git-images
GIT is included as a cloning protocol with options git_option:acl_option with the values [ clone | checkout ] : [ total | user ].
Diffstat (limited to 'admin/WebConsole/includes/pintaParticiones.php')
-rw-r--r-- | admin/WebConsole/includes/pintaParticiones.php | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/admin/WebConsole/includes/pintaParticiones.php b/admin/WebConsole/includes/pintaParticiones.php index c789298d..1398ba0d 100644 --- a/admin/WebConsole/includes/pintaParticiones.php +++ b/admin/WebConsole/includes/pintaParticiones.php @@ -450,7 +450,7 @@ function pintaParticionesRestaurarImagenSincronizacion1($cmd,$configuraciones,$i // Separamos las configuraciones segun el disco al que pertenezcan $diskConfigs = splitConfigurationsByDisk($configuraciones); - $columns=14; + $columns=16; echo '<TR>'; echo '<TH align=center> </TH>'; echo '<th align="center"> '.$TbMsg["DISK"].' </th>'; // Número de disco @@ -463,9 +463,11 @@ function pintaParticionesRestaurarImagenSincronizacion1($cmd,$configuraciones,$i echo '<TH align=center> '.$TbMsg[16].' </TH>'; echo '<TH align=center> '.$TbMsg["SYNC_METHOD"].' </TH>'; echo '<TH align=center> '.$TbMsg["SEND"].' </TH>'; - echo ' <TH align=center> <dfn title="'.$TbMsg["TITLE_W"].'">W</dfn> </TH>'; - echo ' <TH align=center> <dfn title="'.$TbMsg["TITLE_E"].'">E</dfn> </TH>'; - echo ' <TH align=center> <dfn title="'.$TbMsg["TITLE_C"].'">C</dfn> </TH>'; + echo ' <TH id="whl" align=center> <dfn title="'.$TbMsg["TITLE_W"].'">W</dfn> </TH>'; + echo ' <TH id="eli" align=center> <dfn title="'.$TbMsg["TITLE_E"].'">E</dfn> </TH>'; + echo ' <TH id="cmp" align=center> <dfn title="'.$TbMsg["TITLE_C"].'">C</dfn> </TH>'; + echo ' <TH id="git" align=center> <dfn title="'.$TbMsg["TITLE_G"].'">G</dfn> </TH>'; + echo ' <TH id="acl" align=center> <dfn title="'.$TbMsg["TITLE_A"].'">A</dfn> </TH>'; echo '</TR>'; @@ -474,7 +476,7 @@ function pintaParticionesRestaurarImagenSincronizacion1($cmd,$configuraciones,$i foreach($diskConfigs as $disk => $diskConfig){ $disk = (int)$disk; - echo '<tr height="16">'.chr(13); + echo '<tr height="18">'.chr(13); $html_disk_type = draw_disk_type($cmd, $idordenadores, $disk); echo '<td colspan="' . $columns . '" style="BORDER-TOP: " . @@ -505,8 +507,9 @@ function pintaParticionesRestaurarImagenSincronizacion1($cmd,$configuraciones,$i $metodos="SYNC0="." ".chr(13); $metodos.="SYNC1=".$TbMsg["SYNC1_DIR"].chr(13); - $metodos.="SYNC2=".$TbMsg["SYNC2_FILE"]; - echo '<TD align=center>'.HTMLCTESELECT($metodos,"desplesync_".$icp,"estilodesple","",1,100).'</TD>'; + $metodos.="SYNC2=".$TbMsg["SYNC2_FILE"].chr(13); + $metodos.="SYNC3=".$TbMsg["SYNC3_GIT"]; + echo '<TD align=center>'.HTMLCTESELECT($metodos,"desplesync_".$icp,"estilodesple","",1,100,"protocolo_opt").'</TD>'; $metodos="UNICAST="."Unicast".chr(13); $metodos.="MULTICAST_". mcast_syntax($cmd,$ambito,$idambito) ."="."Multicast".chr(13); @@ -514,9 +517,11 @@ function pintaParticionesRestaurarImagenSincronizacion1($cmd,$configuraciones,$i $metodos.="RSYNC=Rsync"; echo '<TD align=center>'.HTMLCTESELECT($metodos,"despletpt_".$icp,"estilodesple","",1,100).'</TD>'; - echo '<td align=center><input type=checkbox name="whole" id="whl-'.$icp.'"></td>'; - echo '<td align=center><input type=checkbox name="paramb" checked id="eli-'.$icp.'"></td>'; - echo '<td align=center><input type=checkbox name="compres" id="cmp-'.$icp.'"></td>'; + echo '<td align=center><input type=checkbox name="whole" class="whole" id="whl-'.$icp.'"></td>'; + echo '<td align=center><input type=checkbox name="eli" class="paramb" checked id="eli-'.$icp.'"></td>'; + echo '<td align=center><input type=checkbox name="compres" class="compres" id="cmp-'.$icp.'"></td>'; + echo '<td align=center><input type=checkbox name="git" class="git" id="git-'.$icp.'"></td>'; + echo '<td align=center><input type=checkbox name="acl" class="acl" id="acl-'.$icp.'"></td>'; } echo '</TR>'.chr(13); @@ -526,5 +531,5 @@ function pintaParticionesRestaurarImagenSincronizacion1($cmd,$configuraciones,$i } echo '<TR><TD colspan="'.$columns.'" style="BORDER-TOP: #999999 1px solid;BACKGROUND-COLOR: #FFFFFF; height: 5px;"> </TD></TR>'; - echo '<tr><th colspan="14">'.$TbMsg["WARN_PROTOCOL"].'</th></tr>'; + echo '<tr><th colspan="'.$columns.'">'.$TbMsg["WARN_PROTOCOL"].'</th></tr>'; } |