File size: 2,391 Bytes
3bf004d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>LocalSend</title>
    <style>

        body {

            font-family: sans-serif, system-ui;

            margin: 0;

            line-height: 1.5;

            text-align: center;

        }



        a {

            text-decoration: none;

            color: #FFFFFF;

        }



        #file-list {

            box-sizing: border-box;

            width: 100%;

            max-width: 1000px;

            padding: 0 1em;

            margin: 0 auto;

            text-align: left;

        }



        .file-item {

            display: table;

            width: 100%;

            padding: 0.5em 1em;

            background-color: #00796B;

            border-radius: 0.5em;

            margin-bottom: 1em;

            float: left;

            box-sizing: border-box;

        }



        .file-item:hover {

            background-color: #009688;

        }



        .file-name-cell, .file-size-cell, .file-index-cell {

            display: table-cell;

            vertical-align: middle;

        }



        .file-name-cell {

            width: 100%;

            padding: 0 0.5em;

        }



        .file-size-cell, .file-index-cell {

            font-size: 0.8em;

            white-space: nowrap;

            color: #E0E0E0;

        }



        /* Two columns layout */

        .file-item {

            width: 100%;

        }



        @media screen and (min-width: 768px) {

            #file-list.file-item {

                width: 48%;

                margin-right: 2%;

            }

            #file-list.file-item:nth-child(2n) {

                margin-right: 0;

            }

        }



        /* Single file mode */



        #single-file {

            box-sizing: border-box;

            width: 100%;

            text-align: left;

            max-width: 400px;

            padding: 0 1em;

            margin: 0 auto;

        }

    </style>
    <script src="main.js" defer></script>
</head>
<body>
<noscript>
    LocalSend requires JavaScript, which is currently disabled. Please enable it and try again.
</noscript>

<h1 style="padding: 0.5em">LocalSend</h1>
<p id="status-text"></p>
<div id="file-list"></div>
<div id="single-file"></div>
</body>
</html>