mirror of
https://github.com/documize/community.git
synced 2025-08-04 21:15:24 +02:00
manifest.json
This commit is contained in:
parent
557da2847e
commit
9e20a5f085
11 changed files with 804 additions and 637 deletions
|
@ -10,6 +10,7 @@
|
|||
<meta name="author" content="Documize" />
|
||||
<meta name="description" content="Documize">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<link rel="shortcut icon" href="/favicon.ico?v=1.1" />
|
||||
<link rel="icon" type="image/png" href="/favicon-32x32.png?v=1.1" sizes="32x32" />
|
||||
<link rel="stylesheet" href="/assets/vendor.css">
|
||||
|
|
|
@ -42,7 +42,7 @@ export default Ember.Controller.extend(NotifierMixin, {
|
|||
// refresh data if copied to same document
|
||||
if (documentId === targetDocumentId) {
|
||||
this.set('pageId', '');
|
||||
this.get('target.router').refresh();
|
||||
this.get('target._routerMicrolib').refresh();
|
||||
|
||||
this.get('linkService').getDocumentLinks(this.get('model.document.id')).then((links) => {
|
||||
this.set('model.links', links);
|
||||
|
@ -117,7 +117,7 @@ export default Ember.Controller.extend(NotifierMixin, {
|
|||
}
|
||||
|
||||
this.set('model.pages', _.sortBy(pages, "sequence"));
|
||||
this.get('target.router').refresh();
|
||||
this.get('target._routerMicrolib').refresh();
|
||||
});
|
||||
} else {
|
||||
// page delete followed by re-leveling child pages
|
||||
|
@ -198,7 +198,7 @@ export default Ember.Controller.extend(NotifierMixin, {
|
|||
});
|
||||
|
||||
this.set('model.pages', this.get('model.pages').sortBy('sequence'));
|
||||
this.get('target.router').refresh();
|
||||
this.get('target._routerMicrolib').refresh();
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -218,7 +218,7 @@ export default Ember.Controller.extend(NotifierMixin, {
|
|||
pages = pages.sortBy('sequence');
|
||||
this.set('model.pages', []);
|
||||
this.set('model.pages', pages);
|
||||
this.get('target.router').refresh();
|
||||
this.get('target._routerMicrolib').refresh();
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ export default Ember.Controller.extend(NotifierMixin, {
|
|||
doc.set('folderId', folder);
|
||||
doc.set('selected', !doc.get('selected'));
|
||||
self.get('documentService').save(doc).then(function () {
|
||||
self.get('target.router').refresh();
|
||||
self.get('target._routerMicrolib').refresh();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -52,7 +52,7 @@ export default Ember.Controller.extend(NotifierMixin, {
|
|||
|
||||
documents.forEach(function (document) {
|
||||
self.get('documentService').deleteDocument(document).then(function () {
|
||||
self.get('target.router').refresh();
|
||||
self.get('target._routerMicrolib').refresh();
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -80,7 +80,7 @@ export default Ember.Controller.extend(NotifierMixin, {
|
|||
},
|
||||
|
||||
onImport() {
|
||||
this.get('target.router').refresh();
|
||||
this.get('target._routerMicrolib').refresh();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
BIN
gui/public/assets/img/icon-white-1024x1024.png
Normal file
BIN
gui/public/assets/img/icon-white-1024x1024.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
gui/public/assets/img/icon-white-128x128.png
Normal file
BIN
gui/public/assets/img/icon-white-128x128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
BIN
gui/public/assets/img/icon-white-256x256.png
Normal file
BIN
gui/public/assets/img/icon-white-256x256.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
BIN
gui/public/assets/img/icon-white-64x64.png
Normal file
BIN
gui/public/assets/img/icon-white-64x64.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
26
gui/public/manifest.json
Normal file
26
gui/public/manifest.json
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"name": "Documize",
|
||||
"short_name": "Documize",
|
||||
"display": "standalone",
|
||||
"background_color": "#2667af",
|
||||
"theme_color": "#2667af",
|
||||
"description": "Organized documents",
|
||||
"start_url": "/?utm_source=homescreen",
|
||||
"icons": [{
|
||||
"src": "assets/img/icon-white-64x64.png",
|
||||
"sizes": "64x64",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "assets/img/icon-white-128x128.png",
|
||||
"sizes": "128x128",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "assets/img/icon-white-256x256.png",
|
||||
"sizes": "256x256",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "assets/img/icon-white-1024x1024.png",
|
||||
"sizes": "1024x1024",
|
||||
"type": "image/png"
|
||||
}]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue