aboutsummaryrefslogtreecommitdiffstats
path: root/backend/static/index.html
blob: afa195413aad1256fad6779acdc35a82c50e4eb6 (plain) (blame)
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
<!DOCTYPE html>
<html lang="en">

<head>
  <title></title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    body {
      background-color: black;
      color: white;
    }

    #container {
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      align-items: center;
      justify-content: center;
    }

    .dImg {
      background-color: darkgray;
      /* width: fit-content; */
      width: 12rem;
      padding: 10px;
      border-radius: 20px;
      margin-right: 25px;
      margin-bottom: 25px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    @media all and (max-width: 960px) {
      .dImg {
        width: 9rem;
      }
    }

    .dImg * {
      margin: 5px;
    }

    .dImg p {
      overflow-wrap: anywhere;
    }

    .dImg input[type='checkbox'] {
      width: 20px;
      height: 20px;
      display: inline;
    }

    .dImg img {
      border-radius: 30px;
      aspect-ratio: 1 / 1;
    }

    .dImg label {
      display: flex;
      align-items: center;
    }
  </style>
  <script src="index.js" defer></script>
</head>

<body>
  <header>
    <h2>Uploaded Images:</h2>
    <button type="button" onclick="getFiles()">Reload</button>
    <button type="button" onclick="selectAll()">Select all</button>
    <button type="button" onclick="removeAllSel()">Remove selected</button>
  </header><br>
  <div id="container"></div>
</body>

</html>