-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (53 loc) · 2.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Paperplane</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="lib/dropzone.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
<meta name="csrf-token" content="XYZ123">
</head>
<body>
<div class="app">
<div class="settings-column">
<h2>This Device</h2>
<div class="settings-row">
<p>Show this device on network</p>
<label class="switch">
<input type="checkbox" checked id="showdevice">
<div class="slider round"></div>
</label>
</div>
<p class="description">Your device name</p>
<div class="textinput-row">
<input onchange="setName()" id="deviceName" class="settings-input" type="text" value="Jeff's Laptop">
<button onclick="setName()" class="settings-btn">Change</button>
</div>
<p class="description">Store received files in</p>
<div class="textinput-row">
<input onchange="setReceiveDir()" id="receiveDir" class="settings-input" type="text" value="/home/jeff/Downloads">
<button onclick="setReceiveDir()" class="settings-btn">Change</button>
</div>
<p class="description">How this device looks to others</p>
<div class="device device-settings">
<h3 id="localDeviceName" >Jeff's Laptop</h3>
<p id="localIp" >1234.1.1.1</p>
</div>
</div>
<div class="device-column">
<div class="device-list" id="device-list">
<h2>Other Devices</h2>
<p class="info">Drag files on devices to send them</p>
<!--Should be a loading spinner or something
<div class="device dropzone">
<h3>No other devices on this network</h3>
<p>Make sure you are on the same network and Paperplane is running.</p>
</div> -->
</div>
</div>
</div>
<script src='lib/jquery.min.js'></script>
<script src="lib/dropzone.js"></script>
<script src='script.js'></script>
</body>
</html>