index support

pull/12/head
Szekeres Bálint 2018-02-25 00:01:49 +01:00
parent c7b35514c9
commit c1c30f9792
2 changed files with 7 additions and 0 deletions

View File

@ -40,6 +40,7 @@
non_www: true, non_www: true,
cdn: false, cdn: false,
index: '',
index_html: false, index_html: false,
php: '7.2', php: '7.2',

View File

@ -128,6 +128,12 @@
</div> </div>
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div class="form-group">
<label class="form-label">
<span tooltips tooltip-template="Defines files that will be used as an index."><code>index</code></span>
</label>
<input type="text" class="form-control form-control-sm" ng-model="data.index" placeholder="index.html{{ isPHP() ? ' index.php' : '' }}">
</div>
<div class="form-check mb-2"> <div class="form-check mb-2">
<input class="form-check-input" type="checkbox" id="index_html" ng-model="data.index_html"> <input class="form-check-input" type="checkbox" id="index_html" ng-model="data.index_html">
<label class="form-check-label" for="index_html"> <label class="form-check-label" for="index_html">