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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<style type="text/css">
.help-entry h1 {
font-size: 18px;
}
.help-entry h2 {
font-size: 16px;
}
</style>
<p>
<% list = for {identifier, _} <- @commands do %>
<% name = String.replace(identifier, "_", " ") %>
<%= link(name, to: "##{identifier}") %>
<% end %>
<small><%= Enum.intersperse(list, " - ") %></small>
</p>
<%= if @members != [] do %>
<% users = for {_acc, user, nick} <- @members, do: if(user, do: nick, else: content_tag(:i, nick)) %>
<%= for u <- Enum.intersperse(users, ", ") do %>
<%= u %>
<% end %>
<% end %>
<div class="irchelps">
<%= for {identifier, help} <- @commands do %>
<%= if help do %>
<div class="help-entry" id="<%= identifier %>"><%= LSGWeb.LayoutView.liquid_markdown(@conn, help) %></div>
<% end %>
<% end %>
</div>
<br/><br/><br/>
<p>
<small>
<strong>Légende:</strong><br />
entre <code>< ></code>: argument obligatoire,<br />
entre <code>[ ]</code>: argument optionel; <code>[1 | ]</code>: argument optionel avec valeur par défaut.
</small>
</p>
<br/><br/><br/>
<p>
<small>
source: <a href="https://git.yt/115ans/sys">git.yt/115ans/sys</a>
</small>
</p>
|