uplaod youdaonotes
This commit is contained in:
23
.obsidian/plugins/homepage/data.json
vendored
Normal file
23
.obsidian/plugins/homepage/data.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"version": 4,
|
||||
"homepages": {
|
||||
"Main Homepage": {
|
||||
"value": "YueQian/相关网站",
|
||||
"kind": "文件",
|
||||
"openOnStartup": true,
|
||||
"openMode": "Replace all open notes",
|
||||
"manualOpenMode": "Keep open notes",
|
||||
"view": "Default view",
|
||||
"revertView": true,
|
||||
"openWhenEmpty": false,
|
||||
"refreshDataview": false,
|
||||
"autoCreate": false,
|
||||
"autoScroll": false,
|
||||
"pin": false,
|
||||
"commands": [],
|
||||
"alwaysApply": false,
|
||||
"hideReleaseNotes": false
|
||||
}
|
||||
},
|
||||
"separateMobile": false
|
||||
}
|
||||
3
.obsidian/plugins/homepage/duplicate.js
vendored
Normal file
3
.obsidian/plugins/homepage/duplicate.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
.obsidian/plugins/homepage/lang/state.json
vendored
Normal file
1
.obsidian/plugins/homepage/lang/state.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"type":"0","state":true,"pluginVersion":"4.3.1","translationVersion":1740803317238}
|
||||
79
.obsidian/plugins/homepage/lang/zh-cn.json
vendored
Normal file
79
.obsidian/plugins/homepage/lang/zh-cn.json
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"manifest": {
|
||||
"translationVersion": 1740803317238,
|
||||
"pluginVersion": "4.0.6"
|
||||
},
|
||||
"description": {
|
||||
"original": "Open a specified note, canvas, or workspace on startup, or set it for quick access later.",
|
||||
"translation": "在启动时打开指定的笔记、画布或工作区,或设置以便后续快速访问。"
|
||||
},
|
||||
"dict": {
|
||||
"Notice(\"Failed to read the daily note template\")": "Notice(\"读取日志模板失败\")",
|
||||
"Notice(\"Unable to create new file.\")": "Notice(\"无法创建新文件\")",
|
||||
"Notice(\"Really?\")": "Notice(\"确定?\")",
|
||||
"Notice(\"Copied homepage debug information to clipboard\")": "Notice(\"将主页调试信息复制到剪贴板\")",
|
||||
"Notice(\"Homepage cannot be opened due to plugin unavailablity.\")": "Notice(\"由于插件不可用,主页无法打开\")",
|
||||
"Notice(`Cannot find the workspace \"${this.data.value}\" to use as the homepage.`)": "Notice(`找不到工作空间 \"${this.data.value}\" 作为主页`)",
|
||||
"Notice(`Homepage \"${this.computedValue}\" does not exist.`)": "Notice(`主页\"${this.computedValue}\" 不存在`)",
|
||||
"Notice(`The homepage has been changed to \"${this.data.value}\".`)": "Notice(`主页已更改为 \"${this.data.value}\".`)",
|
||||
"Notice(ce)": "Notice(ce)",
|
||||
".error(`Failed to read the daily note template '${n}'`,i)": ".error(`读取日志模板失败 '${n}'`,i)",
|
||||
".error(`Failed to create file: '${d}'`,p)": ".error(`创建文件失败: '${d}'`,p)",
|
||||
".error(`Failed to create file: '${m}'`,r)": ".error(`创建文件失败: '${m}'`,r)",
|
||||
"name:\"Copy debug info\"": "name:\"复制调试信息\"",
|
||||
"name:\"Open homepage\"": "name:\"打开主页\"",
|
||||
"name:\"Set to active file\"": "name:\"设置为活动文件\"",
|
||||
"text:\"The plugin required for this homepage type isn't available.\"": "text:\"此主页类型所需的插件不可用\"",
|
||||
"text:`This setting has been disabled, as it isn't compatible with Daily Notes' \"Open daily note on startup\" functionality. To use it, disable the Daily Notes setting.`": "text:`此设置已被禁用,因为它与每日笔记不兼容' \"在启动时打开每日笔记\" 功能。要使用它,请禁用“每日笔记”设置`",
|
||||
"text:\"Select commands that will be executed when opening the homepage.\"": "text:\"选择打开主页时要执行的命令.\"",
|
||||
"text:\"If this vault is synced using unofficial services, this may lead to content being overwritten.\"": "text:\"如果使用非官方服务同步此保险库,则可能导致内容被覆盖\"",
|
||||
"text:\"Requires Dataview auto-refresh to be enabled.\"": "text:\"要求启用Dataview自动刷新\"",
|
||||
".setButtonText(\"Add...\")": ".setButtonText(\"添加...\")",
|
||||
".setButtonText(\"Copy debug info\")": ".setButtonText(\"复制调试信息\")",
|
||||
".setName(\"Homepage\")": ".setName(\"主页\")",
|
||||
".setName(\"Separate mobile homepage\")": ".setName(\"单独的移动设备首页\")",
|
||||
".setDesc(\"For mobile devices, store the homepage and its settings separately.\")": ".setDesc(\"对于移动设备,单独存储主页及其设置。\")",
|
||||
".addHeading(\"Commands\",\"commandsHeading\")": ".addHeading(\"命令\",\"命令标题\")",
|
||||
".addHeading(\"Vault environment\",\"vaultHeading\")": ".addHeading(\"库环境\",\"库标题\")",
|
||||
".addHeading(\"Opened view\",\"paneHeading\")": ".addHeading(\"打开视图\",\"面板标题\")",
|
||||
".addToggle(\"Open on startup\",\"When launching Obsidian, open the homepage.\",\"openOnStartup\",d=>this.display())": ".addToggle(\"启动时打开\",\"当Obsidian启动时, 打开主页.\",\"openOnStartup\",d=>this.display())",
|
||||
".addToggle(\"Open when empty\",\"When there are no tabs open, open the homepage.\",\"openWhenEmpty\")": ".addToggle(\"为空时打开\",\"当标签页为空时,打开主页.\",\"openWhenEmpty\")",
|
||||
".addToggle(\"Use when opening normally\",\"Use homepage settings when opening it normally, such as from a link or the file browser.\",\"alwaysApply\")": ".addToggle(\"打开时应用设置\",\"当主页正常打开时,应用主页设置,比如从链接或文件管理器打开\",\"alwaysApply\")",
|
||||
".addDropdown(\"Opening method\",\"Determine how extant tabs and views are affected on startup.\"": ".addDropdown(\"开启方式\",\"确定启动时现有选项卡和视图如何受到影响。\"",
|
||||
".addDropdown(\"Manual opening method\",\"Determine how extant tabs and views are affected when opening with commands or the ribbon button.\"": ".addDropdown(\"确定启动时现有选项卡和视图如何受到影响。\",\"确定使用命令或功能区按钮打开时对现有选项卡和视图的影响。\"",
|
||||
"addDropdown(\"Homepage view\",\"Choose what view to open the homepage in.\"": "addDropdown(\"主页视图\",\"主页视图\"",
|
||||
".addToggle(\"Pin\",\"Pin the homepage when opening.\"": ".addToggle(\"固定\",\"打开时固定主页。\"",
|
||||
".addToggle(\"Hide release notes\",\"Never display release notes when Obsidian updates.\"": ".addToggle(\"隐藏发行说明\",\"Obsidian更新时从不显示发行说明。\"",
|
||||
".addToggle(\"Auto-create\",\"When the homepage doesn't exist, create a note with its name.\"": ".addToggle(\"自动创建\",\"当主页不存在时,创建一个带有其名称的注释。\"",
|
||||
".addToggle(\"Revert view on close\",\"When navigating away from the homepage, restore the default view.\"": ".addToggle(\"关闭时恢复视图\",\"离开主页时,恢复默认视图。\"",
|
||||
".addToggle(\"Auto-scroll\",\"When opening the homepage, scroll to the bottom and focus on the last line.\"": ".addToggle(\"自动滚动\",\"打开主页时,滚动到底部并专注于最后一行。\"",
|
||||
".addToggle(\"Refresh Dataview\",\"Always attempt to reload Dataview views when opening the homepage.\"": ".addToggle(\"刷新数据视图\",\"打开主页时,始终尝试重新加载Dataview视图。\"",
|
||||
"\"Enter a note or canvas to use.\"": "\"输入要使用的笔记或白板。\"",
|
||||
"\"Enter an Obsidian workspace to use.\"": "\"输入要使用的Obsidian工作区。\"",
|
||||
"\"Your graph view will be used.\"": "\"将使用您的图形视图。\"",
|
||||
"\"Nothing will occur by default. Any commands added will still take effect.\"": "\"默认情况下不会发生任何事情。添加的任何命令仍将生效。\"",
|
||||
"\"A random note or canvas from your Obsidian folder will be selected.\"": "\"将从您的Obsidian文件夹中随机选择一个笔记或白板。\"",
|
||||
"\"Your Daily Note or Periodic Daily Note will be used.\"": "\"将使用您的日记或定期日记。\"",
|
||||
"\"Your Periodic Weekly Note will be used.\"": "\"将使用您的定期周报。\"",
|
||||
"\"Your Periodic Monthly Note will be used.\"": "\"将使用您的定期月报。\"",
|
||||
"\"Your Periodic Yearly Note will be used.\"": "\"将使用您的定期年报。\"",
|
||||
"i.Default=\"Default view\",i.Reading=\"Reading view\",i.Source=\"Editing view (Source)\",i.LivePreview=\"Editing view (Live Preview)\"": "i.Default=\"默认视图\",i.Reading=\"阅读视图\",i.Source=\"编辑视图(源码)\",i.LivePreview=\"编辑视图(实时预览)\"",
|
||||
"\"Replace last note\"": "\"替换最后一个笔记\"",
|
||||
"\"Keep open notes\"": "\"保持打开的笔记\"",
|
||||
"\"Replace all open notes\"": "\"替换所有打开的笔记\"",
|
||||
".addRibbonIcon(\"homepage\",\"Open homepage\"": ".addRibbonIcon(\"homepage\",\"打开主页\"",
|
||||
"\"Enter a folder. A random note or canvas from it will be selected.\"": "\"输入文件夹路径,系统将从中随机选择一个笔记或画布。\"",
|
||||
"\"File\"": "\"文件\"",
|
||||
"\"Workspace\"": "\"工作区\"",
|
||||
"\"Random file\"": "\"随机文件\"",
|
||||
"\"Random in folder\"": "\"随机选择文件夹内文件\"",
|
||||
"\"Graph view\"": "\"图谱视图\"",
|
||||
"\"Nothing\"": "\"无\"",
|
||||
"\"Daily Note\"": "\"每日笔记\"",
|
||||
"\"Weekly Note\"": "\"每周笔记\"",
|
||||
"\"Monthly Note\"": "\"每月笔记\"",
|
||||
"\"Yearly Note\"": "\"年度笔记\"",
|
||||
"\"Open on startup\"": "\"启动时自动打开\"",
|
||||
"\"When launching Obsidian, open the homepage.\"": "\"启动 Obsidian 时自动打开主页\""
|
||||
}
|
||||
}
|
||||
3
.obsidian/plugins/homepage/main.js
vendored
Normal file
3
.obsidian/plugins/homepage/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
13
.obsidian/plugins/homepage/manifest.json
vendored
Normal file
13
.obsidian/plugins/homepage/manifest.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"id": "homepage",
|
||||
"name": "Homepage",
|
||||
"version": "4.3.1",
|
||||
"minAppVersion": "1.11.0",
|
||||
"description": "在启动时打开指定的笔记、画布或工作区,或设置以便后续快速访问。",
|
||||
"author": "novov",
|
||||
"authorUrl": "https://novov.me",
|
||||
"isDesktopOnly": false,
|
||||
"fundingUrl": {
|
||||
"Ko-fi": "https://ko-fi.com/novov"
|
||||
}
|
||||
}
|
||||
231
.obsidian/plugins/homepage/styles.css
vendored
Normal file
231
.obsidian/plugins/homepage/styles.css
vendored
Normal file
@@ -0,0 +1,231 @@
|
||||
@keyframes nv-interstitial-destroy {
|
||||
from { opacity: 1; }
|
||||
to { opacity: 0; }
|
||||
}
|
||||
|
||||
.setting-item[nv-greyed] {
|
||||
opacity: .5;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
#nv-main-setting {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
#nv-main-setting .setting-item-control {
|
||||
padding-top: var(--size-4-1);
|
||||
flex-basis: 100%;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
#nv-main-setting .setting-item-control input, #nv-main-setting .setting-item-control select {
|
||||
font-size: var(--font-ui-medium);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#nv-main-setting .setting-item-control select {
|
||||
padding: var(--size-4-3) var(--size-4-4);
|
||||
padding-right: var(--size-4-8);
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#nv-main-setting .setting-item-control input {
|
||||
flex-grow: 1;
|
||||
padding: var(--size-4-5) var(--size-4-4);
|
||||
}
|
||||
|
||||
#nv-main-setting .setting-item-control input[disabled] {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
#nv-main-setting #nv-desc, #nv-main-setting #nv-info {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
#nv-main-setting #nv-desc {
|
||||
font-weight: 500;
|
||||
color: var(--text-normal);
|
||||
font-size: var(--font-ui-small);
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
|
||||
#nv-main-setting #nv-desc.mod-warning {
|
||||
color: var(--text-error);
|
||||
}
|
||||
|
||||
#nv-main-setting #nv-desc code {
|
||||
font-family: var(--font-monospace);
|
||||
font-size: var(--font-smaller);
|
||||
border-radius: var(--radius-s);
|
||||
}
|
||||
|
||||
#nv-main-setting #nv-desc small {
|
||||
display: block;
|
||||
font-weight: 400;
|
||||
color: var(--text-muted);
|
||||
font-size: calc(var(--font-ui-smaller) * 0.9);
|
||||
padding: 5px 0 0;
|
||||
}
|
||||
|
||||
.nv-homepage-file-tag {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-left: var(--size-2-2);
|
||||
}
|
||||
|
||||
.nv-mobile-setting, .nv-command-setting {
|
||||
flex-wrap: wrap;
|
||||
row-gap: var(--size-2-2);
|
||||
}
|
||||
|
||||
.nv-mobile-setting .nv-mobile-info {
|
||||
font-size: var(--font-ui-smaller);
|
||||
width: 100%;
|
||||
margin-right: var(--size-4-18);
|
||||
}
|
||||
|
||||
.nv-command-desc {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nv-command-box {
|
||||
margin: 1em 0 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.nv-command-pill {
|
||||
background-color: var(--background-modifier-hover);
|
||||
border-radius: var(--radius-s);
|
||||
font-size: var(--font-ui-small);
|
||||
padding: var(--size-2-1) var(--size-2-2) var(--size-2-1) var(--size-2-3) ;
|
||||
}
|
||||
|
||||
.nv-command-pill.nv-command-invalid {
|
||||
color: var(--text-faint);
|
||||
}
|
||||
|
||||
.nv-command-pill button {
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
margin: 0 0 0 3px;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.nv-command-pill button:first-of-type {
|
||||
margin-left: var(--size-4-2);
|
||||
}
|
||||
|
||||
.nv-command-pill button.nv-command-selected {
|
||||
margin-left: var(--size-2-2);
|
||||
padding: 0 var(--size-2-1);
|
||||
}
|
||||
|
||||
.nv-command-pill button.nv-command-selected span {
|
||||
color: var(--text-accent);
|
||||
display: inline-block;
|
||||
font-size: 0.9em;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.nv-command-pill > .svg-icon, .nv-command-pill button .svg-icon {
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.nv-command-pill > .svg-icon {
|
||||
vertical-align: text-bottom;
|
||||
position: relative;
|
||||
margin: 0 var(--size-2-1) 0 0;
|
||||
}
|
||||
|
||||
.nv-command-pill.nv-dragging {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.nv-command-add-button {
|
||||
font-size: var(--font-ui-small);
|
||||
padding: var(--size-2-2) var(--size-4-2);
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#nv-main-setting + .setting-item, .nv-command-desc + .setting-item {
|
||||
padding-top: 20px;
|
||||
border-top: none !important;
|
||||
}
|
||||
|
||||
.nv-debug-button {
|
||||
margin: 3em 0 -0.2em;
|
||||
font-size: var(--font-ui-smaller);
|
||||
padding: 0;
|
||||
height: auto;
|
||||
float: right;
|
||||
box-shadow: none !important;
|
||||
background: none !important;
|
||||
color: var(--text-accent);
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nv-debug-button:hover, .nv-debug-button:active {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.is-phone #nv-main-setting .setting-item-control {
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.is-phone #nv-main-setting .setting-item-control select {
|
||||
width: auto;
|
||||
max-width: auto;
|
||||
}
|
||||
|
||||
.is-phone .nv-mobile-setting {
|
||||
row-gap: var(--size-4-2);
|
||||
}
|
||||
|
||||
.is-phone .nv-mobile-setting .setting-item-info {
|
||||
max-width: calc(100% - 100px);
|
||||
}
|
||||
|
||||
.is-phone .nv-mobile-setting {
|
||||
row-gap: var(--size-4-2);
|
||||
}
|
||||
|
||||
.is-phone .nv-mobile-setting .setting-item-info {
|
||||
max-width: calc(100% - 100px);
|
||||
}
|
||||
|
||||
.is-phone .nv-command-pill {
|
||||
width: 100%;
|
||||
border: none;
|
||||
background: none;
|
||||
padding: 0 0 var(--size-4-2);
|
||||
display: flex;
|
||||
gap: var(--size-4-4);
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.is-phone .nv-command-pill .nv-command-text {
|
||||
flex-grow: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.is-phone .nv-command-pill, .is-phone .nv-command-add-button {
|
||||
font-size: var(--font-ui-medium);
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.is-phone .nv-command-pill button {
|
||||
line-height: var(--font-ui-medium);
|
||||
height: 100%;
|
||||
margin: 0 !important;
|
||||
}
|
||||
Reference in New Issue
Block a user