summaryrefslogtreecommitdiff
path: root/lib/lsg_web/templates/irc/txts.html.eex
diff options
context:
space:
mode:
authorJordan Bracco <href@random.sh>2022-12-20 00:21:54 +0000
committerJordan Bracco <href@random.sh>2022-12-20 19:29:41 +0100
commit2d83df8b32bff7f0028923bb5b64dc0b55f20d03 (patch)
tree1207e67b5b15f540963db05e7be89f3ca950e724 /lib/lsg_web/templates/irc/txts.html.eex
parentNola rename, the end. pt 6. Refs T77. (diff)
Nola rename: The Big Move, Refs T77
Diffstat (limited to 'lib/lsg_web/templates/irc/txts.html.eex')
-rw-r--r--lib/lsg_web/templates/irc/txts.html.eex49
1 files changed, 0 insertions, 49 deletions
diff --git a/lib/lsg_web/templates/irc/txts.html.eex b/lib/lsg_web/templates/irc/txts.html.eex
deleted file mode 100644
index aff0c5d..0000000
--- a/lib/lsg_web/templates/irc/txts.html.eex
+++ /dev/null
@@ -1,49 +0,0 @@
-<div>
- <h2 class="text-gray-500 text-xs font-medium uppercase tracking-wide">
- <strong><%= @lines %></strong> lignes dans <strong><%= @files %></strong> fichiers
- <a href="#help" class="ml-4 font-bold">Aide</a>
- <a href="#system" class="text-gray-300 ml-4">Fichiers système</a>
- </h2>
- <ul class="mt-3 grid grid-cols-1 gap-5 sm:gap-6 sm:grid-cols-4 lg:grid-cols-6">
- <%= for {txt, data} <- @data do %>
- <% base_url = cond do
- @conn.assigns[:chan] -> "/#{@conn.assigns.network}/#{NolaWeb.format_chan(@conn.assigns.chan)}"
- true -> "/-"
- end %>
- <li class="col-span-1 flex shadow-sm rounded-m">
- <div class="flex-1 flex items-center justify-between border-l border-t border-r border-b border-gray-200 bg-white rounded-md truncate">
- <div class="flex-1 px-4 py-2 text-sm leading-5 truncate">
- <a href="<%= base_url %>/txt/<%= txt %>" class="text-gray-900 text-lg font-medium hover:text-gray-600 transition ease-in-out duration-150"><%= txt %></a>
- <p class="text-gray-500"><%= Enum.count(data) %> lignes</p>
- </div>
- </div>
- </li>
- <% end %>
- </ul>
-</div>
-
-<div class="prose mt-12" id="help""><%= NolaWeb.LayoutView.liquid_markdown(@conn, @doc) %></div>
-
-<div class="mt-24">
- <h2 class="text-gray-500 text-xs font-medium uppercase tracking-wide">
- Fichiers système
- </h2>
-
- <ul class="mt-3 grid grid-cols-1 gap-5 sm:gap-6 sm:grid-cols-4 lg:grid-cols-6">
- <%= for {txt, data} <- @system do %>
- <% base_url = cond do
- @conn.assigns[:chan] -> "/#{@conn.assigns.network}/#{NolaWeb.format_chan(@conn.assigns.chan)}"
- true -> "/-"
- end %>
- <li class="col-span-1 flex shadow-sm rounded-m">
- <div class="flex-1 flex items-center justify-between border-l border-t border-r border-b border-gray-200 bg-white rounded-md truncate">
- <div class="flex-1 px-4 py-2 text-sm leading-5 truncate">
- <a href="<%= base_url %>/txt/<%= txt %>" class="text-gray-900 text-lg font-medium hover:text-gray-600 transition ease-in-out duration-150"><%= txt %></a>
- <p class="text-gray-500"><%= Enum.count(data) %> lignes</p>
- </div>
- </div>
- </li>
- <% end %>
- </ul>
-
-</div>