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
|
<div class="hidden sm:block">
<nav class="flex flex-wrap space-x-4">
<%= link("live", to: LSGWeb.Router.Helpers.live_path(LSGWeb.Endpoint, LSGWeb.ChatLive, @network, LSGWeb.format_chan(@chan)), class: "py-4 font-medium leading-5 rounded-md text-gray-500 hover:text-gray-700 focus:outline-none focus:text-indigo-600 focus:bg-indigo-50", 'data-turbo': false) %>
<% list = for {identifier, _} <- @commands do %>
<% name = String.replace(identifier, "_", " ") %>
<%= link(name, to: "##{identifier}", class: "py-4 font-medium leading-5 rounded-md text-gray-500 hover:text-gray-700 focus:outline-none focus:text-indigo-600 focus:bg-indigo-50") %>
<% end %>
<%= list %>
</nav>
</div>
<%= if @members != [] do %>
<ul class="flex flew-wrap space-x-4 mt-12">
<%= for user <- @members do %><li><%= user.nick %></li><% end %>
</ul>
<% end %>
<div class="irchelps space-y-6 mt-12">
<%= for {identifier, help} <- @commands do %>
<%= if help do %>
<div class="bg-white border-b border-gray-200" id="<%= identifier %>">
<div class="prose w-auto max-w-full"><%= LSGWeb.LayoutView.liquid_markdown(@conn, help) %></div>
</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>
running beautte version <%= LSG.version() %> — <a href="<%= LSG.source_url() %>">git</a>
</small>
</p>
|