Spaces:
Running
Running
Update index.html
Browse files- index.html +49 -19
index.html
CHANGED
|
@@ -1,19 +1,49 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
|
| 4 |
+
<head>
|
| 5 |
+
<title>Bubble Prompter</title>
|
| 6 |
+
<meta name="license" content="CC BY-NC 4.0" />
|
| 7 |
+
<meta name="author" content="pols" />
|
| 8 |
+
<meta name="attribution" content="pols" />
|
| 9 |
+
<link rel="attribution" href="https://huggingface.co/pols" />
|
| 10 |
+
<link rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/" />
|
| 11 |
+
<link rel="stylesheet" type="text/css" href="styles.css">
|
| 12 |
+
<link href='https://fonts.googleapis.com/css?family=Signika' rel='stylesheet'>
|
| 13 |
+
</head>
|
| 14 |
+
|
| 15 |
+
<body>
|
| 16 |
+
<p style="text-align: center;">
|
| 17 |
+
<button id="replace-spaces-button" title="Divide text into bubbles
|
| 18 |
+
Replace ' ' with ', '" class="buttons">💔</button>
|
| 19 |
+
<button id="replace-underscore-button" title="Exile underscores from booru tags
|
| 20 |
+
Replace '_' with ' '" class="buttons">👻</button>
|
| 21 |
+
<button id="replace-linebreaks-button" title="Repair linebreaks" class="buttons">🔧</button>
|
| 22 |
+
<button id="replace-commas-button" title="Clean up orphan commas" class="buttons">🧼</button>
|
| 23 |
+
<button id="remove-duplicates-button" title="Merge duplicate bubbles" class="buttons">🧲</button>
|
| 24 |
+
<button id="revert-underscore-button"title="Recall underscores
|
| 25 |
+
Replace ' ' with '_'" class="buttons">🔮</button>
|
| 26 |
+
<button id="revert-spaces-button" title="Combine all
|
| 27 |
+
Replace ', ' with ' '" class="buttons">🩹</button>
|
| 28 |
+
<button id="copy-button" title="Copy text to clipboard" class="buttons">📋</button>
|
| 29 |
+
</p>
|
| 30 |
+
<div class="container">
|
| 31 |
+
<textarea id="input-text" placeholder="Write or paste your text here" class="text-container"></textarea>
|
| 32 |
+
<p style="text-align: center;">
|
| 33 |
+
<button id="undo-button" title="Undo" class="buttons">↩</button>
|
| 34 |
+
<button id="mitigate-mode-button" title="Mitigate Mode
|
| 35 |
+
Click on the bubbles to decrease the emphasis" class="buttons">🧊</button>
|
| 36 |
+
<button id="delete-mode-button" title="Delete Mode
|
| 37 |
+
Click on the bubbles to remove them" class="buttons delete-mode-button">🗑</button>
|
| 38 |
+
<button id="emphasis-mode-button" title="Emphasis Mode
|
| 39 |
+
Click on the bubbles to increase the emphasis" class="buttons">🔥</button>
|
| 40 |
+
<button id="redo-button" title="Redo" class="buttons">↪</button>
|
| 41 |
+
</p>
|
| 42 |
+
<div id="bubble-container"></div>
|
| 43 |
+
</div>
|
| 44 |
+
|
| 45 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.13.0/Sortable.min.js"></script>
|
| 46 |
+
<script src="script.js"></script>
|
| 47 |
+
</body>
|
| 48 |
+
|
| 49 |
+
</html>
|