diff options
author | M <m@lfurio.us> | 2015-12-02 22:43:22 -0500 |
---|---|---|
committer | M <m@lfurio.us> | 2015-12-02 22:43:22 -0500 |
commit | b0ab1bc56182514d0cb39febf1792f2c63819d49 (patch) | |
tree | a1d7d99e29834874c36d062c8aecb352072cd036 /app/view/sysconf/default.view.php | |
parent | b6883568aa378fc27a0d561f31945fc7d44a4df3 (diff) | |
download | scrott-b0ab1bc56182514d0cb39febf1792f2c63819d49.tar.gz scrott-b0ab1bc56182514d0cb39febf1792f2c63819d49.zip |
* Formatted DB portion of the sysconf page form
Diffstat (limited to '')
-rw-r--r-- | app/view/sysconf/default.view.php | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/app/view/sysconf/default.view.php b/app/view/sysconf/default.view.php index 83fa145..4266ab8 100644 --- a/app/view/sysconf/default.view.php +++ b/app/view/sysconf/default.view.php @@ -18,6 +18,7 @@ <?php include "view/sysconf/stage.modal.view.php"; ?> <?php include "view/sysconf/issue.modal.view.php"; ?> <?php include "view/sysconf/message.modal.view.php"; ?> + <div class="container"> <div class="jumbotron"> <h2 class="text-center"> @@ -47,23 +48,30 @@ <div class="panel-body"> <form method="post" action="<?=$mod->ar()?>/sysconf/save"> <legend>Database Connection</legend> + <div class="form-group"> - <div class="input-group"> - <input type="text" name="inputDBAddress" id="inputDBAddress" class="form-control" placeholder="Database Server Address" /> - <span class="input-group-addon">localhost</span> - <span class="input-group-btn"><button type="button" id="defltDBAddress" class="btn btn-default"><span class="glyphicon glyphicon-menu-left"></span></button></span> - </div> + <label for="inputDBEngine">Engine</label> + <input type="text" id="inputDBEngine" class="form-control" value="Mysql" disabled /> </div> + <div class="form-group"> + <label for="inputDBAddress">Server Address</label> + <input type="text" name="input[dbAddress]" id="inputDBAddress" class="form-control" placeholder="localhost" /> + </div> + <div class="form-group"> + <label for="inputDBName">Database Name</label> + <input type="text" name="input[dbName]" id="inputDBName" class="form-control" placeholder="db_scrott" /> + </div> + <div class="form-group"> + <label for="inputDBUser">Username</label> + <input type="text" name="input[dbUser]" id="inputDBUser" class="form-control" placeholder="root" /> + </div> - - <div class="form-group"> - <label for="inputDBName" class="col-sm-2 control-label">DB Name</label> - <div class="col-sm-10"> - <input type="text" class="form-control" id="inputDBName" placeholder="eg: db_scrott" /> - </div> + <div class="form-group"> + <label for="inputDBPass">Password</label> + <input type="password" name="input[dbPass]" id="inputDBPass" class="form-control" /> </div> </form> </div> @@ -76,11 +84,5 @@ </div> <?php include "view/master/foot.view.php"; ?> - <script type="text/javascript"> - $("#defltDBAddress").click(function() - { - $("#inputDBAddress").val("localhost"); - }); - </script> </body> </html> |