Commit b1eeb51

Eric Bower  ·  2026-05-08 20:47:27 -0400 EDT
parent 759d23c
style: tweaks
2 files changed,  +11, -4
M tmpl/session.html
+2, -4
 1@@ -7,7 +7,6 @@
 2 <link rel="stylesheet" href="styles.css">
 3 </head>
 4 <body>
 5-<div class="links"><a href="index.html">&larr; Back to job</a></div>
 6 <h1>
 7   {{.SessionShort}}
 8   <span class="status status-{{.SessionStatus}}">{{.SessionStatus}}</span>
 9@@ -19,9 +18,8 @@
10   {{if .ExitCode}}<span>Exit: {{.ExitCode}}</span>{{end}}
11   <span>Connect: <code>zmx attach {{.SessionName}}</code></span>
12 </div>
13+<p class="back-link"><a href="index.html">&larr; Back to job</a></p>
14 <div class="zmx-output">{{.Content}}</div>
15-<div class="links">
16-  <a href="index.html">&larr; Back to job</a>
17-</div>
18+<p class="back-link"><a href="index.html">&larr; Back to job</a></p>
19 </body>
20 </html>
M tmpl/styles.css
+9, -0
 1@@ -86,6 +86,14 @@ pre {
 2 
 3 pre code { font-size: 13px; }
 4 
 5+code {
 6+  background: #313244;
 7+  color: #f5c2e7;
 8+  padding: 0.1em 0.35em;
 9+  border-radius: 4px;
10+  font-size: 0.85em;
11+}
12+
13 .zmx-output {
14   white-space: pre-wrap;
15   word-break: break-word;
16@@ -102,4 +110,5 @@ pre code { font-size: 13px; }
17 a { color: #89b4fa; text-decoration: none; }
18 a:hover { text-decoration: underline; }
19 
20+.back-link { margin: 0 0 0.5rem 0; font-size: 0.85rem; }
21 .links { margin-top: 1rem; color: #a6adc8; font-size: 0.85rem; }