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

Unified Diff: chrome/browser/resources/chromeos/device_log_ui/device_log_ui.html

Issue 793933003: Add chrome:://device-log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/chromeos/device_log_ui/device_log_ui.html
diff --git a/chrome/browser/resources/chromeos/device_log_ui/device_log_ui.html b/chrome/browser/resources/chromeos/device_log_ui/device_log_ui.html
new file mode 100644
index 0000000000000000000000000000000000000000..a827836e5517c3fd19f2ae9293969883504f19a2
--- /dev/null
+++ b/chrome/browser/resources/chromeos/device_log_ui/device_log_ui.html
@@ -0,0 +1,61 @@
+<!DOCTYPE HTML>
michaelpg 2014/12/11 01:41:44 nit: This is supposed to be case sensitive. But it
stevenjb 2014/12/11 19:57:51 It looks like we use a mixture of both in the UI,
+<html i18n-values="dir:textdirection;">
+<head>
+ <meta charset="utf-8">
+ <title id="device-log-title" i18n-content="titleText"></title>
+ <link rel="stylesheet" href="chrome://device-log/device_log_ui.css">
+ <script src="chrome://resources/js/load_time_data.js"></script>
+ <script src="chrome://resources/js/util.js"></script>
+ <script src="chrome://device-log/strings.js"></script>
+ <script src="chrome://device-log/device_log_ui.js"></script>
+</head>
+<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
+ <div id="header">
+ <p i18n-content="autoRefreshText"></p>
+ <h3>Event Log (Newest first):</h3>
michaelpg 2014/12/11 01:41:45 question: why is some text localized and some not?
stevenjb 2014/12/11 19:57:51 Historical reasons (this was mostly just moved fro
+ </div>
+ <div id="log-checkbox-container">
+ <button id="log-refresh" i18n-content="logRefreshText"></button>
+ <label id="log-checkbox-show" i18n-content="logLevelShowText"></label>
+
+ <label>
+ <input id="log-level-error" type="checkbox">
+ <span i18n-content="logLevelErrorText"></span>
+ </label>
+ <label>
+ <input id="log-level-user" type="checkbox">
+ <span i18n-content="logLevelUserText"></span>
+ </label>
+ <label>
+ <input id="log-level-event" type="checkbox">
+ <span i18n-content="logLevelEventText"></span>
+ </label>
+ <label>
+ <input id="log-level-debug" type="checkbox">
+ <span i18n-content="logLevelDebugText"></span>
+ </label>
+ <label>
+ <input id="log-type-login" type="checkbox">
+ <span i18n-content="logTypeLoginText"></span>
+ </label>
+ <label>
+ <input id="log-type-network" type="checkbox">
+ <span i18n-content="logTypeNetworkText"></span>
+ </label>
+ <label>
+ <input id="log-type-power" type="checkbox">
+ <span i18n-content="logTypePowerText"></span>
+ </label>
+ <label>
+ <input id="log-fileinfo" type="checkbox">
+ <span i18n-ontent="logLevelFileinfoText"></span>
michaelpg 2014/12/11 01:41:45 i18n-content
stevenjb 2014/12/11 19:57:51 Done.
+ </label>
+ <label>
+ <input id="log-timedetail" type="checkbox">
+ <span i18n-ontent="logLevelTimeDetailText"></span>
michaelpg 2014/12/11 01:41:44 i18n-content
stevenjb 2014/12/11 19:57:51 Done.
+ </label>
+ </div>
+ <div id="log-container"></div>
+ <script src="chrome://resources/js/i18n_template2.js"></script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698