button to force screen reset
This commit is contained in:
@@ -41,6 +41,8 @@ pg('help', 'cfg page-help', 'help', '/help');
|
||||
pg('about', 'cfg page-about', 'about', '/about');
|
||||
pg('term', 'term', '', '/', 'title.term');
|
||||
|
||||
pg('reset_screen', 'api', '', '/system/cls', 'title.term');
|
||||
|
||||
// ajax API
|
||||
|
||||
return $pages;
|
||||
|
||||
@@ -40,6 +40,7 @@ return [
|
||||
|
||||
'term.example' => 'Default colors preview',
|
||||
|
||||
'term.reset_screen' => 'Reset screen & parser',
|
||||
'term.term_title' => 'Header text',
|
||||
'term.term_width' => 'Width / height',
|
||||
'term.default_fg_bg' => 'Text / background',
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
<div class="Box">
|
||||
<a href="<?= e(url('reset_screen')) ?>"><?= tr('term.reset_screen') ?></a>
|
||||
</div>
|
||||
|
||||
<form class="Box mobopen str" action="<?= e(url('term_set')) ?>" method="GET" id='form-1'>
|
||||
<h2><?= tr('term.defaults') ?></h2>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user