|
38 | 38 |
|
39 | 39 | {{ block "containerForm" . }}
|
40 | 40 | <form id="checked-containers" hx-post="/compose/list" hx-trigger="load" hx-target="#tbody">
|
41 |
| - <label for="defaultEnvironmentSelect">Default Environment:</label> |
42 |
| - <select name="defaultEnvironmentSelect"> |
| 41 | + <label for="DefaultEnvironmentSelect">Default Environment:</label> |
| 42 | + <select name="DefaultEnvironmentSelect"> |
43 | 43 | <option value="staging">Staging</option>
|
44 | 44 | <option value="production">Production</option>
|
45 | 45 | </select>
|
|
71 | 71 | <tr>
|
72 | 72 | <td> {{$val.Name}}</td>
|
73 | 73 | <td> {{$val.Path}}</td>
|
74 |
| - <input type="hidden" name="rootComposeFile" value="{{$val.Path}}"> |
| 74 | + <input type="hidden" name="RootComposeFile" value="{{$val.Path}}"> |
75 | 75 | </tr>
|
76 | 76 | {{ else }}
|
77 | 77 | <tr>
|
@@ -117,30 +117,30 @@ <h1>Error</h1>
|
117 | 117 |
|
118 | 118 | {{ block "compose_run_options" . }}
|
119 | 119 | <div>
|
120 |
| - Remove Orphans: <input type="checkbox" name="removeOrphans"> |
| 120 | + Remove Orphans: <input type="checkbox" name="RemoveOrphans"> |
121 | 121 | <br>
|
122 |
| - Always recreate deps: <input type="checkbox" name="alwaysRecreateDeps"> |
| 122 | + Always recreate deps: <input type="checkbox" name="AlwaysRecreateDeps"> |
123 | 123 | <br>
|
124 |
| - Stop all containers before running: <input type="checkbox" name="stopAllContainersBeforeRunning"> |
| 124 | + Stop all containers before running: <input type="checkbox" name="StopAllContainersBeforeRunning"> |
125 | 125 | <br>
|
126 |
| - Root Dir: <textarea cols="{{len .RootDir}}" style="height:11PX;" name="rootDir">{{.RootDir}}</textarea> |
| 126 | + Root Dir: <textarea cols="{{len .RootDir}}" style="height:11PX;" name="RootDir">{{.RootDir}}</textarea> |
127 | 127 | <br>
|
128 |
| - Compose Command: <textarea cols="{{len .ComposeCommand}}" style="height:11PX;" name="composeCommand">{{.ComposeCommand}}</textarea> |
| 128 | + Compose Command: <textarea cols="{{len .ComposeCommand}}" style="height:11PX;" name="ComposeCommand">{{.ComposeCommand}}</textarea> |
129 | 129 | <br>
|
130 | 130 | <!-- TODO this should be dynamic based on the root dir?-->
|
131 |
| - Generated Compose file name: <textarea cols="{{len .ComposeFileName}}" style="height:11PX;" name="composeFileName">{{.ComposeFileName}}</textarea> |
| 131 | + Compose File Name: <textarea cols="{{len .ComposeFileName}}" style="height:11PX;" name="ComposeFileName">{{.ComposeFileName}}</textarea> |
132 | 132 | <br>
|
133 |
| - Compose Files Regex: <textarea cols="{{len .ComposeFileRegex}}" style="height:11PX;" name="composeFileRegex">{{.ComposeFileRegex}}</textarea> |
| 133 | + Compose Files Regex: <textarea cols="{{len .ComposeFileRegex}}" style="height:11PX;" name="ComposeFileRegex">{{.ComposeFileRegex}}</textarea> |
134 | 134 | <br>
|
135 |
| - Pre-run command: <textarea cols="{{len .PreRunCommand}}" style="height:11PX;" name="preRunCommand">{{.PreRunCommand}}</textarea> |
| 135 | + Pre-run command: <textarea cols="{{len .PreRunCommand}}" style="height:11PX;" name="PreRunCommand">{{.PreRunCommand}}</textarea> |
136 | 136 | <br>
|
137 |
| - Env var file format: <textarea cols="{{len .EnvVarFileFormat}}" style="height:11PX;" name="envVarFileFormat">{{.EnvVarFileFormat}}</textarea> |
| 137 | + Env var file format: <textarea cols="{{len .EnvVarFileFormat}}" style="height:11PX;" name="EnvVarFileFormat">{{.EnvVarFileFormat}}</textarea> |
138 | 138 | <br>
|
139 |
| - Env var file setup command: <textarea cols="{{len .EnvVarFileSetupCommand}}" style="height:11PX;" name="envVarFileSetupCommand">{{.EnvVarFileSetupCommand}}</textarea> |
| 139 | + Env var file setup command: <textarea cols="{{len .EnvVarFileSetupCommand}}" style="height:11PX;" name="EnvVarFileSetupCommand">{{.EnvVarFileSetupCommand}}</textarea> |
140 | 140 | <br>
|
141 | 141 | <label>Variable Interpolation Options (newline seperated):</label>
|
142 |
| - <textarea rows="3" cols="{{len .VariableInterpolationOptions}}" name="variableInterpolationOptions" |
| 142 | + <textarea rows="3" cols="{{len .VariableInterpolationOptions}}" name="VariableInterpolationOptions" |
143 | 143 | placeholder="KEY1=echo $UID
|
144 |
| -KEY2=<bash command>"></textarea> |
| 144 | +KEY2=<bash command>">{{.VariableInterpolationOptions}}</textarea> |
145 | 145 | </div>
|
146 | 146 | {{ end }}
|
0 commit comments