Rename the app from MangaParty to MangaCircus
This commit is contained in:
1 parent
8dd776b7f4
commit
cfb2d79103
19 files changed
+49
-49
No files matched your search
+3
-3
@@ -132,15 +132,15 @@ body.reader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; overflow: h
|
||||
.pg.loading::after {
|
||||
content: ''; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px;
|
||||
border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--accent); border-radius: 50%;
|
||||
opacity: 0; animation: mp-spin .8s linear infinite, mp-show 0s .15s forwards;
|
||||
opacity: 0; animation: mc-spin .8s linear infinite, mc-show 0s .15s forwards;
|
||||
}
|
||||
.pg.failed::after {
|
||||
content: 'This page could not be loaded'; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
|
||||
display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; text-align: center;
|
||||
}
|
||||
.pg.failed img { visibility: hidden; }
|
||||
@keyframes mp-spin { to { transform: rotate(360deg); } }
|
||||
@keyframes mp-show { to { opacity: 1; } }
|
||||
@keyframes mc-spin { to { transform: rotate(360deg); } }
|
||||
@keyframes mc-show { to { opacity: 1; } }
|
||||
.loading { color: var(--muted); padding: 40px; text-align: center; }
|
||||
.end { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: center; }
|
||||
#canvas.page .end, #canvas.book .end { top: 0; bottom: 0; }
|
||||
|
||||
+3
-3
@@ -36,8 +36,8 @@ async function api(path, body) {
|
||||
}
|
||||
|
||||
const store = {
|
||||
get(k) { try { return localStorage.getItem('mp.' + k); } catch (e) { return null; } },
|
||||
set(k, v) { try { localStorage.setItem('mp.' + k, v); } catch (e) { /* private mode */ } },
|
||||
get(k) { try { return localStorage.getItem('mc.' + k); } catch (e) { return null; } },
|
||||
set(k, v) { try { localStorage.setItem('mc.' + k, v); } catch (e) { /* private mode */ } },
|
||||
};
|
||||
|
||||
function ago(t) {
|
||||
@@ -79,7 +79,7 @@ function topNav(me) {
|
||||
panel.addEventListener('click', e => e.stopPropagation());
|
||||
document.addEventListener('click', () => { panel.hidden = true; });
|
||||
const nav = h('header', { class: 'nav' },
|
||||
h('a', { class: 'brand', href: './' }, 'MangaParty'),
|
||||
h('a', { class: 'brand', href: './' }, 'MangaCircus'),
|
||||
h('div', { class: 'grow' }),
|
||||
h('div', { class: 'bell-wrap' }, bell, panel),
|
||||
h('a', { class: 'btn', href: 'settings.html' }, 'Settings'),
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>MangaParty</title>
|
||||
<title>MangaCircus</title>
|
||||
<link rel="stylesheet" href="app.css">
|
||||
<link rel="icon" href="icon.svg">
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>Sign in · MangaParty</title>
|
||||
<title>Sign in · MangaCircus</title>
|
||||
<link rel="stylesheet" href="app.css">
|
||||
<link rel="icon" href="icon.svg">
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
@@ -13,7 +13,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<main class="login">
|
||||
<h1>MangaParty</h1>
|
||||
<h1>MangaCircus</h1>
|
||||
<form id="form" class="card">
|
||||
<h2 id="heading">Sign in</h2>
|
||||
<label class="field"><span>User name</span><input id="name" autocomplete="username" autocapitalize="none" required></label>
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>MangaParty</title>
|
||||
<title>MangaCircus</title>
|
||||
<link rel="stylesheet" href="app.css">
|
||||
<link rel="icon" href="icon.svg">
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
let me, M;
|
||||
try { [me, M] = await Promise.all([api('api/me'), api('api/manga?' + qsa({ m: id }))]); } catch (e) { return showError(e); }
|
||||
topNav(me);
|
||||
document.title = M.title + ' · MangaParty';
|
||||
document.title = M.title + ' · MangaCircus';
|
||||
const meta = M.meta || {}, main = $('main');
|
||||
main.textContent = '';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "MangaParty",
|
||||
"short_name": "MangaParty",
|
||||
"name": "MangaCircus",
|
||||
"short_name": "MangaCircus",
|
||||
"start_url": "./",
|
||||
"scope": "./",
|
||||
"display": "standalone",
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<title>MangaParty</title>
|
||||
<title>MangaCircus</title>
|
||||
<link rel="stylesheet" href="app.css">
|
||||
<link rel="icon" href="icon.svg">
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>Settings · MangaParty</title>
|
||||
<title>Settings · MangaCircus</title>
|
||||
<link rel="stylesheet" href="app.css">
|
||||
<link rel="icon" href="icon.svg">
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
|
||||
Reference in new issue
Block a user