From d6ee134a5957e299c3ad59011df320b3c41e6e61 Mon Sep 17 00:00:00 2001 From: href Date: Tue, 7 Jul 2020 21:39:10 +0200 Subject: pouet --- lib/lsg_web/templates/irc/index.html.eex | 30 +++++++++--------------------- lib/lsg_web/templates/irc/txt.html.eex | 7 ------- lib/lsg_web/templates/irc/txts.html.eex | 14 ++++++-------- 3 files changed, 15 insertions(+), 36 deletions(-) (limited to 'lib/lsg_web/templates/irc') diff --git a/lib/lsg_web/templates/irc/index.html.eex b/lib/lsg_web/templates/irc/index.html.eex index f127101..9e4f724 100644 --- a/lib/lsg_web/templates/irc/index.html.eex +++ b/lib/lsg_web/templates/irc/index.html.eex @@ -1,22 +1,3 @@ - - -

<%= Keyword.get(Application.get_env(:lsg, :irc), :name, "ircbot") %>

- - - - -

- <%= Keyword.get(Application.get_env(:lsg, :irc), :name, "ircbot") %>txt
- <%= @name %>.txt

-
    <%= for {txt, id} <- Enum.with_index(@data) do %>
  1. <%= txt %>
  2. diff --git a/lib/lsg_web/templates/irc/txts.html.eex b/lib/lsg_web/templates/irc/txts.html.eex index 28d0220..5971ffa 100644 --- a/lib/lsg_web/templates/irc/txts.html.eex +++ b/lib/lsg_web/templates/irc/txts.html.eex @@ -5,13 +5,7 @@ .help-entry h2 { font-size: 16px; } -h1 small { - font-size: 14px; -} -

    - <%= Keyword.get(Application.get_env(:lsg, :irc), :name, "ircbot") %>
    - txt

    <%= @lines %> lignes dans <%= @files %> fichiers. Aide. @@ -19,9 +13,13 @@ h1 small {

    -
    <%= @doc |> Earmark.as_html! |> raw() %>
    +
    <%= LSGWeb.LayoutView.liquid_markdown(@conn, @doc) %>
    -- cgit v1.2.3