Implement basic flavor support
This commit is contained in:
parent
9a3e508ce8
commit
d6c0c465e4
24 changed files with 246 additions and 82 deletions
|
|
@ -91,14 +91,6 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
PHP Version
|
||||
</td>
|
||||
<td>
|
||||
<code>{{ .Instance.System.PHP }}</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Docker Base Image
|
||||
|
|
@ -107,6 +99,14 @@
|
|||
<code>{{ .Instance.System.GetDockerBaseImage }}</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
PHP Version
|
||||
</td>
|
||||
<td>
|
||||
<code>{{ .Instance.System.PHP }}</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
OPCache Development Config
|
||||
|
|
@ -143,36 +143,20 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
Theme
|
||||
Drupal Version
|
||||
</td>
|
||||
<td>
|
||||
<code>{{ .Info.DrupalVersion }}</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Default Theme
|
||||
</td>
|
||||
<td>
|
||||
<code>{{ .Info.Theme }}</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Docker Base Image
|
||||
</td>
|
||||
<td>
|
||||
<code>{{ .Instance.System.GetDockerBaseImage }}</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
OPCache Development Config
|
||||
</td>
|
||||
<td>
|
||||
<code>{{ .Instance.System.OpCacheDevelopment }}</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Content Security Policy
|
||||
</td>
|
||||
<td>
|
||||
<code>{{ .Instance.System.ContentSecurityPolicy }}</code>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -67,12 +67,23 @@
|
|||
|
||||
{{ if not $rebuild }}
|
||||
<div class="pure-controls">
|
||||
<h5>Profile</h5>
|
||||
<h5>Flavor</h5>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
In the future, it will be possible to configure the Drupal, WissKI and Module versions here.
|
||||
But this is not yet implemented.
|
||||
<div class="pure-controls">
|
||||
<span class="pure-form-message-inline">
|
||||
Determine the set of module(s) to install for this WissKI. <br />
|
||||
Changing this after installation may not be possible and in any case requires manual intervention.
|
||||
</span>
|
||||
|
||||
{{ $defaultProfile := .DefaultProfile }}
|
||||
{{ range $name, $description := .Profiles }}
|
||||
<label for="flavor-{{ $name }}" class="pure-radio">
|
||||
<input type="radio" id="flavor-{{ $name }}" name="flavor" value="{{ $name }}" {{ if eq $name $defaultProfile }}checked{{ end }} />
|
||||
<b>{{ $name }}</b>
|
||||
{{ $description }}
|
||||
</label>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue