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

Unified Diff: components/offline_pages/resources/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: Resolve cl comments 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: components/offline_pages/resources/offline_internals.html
diff --git a/components/offline_pages/resources/offline_internals.html b/components/offline_pages/resources/offline_internals.html
new file mode 100644
index 0000000000000000000000000000000000000000..b117fbb55569db3fbebd9478ff226c589a2c1a6b
--- /dev/null
+++ b/components/offline_pages/resources/offline_internals.html
@@ -0,0 +1,57 @@
+<!doctype html>
+<html i18n-values="dir:textdirection;lang:language">
+ <head>
+ <meta charset="utf-8">
+ <title>Offline Internals</title>
+ <if expr="is_android">
+ <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">
+
+ <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