diff options
| author | Niklas Olmes <niklas@olmes.de> | 2026-04-24 19:30:00 +0200 |
|---|---|---|
| committer | Niklas Olmes <niklas@olmes.de> | 2026-04-24 19:30:00 +0200 |
| commit | cdea8caa5617f0cb77bcbc9803759abd2df50644 (patch) | |
| tree | 2f7f1bd3af3b2396baf5403ad1a7ad00bcb7fae9 /autotable_fontsettings.php | |
Diffstat (limited to 'autotable_fontsettings.php')
| -rw-r--r-- | autotable_fontsettings.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/autotable_fontsettings.php b/autotable_fontsettings.php new file mode 100644 index 0000000..006b7d8 --- /dev/null +++ b/autotable_fontsettings.php @@ -0,0 +1,41 @@ +<?php +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ +?> +<span class="autotable_fontheight"> + <i style="font-size: 8pt;" class="fas fa-font"></i><i class="fas fa-font"></i> + <select onchange="$('#<?=$id?>_wrapper').css('font-size', $(this).val()); $(window).resize();"> + <option value=""></option> + <option value="8pt">8pt</option> + <option value="9pt">9pt</option> + <option value="10pt">10pt</option> + <option value="11pt">11pt</option> + <option value="12pt">12pt</option> + <option value="13pt">13pt</option> + <option value="14pt">14pt</option> + <option value="16pt">16pt</option> + <option value="18pt">18pt</option> + </select> +</span> + +<span class="autotable_changefont"> + <i class="fas fa-font"></i> + <select onchange="$('#<?=$id?>_wrapper').css('font-family', $(this).val()); $(window).resize();"> + <option value=""></option> + <option style="font-family: Consolas !important" value="Consolas">Consolas</option> + <option style="font-family: 'Lucida Console' !important" value="Lucida Console">Lucida Console</option> + <option style="font-family: 'Lucida Sans' !important" value="Lucida Sans">Lucida Sans</option> + <option style="font-family: 'Courier New' !important" value="Courier New">Courier New</option> + <option style="font-family: 'Arial Narrow' !important" value="Arial Narrow">Arial Narrow</option> + <option style="font-family: Arial !important" value="Arial">Arial</option> + </select> +</span> |
