Improve markup
This commit is contained in:
parent
6d20ac9a1c
commit
eec4533fea
@ -32,11 +32,11 @@
|
|||||||
@apply pt-0;
|
@apply pt-0;
|
||||||
}
|
}
|
||||||
|
|
||||||
main p {
|
main p:not(:last-child) {
|
||||||
@apply mb-4 leading-6;
|
@apply mb-4 leading-6;
|
||||||
}
|
}
|
||||||
|
|
||||||
main ul {
|
main ul:not(:last-child) {
|
||||||
@apply mb-6;
|
@apply mb-6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,14 +22,14 @@
|
|||||||
<%= f.text_area :reserved_usernames,
|
<%= f.text_area :reserved_usernames,
|
||||||
value: Setting.reserved_usernames.join("\n"),
|
value: Setting.reserved_usernames.join("\n"),
|
||||||
class: "h-44 mb-2" %>
|
class: "h-44 mb-2" %>
|
||||||
<p class="mb-0 text-sm text-gray-500">
|
<p class="text-sm text-gray-500">
|
||||||
One username per line
|
One username per line
|
||||||
</p>
|
</p>
|
||||||
</label>
|
</label>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<p class="mb-0 pt-6 border-t border-gray-200">
|
<p class="pt-6 border-t border-gray-200">
|
||||||
<%= f.submit 'Save', class: "btn-md btn-blue w-full md:w-auto" %>
|
<%= f.submit 'Save', class: "btn-md btn-blue w-full md:w-auto" %>
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
<li class="flex items-center justify-between py-6">
|
<li class="flex items-center justify-between py-6">
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<label class="font-bold mb-1">Enable LNDHub integration</label>
|
<label class="font-bold mb-1">Enable LNDHub integration</label>
|
||||||
<p class="text-gray-500 mb-0">LNDHub configuration present and wallet features enabled</p>
|
<p class="text-gray-500">LNDHub configuration present and wallet features enabled</p>
|
||||||
</div>
|
</div>
|
||||||
<%= f.check_box :lndhub_enabled, checked: Setting.lndhub_enabled?,
|
<%= f.check_box :lndhub_enabled, checked: Setting.lndhub_enabled?,
|
||||||
disabled: true,
|
disabled: true,
|
||||||
@ -27,7 +27,7 @@
|
|||||||
<li class="flex items-center justify-between py-6">
|
<li class="flex items-center justify-between py-6">
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<label class="font-bold mb-1">Enable LNDHub admin panel</label>
|
<label class="font-bold mb-1">Enable LNDHub admin panel</label>
|
||||||
<p class="text-gray-500 mb-0">LNDHub database configuration present and admin panel enabled</p>
|
<p class="text-gray-500">LNDHub database configuration present and admin panel enabled</p>
|
||||||
</div>
|
</div>
|
||||||
<%= f.check_box :lndhub_admin_enabled, checked: Setting.lndhub_admin_enabled?,
|
<%= f.check_box :lndhub_admin_enabled, checked: Setting.lndhub_admin_enabled?,
|
||||||
disabled: true,
|
disabled: true,
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
<th class="align-top">Invited users</th>
|
<th class="align-top">Invited users</th>
|
||||||
<td class="align-top">
|
<td class="align-top">
|
||||||
<% if @user.invitees.length > 0 %>
|
<% if @user.invitees.length > 0 %>
|
||||||
<ul class="mb-0">
|
<ul>
|
||||||
<% @user.invitees.order(cn: :asc).each do |invitee| %>
|
<% @user.invitees.order(cn: :asc).each do |invitee| %>
|
||||||
<li class="leading-none mb-2 last:mb-0"><%= link_to invitee.address, admin_user_path(invitee.address), class: 'ks-text-link' %></li>
|
<li class="leading-none mb-2 last:mb-0"><%= link_to invitee.address, admin_user_path(invitee.address), class: 'ks-text-link' %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user