2020-06-27 18:56:01 -04:00
|
|
|
<div>
|
|
|
|
<div components="popup code-editor" class="popup-background code-editor">
|
|
|
|
<div refs="code-editor@container" class="popup-body" tabindex="-1">
|
2017-07-01 08:23:46 -04:00
|
|
|
|
2022-06-20 08:42:12 -04:00
|
|
|
<div class="popup-header flex-container-row primary-background">
|
2017-07-01 08:23:46 -04:00
|
|
|
<div class="popup-title">{{ trans('components.code_editor') }}</div>
|
2022-06-20 12:11:34 -04:00
|
|
|
<div component="dropdown" refs="code-editor@historyDropDown" class="flex-container-row">
|
|
|
|
<button refs="dropdown@toggle">
|
2022-06-20 08:42:12 -04:00
|
|
|
<span>@icon('history')</span>
|
|
|
|
<span>{{ trans('components.code_session_history') }}</span>
|
|
|
|
</button>
|
|
|
|
<ul refs="dropdown@menu code-editor@historyList" class="dropdown-menu"></ul>
|
|
|
|
</div>
|
2022-06-20 12:11:34 -04:00
|
|
|
<button class="popup-header-close" refs="popup@hide">@icon('close')</button>
|
2017-07-01 08:23:46 -04:00
|
|
|
</div>
|
|
|
|
|
2022-06-20 12:11:34 -04:00
|
|
|
<div class="flex-container-row flex-fill">
|
2022-06-20 08:42:12 -04:00
|
|
|
<div class="code-editor-language-list flex-container-column flex-fill">
|
2017-07-01 08:23:46 -04:00
|
|
|
<label for="code-editor-language">{{ trans('components.code_language') }}</label>
|
2022-06-20 08:42:12 -04:00
|
|
|
<input refs="code-editor@languageInput" id="code-editor-language" type="text">
|
2017-07-01 10:50:28 -04:00
|
|
|
<div class="lang-options">
|
2022-06-20 08:42:12 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="CSS">CSS</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="C">C</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="C++">C++</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="C#">C#</button>
|
2022-06-20 12:49:56 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="diff">Diff</button>
|
2022-06-20 08:42:12 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Fortran">Fortran</button>
|
2022-06-20 12:49:56 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="F#">F#</button>
|
2022-06-20 08:42:12 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Go">Go</button>
|
2022-06-20 12:49:56 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Haskell">Haskell</button>
|
2022-06-20 08:42:12 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="HTML">HTML</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="INI">INI</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Java">Java</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="JavaScript">JavaScript</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="JSON">JSON</button>
|
2022-06-20 12:49:56 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Julia">Julia</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="kotlin">Kotlin</button>
|
2022-06-20 08:42:12 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="LaTeX">LaTeX</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Lua">Lua</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="MarkDown">MarkDown</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Nginx">Nginx</button>
|
2022-06-20 12:49:56 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="ocaml">OCaml</button>
|
2022-06-20 08:42:12 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="PASCAL">Pascal</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Perl">Perl</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="PHP">PHP</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Powershell">Powershell</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Python">Python</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="Ruby">Ruby</button>
|
2022-06-20 12:49:56 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="rust">Rust</button>
|
2022-06-20 08:42:12 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="shell">Shell/Bash</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="SQL">SQL</button>
|
2022-06-20 12:49:56 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="typescript">TypeScript</button>
|
2022-06-20 08:42:12 -04:00
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="VBScript">VBScript</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="VB.NET">VB.NET</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="XML">XML</button>
|
|
|
|
<button type="button" refs="code-editor@languageLink" data-lang="YAML">YAML</button>
|
2017-07-01 10:50:28 -04:00
|
|
|
</div>
|
2017-07-01 08:23:46 -04:00
|
|
|
</div>
|
|
|
|
|
2022-06-20 12:11:34 -04:00
|
|
|
<div class="code-editor-main flex-fill">
|
2020-06-27 18:56:01 -04:00
|
|
|
<textarea refs="code-editor@editor"></textarea>
|
2017-07-01 08:23:46 -04:00
|
|
|
</div>
|
|
|
|
|
2022-06-20 08:42:12 -04:00
|
|
|
</div>
|
2017-07-01 08:23:46 -04:00
|
|
|
|
2022-06-20 18:02:06 -04:00
|
|
|
<div class="popup-footer">
|
|
|
|
<button refs="code-editor@saveButton" type="button" class="button">{{ trans('components.code_save') }}</button>
|
2017-07-01 08:23:46 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-10-02 09:13:31 -04:00
|
|
|
</div>
|