83416cd0bf
Tells the menu component to use the same keyboard handler as the keys.js for the purpose of showing menu hints. Cleans up rebinding code significantly. Fixes #350
62 lines
No EOL
1.8 KiB
HTML
62 lines
No EOL
1.8 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Caret</title>
|
|
<meta charset="UTF-8">
|
|
<link rel="stylesheet" type="text/css" href="css/caret.css" id="theme" charset="UTF-8">
|
|
</head>
|
|
<body>
|
|
|
|
<div class="titlebar">
|
|
<b class="app-name">Caret</b>
|
|
<ul class="toolbar"></ul>
|
|
<div class="window-controls">
|
|
<a command="app:minimize" title="Minimize">-</a>
|
|
<a command="app:maximize" title="Maximize">+</a>
|
|
<a class="close" command="app:exit" title="Close">~</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="central">
|
|
|
|
<div class="project">
|
|
<div class="tree"></div>
|
|
<div class="load-ui">
|
|
<span class="i18n">loading</span>
|
|
<div class="progress"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="editing">
|
|
<div class="tabs"></div>
|
|
<div id="editor"></div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="bottom-bar">
|
|
<div class="status-text"></div>
|
|
<div class="mode-theme">
|
|
<select class="syntax" command="session:syntax" tabindex=-1 title="Select syntax"></select>
|
|
<select class="theme" command="editor:theme" tabindex=-1 title="Select editor theme"></select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="command-line">
|
|
<input type="text" placeholder="caret:command arguments">
|
|
<a command="app:hide-prompt" class="close" title="Hide prompt">×</a>
|
|
</div>
|
|
|
|
<div class="palette enter">
|
|
<div class="main">
|
|
<h1 class="mode"></h1>
|
|
<input class="request"></input>
|
|
</div>
|
|
<ul class="results"></ul>
|
|
</div>
|
|
|
|
<script src="js/ace/ace.js"></script>
|
|
<script data-main="./js/main.js" src="require.js"></script>
|
|
|
|
</body>
|
|
</html> |