Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2808)

Unified Diff: chrome/browser/resources/apps_debugger/main.html

Issue 12693022: Added separate tabs for apps / extensions in dev_tools app. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: . Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/apps_debugger/js/main_scripts.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/apps_debugger/main.html
diff --git a/chrome/browser/resources/apps_debugger/main.html b/chrome/browser/resources/apps_debugger/main.html
index 7a6d8ac5b52945315f21f53f348e4b42508b0974..c648014466f2e50079269a8965330d0c1d3368a3 100644
--- a/chrome/browser/resources/apps_debugger/main.html
+++ b/chrome/browser/resources/apps_debugger/main.html
@@ -5,7 +5,6 @@
Copyright (c) 2012 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-
-->
<head>
<meta charset="utf-8">
@@ -13,6 +12,7 @@ found in the LICENSE file.
<link rel="stylesheet" href="../../../../ui/webui/resources/css/chrome_shared.css">
<link rel="stylesheet" href="css/pack_item_overlay.css">
<link rel="stylesheet" href="../../../../ui/webui/resources/css/alert_overlay.css">
+ <link rel="stylesheet" href="../../../../ui/webui/resources/css/tabs.css">
<link rel="stylesheet" href="../../../../ui/webui/resources/css/overlay.css">
<link rel="stylesheet" href="../../../../ui/webui/resources/css/trash.css">
<link rel="stylesheet" href="../uber/uber_shared.css">
@@ -24,27 +24,46 @@ found in the LICENSE file.
<include src="pack_item_overlay.html">
<include src="../../../../ui/webui/resources/html/alert_overlay.html">
</div>
- <hr>
<div class="page" id="extension-settings">
+ <hr>
<h1 i18n-content="appsDevtoolTitle"></h1>
- <div id="developer-controls">
- <hr>
- <button id="load-unpacked"
- i18n-content="appsDevtoolLoadUnpackedButton"></button>
- <button id="pack-item"
- i18n-content="appsDevtoolPackButton"></button>
- <button id = "update-items-now"
- i18n-content="appsDevtoolUpdateButton"></button>
- <input id="search" type="text"
- i18n-values=".placeholder:appsDevtoolSearch" spellcheck="false">
- <hr>
- </div>
- <div id="items"></div>
- <div id="extension-settings-list" class="empty-extension-list"></div>
- <div id="no-extensions">
- <span id="no-extensions-message"
- i18n-content="appsDevtoolNoItems"></span>
- </div>
+ <tabbox id="tab-box">
+ <tabs id="tabs">
+ <tab i18n-content="appsDevtoolApps"></tab>
+ <tab i18n-content="appsDevtoolExtensions"></tab>
+ </tabs>
+ <div id="developer-controls">
+ <button id="load-unpacked"
+ i18n-content="appsDevtoolLoadUnpackedButton"></button>
+ <button id="pack-item"
+ i18n-content="appsDevtoolPackButton"></button>
+ <button id= "update-items-now"
+ i18n-content="appsDevtoolUpdateButton"></button>
+ <input id="search" type="text"
+ i18n-values=".placeholder:appsDevtoolSearch" spellcheck="false">
+ <hr>
+ </div>
+ <tabpanels id="tab-panels">
+ <!-- Apps Tab -->
+ <tabpanel id="apps-tab">
+ <div id="app-settings-list" class="empty-extension-list">
+ </div>
+ <div id="no-apps">
+ <span id="no-apps-message"
+ i18n-content="appsDevtoolNoApps"></span>
+ </div>
+ </tabpanel>
+ <!-- Extensions Tab -->
+ <tabpanel id="extensions-tab">
+ <div id="extension-settings-list" class="empty-extension-list">
+ </div>
+ <div id="no-extensions">
+ <span id="no-extensions-message"
+ i18n-content="appsDevtoolNoExtensions"></span>
+ </div>
+ </tabpanel>
+ </tabpanels>
+ </tabbox>
</div>
<div id="template-collection" hidden>
<div class="extension-list-item-wrapper">
« no previous file with comments | « chrome/browser/resources/apps_debugger/js/main_scripts.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698