Update index.php

This commit is contained in:
Josh North 2014-08-25 12:04:03 -04:00
parent 5b3ecb66bd
commit 67ca9256ee

View File

@ -8,6 +8,9 @@
</head> </head>
<body> <body>
<?php <?php
$scanner_address = "epkowa:net:pr01.lzu01.point808.com";
if (isset($_POST["scan"])) { if (isset($_POST["scan"])) {
$findScanner = array( $findScanner = array(
0 => array("pipe", "r"), // stdin is a pipe that the child will read from 0 => array("pipe", "r"), // stdin is a pipe that the child will read from
@ -72,52 +75,50 @@ if (isset($_POST["scan"])) {
?> ?>
<div class="pure-g"> <div class="pure-g">
<div class="pure-u-1"> <div class="pure-u-1">
<h1>Scanner Web GUI</h1> <h1>Scanner Web GUI</h1>
Use the drop-downs below to set preferences. Load documents in the feeder and press "Scan". When the job completes, you will be able to pick your file from the selection at the bottom of the page. <p>Use the drop-downs below to set preferences. Load documents in the feeder and press "Scan". When the job completes, you will be able to pick your file from the selection at the bottom of the page.</p>
</div> </div>
</div> </div>
<form class="pure-form pure-form-stacked"> <form class="pure-form pure-form-stacked">
<fieldset> <fieldset>
<legend>Basic Settings</legend> <legend>Basic Settings</legend>
<div class="pure-g"> <div class="pure-g">
<div class="pure-u-1 pure-u-md-1-3"> <div class="pure-u-1 pure-u-md-1-3">
<label for="first-name">First Name</label> <label for="device">Device</label>
<input id="first-name" type="text"> <select id="device" class="pure-input-1-2">
<option value="epkowa:net:pr01.lzu01.point808.com" selected="selected">pr01 (Epson WF-2540)</option>
<option value="hpaio:/net/Deskjet_F4500_series?ip=192.168.101.222">pr02 (HP DeskJet F4580)</option>
</select>
</div> </div>
<div class="pure-u-1 pure-u-md-1-3"> <div class="pure-u-1 pure-u-md-1-3">
<label for="last-name">Last Name</label> <label for="source">Feed Source</label>
<input id="last-name" type="text"> <select id="source" class="pure-input-1-2">
<option value="Automatic Document Feeder" selected="selected">Automatic Document Feeder</option>
<option value="Flatbed">Flatbed</option>
</select>
</div> </div>
<div class="pure-u-1 pure-u-md-1-3"> <div class="pure-u-1 pure-u-md-1-3">
<label for="email">E-Mail</label> <label for="email">E-Mail</label>
<input id="email" type="email" required> <input id="email" type="email" required>
</div> </div>
<div class="pure-u-1 pure-u-md-1-3"> <div class="pure-u-1 pure-u-md-1-3">
<label for="city">City</label> <label for="city">City</label>
<input id="city" type="text"> <input id="city" type="text">
</div> </div>
<div class="pure-u-1 pure-u-md-1-3"> <div class="pure-u-1 pure-u-md-1-3">
<label for="state">State</label> <label for="state">State</label>
<select id="state" class="pure-input-1-2"> <select id="state" class="pure-input-1-2">
<option>AL</option> <option value="150dpi" selected="selected">AL</option>
<option>CA</option> <option>CA</option>
<option>IL</option> <option>IL</option>
</select> </select>
</div> </div>
</div> </div>
<label for="terms" class="pure-checkbox">
<input id="terms" type="checkbox"> I've read the terms and conditions
</label>
<button type="submit" class="pure-button pure-button-primary">Submit</button> <button type="submit" class="pure-button pure-button-primary">Submit</button>
</fieldset> </fieldset>
<fieldset class="pure-group"> <fieldset class="pure-group">
<input type="text" class="pure-input-1-2" placeholder="Username"> <input type="text" class="pure-input-1-2" placeholder="Username">
<input type="text" class="pure-input-1-2" placeholder="Password"> <input type="text" class="pure-input-1-2" placeholder="Password">