UNPKG

11.7 kBHTMLView Raw
1<!--
2 Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
3
4 Permission is hereby granted, free of charge, to any person obtaining a
5 copy of this software and associated documentation files (the "Software"),
6 to deal in the Software without restriction, including without limitation
7 the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 and/or sell copies of the Software, and to permit persons to whom the
9 Software is furnished to do so, subject to the following conditions:
10
11 The above copyright notice and this permission notice shall be included in
12 all copies or substantial portions of the Software.
13
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 DEALINGS IN THE SOFTWARE.
21-->
22
23
24<!--
25 HTML template for the body tag of index.html. It is rendered dynamically in
26 brackets.js with Mustache and localized with the i18n RequireJS plugin.
27
28 LOCALIZATION NOTE:
29 All display text for this file must use templating so the text can be localized.
30
31 English text goes in src/nls/root/strings.js. All other translations go in the strings.js file for
32 the specific local in the nls folder. If a translation is missing for a specific key English
33 is used as a fallback
34
35 Strings should be referenced using the double brackets syntax.
36 Example: {{keyname}}. Note, all strings are HTML escaped unless the form
37 {{&keyname}} is used.
38
39-->
40
41<!-- Main UI -->
42 <div class="main-view">
43 <div id="sidebar" class="sidebar quiet-scrollbars horz-resizable right-resizer collapsible" data-minsize="0" data-forcemargin=".content">
44 <!-- Left-hand 'Project panel' -->
45 <div id="projects" class="panel">
46 <div id="project-header"></div>
47 <div id="file-section">
48 <div id="open-files-container">
49 <!-- This will contain a dynamically generated <ul> at runtime -->
50 <ul>
51 </ul>
52 </div>
53
54 <div id="project-files-header" class="project-file-header-area">
55 <span id="project-title" class="title"></span>
56 </div>
57 <div id="project-files-container">
58 <!-- This will contain a dynamically generated <ul> hierarchy at runtime -->
59 </div>
60 </div>
61 </div>
62 </div>
63
64 <!--
65 Right-hand content: vertical stack of toolbar, editor, bottom panels, status bar
66 (status bar is injected later - see StatusBar.init()).
67 Note: all children must be in a vertical stack with heights explicitly set in a fixed
68 unit such as px (not percent/em/auto). If you change the height later, you must
69 call EditorManager.resizeEditor() each time. Otherwise editor-holder's height will
70 not get set correctly.
71 -->
72 <div class="content">
73 <!-- Toolbar containing menus, filename, and icons -->
74 <div id="main-toolbar" class="toolbar">
75 <!-- Menu bar -->
76 <ul class="nav" data-dropdown="dropdown">
77 </ul>
78
79 <!-- Toolbar -->
80 <div class="buttons">
81 <span id="update-notification" title="{{UPDATE_NOTIFICATION_TOOLTIP}}"></span>
82
83 <span class="experimental-label">{{EXPERIMENTAL_BUILD}}</span>
84
85 <a href="#" id="toolbar-go-live"></a> <!-- tooltip for this is set in JS -->
86 </div>
87
88 <!-- Filename label -->
89 <div class="title-wrapper">
90 <span class="title"></span>&nbsp;<span class='dirty-dot' style="visibility:hidden;"></span>
91 </div>
92 </div>
93
94 <div id="editor-holder">
95 <div id="not-editor">
96 </div>
97 </div>
98
99 <div id="jslint-results" class="bottom-panel vert-resizable top-resizer">
100 <div class="toolbar simple-toolbar-layout">
101 <div class="title">{{JSLINT_ERRORS}}</div>
102 </div>
103 <div class="table-container resizable-content"></div>
104 </div>
105
106 <div id="search-results" class="bottom-panel vert-resizable top-resizer">
107 <div class="toolbar simple-toolbar-layout">
108 <div class="title">{{SEARCH_RESULTS}}</div>
109 <div class="title" id="search-result-summary"></div>
110 <a href="#" class="close">&times;</a>
111 </div>
112 <div class="table-container resizable-content"></div>
113 </div>
114
115 </div>
116
117 <!-- Hack to ensure that the code editor's web font is loaded early. -->
118 <!-- For more info, see note in brackets.less for class .dummy-text, or issue 76 -->
119 <div class="dummy-text">x</div>
120 </div>
121
122 <!-- Modal Windows -->
123 <div class="error-dialog template modal hide">
124 <div class="modal-header">
125 <a href="#" class="close">&times;</a>
126 <h1 class="dialog-title">Error</h1>
127 </div>
128 <div class="modal-body">
129 <p class="dialog-message">Message goes here</p>
130 </div>
131 <div class="modal-footer">
132 <a href="#" class="dialog-button btn primary" data-button-id="ok">{{OK}}</a>
133 </div>
134 </div>
135 <div class="save-close-dialog template modal hide">
136 <div class="modal-header">
137 <a href="#" class="close">&times;</a>
138 <h1 class="dialog-title">{{SAVE_CHANGES}}</h1>
139 </div>
140 <div class="modal-body">
141 <p class="dialog-message">Message goes here</p>
142 </div>
143 <div class="modal-footer">
144 <a href="#" class="dialog-button btn left" data-button-id="dontsave">{{DONT_SAVE}}</a>
145 <a href="#" class="dialog-button btn primary" data-button-id="ok">{{SAVE}}</a>
146 <a href="#" class="dialog-button btn" data-button-id="cancel">{{CANCEL}}</a>
147 </div>
148 </div>
149 <div class="ext-changed-dialog template modal hide">
150 <div class="modal-header">
151 <h1 class="dialog-title">Title goes here</h1>
152 </div>
153 <div class="modal-body">
154 <p class="dialog-message">Message goes here</p>
155 </div>
156 <div class="modal-footer">
157 <a href="#" class="dialog-button btn left" data-button-id="dontsave">{{RELOAD_FROM_DISK}}</a>
158 <a href="#" class="dialog-button btn primary" data-button-id="cancel">{{KEEP_CHANGES_IN_EDITOR}}</a>
159 </div>
160 </div>
161 <div class="ext-deleted-dialog template modal hide">
162 <div class="modal-header">
163 <h1 class="dialog-title">Title goes here</h1>
164 </div>
165 <div class="modal-body">
166 <p class="dialog-message">Message goes here</p>
167 </div>
168 <div class="modal-footer">
169 <a href="#" class="dialog-button btn left" data-button-id="dontsave">{{CLOSE_DONT_SAVE}}</a>
170 <a href="#" class="dialog-button btn primary" data-button-id="cancel">{{KEEP_CHANGES_IN_EDITOR}}</a>
171 </div>
172 </div>
173 <div class="live-development-error-dialog template modal hide">
174 <div class="modal-header">
175 <h1 class="dialog-title">Title goes here</h1>
176 </div>
177 <div class="modal-body">
178 <p class="dialog-message">Message goes here</p>
179 </div>
180 <div class="modal-footer">
181 <a href="#" class="dialog-button btn left" data-button-id="cancel">{{CANCEL}}</a>
182 <a href="#" class="dialog-button btn primary" data-button-id="ok">{{RELAUNCH_CHROME}}</a>
183 </div>
184 </div>
185 <div class="about-dialog template modal hide">
186 <div class="modal-header">
187 <h1 class="dialog-title">{{ABOUT}}</h1>
188 </div>
189 <div class="modal-body">
190 <img class="about-icon" src="{{ABOUT_ICON}}">
191 <div class="about-text">
192 <h2>{{APP_NAME_ABOUT_BOX}}</h2>
193 <p class="dialog-message">{{ABOUT_TEXT_LINE1}}<span id="about-build-number"><!-- populated programmatically --></span></p>
194 <p class="dialog-message"><!-- $NON-NLS$ -->Copyright 2012 Adobe Systems Incorporated and its licensors. All rights reserved.</p>
195 <p class="dialog-message">{{{ABOUT_TEXT_LINE3}}}</p>
196 <p class="dialog-message">{{{ABOUT_TEXT_LINE4}}}</p>
197 </div>
198 </div>
199 <div class="modal-footer">
200 <a href="#" class="dialog-button btn primary" data-button-id="ok">{{CLOSE}}</a>
201 </div>
202 </div>
203 <div class="update-dialog template modal hide">
204 <div class="modal-header">
205 <h1 class="dialog-title">{{UPDATE_AVAILABLE_TITLE}}</h1>
206 </div>
207 <div class="modal-body">
208 <img class="update-icon" src="styles/images/update_large_icon.svg">
209 <div class="update-text">
210 <p class="dialog-message">{{UPDATE_MESSAGE}}</p>
211 <div class="update-info">
212 </div>
213 </div>
214 </div>
215 <div class="modal-footer">
216 <a href="#" class="dialog-button btn left" data-button-id="cancel">{{CANCEL}}</a>
217 <a href="#" class="dialog-button btn primary" data-button-id="download">{{GET_IT_NOW}}</a>
218 </div>
219 </div>
220 <div class="project-settings-dialog template modal hide">
221 <div class="modal-header">
222 <h1 class="dialog-title"></h1>
223 </div>
224 <div class="modal-body">
225 <div class="settings-list">
226 <label>{{PROJECT_SETTING_BASE_URL}}: <input type="text" placeholder="{{PROJECT_SETTING_BASE_URL_HINT}}" class="base-url" /></label>
227 </div>
228 </div>
229 <div class="modal-footer">
230 <a href="#" class="dialog-button btn left" data-button-id="cancel">{{CANCEL}}</a>
231 <a href="#" class="dialog-button btn primary" data-button-id="ok">{{OK}}</a>
232 </div>
233 </div>
234 <div id="context-menu-bar">
235 <ul data-dropdown="dropdown"></ul>
236 </div>
237 <div id="codehint-menu-bar">
238 <ul data-dropdown="dropdown"></ul>
239 </div>
240 <!-- [node]: <<<<<< (We need confirmation dialog) -->
241 <!-- [node]: ====== -->
242 <div class="yes-no-dialog template modal hide">
243 <div class="modal-header">
244 <h1 class="dialog-title">Title goes here</h1>
245 </div>
246 <div class="modal-body">
247 <p class="dialog-message">Message goes here</p>
248 </div>
249 <div class="modal-footer">
250 <a href="#" class="dialog-button btn left" data-button-id="no">{{BUTTON_NO}}</a>
251 <a href="#" class="dialog-button btn primary" data-button-id="yes">{{BUTTON_YES}}</a>
252 </div>
253 </div>
254 <!-- [node]: >>>>>> -->
\No newline at end of file