blob: a8544b3abc9a59466fae1e023428b843b70387af (
plain) (
tree)
|
|
<div class="hidden sm:block">
<nav class="flex flex-wrap content-center">
<% list = for {identifier, _} <- @commands do %>
<% name = String.replace(identifier, "_", " ") %>
<%= link(name, to: "##{identifier}", class: "px-3 py-2 font-medium text-sm 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 %>
<% 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 space-y-6">
<%= 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>
source: <a href="https://git.yt/115ans/sys">git.yt/115ans/sys</a>
</small>
</p>
|