Slow Mode (#192): help button + fix field css
This commit is contained in:
parent
0fd94e7a44
commit
3a9c17fba8
@ -13,6 +13,7 @@
|
|||||||
<div class="col-12 col-lg-4 col-xl-3">
|
<div class="col-12 col-lg-4 col-xl-3">
|
||||||
<h2>{{defaultSlowModeLabel}}</h2>
|
<h2>{{defaultSlowModeLabel}}</h2>
|
||||||
<p>{{{defaultSlowModeDesc}}}</p>
|
<p>{{{defaultSlowModeDesc}}}</p>
|
||||||
|
{{{helpButtonSlowMode}}}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-8 col-xl-9">
|
<div class="col-12 col-lg-8 col-xl-9">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -20,6 +21,7 @@
|
|||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
name="slow_mode_default_duration"
|
name="slow_mode_default_duration"
|
||||||
|
class="form-control"
|
||||||
min="0"
|
min="0"
|
||||||
max="1000"
|
max="1000"
|
||||||
id="peertube-livechat-slow-mode-default-duration"
|
id="peertube-livechat-slow-mode-default-duration"
|
||||||
|
@ -58,6 +58,7 @@ async function fillViewHelpButtons (
|
|||||||
view.helpButtonForbiddenWords = await button('documentation/user/streamers/bot/forbidden_words')
|
view.helpButtonForbiddenWords = await button('documentation/user/streamers/bot/forbidden_words')
|
||||||
view.helpButtonQuotes = await button('documentation/user/streamers/bot/quotes')
|
view.helpButtonQuotes = await button('documentation/user/streamers/bot/quotes')
|
||||||
view.helpButtonCommands = await button('documentation/user/streamers/bot/commands')
|
view.helpButtonCommands = await button('documentation/user/streamers/bot/commands')
|
||||||
|
view.helpButtonSlowMode = await button('documentation/user/streamers/slow_mode')
|
||||||
}
|
}
|
||||||
|
|
||||||
async function fillLabels (
|
async function fillLabels (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user