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

Unified Diff: chrome/browser/resources/sync_internals/about.html

Issue 10696107: sync: Track validity of about:sync fields (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 8 years, 5 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/sync_internals/about.html
diff --git a/chrome/browser/resources/sync_internals/about.html b/chrome/browser/resources/sync_internals/about.html
index 3afb2cf22d2090cc3384b37224581c8f0c4c68f9..2d9e558979275965af1301843311e11550331226 100644
--- a/chrome/browser/resources/sync_internals/about.html
+++ b/chrome/browser/resources/sync_internals/about.html
@@ -70,13 +70,20 @@ table.aboutDetails tr[highlighted]:nth-child(odd) {
-webkit-animation-duration: 3s;
-webkit-animation-timing-function: linear;
}
+
+table.aboutDetails tr.uninitialized {
+ color: #7f7f7f;
+}
+
</style>
<div id='aboutInfo'>
<div class="section" jsselect="details">
<h2 jscontent="title"></h2>
<table class="aboutDetails">
- <tr jsselect="data" jseval='highlightIfChanged(this, this.children[1].innerText, stat_value)'>
+ <tr jsselect="data"
+ jsvalues="class:$this.is_valid ? '' : 'uninitialized'"
+ jseval='highlightIfChanged(this, this.children[1].innerText, stat_value)'>
<td class="detail" jscontent="stat_name" width=50%></td>
<td class="value" jscontent="stat_value" width=50%></td>
</tr>
@@ -87,8 +94,8 @@ table.aboutDetails tr[highlighted]:nth-child(odd) {
<h2>Type Info</h2>
<table id="typeInfo">
<tr jsselect="type_status" jsvalues="class:$this.status">
- <td jscontent="name"/>
- <td jscontent="value"/>
+ <td jscontent="name" width=50% />
+ <td jscontent="value" width=50% />
</tr>
</table>
</div>
@@ -100,8 +107,8 @@ table.aboutDetails tr[highlighted]:nth-child(odd) {
</div>
<div class="section" jsdisplay="actionable_error_detected">
- <p jsdisplay="actionable_error_detected">
- <h2 jsdisplay="actionable_error_detected">Actionable Error</h2>
+ <p>
+ <h2>Actionable Error</h2>
<table id="actionableError">
<tr jsselect="actionable_error">
<td jscontent="stat_name"/>
« no previous file with comments | « chrome/browser/performance_monitor/performance_monitor_browsertest.cc ('k') | chrome/browser/sync/about_sync_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698