Promote development → master (initial production release: pre-release line + Stage 18) #104

Merged
developer merged 307 commits from development into master 2026-06-22 05:05:48 +00:00
2 changed files with 25 additions and 0 deletions
Showing only changes of commit 53c6e34c13 - Show all commits
@@ -86,6 +86,22 @@ h1 { font-size: 1.4rem; margin: 0 0 0.4rem; }
font: inherit;
}
.form textarea { min-height: 4rem; resize: vertical; }
/* A form beside a static help aside (e.g. message-formatting hints). The form keeps its
own max-width; the aside fills the remainder and wraps below on a narrow viewport. */
.form-help { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.help {
flex: 1 1 16rem;
min-width: 14rem;
max-width: 30rem;
background: var(--panel-hi);
border: 1px solid var(--line);
border-radius: 6px;
padding: 0.5rem 0.8rem;
font-size: 0.85rem;
color: var(--ink-dim);
}
.help h4 { margin: 0 0 0.4rem; font-size: 0.85rem; color: var(--ink); }
.help p { margin: 0.35rem 0; }
button {
background: var(--accent);
color: #06121f;
@@ -39,11 +39,20 @@
</div>
{{else}}<p class="note">no messages yet</p>{{end}}
<h3>Add message</h3>
<div class="form-help">
<form class="form col" method="post" action="/_gm/banners/{{.ID}}/messages">
<label>English <input type="text" name="body_en" maxlength="500" required></label>
<label>Russian <input type="text" name="body_ru" maxlength="500" required></label>
<div><button type="submit">Add message</button></div>
</form>
<aside class="help">
<h4>Formatting</h4>
<p>Plain text is shown as-is (any HTML is escaped).</p>
<p>Add a link with markdown — <code>[visible text](https://example.com)</code> — which renders as the linked <em>visible text</em>.</p>
<p>Only <code>https://</code>, <code>http://</code> and root-relative <code>/path</code> targets become links; any other scheme (e.g. <code>javascript:</code>, <code>ftp:</code>) is dropped and shown as plain text.</p>
<p>Keep it short: an over-long line scrolls in the strip. The same formatting applies when editing a message above.</p>
</aside>
</div>
</section>
{{end}}
{{- end}}