-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewtab.html
221 lines (218 loc) · 13.6 KB
/
newtab.html
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>新标签页</title>
<link rel="stylesheet" href="layui/css/layui.css">
<link rel="stylesheet" href="./css/newtab.css">
<link rel="stylesheet" href="./css/dobetter.css">
</head>
<body>
<!-- <div id="bg" class="bg BGBLUR" style="background-image: url("https://wallpaper.infinitynewtab.com/wallpaper/2710.jpg");"></div> -->
<div class="layui-container" style="padding: 0 2vw;">
<div class="layui-row the-row" style="width: 96vw;">
<div class="layui-col-md3 layui-col-lg3 normal-tools">
<div class="week-plan-box" style="display: none;">
<div class="layui-tab layui-tab-brief" lay-filter="control" style="margin:0;">
<ul class="layui-tab-title">
<li class="layui-this">常用功能</li>
<li>其他功能</li>
</ul>
<div class="layui-tab-content" style="padding: 0;">
<div class="layui-tab-item layui-show">
<div class="layui-card">
<div class="layui-row">
<div class="layui-col-xs4">
<div class="layui-card-header tools-title v_time_q" style="cursor: pointer;">象限分布</div>
</div>
<div class="layui-col-xs4">
<div class="layui-card-header tools-title" id="v_todo_list" style="cursor: pointer;">TODO</div>
</div>
<div class="layui-col-xs4">
<div class="layui-card-header tools-title" id="save_this" style="cursor: pointer;">保存本周</div>
</div>
<div class="layui-col-xs4">
<div class="layui-card-header tools-title" id="control_alert" style="cursor: pointer;"><span id="alert_text"></span>通知</div>
</div>
<div class="layui-col-xs4 tools-box">
<div class="layui-card-header tools-title" id="view_list" style="cursor: pointer;">查看历史</div>
</div>
<div class="layui-col-xs4 tools-box">
<div class="layui-card-header tools-title" id="refresh" style="cursor: pointer;">重置所有</div>
</div>
</div>
</div>
</div>
<div class="layui-tab-item">
<div class="layui-card">
<div class="layui-row">
<div class="layui-col-xs6">
<div class="layui-card-header tools-title" id="done_all" style="cursor: pointer;">全部完成</div>
</div>
<div class="layui-col-xs6">
<div class="layui-card-header tools-title" id="open_all" style="cursor: pointer;">全部开启</div>
</div>
<div class="layui-col-xs6">
<div class="layui-card-header tools-title" id="loop_p" style="cursor: pointer;">周期计划</div>
</div>
<div class="layui-col-xs6">
<div class="layui-card-header tools-title" id="export" style="cursor: pointer;">导出计划</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="do-better-box" style="display: none;">
<div class="layui-row" style="background: #f2f2f2;">
<div class="layui-col-xs6 do-better-l-box">
<div class="do-better-l">
<div class="do-better-i-box">
<div class="do-better-i-box-1" style="background: #FF5722;"><i class="layui-icon layui-icon-fire do-better-i"></i></div>
<div>今日</div>
</div>
<div class="do-better-t-box">
<div class="do-better-t-1" style="border-bottom: 1px solid #2F4056;" id="t-1-1"></div>
<div class="do-better-t-1" id="t-1-2"></div>
</div>
</div>
</div>
<div class="layui-col-xs6 do-better-l-box">
<div class="do-better-l">
<div class="do-better-i-box">
<div class="do-better-i-box-1" style="background: #009688;"><i class="layui-icon layui-icon-list do-better-i"></i></div>
<div>本周</div>
</div>
<div class="do-better-t-box">
<div class="do-better-t-1" style="border-bottom: 1px solid #2F4056;" id="t-2-1"></div>
<div class="do-better-t-1" id="t-2-2"></div>
</div>
</div>
</div>
<div class="layui-col-xs6 do-better-l-box">
<div class="do-better-l">
<div class="do-better-i-box">
<div class="do-better-i-box-1" style="background: #FFB800;"><i class="layui-icon layui-icon-flag do-better-i"></i></div>
<div style="position: relative;right: 8px;">大石头</div>
</div>
<div class="do-better-t-box">
<div class="do-better-t-1" style="border-bottom: 1px solid #2F4056;" id="t-3-1"></div>
<div class="do-better-t-1" id="t-3-2"></div>
</div>
</div>
</div>
<div class="layui-col-xs6 do-better-l-box">
<div class="do-better-l v_time_q">
<div class="do-better-i-box">
<div class="do-better-i-box-1" style="background: #5FB878;"><i class="layui-icon layui-icon-theme do-better-i"></i></div>
<div class="" style="position: relative;right: 8px;">Q2象限</div>
</div>
<div class="do-better-t-box">
<div class="do-better-t-1" style="border-bottom: 1px solid #2F4056;" id="t-4-1"></div>
<div class="do-better-t-1" id="t-4-2"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="layui-col-md6 layui-col-lg6" style="padding: 25px 10px 0 10px;">
<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
<form id="baidu" class="search-form" action="http://www.baidu.com/baidu" target="_blank" style="display: none;">
<input class="search-input" type=text name=word size=30 placeholder="Do better, 成为一名高效能人士!" autofocus="">
</form>
<form id="google" action="http://www.google.com/search" name=f target="_blank" style="display: none;">
<input class="search-input" maxLength=256 size=55 name=q value="" placeholder="输入并使用谷歌搜索...">
<input type=hidden name=ie value="UTF-8">
<input type=hidden name=oe value="UTF-8">
<input name=hl type=hidden value=zh-CN>
</form>
<div class="layui-col-xs3">
<div class="layui-card-header tools-title" id="switch_search_box" style="cursor: pointer;border-bottom: none;">切换成<span id="switch_search">谷歌</span></div>
</div>
<div class="layui-col-xs3">
<div class="layui-card-header tools-title" id="switch_model_box" style="cursor: pointer;border-bottom: none;">切换到<span id="switch_model">Do Better</span></div>
</div>
</div>
</div>
<div class="layui-col-md3 layui-col-lg3">
<div class="big-stone week-plan-box" style="display: none;">
<button type="button" class="layui-btn layui-btn-fluid" id="add_stone">本周大石头<i class="layui-icon layui-icon-release" style="display: inline-block;margin-left: 10px;"></i> </button>
<div id="big_stone_box"></div>
</div>
<div class="do-better-box today-plan-box" style="display: none;">
<button type="button" class="layui-btn layui-btn-fluid" id="add_stone">今日计划<i class="layui-icon layui-icon-release" style="display: inline-block;margin-left: 10px;"></i> </button>
<div id="today_plan"></div>
</div>
</div>
</div>
<div class="layui-row" style="width: 96vw;">
<div class="layui-col-md12 week-plan week-plan-box" style="display: none;">
<div class="layui-col-xs-12" id="history-msg" style="color: #FFB800;display: none;">
历史计划:<span id="history_list"></span> <span id="go_back_this" style="color: #01AAED;cursor: pointer;display: inline-block;margin-left: 20px;">历史展示期间,通知将被屏蔽。返回本周>>></span>
<hr class="layui-bg-orange">
</div>
<table class="layui-table week-table">
<colgroup>
<col width="5%">
<col width="2%">
<col width="13%">
<col width="13%">
<col width="13%">
<col width="13%">
<col width="13%">
<col width="13%">
<col width="13%">
</colgroup>
<thead>
<tr id="table_title">
</tr>
</thead>
<tbody id='tbody'>
</tbody>
</table>
</div>
<div class="do-better-box" style="display: none;">
<div class="layui-row">
<!-- <div class="layui-col-xs9">...</div> -->
<div class="layui-col-xs12" style="padding-bottom: 20px;">
<div class="layui-tab layui-tab-brief" lay-filter="tabHistoryBrief">
<ul class="layui-tab-title">
<li class="layui-this">标签页&书签</li>
<!-- <li>书签</li> -->
<li>历史记录</li>
</ul>
<div class="layui-tab-content" style="min-height: 400px;">
<div class="layui-tab-item layui-show">
<div class="layui-row">
<div class="layui-col-xs3">
<div id="do-better-tabs-box"></div>
</div>
<div class="layui-col-xs9">
<div class="layui-col-xs6" id="bookmark1"></div>
<div class="layui-col-xs6" id="bookmark2"></div>
</div>
</div>
</div>
<!-- <div class="layui-tab-item">
<div class="layui-col-xs6" id="bookmark1"></div>
<div class="layui-col-xs6" id="bookmark2"></div>
</div> -->
<div class="layui-tab-item">
<div id="do-better-history-box">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="layui/layui.js"></script>
<script src="js/jquery.js"></script>
<script src="js/newtab.js"></script>
<script src="js/dobetter.js"></script>
</body>
</html>