Merge branch 'main' of ssh://hectabit.org/HectaBit/PageBurger

This commit is contained in:
Tracker-Friendly 2024-02-14 17:32:27 +00:00
commit 816e4d74bb
7 changed files with 3194 additions and 10 deletions

View File

@ -137,6 +137,7 @@ body {
border-color: var(--border-color); border-color: var(--border-color);
border-width: 0px; border-width: 0px;
border-top-width: 1px; border-top-width: 1px;
display: flex;
} }
.bottomBar button { .bottomBar button {
@ -153,13 +154,16 @@ body {
filter: invert(var(--invertdm)); filter: invert(var(--invertdm));
padding-left: 17.5px; padding-left: 17.5px;
padding-right: 17.5px; padding-right: 17.5px;
transform: translateY(-5px);
background-image: url("/static/svg/delete.svg"); background-image: url("/static/svg/delete.svg");
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 55%; background-size: 55%;
} }
.bottomBar .textManipulator {
margin-left: auto;
}
.bottomBar button:hover { .bottomBar button:hover {
background-color: var(--bottomBarHover); background-color: var(--bottomBarHover);
} }
@ -178,6 +182,7 @@ body {
background-color: var(--bar); background-color: var(--bar);
border: solid; border: solid;
border-color: var(--border-color); border-color: var(--border-color);
border-width: 1px; border-width: 1px;

1826
static/js/crypto-js.js Normal file

File diff suppressed because it is too large Load Diff

1353
static/js/hash-wasm.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -293,7 +293,7 @@ sessionManagerButton.addEventListener("click", (event) => {
sessionText.innerText = truncateString(responseData[i]["device"], 27) sessionText.innerText = truncateString(responseData[i]["device"], 27)
} }
sessionText.title = responseData[i]["device"] sessionText.title = responseData[i]["device"]
sessionRemoveButton.innerText = "X" sessionRemoveButton.innerText = "x"
sessionImage.src = "/static/svg/device_other.svg" sessionImage.src = "/static/svg/device_other.svg"

View File

@ -7,9 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="/static/css/style.css" /> <link rel="stylesheet" type="text/css" href="/static/css/style.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js" <script type="text/javascript" src="/static/js/crypto-js.js"></script>
integrity="sha512-E8QSvWZ0eCLGk4km3hxSsNmGWbLtSCSUcewDQPQWZF6pEU8GlT8a5fF32wOl1i8ftdMhssTrF/OhyGWwonTcXA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head> </head>
<body> <body>
@ -21,9 +19,11 @@
<div class="bottomBar"> <div class="bottomBar">
<button id="removeBox" class="removeButton"></button> <button id="removeBox" class="removeButton"></button>
<button id="wordCountBox">0 words</button> <button id="wordCountBox">0 words</button>
<button id="textMinusBox" class="right">-</button> <div class="textManipulator">
<button id="textSizeBox" class="right">16px</button> <button id="textMinusBox">-</button>
<button id="textPlusBox" class="right">+</button> <button id="textSizeBox">16px</button>
<button id="textPlusBox">+</button>
</div>
</div> </div>
<div id="notesBar" class="notesBar"> <div id="notesBar" class="notesBar">

View File

@ -7,7 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="/static/css/style.css" /> <link rel="stylesheet" type="text/css" href="/static/css/style.css" />
<script src="https://cdn.jsdelivr.net/npm/hash-wasm@4"></script> <script src="/static/js/hash-wasm.js"></script>
</head> </head>

View File

@ -7,7 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="/static/css/style.css" /> <link rel="stylesheet" type="text/css" href="/static/css/style.css" />
<script src="https://cdn.jsdelivr.net/npm/hash-wasm@4"></script> <script src="/static/js/hash-wasm.js"></script>
</head> </head>