More work on web setup form

This commit is contained in:
Duncan Sommerville 2014-11-28 15:53:47 -05:00
parent 823b89e84e
commit b8cb2deb23

View file

@ -2,23 +2,29 @@
?> ?>
<html style="background-color:black;"> <html style="background-color:darkgray;">
<head> <head>
<link rel="stylesheet" type="text/css" href="css/bootstrap-3.3.1.min.css"> <link rel="stylesheet" type="text/css" href="css/bootstrap-3.3.1.min.css">
</head> </head>
<body style="background-color:black;color:white;padding: 2em 0; min-width: 400px; width: 30%; text-align: center; margin: 3em auto;"> <body style="background-color:black;color:white;padding: 2em 0; min-width: 400px; width: 30%; text-align: center; margin: 3em auto;">
<img src="css/images/airtime_logo_jp.png" style="margin-bottom: .5em;" /><br/> <img src="css/images/airtime_logo_jp.png" style="margin-bottom: .5em;" /><br/>
<form role="form"> <form role="form" style="margin-top: 2em;">
<h2>Database Settings</h2> <h2>Database Settings</h2>
<div class="form-group col-xs-4"> <div class="form-group col-xs-6">
<label class="sr-only" for="dbUser">Database Username</label> <label class="sr-only" for="dbUser">Database Username</label>
<input class="form-control" type="text" id="dbUser" placeholder="Username"/> <input class="form-control" type="text" id="dbUser" placeholder="Username"/>
</div>
<div class="form-group col-xs-6">
<label class="sr-only" for="dbPass">Database Password</label> <label class="sr-only" for="dbPass">Database Password</label>
<input class="form-control" type="password" id="dbPass" placeholder="Password"/> <input class="form-control" type="password" id="dbPass" placeholder="Password"/>
</div>
<div class="form-group col-xs-6">
<label class="sr-only" for="dbName">Database Name</label> <label class="sr-only" for="dbName">Database Name</label>
<input class="form-control" type="text" id="dbName" placeholder="Name"/> <input class="form-control" type="text" id="dbName" placeholder="Name"/>
</div>
<div class="form-group col-xs-6">
<label class="sr-only" for="dbHost">Database Host</label> <label class="sr-only" for="dbHost">Database Host</label>
<input class="form-control" type="text" id="dbHost" placeholder="Host" value="localhost"/> <input class="form-control" type="text" id="dbHost" placeholder="Host" value="localhost"/>
<input type="submit" class="btn btn-default"/>
</div> </div>
<input type="submit" class="btn btn-default"/>
</form> </form>