Merge pull request #43 from gfjardim/patch-4

Fix a small regression on filetree browser alignment.
This commit is contained in:
Eric Schultz
2016-06-22 07:14:47 -05:00
committed by GitHub

View File

@@ -615,7 +615,7 @@ if ($_GET['xmlTemplate']) {
foreach ($xml['Config'] as &$arrConfig) {
if ($arrConfig['Type'] == 'Path' && strtolower($arrConfig['Target']) == '/config') {
$arrConfig['Default'] = $arrConfig['Value'] = realpath($dockercfg["DOCKER_APP_CONFIG_PATH"]).'/'.$xml["Name"];
if (empty($arrConfig['Display']) || preg_match("/^Path\s\d/", $arrConfig['Name'])) {
if (empty($arrConfig['Display']) || preg_match("/^Host Path\s\d/", $arrConfig['Name'])) {
$arrConfig['Display'] = 'advanced-hide';
}
if (empty($arrConfig['Name']) || preg_match("/^Host Path\s\d/", $arrConfig['Name'])) {
@@ -1483,11 +1483,11 @@ $showAdditionalInfo = '';
<input type="hidden" name="confDisplay[]" value="{6}">
<input type="hidden" name="confRequired[]" value="{7}">
<input type="hidden" name="confMask[]" value="{8}">
<table class="settings">
<table class="settings" style="padding-top: 18px;">
<tr>
<td class="{11}">{0}:</td>
<td class="{11}" style="vertical-align: top;">{0}:</td>
<td>
<input type="text" class="textPath" name="confValue[]" default="{2}" value="{9}" autocomplete="off" style="margin-top: 12px;" {11}>&nbsp;{10}
<input type="text" class="textPath" name="confValue[]" default="{2}" value="{9}" autocomplete="off" " {11}>&nbsp;{10}
<div style='color:#C98C21;line-height:1.6em;'>{4}</div>
</td>
</tr>