mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
small UI tweaks #368
This commit is contained in:
parent
b98958e6ac
commit
90df5b84ac
3 changed files with 32 additions and 22 deletions
|
@ -1809,6 +1809,9 @@ form h5 {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -11px;
|
top: -11px;
|
||||||
}
|
}
|
||||||
|
.coolfieldset legend.tweak-top {
|
||||||
|
top: -18px;
|
||||||
|
}
|
||||||
|
|
||||||
.coolfieldset legend, .coolfieldset.expanded legend {
|
.coolfieldset legend, .coolfieldset.expanded legend {
|
||||||
background: whitesmoke url(/static/images/expanded.gif) no-repeat center left;
|
background: whitesmoke url(/static/images/expanded.gif) no-repeat center left;
|
||||||
|
|
|
@ -1500,6 +1500,10 @@ form {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -11px;
|
top: -11px;
|
||||||
|
|
||||||
|
&.tweak-top {
|
||||||
|
top: -18px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.coolfieldset legend, .coolfieldset.expanded legend{
|
.coolfieldset legend, .coolfieldset.expanded legend{
|
||||||
|
|
|
@ -37,29 +37,32 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<div class="row">
|
<fieldset class="coolfieldset border mt-4 p-2 pb-3 mb-4">
|
||||||
<div class="column">
|
<legend class="tweak-top">Bulk community import</legend>
|
||||||
<h4>{{ _('Remote Server Scan') }}</h4>
|
<div class="row">
|
||||||
<p>Use this to scan a remote lemmy server and "pre-load" it's communities, as ranked by posts and activity. NSFW communities and communities from banned instances are excluded. Communities with less than 100 posts and less than 500 active users in the past week are excluded.</p>
|
<div class="column">
|
||||||
<p>Input should be in the form of <b>https://server-name.tld</b></p>
|
<h4>{{ _('Remote server scan') }}</h4>
|
||||||
{% if current_app_debug %}
|
<p>{{ _('Use this to scan a remote lemmy server and "pre-load" it\'s communities, as ranked by posts and activity. NSFW communities and communities from banned instances are excluded.') }}</p>
|
||||||
<p>*** This instance is in development mode. This function could cause timeouts depending on how your networking is setup. ***</p>
|
<p>{{ _('Input should be in the form of <strong>https://server-name.tld</strong>') }}</p>
|
||||||
{% endif %}
|
{% if current_app_debug %}
|
||||||
{{ render_form(remote_scan_form) }}
|
<p>*** This instance is in development mode. This function could cause timeouts depending on how your networking is setup. ***</p>
|
||||||
</div>
|
{% endif %}
|
||||||
</div>
|
{{ render_form(remote_scan_form) }}
|
||||||
<hr />
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h4>{{ _('Load From Lemmyverse Data') }}</h4>
|
<h4>{{ _('Load communities from Lemmyverse data') }}</h4>
|
||||||
<p>Use this to "pre-load" known threadiverse communities, as ranked by posts and activity. The list of communities pulls from the same list as <a href="https://lemmyverse.net/communities">LemmyVerse</a>. NSFW communities and communities from banned instances are excluded. Communities with less than 100 posts and less than 500 active users in the past week are excluded.</p>
|
<p>{{ _('Use this to "pre-load" known threadiverse communities, as ranked by posts and activity. The list of communities pulls from the same list as <a href="https://lemmyverse.net/communities">LemmyVerse</a>. NSFW communities and communities from banned instances are excluded. Communities with less than 100 posts and less than 500 active users in the past week are excluded.') }}</p>
|
||||||
{% if current_app_debug %}
|
{% if current_app_debug %}
|
||||||
<p>*** This instance is in development mode. This function could cause timeouts depending on how your networking is setup. ***</p>
|
<p>*** This instance is in development mode. This function could cause timeouts depending on how your networking is setup. ***</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ render_form(preload_form) }}
|
{{ render_form(preload_form) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</fieldset>
|
||||||
<hr />
|
<hr />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
|
Loading…
Add table
Reference in a new issue