sora 24.02.26 → 24.8.4

Sign up to get free protection for your applications and to get access to all the features.
data/www/index.html CHANGED
@@ -4,49 +4,44 @@
4
4
  <head>
5
5
  <meta charset="utf-8">
6
6
  <title>sora</title>
7
- <link rel="stylesheet" href="/style">
8
- <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
8
  </head>
10
9
 
11
10
  <body>
11
+ <fluent-progress id="progress"></fluent-progress>
12
12
  <main id="main">
13
- <div id="wrap">
14
- <h1 id="title-sora">sora</h1>
15
- <div class="Grid Text-SendButton">
16
- <input id="content" placeholder="Text..." class="TextBox">
17
- <input type="button" id="send-button" value="Send" class="Accent Button SendButton">
18
- <input value="Select a File" type="button" id="select-file-button" class="Button">
19
- <form id="upload-form" class="Hidden">
20
- <input placeholder="none" type="file" name="file" id="select-file-button-pre">
21
- </form>
22
- </div>
23
-
24
- <div id="file-list-wrap" class="Hidden">
25
- <h2 id="file-list-title">Files</h2>
26
- <div id="file-list">
27
- <ul id="file-list-ul"></ul>
13
+ <div id="items" class="">
14
+ <fluent-listbox id="contents"></fluent-listbox>
15
+ <fluent-card id="details">
16
+ <div class="text-details">
17
+ <h2 id="text-title"></h2>
18
+ <p id="text-content"></p>
19
+ <fluent-button id="copy-text"></fluent-button>
20
+ <fluent-button id="remove-text" appearance="accent"></fluent-button>
28
21
  </div>
29
- </div>
30
-
31
- <div id="data-list-wrap" class="Hidden">
32
- <h2 id="data-list-title">Texts</h2>
33
- <div id="data-list">
22
+
23
+ <div class="file-details">
24
+ <h2 id="file-title"></h2>
25
+ <div id="operation-file">
26
+ <fluent-button id="open-file"></fluent-button>
27
+ <fluent-button id="download-file"></fluent-button>
28
+ </div>
29
+ <fluent-button id="remove-file" appearance="accent"></fluent-button>
34
30
  </div>
35
- </div>
31
+ </fluent-card>
36
32
  </div>
33
+
34
+
35
+ <div id="input-content">
36
+ <fluent-text-field id="input-text"></fluent-text-field>
37
+ <fluent-button id="select-file"></fluent-button>
38
+ <fluent-button id="send-data" appearance="accent"></fluent-button>
39
+ </div>
40
+
41
+ <form id="upload-form" hidden>
42
+ <input placeholder="none" type="file" name="file" id="select-file-button-pre">
43
+ </form>
37
44
  </main>
38
- <div id="contextmenu" class="contextmenu">
39
- <ul>
40
- <li id="right-click-copy" class="menu-top">Copy</li>
41
- <li id="right-click-delete">Delete</li>
42
- </ul>
43
- </div>
44
- <div id="contextmenu-file" class="contextmenu">
45
- <ul>
46
- <li id="right-click-download-file" class="menu-top Hidden">Download</li>
47
- <li id="right-click-delete-file">Delete</li>
48
- </ul>
49
- </div>
50
45
  <script src="/js"></script>
51
46
  </body>
52
47