Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / browser / resources / appcache / appcache_internals.html
blob688c4c3e7854f219a3b886705a3c5d467716dbaf
1 <!--
2 Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 -->
6 <!DOCTYPE html>
7 <html i18n-values="dir:textdirection;lang:language">
8 <head>
9 <meta charset="utf-8">
10 <title>AppCache</title>
11 <link rel="stylesheet" href="chrome://resources/css/tabs.css">
12 <link rel="stylesheet" href="chrome://resources/css/widgets.css">
13 <link rel="stylesheet" href="appcache_internals.css">
14 </head>
15 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
16 <!-- templates -->
17 <div style="display:none">
18 <div id="appcache-list-template"
19 jsvalues=".partitionPath:$this.partition_path">
20 <div class="appcache-summary">
21 <span jsdisplay="$this.partition_path">
22 <span>Instances in: </span>
23 <span jscontent="$this.partition_path"></span>
24 </span>
25 <span jsdisplay="!$this.partition_path">
26 <span>Instances: Incognito </span>
27 </span>
28 <span jscontent="'(' + $this.appcache_vector.length + ')'">
29 </span>
30 </div>
31 <div class="appcache-item" jsselect="$this.appcache_vector">
32 <a class="appcache-url" jscontent="originURL"
33 jsvalues="href:originURL"
34 target="_blank"></a>
35 <div jsselect="manifests">
36 <div class="appcache-info-item" jsvalues="$manifestURL:manifestURL;
37 $groupId:groupId;">
38 <div class="appcache-manifest">
39 <span> Manifest: </span>
40 <a class="appcache-info-url" jscontent="manifestURL"
41 jsvalues="href:manifestURL;"
42 target="_blank"></a>
43 </div>
44 <div class="appcache-size">
45 <span> Size: </span>
46 <span jscontent="size"></span>
47 </div>
48 <div class="appcache-dates">
49 <ul>
50 <li>
51 <span> Creation Time: </span>
52 <span jscontent="new Date(creationTime)"></span>
53 </li>
54 <li>
55 <span> Last Access Time: </span>
56 <span jscontent="new Date(lastAccessTime)"></span>
57 </li>
58 <li>
59 <span> Last Update Time: </span>
60 <span jscontent="new Date(lastUpdateTime)"></span>
61 </li>
62 </ul>
63 </div>
64 <div class="appcache-manifest-commands"
65 jsvalues=".manifestURL:$manifestURL;.groupId:$groupId">
66 <table>
67 <tr>
68 <td>
69 <a href="#" class="remove-manifest"> Remove Item </a>
70 </td>
71 <td>
72 <a href="#" class="view-details"> View Details </a>
73 </td>
74 </tr>
75 </table>
76 </div>
77 <div class="appcache-details"
78 jsvalues=".manifestURL:$manifestURL;.groupId:$groupId;">
79 </div>
80 </div>
81 </div>
82 </div>
83 </div>
85 <div id="appcache-info-template" jsselect="$this.items">
86 <span>
87 <a href="#" class="appcache-info-template-file-url"
88 jscontent="fileUrl" jsvalues=".responseId:responseId">
89 </a>
90 </span>
91 <span jscontent="size"></span>
92 <span jscontent="properties"></span>
93 </div>
94 </div>
95 <h1>Application Cache</h1>
96 <div class="content">
97 <div id="appcache-list">
98 </div>
99 <script src="chrome://resources/js/util.js"></script>
100 <script src="chrome://resources/js/cr.js"></script>
101 <script src="appcache_internals.js"></script>
102 <script src="chrome://resources/js/load_time_data.js"></script>
103 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
104 <script src="strings.js"></script>
105 <script src="chrome://resources/js/i18n_template.js"></script>
106 </body>
107 </html>