mirror of
https://github.com/flynx/pWiki.git
synced 2025-11-01 11:30:08 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b28191a79f
commit
8c774cacd1
@ -62,18 +62,18 @@ Promise.all([
|
||||
|
||||
// persistent stores...
|
||||
//
|
||||
store.update('/Stores/local', {
|
||||
store.update('/Stores/localStorage', {
|
||||
__proto__: localstoragestore.localStorageStore,
|
||||
data: localStorage,
|
||||
}),
|
||||
store.update('Stores/session', {
|
||||
store.update('Stores/sessionStorage', {
|
||||
__proto__: localstoragestore.localStorageStore,
|
||||
data: sessionStorage,
|
||||
}),
|
||||
store.update('Stores/pouch', {
|
||||
store.update('Stores/PouchDB', {
|
||||
__proto__: pouchdbstore.PouchDBStore,
|
||||
}),
|
||||
store.update('Stores/idb', {
|
||||
store.update('Stores/IndexedDB', {
|
||||
__proto__: indexeddb.IndexedDBStore,
|
||||
}),
|
||||
|
||||
|
||||
@ -1994,7 +1994,7 @@ module.System = {
|
||||
<macro src="../*:@(all)">
|
||||
<div>
|
||||
<div class="item">
|
||||
<a href="#@source(s ./path)">@source(./title)</a>
|
||||
<a class="tree-page-title" href="#@source(s ./path)">@source(./title)</a>
|
||||
<a class="show-on-hover" href="#@source(s ./path)/info">🛈</a>
|
||||
<a class="show-on-hover" href="#@source(s ./path)/delete">×</a>
|
||||
</div>
|
||||
|
||||
@ -160,6 +160,10 @@ body.loading .page.spinner span {
|
||||
}
|
||||
|
||||
|
||||
.tree-page-title:empty:after {
|
||||
content: "/";
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<!-- XXX do we need this??? -->
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
*
|
||||
*
|
||||
* XXX BUG: can't .get(..) data from substore root...
|
||||
* ...updating it seems to work fine...
|
||||
* XXX IndexedDB: after editing a page for some reason we do not see the
|
||||
* final version until a full refresh -- cache???
|
||||
* ...this seems to disappeared after moving external stores
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user