summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/net_internals/import_view.html
blob: 91ab9fe55db3b9b8012cc1676df08babeb398e0d (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
74
75
<style>
#import-view-command-line,
#import-view-user-comments {
  /* Wrap long lines inside of PREs */
  white-space: pre-wrap;
}

#import-view-load-status-text {
  /* Wrap long lines inside of PREs */
  white-space: pre-wrap;
}

.import-view-pending-log {
  color: blue;
  font-weight: bold;
}

.import-view-success-log {
  color: green;
  font-weight: bold;
}

.import-view-error-log {
  color: #e00;
  padding: 5px;
  border: 1px solid #e00;
}

.import-view-warning-log {
  color: #e00;
}

</style>

<div id=import-view-tab-content class=content-box>
  <div>
    <div style='margin-bottom:20px'><b>TIP</b>: Drag-and-drop files into this window.</div>
    <input type=file value="Load log from file" id=import-view-load-log-file></input>
    <pre id=import-view-load-status-text></pre>
  </div>

  <div id=import-view-loaded-div style="display: none">
    <h2>Data Loaded</h2>
    <table class=styled-table>
    <tr>
      <th>Export date</th>
      <td jscontent="timeutil.dateToString(new Date(constants.clientInfo.numericDate))"></td>
    </tr>
    <tr>
      <th>Build</th>
      <td><span jscontent="constants.clientInfo.name"></span>
        <span jscontent="constants.clientInfo.version"></span>
        (<span jscontent="constants.clientInfo.official"></span>
          <span jscontent="constants.clientInfo.cl"></span>)
        <span jscontent="constants.clientInfo.version_mod">
      </td>
    </tr>
    <tr>
      <th>OS type</th>
      <td jscontent="constants.clientInfo.os_type"></td>
    </tr>
    <tr>
      <th>Command line</th>
      <td><pre jscontent="constants.clientInfo.command_line"></pre></td>
    </tr>
    <tr>
      <th>User comments</th>
      <td>
        <pre id=import-view-user-comments jscontent="userComments"
            jsdisplay="typeof userComments != 'undefined'"></pre>
      </td>
    </tr>
    </table>
  </div>
</div>