summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/sync_internals/about.html
blob: 31725a936bbf3817c6ba1c21fbcc9c8df63dd1d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73

<div id="status">
  <div id="dump">
    <button id="dump-status">Dump status</button>
    <input type="checkbox" id="include-ids">
      Include Identifiers
    </input>
  </div>
  <div id="import">
    <button id="import-status">Import status</button>
  </div>
  <div id="status-data">
    <textarea rows="10" cols="30" id="status-text"></textarea>
  </div>
</div>

<div id='about-info'>
  <div class="section" jsselect="details">
    <h2 jscontent="title"></h2>
    <table class="about-details">
      <tr jsselect="data"
            jsvalues="class:$this.is_valid ? '' : 'uninitialized'"
            jseval='chrome.sync.about_tab.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>
    </table>
  </div>

  <div id="traffic-event-container-wrapper" jsskip="true">
    <h2>Sync Protocol Log</h2>
    <div id="traffic-event-container">
      <div class="traffic-event-entry"
           jsselect="events"
           jseval="chrome.sync.about_tab.addExpandListener(this)">
        <span class="time" jscontent="(new Date(time)).toLocaleString()"></span>
        <span class="type" jscontent="type"></span>
        <pre class="details" jscontent="details"></pre>
        <pre class="proto" jscontent="JSON.stringify(proto, null, 2)"></pre>
      </div>
    </div>
  </div>

  <div class="section" style="overflow-x: auto">
    <h2>Type Info</h2>
    <table id="typeInfo">
      <tr jsselect="type_status" jsvalues="class:$this.status">
        <td jscontent="name" width=50%></td>
        <td jscontent="value" width=30%></td>
        <td jscontent="num_entries" width=10%></td>
        <td jscontent="num_live" width=10%></td>
      </tr>
    </table>
  </div>

  <div class="section" jsdisplay="unrecoverable_error_detected">
    <p>
      <span class="err" jscontent="unrecoverable_error_message"></span>
    </p>
  </div>

  <div class="section" jsdisplay="actionable_error_detected">
    <p>
      <h2>Actionable Error</h2>
      <table id="actionableError">
        <tr jsselect="actionable_error">
          <td jscontent="stat_name"></td>
          <td jscontent="stat_value"></td>
        </tr>
      </table>
    </p>
  </div>
</div>