sora 24.02.26 → 25.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +22 -22
- data/CHANGELOG.md +5 -5
- data/CODE_OF_CONDUCT.md +84 -84
- data/LICENSE.txt +21 -21
- data/README.ja.md +69 -0
- data/README.md +48 -20
- data/Rakefile +12 -8
- data/cgi-bin/get.rb +13 -1
- data/cgi-bin/main.rb +47 -11
- data/docs/get-ipaddr.png +0 -0
- data/docs/screenshot.png +0 -0
- data/lib/sora/version.rb +5 -5
- data/lib/sora.rb +3 -2
- data/package.json +18 -0
- data/sig/sora.rbs +4 -4
- data/src/index.ts +374 -0
- data/src/style.css +157 -0
- data/tsconfig.json +11 -0
- data/webpack.config.js +25 -0
- data/www/bundle.js +1346 -0
- data/www/index.html +30 -35
- data/yarn.lock +1073 -0
- metadata +12 -2
data/www/index.html
CHANGED
@@ -4,49 +4,44 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="utf-8">
|
6
6
|
<title>sora</title>
|
7
|
-
<
|
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="
|
14
|
-
<
|
15
|
-
<
|
16
|
-
<
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
<
|
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
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
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
|
-
</
|
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
|
|