Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions software/firmware/server/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Simpement copier ces fichiers a la racine de la carte SD
22 changes: 22 additions & 0 deletions software/firmware/server/Zone test/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>

<body>
<h1>Show File-select Fields</h1>

<h3>
Show a file-select field which allows
only one file to be chosen:
</h3>

<form action="/action_page.php"
enctype="multipart/form-data">

<label for="myfile">Select a file:</label>
<input type="file" id="myfile" name="myfile" />
<br /><br />
<input type="submit" />
</form>
</body>

</html>
27 changes: 26 additions & 1 deletion software/firmware/server/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,34 @@ <h1> LittObs CTD </h1>
<hr>

<p><h2>Configuration</h2></p>

<p class="textinfo">Here is the basic configuration of the device. You can change the delay of the acquisition and he quantity of measure per batch (to do a mean or median). With a delay of 30min (1800s) 1 battery can last 1 month. You can download the configuration file and change directly the values in this web interface.<p>
<p><a href="config.txt" download><button>Download configuration file</button></a></p>

<table>
<tr>
<td>
<h3> Configuration values </h3>
</td>
<td>
<h3> New config </h3>
</td>
</tr>
<tr>
<th class="box">
<object data="config.txt" width=100%> </object>
</th>
<th>
<form action="/get">
Delay (s) <input type="number" name="input1" required><br>
Quantity <input type="number" name="input2" required><br>
Debug (1 or 0) <input type="number" name="input3" required><br>
Led (1 or 0) <input type="number" name="input4" required><br><br>
<input type="submit" value="Submit">
</form>
</th>
</tr>
</table>


<hr>

Expand Down