summaryrefslogtreecommitdiffstats
path: root/app/view/sysconf/default.view.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/sysconf/default.view.php')
-rw-r--r--app/view/sysconf/default.view.php36
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>