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

Unified Diff: chrome/browser/resources/offline_pages/offline_internals.html

Issue 2003883002: [Offline pages] Create offline internals page for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix minor spelling mishaps Created 4 years, 7 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
Index: chrome/browser/resources/offline_pages/offline_internals.html
diff --git a/chrome/browser/resources/offline_pages/offline_internals.html b/chrome/browser/resources/offline_pages/offline_internals.html
new file mode 100644
index 0000000000000000000000000000000000000000..e689d31b0a464cc2614401558bd6b7f6d868f733
--- /dev/null
+++ b/chrome/browser/resources/offline_pages/offline_internals.html
@@ -0,0 +1,57 @@
+<!doctype html>
+<html i18n-values="dir:textdirection;lang:language">
Dan Beam 2016/05/31 22:00:59 when is lang not "en" or dir not "ltr"?
chili 2016/06/02 02:38:53 copy/pasted from another file :/
+ <head>
+ <meta charset="utf-8">
+ <title>Offline Internals</title>
+<if expr="is_android">
Dan Beam 2016/05/31 22:00:59 when is this false?
chili 2016/06/02 02:38:53 Done.
+ <meta name="viewport" content="width=device-width">
+</if>
+ <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
+ <link rel="stylesheet" href="offline_internals.css">
Dan Beam 2016/05/31 22:00:59 note: some of these files may be inlined in your c
chili 2016/06/02 02:38:53 Acknowledged. I think for now I want them in sepa
+
+ <script src="chrome://resources/js/cr.js"></script>
+ <script src="chrome://resources/js/load_time_data.js"></script>
+ <script src="chrome://resources/js/cr/ui.js"></script>
+ <script src="chrome://resources/js/util.js"></script>
+ <script src="strings.js"></script>
+ <script src="offline_internals.js"></script>
+ </head>
+ <body>
+ <h1>Offline Internals</h1>
+ <div>
+ <div id="current-status"></div>
+ <button id="refresh">Refresh page</button>
+ </div>
+
+ <h2>Stored Pages</h2>
+ <div>
+ <button id="clear-all">Clear all</button>
+ <button id="clear-selected">Clear selected</button>
+ </div>
+ <table class="stored-pages-table">
+ <thead>
+ <tr>
+ <th>&nbsp;</th>
+ <th>URL</th>
+ <th>Namespace</th>
+ <th>Size</th>
+ </tr>
+ </thead>
+ <tbody id="stored-pages">
+ </tbody>
+ </table>
+
+ <h2>Request Queue</h2>
+ <table class="request-queue-table">
+ <thead>
+ <tr>
+ <th>URL</th>
+ <th>Created Timestamp</th>
+ <th>Status</th>
+ </tr>
+ </thead>
+ <tbody id="request-queue">
+ </tbody>
+ </table>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698