| <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 accept=".json"> |
| <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 info</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>Active Field Trial Groups</th> |
| <td> |
| <span jsselect="constants.activeFieldTrialGroups" jscontent="$this + ' '"></span> |
| </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> |