PageRenderTime 29ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/src/htmlContent/main-view.html

https://gitlab.com/0072016/0072016-Facebook-K-V-..
HTML | 218 lines | 158 code | 13 blank | 47 comment | 0 complexity | 3e94c85a9b14eb290fd653ba520f379d MD5 | raw file
  1. <!--
  2. Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
  3. Permission is hereby granted, free of charge, to any person obtaining a
  4. copy of this software and associated documentation files (the "Software"),
  5. to deal in the Software without restriction, including without limitation
  6. the rights to use, copy, modify, merge, publish, distribute, sublicense,
  7. and/or sell copies of the Software, and to permit persons to whom the
  8. Software is furnished to do so, subject to the following conditions:
  9. The above copyright notice and this permission notice shall be included in
  10. all copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  12. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  13. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  14. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  15. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  16. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  17. DEALINGS IN THE SOFTWARE.
  18. -->
  19. <!--
  20. HTML template for the body tag of index.html. It is rendered dynamically in
  21. brackets.js with Mustache and localized with the i18n RequireJS plugin.
  22. LOCALIZATION NOTE:
  23. All display text for this file must use templating so the text can be localized.
  24. English text goes in src/nls/root/strings.js. All other translations go in the strings.js file for
  25. the specific local in the nls folder. If a translation is missing for a specific key English
  26. is used as a fallback
  27. Strings should be referenced using the double brackets syntax.
  28. Example: {{keyname}}. Note, all strings are HTML escaped unless the form
  29. {{&keyname}} is used.
  30. -->
  31. <!-- Main UI -->
  32. <div class="main-view">
  33. <div id="sidebar-resizer"></div>
  34. <div id="sidebar" class="sidebar quiet-scrollbars">
  35. <!-- Left-hand 'Project panel' -->
  36. <div id="projects" class="panel">
  37. <div id="project-header"></div>
  38. <div id="file-section">
  39. <div id="open-files-container">
  40. <!-- This will contain a dynamically generated <ul> at runtime -->
  41. <ul>
  42. </ul>
  43. </div>
  44. <div id="project-files-header" class="project-file-header-area">
  45. <span id="project-title" class="title"></span>
  46. </div>
  47. <div id="project-files-container">
  48. <!-- This will contain a dynamically generated <ul> hierarchy at runtime -->
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. <!-- Right-hand content: toolbar, editor, bottom panels -->
  54. <div class="content">
  55. <!-- Toolbar containing menus, filename, and icons -->
  56. <div id="main-toolbar" class="toolbar">
  57. <!-- Menu bar -->
  58. <ul class="nav" data-dropdown="dropdown">
  59. </ul>
  60. <!-- Toolbar -->
  61. <div class="buttons">
  62. <span id="update-notification" title="{{UPDATE_NOTIFICATION_TOOLTIP}}"></span>
  63. <span class="experimental-label">{{EXPERIMENTAL_BUILD}}</span>
  64. <a href="#" id="toolbar-go-live"></a> <!-- tooltip for this is set in JS -->
  65. <span id="gold-star" title="No JSLint errors - good job!">
  66. &#9733;
  67. </span>
  68. </div>
  69. <!-- Filename label -->
  70. <div class="title-wrapper">
  71. <span class="title"></span>&nbsp;<span class='dirty-dot' style="visibility:hidden;"></span>
  72. </div>
  73. </div>
  74. <div id="editor-holder">
  75. <div id="not-editor">
  76. <div id="not-editor-content">[&nbsp;&nbsp;]</div>
  77. </div>
  78. </div>
  79. <div id="jslint-results" class="bottom-panel">
  80. <div class="toolbar simple-toolbar-layout">
  81. <div class="title">{{JSLINT_ERRORS}}</div>
  82. </div>
  83. <div class="table-container"></div>
  84. </div>
  85. <div id="search-results" class="bottom-panel">
  86. <div class="toolbar simple-toolbar-layout">
  87. <div class="title">{{SEARCH_RESULTS}}</div>
  88. <div class="title" id="search-result-summary"></div>
  89. <a href="#" class="close">&times;</a>
  90. </div>
  91. <div class="table-container"></div>
  92. </div>
  93. </div>
  94. </div>
  95. <!-- Modal Windows -->
  96. <div class="error-dialog template modal hide">
  97. <div class="modal-header">
  98. <a href="#" class="close">&times;</a>
  99. <h1 class="dialog-title">Error</h1>
  100. </div>
  101. <div class="modal-body">
  102. <p class="dialog-message">Message goes here</p>
  103. </div>
  104. <div class="modal-footer">
  105. <a href="#" class="dialog-button btn primary" data-button-id="ok">{{OK}}</a>
  106. </div>
  107. </div>
  108. <div class="save-close-dialog template modal hide">
  109. <div class="modal-header">
  110. <a href="#" class="close">&times;</a>
  111. <h1 class="dialog-title">{{SAVE_CHANGES}}</h1>
  112. </div>
  113. <div class="modal-body">
  114. <p class="dialog-message">Message goes here</p>
  115. </div>
  116. <div class="modal-footer">
  117. <a href="#" class="dialog-button btn left" data-button-id="dontsave">{{DONT_SAVE}}</a>
  118. <a href="#" class="dialog-button btn primary" data-button-id="ok">{{SAVE}}</a>
  119. <a href="#" class="dialog-button btn" data-button-id="cancel">{{CANCEL}}</a>
  120. </div>
  121. </div>
  122. <div class="ext-changed-dialog template modal hide">
  123. <div class="modal-header">
  124. <h1 class="dialog-title">Title goes here</h1>
  125. </div>
  126. <div class="modal-body">
  127. <p class="dialog-message">Message goes here</p>
  128. </div>
  129. <div class="modal-footer">
  130. <a href="#" class="dialog-button btn left" data-button-id="dontsave">{{RELOAD_FROM_DISK}}</a>
  131. <a href="#" class="dialog-button btn primary" data-button-id="cancel">{{KEEP_CHANGES_IN_EDITOR}}</a>
  132. </div>
  133. </div>
  134. <div class="ext-deleted-dialog template modal hide">
  135. <div class="modal-header">
  136. <h1 class="dialog-title">Title goes here</h1>
  137. </div>
  138. <div class="modal-body">
  139. <p class="dialog-message">Message goes here</p>
  140. </div>
  141. <div class="modal-footer">
  142. <a href="#" class="dialog-button btn left" data-button-id="dontsave">{{CLOSE_DONT_SAVE}}</a>
  143. <a href="#" class="dialog-button btn primary" data-button-id="cancel">{{KEEP_CHANGES_IN_EDITOR}}</a>
  144. </div>
  145. </div>
  146. <div class="live-development-error-dialog template modal hide">
  147. <div class="modal-header">
  148. <h1 class="dialog-title">Title goes here</h1>
  149. </div>
  150. <div class="modal-body">
  151. <p class="dialog-message">Message goes here</p>
  152. </div>
  153. <div class="modal-footer">
  154. <a href="#" class="dialog-button btn left" data-button-id="cancel">{{CANCEL}}</a>
  155. <a href="#" class="dialog-button btn primary" data-button-id="ok">{{RELAUNCH_CHROME}}</a>
  156. </div>
  157. </div>
  158. <div class="about-dialog template modal hide">
  159. <div class="modal-header">
  160. <h1 class="dialog-title">{{ABOUT}}</h1>
  161. </div>
  162. <div class="modal-body">
  163. <img class="about-icon" src="styles/images/brackets_icon.svg">
  164. <div class="about-text">
  165. <h2>{{APP_NAME}}</h2>
  166. <p class="dialog-message">{{ABOUT_TEXT_LINE1}} <span id="about-build-number"><!-- populated programmatically --></span></p>
  167. <p class="dialog-message"><!-- $NON-NLS$ -->Copyright 2012 Adobe Systems Incorporated and its licensors. All rights reserved.</p>
  168. <p class="dialog-message">{{{ABOUT_TEXT_LINE3}}}</p>
  169. <p class="dialog-message">{{{ABOUT_TEXT_LINE4}}}</p>
  170. </div>
  171. </div>
  172. <div class="modal-footer">
  173. <a href="#" class="dialog-button btn primary" data-button-id="ok">{{CLOSE}}</a>
  174. </div>
  175. </div>
  176. <div class="update-dialog template modal hide">
  177. <div class="modal-header">
  178. <h1 class="dialog-title">{{UPDATE_AVAILABLE_TITLE}}</h1>
  179. </div>
  180. <div class="modal-body">
  181. <img class="update-icon" src="styles/images/update_large_icon.svg">
  182. <div class="update-text">
  183. <p class="dialog-message">{{UPDATE_MESSAGE}}</p>
  184. <div class="update-info">
  185. </div>
  186. </div>
  187. </div>
  188. <div class="modal-footer">
  189. <a href="#" class="dialog-button btn left" data-button-id="cancel">{{CANCEL}}</a>
  190. <a href="#" class="dialog-button btn primary" data-button-id="download">{{GET_IT_NOW}}</a>
  191. </div>
  192. </div>
  193. <div id="context-menu-bar">
  194. <ul data-dropdown="dropdown"></ul>
  195. </div>
  196. <div id="codehint-menu-bar">
  197. <ul data-dropdown="dropdown"></ul>
  198. </div>