mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-23 13:45:33 +02:00
Includes note in the UI better highlighting that web-based config is only applied locally
This commit is contained in:
parent
7484564992
commit
9ae8fe921e
@ -7,6 +7,9 @@
|
|||||||
config to the internet, and then restore it on any other device or instance of Dashy.
|
config to the internet, and then restore it on any other device or instance of Dashy.
|
||||||
<br><br>
|
<br><br>
|
||||||
All data is fully end-to-end encrypted with AES, using your password as the key.
|
All data is fully end-to-end encrypted with AES, using your password as the key.
|
||||||
|
<br>
|
||||||
|
For more info, please see the
|
||||||
|
<a href="https://github.com/Lissy93/dashy/blob/master/docs/backup-restore.md">docs</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section backup-section">
|
<div class="section backup-section">
|
||||||
@ -182,6 +185,9 @@ export default {
|
|||||||
&.intro {
|
&.intro {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
|
a {
|
||||||
|
color: var(--config-settings-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,8 +2,11 @@
|
|||||||
<div class="json-editor-outer">
|
<div class="json-editor-outer">
|
||||||
<prism-editor class="my-editor" v-model="customCss" :highlight="highlighter" line-numbers />
|
<prism-editor class="my-editor" v-model="customCss" :highlight="highlighter" line-numbers />
|
||||||
<button class="save-button" @click="save()">Save Changes</button>
|
<button class="save-button" @click="save()">Save Changes</button>
|
||||||
<p>Note, you will need to refresh the page for your changes to take effect</p>
|
<p class="quick-note">
|
||||||
<p>To remove all custom styles, delete the contents and hit Save Changes</p>
|
<b>Note</b>: You will need to refresh the page for your changes to take effect.
|
||||||
|
Styles overides are only stored locally, so it is reccomended to make a copy of your CSS.
|
||||||
|
To remove all custom styles, delete the contents and hit Save Changes
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -87,4 +90,12 @@ button.save-button {
|
|||||||
background: var(--transparent-50);
|
background: var(--transparent-50);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.quick-note {
|
||||||
|
text-align: left;
|
||||||
|
width: 80%;
|
||||||
|
margin: 1rem auto;
|
||||||
|
padding: 0.5rem;
|
||||||
|
border-radius: var(--curve-factor);
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
<button class="save-button" @click="save()">Save Changes</button>
|
<button class="save-button" @click="save()">Save Changes</button>
|
||||||
<p class="note">
|
<p class="note">
|
||||||
It is recommend to backup your existing confiruration before making any changes.
|
It is recommend to backup your existing confiruration before making any changes.
|
||||||
|
<br>
|
||||||
|
Remember that these changes are only applied locally,
|
||||||
|
and will need to be exported to your conf.yml
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -51,6 +51,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
showEditor: function show() {
|
showEditor: function show() {
|
||||||
|
// TODO: If users first time, then show note explaining that config is only stored locally
|
||||||
this.$modal.show(modalNames.CONF_EDITOR);
|
this.$modal.show(modalNames.CONF_EDITOR);
|
||||||
this.$emit('modalChanged', true);
|
this.$emit('modalChanged', true);
|
||||||
},
|
},
|
||||||
|
@ -86,6 +86,9 @@ html[data-theme='matrix'] {
|
|||||||
--curve-factor: 0px;
|
--curve-factor: 0px;
|
||||||
--font-body: 'Cutive Mono', monospace;
|
--font-body: 'Cutive Mono', monospace;
|
||||||
--font-headings: 'VT323', monospace;
|
--font-headings: 'VT323', monospace;
|
||||||
|
.prism-editor-wrapper.my-editor {
|
||||||
|
border: 1px solid var(--primary);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-theme='hacker-girl'] {
|
html[data-theme='hacker-girl'] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user