diff options
author | href <href@random.sh> | 2018-02-17 21:21:42 +0100 |
---|---|---|
committer | href <href@random.sh> | 2018-02-17 21:21:42 +0100 |
commit | 50c6a09ff64cb081b27a0c30790b86873449d172 (patch) | |
tree | ba1bebfc7e367f169276692e0ac02709d62d6516 /lib/lsg_web/templates/irc/txts.html.eex | |
parent | txt: fix against malicious filenames (aka 'fuck you shiv') (diff) |
:)
Diffstat (limited to 'lib/lsg_web/templates/irc/txts.html.eex')
-rw-r--r-- | lib/lsg_web/templates/irc/txts.html.eex | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/lsg_web/templates/irc/txts.html.eex b/lib/lsg_web/templates/irc/txts.html.eex index 7c96ed9..5039c29 100644 --- a/lib/lsg_web/templates/irc/txts.html.eex +++ b/lib/lsg_web/templates/irc/txts.html.eex @@ -1,4 +1,18 @@ -<h1>irc.txt</h1> +<style type="text/css"> +.help-entry h1 { + font-size: 18px; +} +.help-entry h2 { + font-size: 16px; +} +h1 small { + font-size: 14px; +} +</style> +<h1><small><a href="https://115ans.net">115ans.net</a> › <a href="/irc">irc</a> ›</small><br/> + txt</h1> + +<p><strong><%= @lines %></strong> lignes dans <strong><%= @files %></strong> fichiers.</p> <ul> <%= for {txt, data} <- @data do %> @@ -6,3 +20,5 @@ <% end %> </ul> +<div class="help-entry"><%= @doc |> Earmark.as_html! |> raw() %></div> + |