blob: f127101ffe6bef32b07f670c66c98c89129011ec (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
<style type="text/css">
h1 small {
font-size: 14px;
}
</style>
<h1><%= Keyword.get(Application.get_env(:lsg, :irc), :name, "ircbot") %></h1>
<!--<p>
Serveur IRC: <a href="irc://irc.quakenet.org/lsg">irc.quakenet.org #lsg</a>.
Matrix: <a href="https://matrix.random.sh/riot/#rooms/#lsg:random.sh">#lsg:random.sh</a>.
<br />
<a href="https://115ans.net/irc/">Webchat</a>.
<br />
<a href="/irc/stats/">Statistiques</a>.
</del>
</p>-->
<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}") #raw("<a href='##{identifier}'>#{name}</a>") %>
<% end %>
<small><%= Enum.intersperse(list, " - ") %></small>
</p>
<div class="irchelps">
<%= for {identifier, help} <- @commands do %>
<%= if help do %>
<div class="help-entry" id="<%= identifier %>"><%= help |> Earmark.as_html! |> raw() %></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>
|