Skip to content

Commit 4704f6b

Browse files
authored
Merge pull request #156 from sheepzh/guide_page
Guide page
2 parents 70d978c + 1f4b3f5 commit 4704f6b

File tree

38 files changed

+996
-39
lines changed

38 files changed

+996
-39
lines changed

public/guide.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!--
2+
Copyright (c) 2022 Hengyang Zhang
3+
4+
This software is released under the MIT License.
5+
https://opensource.org/licenses/MIT
6+
-->
7+
8+
<!DOCTYPE html>
9+
<html>
10+
<head>
11+
<meta charset="UTF-8" />
12+
<link rel="stylesheet" type="text/css" href="../guide.css" />
13+
</head>
14+
15+
<body>
16+
<div id="guide"></div>
17+
</body>
18+
<script src="../guide.js"></script>
19+
</html>

public/popup.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!--
2+
Copyright (c) 2022 Hengyang Zhang
3+
4+
This software is released under the MIT License.
5+
https://opensource.org/licenses/MIT
6+
-->
7+
18
<!DOCTYPE html>
29
<html>
310

src/app/components/common/button-filter-item.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* https://opensource.org/licenses/MIT
66
*/
77

8-
import { ElementButtonType } from "@app/element-ui/button"
9-
import ElementIcon from "@app/element-ui/icon"
8+
import { ElementButtonType } from "@src/element-ui/button"
9+
import ElementIcon from "@src/element-ui/icon"
1010
import { ElButton } from "element-plus"
1111
import { defineComponent, PropType, h, Ref, computed } from "vue"
1212

src/app/components/common/date-range-filter-item.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import { ElDatePicker } from "element-plus"
99
import { defineComponent, h, PropType, ref, Ref } from "vue"
10-
import { ElementDatePickerShortcut } from "@app/element-ui/date"
10+
import { ElementDatePickerShortcut } from "@src/element-ui/date"
1111
import { t } from "@app/locale"
1212

1313
const _default = defineComponent({

src/app/components/common/popup-confirm-button.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* https://opensource.org/licenses/MIT
66
*/
77

8-
import { ElementButtonType } from "@app/element-ui/button"
9-
import ElementIcon from "@app/element-ui/icon"
8+
import { ElementButtonType } from "@src/element-ui/button"
9+
import ElementIcon from "@src/element-ui/icon"
1010
import { t } from "@app/locale"
1111
import { ElButton, ElPopconfirm } from "element-plus"
1212
import { defineComponent, PropType, h, computed } from "vue"

src/app/components/data-manage/clear/filter/operation-button.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
*/
77

88
import { ElButton, ElMessage, ElMessageBox, ElTooltip } from "element-plus"
9-
import ElementIcon from "@src/app/element-ui/icon"
9+
import ElementIcon from "@src/element-ui/icon"
1010
import { Ref, h } from "vue"
1111
import TimerDatabase, { TimerCondition } from "@db/timer-database"
1212
import { ItemMessage } from "@util/i18n/components/item"
1313
import { t } from "@src/app/locale"
1414
import { DataManageMessage } from "@src/app/locale/components/data-manage"
1515
import { MILL_PER_DAY } from "@util/time"
16-
import { ElementButtonType } from "@app/element-ui/button"
16+
import { ElementButtonType } from "@src/element-ui/button"
1717

1818
const timerDatabase = new TimerDatabase(chrome.storage.local)
1919

src/app/components/habit/component/filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { daysAgo } from "@util/time"
1111
import { t } from "@app/locale"
1212
import { HabitMessage } from "@app/locale/components/habit"
1313
import SwitchFilterItem from "@app/components/common/switch-filter-item"
14-
import { ElementDatePickerShortcut } from "@app/element-ui/date"
14+
import { ElementDatePickerShortcut } from "@src/element-ui/date"
1515
import DateRangeFilterItem from "@app/components/common/date-range-filter-item"
1616

1717
export type HabitFilterOption = {

src/app/components/report/filter/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
import type { FileFormat } from "./download-file"
88
import type { Ref, PropType } from "vue"
9-
import type { ElementDatePickerShortcut } from "@app/element-ui/date"
9+
import type { ElementDatePickerShortcut } from "@src/element-ui/date"
1010
import type { ReportMessage } from "@app/locale/components/report"
1111

1212
import DownloadFile from "./download-file"

src/app/components/trend/components/filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { t } from "@app/locale"
1414
import { TrendMessage } from "@app/locale/components/trend"
1515
import DateRangeFilterItem from "@app/components/common/date-range-filter-item"
1616
import SelectFilterItem from "@app/components/common/select-filter-item"
17-
import { ElementDatePickerShortcut } from "@app/element-ui/date"
17+
import { ElementDatePickerShortcut } from "@src/element-ui/date"
1818
import { labelOfHostInfo } from "./common"
1919

2020
async function handleRemoteSearch(queryStr: string, trendDomainOptions: Ref<timer.app.trend.HostInfo[]>, searching: Ref<boolean>) {

src/app/layout/menu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* https://opensource.org/licenses/MIT
66
*/
77
import type { UnwrapRef } from "vue"
8-
import type ElementIcon from "../element-ui/icon"
8+
import type ElementIcon from "../../element-ui/icon"
99
import type { RouteLocationNormalizedLoaded, Router } from "vue-router"
1010
import type { I18nKey } from "@app/locale"
1111
import type { MenuMessage } from "@app/locale/components/menu"

0 commit comments

Comments
 (0)