blob: 5971ffaed3f791b8f473a710506fdc397120c215 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<style type="text/css">
.help-entry h1 {
font-size: 18px;
}
.help-entry h2 {
font-size: 16px;
}
</style>
<p><strong><%= @lines %></strong> lignes dans <strong><%= @files %></strong> fichiers.
<a href="#help">Aide</a>.
</p>
<ul>
<%= for {txt, data} <- @data do %>
<% base_url = cond do
@conn.assigns[:chan] -> "/#{@conn.assigns.network}/#{LSGWeb.format_chan(@conn.assigns.chan)}"
true -> "/-"
end %>
<li><a href="<%= base_url %>/txt/<%= txt %>"><%= txt %></a> <i>(<%= Enum.count(data) %>)</i></li>
<% end %>
</ul>
<div class="help-entry" id="help"><%= LSGWeb.LayoutView.liquid_markdown(@conn, @doc) %></div>
|