~jadedctrl/jam-xwx-moe

Showing details for patch 9651b7e1c8d5ac2a717a405f3f3a06e6d366c6c6.
2023-08-10 (Thu), 4:38 AM - Jaidyn Ann - 9651b7e1c8d5ac2a717a405f3f3a06e6d366c6c6

Propre stiligitajn erarpaĝojn 404 kaj 502 ♥

Jes, ili ambaŭ enhavas Jamadan! c:
Summary of changes
12 files added
  • nginx/404.fonto.jpg
  • nginx/404.fonto.url
  • nginx/404.html
  • nginx/404.png
  • nginx/404.xcf
  • nginx/502.fonto.jpg
  • nginx/502.fonto.url
  • nginx/502.html
  • nginx/502.png
  • nginx/502.xcf
  • nginx/push.sh
  • nginx/style.css
Binary files old-jam-xwx-moe/nginx/404.fonto.jpg and new-jam-xwx-moe/nginx/404.fonto.jpg differ
diff -rN -u old-jam-xwx-moe/nginx/404.fonto.url new-jam-xwx-moe/nginx/404.fonto.url
--- old-jam-xwx-moe/nginx/404.fonto.url	1970-01-01 00:00:00.000000000 +0000
+++ new-jam-xwx-moe/nginx/404.fonto.url	2024-11-23 11:10:39.611743284 +0000
@@ -0,0 +1 @@
+https://images2.alphacoders.com/920/thumb-1920-920230.jpg
diff -rN -u old-jam-xwx-moe/nginx/404.html new-jam-xwx-moe/nginx/404.html
--- old-jam-xwx-moe/nginx/404.html	1970-01-01 00:00:00.000000000 +0000
+++ new-jam-xwx-moe/nginx/404.html	2024-11-23 11:10:39.611743284 +0000
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<html lang="eo">
+  <head>
+	<title>404 — Urseto ne trovita</title>
+	<link rel="stylesheet" type="text/css" href="/x_x/style.css">
+	<meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,user-scalable=no">
+</head>
+
+  <body>
+	<div class="panel user-profile-placeholder">
+	  <div class="panel-heading">
+		<div class="title">Eraro 404 — Ne trovita</div>
+	  </div>
+	  <div class="panel-body">
+		<h1>Tiu paĝo ne troviĝis!</h1>
+		<p>Vi eble mistajpis la retadreson: Rekontrolu ĝin!</p>
+		<p>Krom tio, eblas ke foriĝis (aŭ neniam fariĝis) tiu paĝo. Tiuokaze, bedaŭron!</p>
+	  </div>
+	  <div class="panel-body">
+		<img src="/x_x/404.png">
+	  </div>
+	</div>
+  </body>
+
+</html>
Binary files old-jam-xwx-moe/nginx/404.png and new-jam-xwx-moe/nginx/404.png differ
Binary files old-jam-xwx-moe/nginx/404.xcf and new-jam-xwx-moe/nginx/404.xcf differ
Binary files old-jam-xwx-moe/nginx/502.fonto.jpg and new-jam-xwx-moe/nginx/502.fonto.jpg differ
diff -rN -u old-jam-xwx-moe/nginx/502.fonto.url new-jam-xwx-moe/nginx/502.fonto.url
--- old-jam-xwx-moe/nginx/502.fonto.url	1970-01-01 00:00:00.000000000 +0000
+++ new-jam-xwx-moe/nginx/502.fonto.url	2024-11-23 11:10:39.619743292 +0000
@@ -0,0 +1 @@
+http://img04.pixiv.net/img/check/23049103.jpg
diff -rN -u old-jam-xwx-moe/nginx/502.html new-jam-xwx-moe/nginx/502.html
--- old-jam-xwx-moe/nginx/502.html	1970-01-01 00:00:00.000000000 +0000
+++ new-jam-xwx-moe/nginx/502.html	2024-11-23 11:10:39.619743292 +0000
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<html lang="eo">
+  <head>
+	<title>502 — Servilo paŭzetas</title>
+	<link rel="stylesheet" type="text/css" href="/x_x/style.css">
+	<meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,user-scalable=no">
+</head>
+
+  <body>
+	<div class="panel user-profile-placeholder">
+	  <div class="panel-heading">
+		<div class="title">Eraro 502 — Pordega eraro</div>
+	  </div>
+	  <div class="panel-body">
+		<h1>La servilo paŭzetas!</h1>
+		<p>Ĝi kredeble restartiĝos baldaŭ; bonvolu rekontroli post momento.</p>
+		<p>Se post ~15 minutoj ankoraŭ vidas tiun ĉi eraron, bonvolu sciigi <i>jadedctrl@posteo.net</i>!</p>
+	  </div>
+	  <div class="panel-body">
+		<img src="/x_x/502.png">
+	  </div>
+	</div>
+  </body>
+
+</html>
Binary files old-jam-xwx-moe/nginx/502.png and new-jam-xwx-moe/nginx/502.png differ
Binary files old-jam-xwx-moe/nginx/502.xcf and new-jam-xwx-moe/nginx/502.xcf differ
diff -rN -u old-jam-xwx-moe/nginx/push.sh new-jam-xwx-moe/nginx/push.sh
--- old-jam-xwx-moe/nginx/push.sh	1970-01-01 00:00:00.000000000 +0000
+++ new-jam-xwx-moe/nginx/push.sh	2024-11-23 11:10:39.623743297 +0000
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+RSYNC_DRYRUN="--dry-run"
+if test "$1" = "--real"; then
+	RSYNC_DRYRUN=""
+fi
+
+rsync $RSYNC_DRYRUN --recursive --delete --archive --verbose ./ $(whoami)@xwx.moe:/srv/http/jam.xwx.moe/x_x/
+
+if test "$RSYNC_DRYRUN" = "--dry-run"; then
+	echo "=================================================="
+	echo "Ran in --dry-run mode!"
+	echo "Try '$(basename "$0") --real' if the output seems OK."
+	echo "=================================================="
+fi
diff -rN -u old-jam-xwx-moe/nginx/style.css new-jam-xwx-moe/nginx/style.css
--- old-jam-xwx-moe/nginx/style.css	1970-01-01 00:00:00.000000000 +0000
+++ new-jam-xwx-moe/nginx/style.css	2024-11-23 11:10:39.623743297 +0000
@@ -0,0 +1,80 @@
+/* Somewhat riffing off of Pleroma-FE’s generated CSS.
+Using the colors of Tirifto’s Malvo theme. */
+body {
+	background-color: #B5E9EC;
+	font-family: sans-serif;
+	font-size: 14px;
+}
+
+
+.panel {
+	box-shadow: 0px 0px 0px 1px rgba(98, 14, 140, 1) , 1px 1px 3px 1px rgba(0, 0, 0, 0.5);
+	overflow: hidden;
+	border-radius: 3px;
+	padding: 0;
+	background-color: #F7F7F7;
+	max-width: 1000px;
+	margin: auto;
+}
+
+
+img {
+	bottom: 0;
+	  display: table-cell;
+	  vertical-align: bottom;
+}
+
+
+h1 {
+	text-align: center;
+}
+
+
+.panel-heading {
+	border-radius: 3px 3px 0 0;
+	align-items: stretch;
+	background: transparent;
+	background-color: #E2C2F2;
+	box-shadow: 0px 0px 0px 1px rgba(98, 14, 140, 1) , 1px 1px 0px 0px rgba(255, 255, 255, 0.3) inset, -1px -1px 0px 0px rgba(0, 0, 0, 0.3) inset;
+	flex-direction: column;
+	padding: .5em;
+	position: relative;
+	text-align: left;
+	font-size: 1.3em;
+}
+
+
+.panel:after {
+	bottom: 0;
+	box-shadow: 1px 1px 4px rgba(0, 0, 0, .6);
+	box-shadow: 0px 0px 0px 1px rgba(98, 14, 140, 1) , 1px 1px 3px 1px rgba(0, 0, 0, 0.5);
+	content: "";
+	left: 0;
+	pointer-events: none;
+	position: absolute;
+	right: 0;
+	top: 0;
+	z-index: 5;
+}
+
+
+.panel-body p {
+    padding-left: 20px;
+	padding-right: 20px;
+}
+
+
+.panel-body:empty:before {
+    content: "¯\\_(ツ)_/¯";
+    display: block;
+    margin: 1em;
+    text-align: center;
+}
+
+
+.panel-body>p {
+    line-height: 1.3;
+    margin: 0;
+    padding: 1em;
+	text-align: center;
+}