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

Unified Diff: chrome/browser/resources/chromeos/network_ui/network_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/network_ui/network_ui.html
diff --git a/chrome/browser/resources/chromeos/network_ui/network_ui.html b/chrome/browser/resources/chromeos/network_ui/network_ui.html
index 699978dc0c05879a761b995a3804d3465a4c07f9..232a33459cecfca5ec670e29764c32b1d43d1b77 100644
--- a/chrome/browser/resources/chromeos/network_ui/network_ui.html
+++ b/chrome/browser/resources/chromeos/network_ui/network_ui.html
@@ -11,34 +11,21 @@
<script src="chrome://network/network_ui.js"></script>
</head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
- <p i18n-content="autoRefreshText"></p>
- <h3>Event Log (Newest first):</h3>
- <div id="log-level-container">
- <button id="log-refresh" i18n-content="logRefreshText"></button>
- <label i18n-content="logLevelShowText"></label>
- <input id="log-error" type="checkbox">
- <label for="log-error" i18n-content="logLevelErrorText"></label>
- <input id="log-user" type="checkbox">
- <label for="log-user" i18n-content="logLevelUserText"></label>
- <input id="log-event" type="checkbox">
- <label for="log-event" i18n-content="logLevelEventText"></label>
- <input id="log-debug" type="checkbox">
- <label for="log-debug" i18n-content="logLevelDebugText"></label>
- <input id="log-fileinfo" type="checkbox">
- <label for="log-fileinfo" i18n-content="logLevelFileinfoText"></label>
- <input id="log-timedetail" type="checkbox">
- <label for="log-timedetail" i18n-content="logLevelTimeDetailText"></label>
- </div>
- <div id="network-log-container">
- </div>
- <div id="advanced-options">
- <span>Click '+' to get network properties of type: </span>
- <select id="get-network-type">
- <option id="normal" selected>ONC</option>
- <option id="managed">Managed ONC</option>
- <option id="shill">Shill</option>
- </select>
+ <div id="header">
+ <p i18n-content="autoRefreshText"></p>
+ <span i18n-content="deviceLogLinkText"></span>
+ <a href="chrome://device-log">chrome://device-log</a>
+ <div id="advanced-options">
+ <span>Click '+' to get network properties of type: </span>
xiyuan 2014/12/11 04:36:09 nit: localize the text here and other places? This
stevenjb 2014/12/11 19:57:52 A long time ago this was all C++ code with no loca
+ <select id="get-network-type">
+ <option id="normal" selected>ONC</option>
+ <option id="managed">Managed ONC</option>
+ <option id="shill">Shill</option>
+ </select>
+ </div>
+ <p><button id="refresh" i18n-content="networkRefreshText"></button></p>
</div>
+
<h3>Visible Networks: </h3>
<table id="network-state-table" class="state-table">
<tr class="state-table-header">
@@ -58,6 +45,7 @@
<td>Strength</td>
</tr>
</table>
+
<h3>Favorites: </h3>
<table id="favorite-state-table" class="state-table">
<tr class="state-table-header">
@@ -71,6 +59,7 @@
<td>ONC Source</td>
</tr>
</table>
+
<script src="chrome://resources/js/i18n_template2.js"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698