2020-06-28 06:56:01 +08: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 20:23:46 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            <div class="popup-header flex-container-row primary-background">
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-01 20:23:46 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <div class="popup-title">{{ trans('components.code_editor') }}</div>
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-21 00:11:34 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                <div component="dropdown" refs="code-editor@historyDropDown" class="flex-container-row">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    <button refs="dropdown@toggle">
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08: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-21 00:11:34 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <button class="popup-header-close" refs="popup@hide">@icon('close')</button>
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-01 20:23:46 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-21 06:12:07 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            <div class="code-editor-body-wrap flex-container-row flex-fill">
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <div class="code-editor-language-list flex-container-column flex-fill">
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-01 20:23:46 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    <label for="code-editor-language">{{ trans('components.code_language') }}</label>
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    <input refs="code-editor@languageInput" id="code-editor-language" type="text">
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-01 22:50:28 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                    <div class="lang-options">
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08: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-21 00:49:56 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								                        <button type="button" refs="code-editor@languageLink" data-lang="diff">Diff</button>
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <button type="button" refs="code-editor@languageLink" data-lang="Fortran">Fortran</button>
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-21 00:49:56 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <button type="button" refs="code-editor@languageLink" data-lang="F#">F#</button>
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <button type="button" refs="code-editor@languageLink" data-lang="Go">Go</button>
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-21 00:49:56 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <button type="button" refs="code-editor@languageLink" data-lang="Haskell">Haskell</button>
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08: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-21 00:49:56 +08: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 20:42:12 +08: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-21 00:49:56 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <button type="button" refs="code-editor@languageLink" data-lang="ocaml">OCaml</button>
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08: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-21 00:49:56 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <button type="button" refs="code-editor@languageLink" data-lang="rust">Rust</button>
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08: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-21 00:49:56 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                        <button type="button" refs="code-editor@languageLink" data-lang="typescript">TypeScript</button>
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08: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 22:50:28 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    </div>
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-01 20:23:46 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-21 00:11:34 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <div class="code-editor-main flex-fill">
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-28 06:56:01 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    <textarea refs="code-editor@editor"></textarea>
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-01 20:23:46 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-20 20:42:12 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            </div>
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-01 20:23:46 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-21 06:02:06 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            <div class="popup-footer">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <button refs="code-editor@saveButton" type="button" class="button">{{ trans('components.code_save') }}</button>
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-01 20:23:46 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </div>
							 | 
						
					
						
							
								
									
										
										
										
											2020-10-02 21:13:31 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								</div>
							 |