| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title i18n-content="title"></title> | 5 <title i18n-content="title"></title> |
| 6 <script> | 6 <script> |
| 7 /** | 7 /** |
| 8 * This variable structure is here to document the structure that the template | 8 * This variable structure is here to document the structure that the template |
| 9 * expects to correctly populate the page. | 9 * expects to correctly populate the page. |
| 10 */ | 10 */ |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 } | 62 } |
| 63 ], | 63 ], |
| 64 "views": [ | 64 "views": [ |
| 65 { | 65 { |
| 66 "path": "foo/bar/toolstrip.html", | 66 "path": "foo/bar/toolstrip.html", |
| 67 "renderViewId": 3, | 67 "renderViewId": 3, |
| 68 "renderProcessId": 1 | 68 "renderProcessId": 1 |
| 69 } | 69 } |
| 70 ] | 70 ] |
| 71 } | 71 } |
| 72 ], | |
| 73 "errors": [ | |
| 74 "something failed to happen", | |
| 75 "something else failed to happen" | |
| 76 ] | 72 ] |
| 77 }; | 73 }; |
| 78 | 74 |
| 79 /** | 75 /** |
| 80 * Takes the |extensionsData| input argument which represents data about the | 76 * Takes the |extensionsData| input argument which represents data about the |
| 81 * currently installed/running extensions and populates the html jstemplate with | 77 * currently installed/running extensions and populates the html jstemplate with |
| 82 * that data. It expects an object structure like the above. | 78 * that data. It expects an object structure like the above. |
| 83 * @param {Object} extensionsData Detailed info about installed extensions | 79 * @param {Object} extensionsData Detailed info about installed extensions |
| 84 */ | 80 */ |
| 85 function showExtensionsData(extensionsData) { | 81 function showExtensionsData(extensionsData) { |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 font-style:italic; | 235 font-style:italic; |
| 240 } | 236 } |
| 241 </style> | 237 </style> |
| 242 </head> | 238 </head> |
| 243 <body onload="requestExtensionsData();"> | 239 <body onload="requestExtensionsData();"> |
| 244 <div id="body-container" style="display:none;"> | 240 <div id="body-container" style="display:none;"> |
| 245 <div id="outside"> | 241 <div id="outside"> |
| 246 <div id="installed-extensions">Installed Extensions</div> | 242 <div id="installed-extensions">Installed Extensions</div> |
| 247 <div id="extensionTemplate"> | 243 <div id="extensionTemplate"> |
| 248 | 244 |
| 249 <div id="error-box" jsdisplay="errors.length > 0"> | |
| 250 <div id="error-log">Errors</div> | |
| 251 <div class="error" jsselect="errors" jscontent="$this"> | |
| 252 Error Detail</div> | |
| 253 </div> | |
| 254 | |
| 255 <div class="extension-name" jsdisplay="extensions.length === 0"> | 245 <div class="extension-name" jsdisplay="extensions.length === 0"> |
| 256 No Extensions Installed</div> | 246 No Extensions Installed</div> |
| 257 | 247 |
| 258 <div jsdisplay="extensions.length > 0"> | 248 <div jsdisplay="extensions.length > 0"> |
| 259 <div class="extension" jsselect="extensions"> | 249 <div class="extension" jsselect="extensions"> |
| 260 <div class="extension-name" jscontent="name">Extension Name</div> | 250 <div class="extension-name" jscontent="name">Extension Name</div> |
| 261 <div class="extension-actions"> | 251 <div class="extension-actions"> |
| 262 <button | 252 <button |
| 263 jsvalues=".extensionId:id" | 253 jsvalues=".extensionId:id" |
| 264 onclick="handleReloadExtension(this)" | 254 onclick="handleReloadExtension(this)" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 <!-- TODO(aa): Debug link --> | 312 <!-- TODO(aa): Debug link --> |
| 323 </tr> | 313 </tr> |
| 324 </tbody> | 314 </tbody> |
| 325 </table> | 315 </table> |
| 326 </div> | 316 </div> |
| 327 </div> | 317 </div> |
| 328 </div> | 318 </div> |
| 329 </div> | 319 </div> |
| 330 </body> | 320 </body> |
| 331 </html> | 321 </html> |
| OLD | NEW |