summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/history/history.html
blob: 2bcc1c457452acbb37e6483864ec1e0878057616 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE HTML>
<html i18n-values="dir:textdirection;">
<head>
<meta charset="utf-8">
<if expr="is_android or is_ios">
<meta name="viewport" content="width=device-width, initial-scale=1.0,
                               maximum-scale=1.0, user-scalable=no">
</if>
<title i18n-content="title"></title>
<link rel="stylesheet" href="chrome://resources/css/butter_bar.css">
<link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
<link rel="stylesheet" href="chrome://resources/css/menu.css">
<link rel="stylesheet" href="chrome://resources/css/menu_button.css">
<if expr="not is_android and not is_ios">
<link rel="stylesheet" href="alert_overlay.css">
<link rel="stylesheet" href="chrome://resources/css/overlay.css">
</if>
<link rel="stylesheet" href="chrome://resources/css/spinner.css">
<if expr="not is_android and not is_ios">
<link rel="stylesheet" href="../uber/uber_shared.css">
</if>
<link rel="stylesheet" href="history.css">
<if expr="is_android or is_ios">
<link rel="stylesheet" href="history_mobile.css">
</if>
<if expr="not is_android and not is_ios">
<link rel="stylesheet" href="other_devices.css">
</if>

<script src="chrome://resources/js/assert.js"></script>
<script src="chrome://resources/js/event_tracker.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/cr/ui.js"></script>
<script src="chrome://resources/js/cr/ui/command.js"></script>
<script src="chrome://resources/js/cr/ui/focus_manager.js"></script>
<script src="chrome://resources/js/cr/ui/focus_row.js"></script>
<script src="chrome://resources/js/cr/ui/focus_grid.js"></script>
<script src="chrome://resources/js/cr/ui/menu_item.js"></script>
<script src="chrome://resources/js/cr/ui/menu.js"></script>
<if expr="not is_android and not is_ios">
<script src="chrome://resources/js/cr/ui/alert_overlay.js"></script>
<script src="chrome://resources/js/cr/ui/overlay.js"></script>
</if>
<script src="chrome://resources/js/cr/ui/position_util.js"></script>
<script src="chrome://resources/js/cr/ui/menu_button.js"></script>
<script src="chrome://resources/js/cr/ui/context_menu_button.js"></script>
<script src="chrome://resources/js/cr/event_target.js"></script>
<script src="chrome://resources/js/cr/ui/context_menu_handler.js"></script>

<script src="chrome://resources/js/load_time_data.js"></script>
<script src="chrome://resources/js/util.js"></script>

<script src="chrome://history-frame/history.js"></script>
<if expr="not is_android">
<script src="chrome://history-frame/other_devices.js"></script>
</if>

</head>

<if expr="not is_android and not is_ios">
<body class="uber-frame"
    i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
</if>
<if expr="is_android or is_ios">
<body i18n-values=".style.fontFamily:fontfamily">
</if>

<if expr="not is_android and not is_ios">
<div id="overlay" class="overlay" hidden>
  <include src="alert_overlay.html">
</div>
</if>

<div id="history-page" class="page">
  <div id="scrolling-container">
    <header>
      <h1 i18n-content="history"></h1>
      <div id="search-form" class="search-field-container">
        <input type="search" id="search-field" required>
        <input type="submit" id="search-button" i18n-values="value:searchButton">
      </div>
      <div id="filter-controls" hidden>
        <button id="range-today" i18n-content="rangeToday" disabled></button>
        <button id="range-previous" i18n-values="alt:rangePrevious" disabled>
        </button>
        <button id="range-next" i18n-values="alt:rangeNext" disabled>
        </button>
        <div id="display-filter-controls">
          <div class="display-filter-button">
            <label for="timeframe-filter-all">
              <input id="timeframe-filter-all" type="radio"
                  name="timeframe-filter" value="0" checked>
              <span i18n-content="rangeAllTime" class="first-button-component">
              </span>
            </label>
          </div>
          <div class="display-filter-button">
            <label for="timeframe-filter-week">
              <input id="timeframe-filter-week" type="radio"
                  name="timeframe-filter" value="1">
              <span i18n-content="rangeWeek"></span>
            </label>
          </div>
          <div class="display-filter-button">
            <label for="timeframe-filter-month">
              <input id="timeframe-filter-month" type="radio"
                  name="timeframe-filter" value="2">
              <span i18n-content="rangeMonth" class="last-button-component">
              </span>
            </label>
          </div>
        </div>
      </div>
    </header>
<if expr="not is_android">
    <div id="other-devices" class="other-devices"></div>
</if>
    <div id="top-container">
      <div id="editing-controls">
        <button id="clear-browsing-data" i18n-content="clearAllHistory"></button>
        <button id="remove-selected" disabled="disabled"
            i18n-content="removeSelected"></button>
      </div>
      <div id="notification-bar" hidden></div>
    </div>

    <div id="results-display"></div>
    <div id="loading-spinner" hidden>
      <span id="loading">
        <div id="spinner" class="inline-spinner"></div>
        <span i18n-content="loading"></span>
      </span>
    </div>
    <div id="results-pagination">
      <button id="newest-button" class="link-button" i18n-content="newest"
          hidden>
      </button>
      <button id="newer-button" class="link-button" i18n-content="newer" hidden>
      </button>
      <button id="older-button" class="link-button" i18n-content="older" hidden>
      </button>
    </div>
  </div>
</div>

<menu id="action-menu" hidden>
  <button id="more-from-site" i18n-content="moreFromSite"></button>
  <button id="remove-visit" i18n-content="removeFromHistory"></button>
</menu>

<script src="chrome://history-frame/strings.js"></script>
<script src="chrome://resources/js/i18n_template2.js"></script>
</body>
</html>