mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 13:51:13 +00:00
Moving javascript disabled warning to top.
This commit is contained in:
parent
9e466ca75b
commit
c10d2f4a76
3 changed files with 6 additions and 7 deletions
|
@ -99,9 +99,9 @@ server.get('/*', async (req, res) => {
|
||||||
|
|
||||||
<body ${helmet.bodyAttributes.toString()}>
|
<body ${helmet.bodyAttributes.toString()}>
|
||||||
<noscript>
|
<noscript>
|
||||||
<nav class="navbar fixed-bottom navbar-light bg-light">
|
<div class="alert alert-danger rounded-0" role="alert">
|
||||||
Javascript is disabled. Actions will not work.
|
Javascript is disabled. Actions will not work.
|
||||||
</nav>
|
</div>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
||||||
<div id='root'>${root}</div>
|
<div id='root'>${root}</div>
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
// import Cookies from 'js-cookie';
|
// import Cookies from 'js-cookie';
|
||||||
import IsomorphicCookie from 'isomorphic-cookie';
|
import IsomorphicCookie from 'isomorphic-cookie';
|
||||||
import { User, LoginResponse } from 'lemmy-js-client';
|
import { User, LoginResponse } from 'lemmy-js-client';
|
||||||
import { setTheme } from '../utils';
|
|
||||||
import jwt_decode from 'jwt-decode';
|
import jwt_decode from 'jwt-decode';
|
||||||
import { Subject, BehaviorSubject } from 'rxjs';
|
import { Subject, BehaviorSubject } from 'rxjs';
|
||||||
|
|
||||||
|
|
|
@ -1054,9 +1054,9 @@ function hsl(num: number) {
|
||||||
return `hsla(${num}, 35%, 50%, 1)`;
|
return `hsla(${num}, 35%, 50%, 1)`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function randomHsl() {
|
// function randomHsl() {
|
||||||
return `hsla(${Math.random() * 360}, 100%, 50%, 1)`;
|
// return `hsla(${Math.random() * 360}, 100%, 50%, 1)`;
|
||||||
}
|
// }
|
||||||
|
|
||||||
export function previewLines(
|
export function previewLines(
|
||||||
text: string,
|
text: string,
|
||||||
|
|
Loading…
Reference in a new issue