mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 12:06:22 +05:30
TOC styling
Create default TOC style with options to use the theme css
This commit is contained in:
parent
45dc7901fb
commit
a8e3c0e670
13 changed files with 113 additions and 375 deletions
|
|
@ -85,6 +85,25 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">TOC styling</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="col-sm-10">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="-config-toc.style" id="toc.style1" value="default" <?php if (config('toc.style') === 'default'):?>checked<?php endif;?>>
|
||||
<label class="form-check-label" for="toc.style1">
|
||||
Default
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="-config-toc.style" id="toc.style2" value="theme" <?php if (config('toc.style') === 'theme'):?>checked<?php endif;?>>
|
||||
<label class="form-check-label" for="toc.style2">
|
||||
Theme
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<h4><?php echo i18n('Comments');?></h4>
|
||||
<hr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue