gitforge/templates/demo/list.tmpl
Cameron Radmore 1a277ad0b8 chore: have stylelint lint CSS in tmpl files to enforce RTL-friendly logical properties (#13216)
This will allow us to enforce RTL-friendly logical CSS properties in the go template files.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13216
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-07-04 17:05:27 +02:00

33 lines
679 B
Go HTML Template

{{template "base/head" .}}
<div role="main" class="page-content ui container">
<h1>Demo pages</h1>
<p>Various pages that may be helpful in development or testing</p>
<article>
<h2>Components</h2>
<ul>
{{range .SubNames}}
<li><a href="{{AppSubUrl}}/-/demo/{{.}}">{{.}}</a></li>
{{end}}
</ul>
</article>
<article>
<h2>Error pages</h2>
<ul>
<li><a href="{{AppSubUrl}}/-/demo/error/404">Not found</a></li>
<li><a href="{{AppSubUrl}}/-/demo/error/413">Quota exhaustion</a></li>
<li><a href="{{AppSubUrl}}/-/demo/error/500">Server error</a></li>
</ul>
</article>
</div>
<style>
ul {
line-height: 2rem;
}
</style>
{{template "base/footer" .}}