summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorM <m@lfurio.us>2015-12-03 21:00:34 -0500
committerM <m@lfurio.us>2015-12-03 21:00:34 -0500
commitcc6c04725504d7419513c6a023bd51c02a6de8a4 (patch)
treeb1df65ad62b932e307af8e8d8885781b490f7a9c /app
parentb0ab1bc56182514d0cb39febf1792f2c63819d49 (diff)
downloadscrott-cc6c04725504d7419513c6a023bd51c02a6de8a4.tar.gz
scrott-cc6c04725504d7419513c6a023bd51c02a6de8a4.zip
* Finished form for sysconf default view
Diffstat (limited to 'app')
-rw-r--r--app/view/sysconf/default.view.php35
1 files changed, 34 insertions, 1 deletions
diff --git a/app/view/sysconf/default.view.php b/app/view/sysconf/default.view.php
index 4266ab8..f6b5b23 100644
--- a/app/view/sysconf/default.view.php
+++ b/app/view/sysconf/default.view.php
@@ -48,7 +48,6 @@
<div class="panel-body">
<form method="post" action="<?=$mod->ar()?>/sysconf/save">
<legend>Database Connection</legend>
-
<div class="form-group">
<label for="inputDBEngine">Engine</label>
<input type="text" id="inputDBEngine" class="form-control" value="Mysql" disabled />
@@ -73,6 +72,40 @@
<label for="inputDBPass">Password</label>
<input type="password" name="input[dbPass]" id="inputDBPass" class="form-control" />
</div>
+
+ <legend>Application Installation</legend>
+ <div class="form-group">
+ <label for="inputAppPath">Install Location</label>
+ <input type="text" id="inputAppPath" class="form-control" value="<?=$mod->ar()?>/" disabled />
+ <h6 class="pull-right">Detected from location of files in web document root</h6>
+ </div>
+
+ <legend>Settings</legend>
+ <div class="form-group">
+ <label>HTTP(S)</label>
+ <div class="radio">
+ <label>
+ <input type="radio" name="input[settSSL]" value="force" />
+ Always Force SSL
+ </label>
+ </div>
+
+ <div class="radio">
+ <label>
+ <input type="radio" name="input[settSSL]" value="neither" checked />
+ Neither (Application can override)
+ </label>
+ </div>
+
+ <div class="radio">
+ <label>
+ <input type="radio" name="input[settSSL]" value="forbid" />
+ Always Forbid SSL
+ </label>
+ </div>
+ </div>
+
+ <button type="submit" class="btn btn-primary pull-right">Use these settings</button>
</form>
</div>
</div>