Skip to content

Commit 018cb0f

Browse files
author
Gaurab Dasgupta
committed
Added flash, delete buttons
1 parent fc1f0aa commit 018cb0f

File tree

2 files changed

+36
-14
lines changed

2 files changed

+36
-14
lines changed

src/webpage/css/style.css

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,11 +444,20 @@ a:focus
444444
}
445445

446446

447+
#SBSright
448+
{
449+
width:600px;
450+
height:70px;
451+
452+
margin-right:10px;
453+
float:right;
454+
}
447455

448-
449-
450-
451-
456+
.divider{
457+
width:5px;
458+
height:auto;
459+
display:inline-block;
460+
}
452461

453462

454463

src/webpage/index.html

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ <h2>Created with ❤ by<a href="http://gaurabdg.wordpress.com" target="_blank">
3030
</strong>
3131
</label>
3232
</div>
33-
<button class = "btn draw-upborder" name="uploadDiv">
33+
<button class = "btn draw-upborder" id="up" onclick="UploadFile()">
3434
Upload
3535
</button>
36-
<button class="btn draw-cancelborder" name="cancelDiv">
36+
<button class="btn draw-cancelborder" id="cancel">
3737
Cancel
3838
</button>
3939
</div>
40-
<table id="table" class="container">
40+
<div>
41+
<table id="table" class="container">
4142
<thead>
4243
<tr>
4344
<th>
@@ -50,16 +51,28 @@ <h1>Size</h1>
5051
</thead>
5152
<tbody>
5253
<tr>
53-
<td>Filename1</td>
54-
<td>Filesize1</td>
55-
</tr>
56-
<tr>
57-
<td>Filename2</td>
58-
<td>Filesize2</td>
54+
<td>No file available in <strong>SPIFFS</strong>.
55+
<em>Choose a file</em> and <em>upload</em> it!</td>
56+
<td> </td>
5957
</tr>
58+
6059
</tbody>
6160
</table>
62-
<script src="js/tweaks.js"></script>
61+
</div>
62+
<div id="SBSright">
63+
<span style="display: inline-block; width: 200px; height: 70px; padding-left: 20px; padding-top: 50px; padding-bottom: 9px;">
64+
<button class="btn draw-upborder" id="flash">
65+
Flash Sketch
66+
</button>
67+
68+
<button class="btn draw-cancelborder" id="delete">
69+
Remove File
70+
</button>
71+
72+
</span>
73+
</div>
74+
75+
6376
<script src="js/xml.js"></script>
6477
</body>
6578
</html>

0 commit comments

Comments
 (0)