From cc6c04725504d7419513c6a023bd51c02a6de8a4 Mon Sep 17 00:00:00 2001
From: M <m@lfurio.us>
Date: Thu, 3 Dec 2015 21:00:34 -0500
Subject: * Finished form for sysconf default view

---
 app/view/sysconf/default.view.php | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

(limited to 'app/view')

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>
-- 
cgit v1.2.3