|
|
@@ -94,42 +94,45 @@
|
|
|
<p class="well">{{ t("markdown_setting.presentation_setting_desc") }}</p>
|
|
|
|
|
|
<fieldset class="form-group row my-2">
|
|
|
- {% set nameForPageBreakOption = "markdownSetting[markdown:presentation:pageBreakSeparator]" %}
|
|
|
- {% set pageBreakSeparator = markdownSetting['markdown:presentation:pageBreakSeparator'] %}
|
|
|
+ {% set nameForPageBreakOption = "markdownSetting[markdown:presentation:pageBreakSeparator]" %}
|
|
|
+ {% set pageBreakSeparator = markdownSetting['markdown:presentation:pageBreakSeparator'] %}
|
|
|
|
|
|
<label class="col-xs-3 control-label">
|
|
|
{{ t('markdown_setting.Page break setting') }}
|
|
|
</label>
|
|
|
|
|
|
<div class="col-xs-3 radio radio-primary">
|
|
|
- <input type="radio" id="option1" name="{{nameForPageBreakOption}}" value="1" {% if pageBreakSeparator === 1 %}checked{% endif %}>
|
|
|
- <label for="option1">
|
|
|
- <p class="font-weight-bold">{{ t('markdown_setting.Preset one separator') }}</p>
|
|
|
- <div class="m-t-15">
|
|
|
- {{ t('markdown_setting.Preset one separator desc') }}
|
|
|
- </div>
|
|
|
- </label>
|
|
|
+ <input type="radio" id="option1" name="{{nameForPageBreakOption}}" value="1" {% if pageBreakSeparator === 1 %}checked{% endif %}>
|
|
|
+ <label for="option1">
|
|
|
+ <p class="font-weight-bold">{{ t('markdown_setting.Preset one separator') }}</p>
|
|
|
+ <p class="mt-3">
|
|
|
+ {{ t('markdown_setting.Preset one separator desc') }}
|
|
|
+ <pre><code>{{ t('markdown_setting.Preset one separator value') }}</code></pre>
|
|
|
+ </p>
|
|
|
+ </label>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-xs-3 radio radio-primary">
|
|
|
- <input type="radio" id="option2" name="{{nameForPageBreakOption}}" value="2" {% if pageBreakSeparator === 2 %}checked{% endif %}>
|
|
|
- <label for="option2">
|
|
|
- <p class="font-weight-bold">{{ t('markdown_setting.Preset two separator') }}</p>
|
|
|
- <div class="m-t-15">
|
|
|
- {{ t('markdown_setting.Preset two separator desc') }}
|
|
|
- <input class="form-control" type="text" name="presetTwoSeparator" value="{{ t('markdown_setting.Preset two separator value') }}" readonly>
|
|
|
- </div>
|
|
|
- </label>
|
|
|
+ <input type="radio" id="option2" name="{{nameForPageBreakOption}}" value="2" {% if pageBreakSeparator === 2 %}checked{% endif %}>
|
|
|
+ <label for="option2">
|
|
|
+ <p class="font-weight-bold">{{ t('markdown_setting.Preset two separator') }}</p>
|
|
|
+ <p class="mt-3">
|
|
|
+ {{ t('markdown_setting.Preset two separator desc') }}
|
|
|
+ <pre><code>{{ t('markdown_setting.Preset two separator value') }}</code></pre>
|
|
|
+ </p>
|
|
|
+ </label>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-xs-3 radio radio-primary">
|
|
|
<input type="radio" id="option3" name="{{nameForPageBreakOption}}" value="3" {% if pageBreakSeparator === 3 %}checked{% endif %}>
|
|
|
<label for="option3">
|
|
|
<p class="font-weight-bold">{{ t('markdown_setting.Custom separator') }}</p>
|
|
|
- <div class="m-t-15">
|
|
|
- {{ t('markdown_setting.Custom separator desc') }}
|
|
|
- <input class="form-control" type="text" name="markdownSetting[markdown:presentation:pageBreakCustomSeparator]" value="{{markdownSetting['markdown:presentation:pageBreakCustomSeparator']|default('') }}">
|
|
|
- </div>
|
|
|
+ <p class="mt-3">
|
|
|
+ {{ t('markdown_setting.Custom separator desc') }}
|
|
|
+ <div>
|
|
|
+ <input class="form-control" name="markdownSetting[markdown:presentation:pageBreakCustomSeparator]" value="{{markdownSetting['markdown:presentation:pageBreakCustomSeparator']|default('') }}">
|
|
|
+ </div>
|
|
|
+ </p>
|
|
|
</label>
|
|
|
</div>
|
|
|
|