1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-25 09:15:42 +03:00
inav-configurator/tabs/cli.html
M0j0Risin d67cd8cfa5 - Added a dedicated button for 'diff all'.
- Added a help icon with verbiage in messages.json and hyperlink to CLI.md in the Github docs.

- Changed button to clear the output history to read 'Clear Settings' to save a little room on the screen which helps a little when the window is narrowed, but also because I think that's better phrasing for most people.

- Added the ability to type the command 'clear' in addition to the already existing 'cls' to clear the output history.

- Cleaned up the casing on 'Exit' and 'Save Settings' buttons to be more consistent with the other buttons.
2022-12-27 18:37:30 -06:00

48 lines
No EOL
2 KiB
HTML

<div class="tab-cli">
<div class="content_wrapper">
<div class="note">
<div class="note_spacer">
<p i18n="cliInfo"></p>
</div>
</div>
<div class="backdrop">
<div class="window">
<div class="wrapper"></div>
</div>
</div>
<div style="display:flex;align-items:center;justify-content:center;">
<textarea name="commands" i18n_placeholder="cliInputPlaceholder" rows="1" cols="0"></textarea>
<a class="helpiconLink" style="margin-left:5px;margin-right:5px;" href="https://github.com/iNavFlight/inav/blob/master/docs/Cli.md" target="_blank">
<div class="helpicon cf_tip" style="float:none;" data-i18n_title="cliCommandsHelp"></div>
</a>
</div>
</div>
<div class="content_toolbar">
<div class="btn save_btn" style="float: left; padding-left: 15px">
<a class="msc" href="#" i18n="cliMscBtn"></a>
<a class="savecmd" href="#" i18n="cliSaveSettingsBtn"></a>
<a class="exit" href="#" i18n="cliExitBtn"></a>
</div>
<div class="btn save_btn pull-right">
<a class="save" href="#" i18n="cliSaveToFileBtn"></a>
<a class="load" href="#" i18n="cliLoadFromFileBtn"></a>
<a class="copy" href="#" i18n="cliCopyToClipboardBtn"></a>
<a class="clear" href="#" i18n="cliClearOutputHistoryBtn"></a>
<a class="diffall" href="#" i18n="cliDiffAllBtn"></a>
</div>
</div>
<!-- Snippet preview dialog -->
<div id="snippetpreviewcontent" style="display: none">
<div class="note">
<div class="note_spacer">
<p i18n="cliConfirmSnippetNote"></p>
</div>
</div>
<textarea id="preview" cols="120" rows="20"></textarea>
<div class="default_btn">
<a class="confirm" href="#" i18n="cliConfirmSnippetBtn"></a>
</div>
</div>
</div>