mirror of
https://github.com/frappe/books.git
synced 2025-01-11 02:36:14 +00:00
minor
This commit is contained in:
parent
3bfda11884
commit
8508747937
@ -8,8 +8,8 @@ const Observable = require('frappejs/utils/observable');
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
async start({dbPath, columns = 3, models}) {
|
async start({dbPath, columns = 3, models}) {
|
||||||
window.frappe = frappe;
|
window.frappe = frappe;
|
||||||
|
frappe.isServer = true;
|
||||||
frappe.init();
|
frappe.init();
|
||||||
|
|
||||||
frappe.registerLibs(common);
|
frappe.registerLibs(common);
|
||||||
frappe.registerModels(require('frappejs/models'));
|
frappe.registerModels(require('frappejs/models'));
|
||||||
|
|
||||||
@ -29,8 +29,6 @@ module.exports = {
|
|||||||
|
|
||||||
frappe.desk = new Desk(columns);
|
frappe.desk = new Desk(columns);
|
||||||
await frappe.login();
|
await frappe.login();
|
||||||
|
|
||||||
return frappe;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ module.exports = {
|
|||||||
frappe.init();
|
frappe.init();
|
||||||
frappe.registerLibs(common);
|
frappe.registerLibs(common);
|
||||||
frappe.registerModels(require('frappejs/models'), 'client');
|
frappe.registerModels(require('frappejs/models'), 'client');
|
||||||
frappe.registerModels(require('../models'), 'client');
|
|
||||||
|
|
||||||
frappe.fetch = window.fetch.bind();
|
frappe.fetch = window.fetch.bind();
|
||||||
|
|
||||||
|
@ -395,11 +395,11 @@ ul.tree-children {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-body {
|
.form-section {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-body.active {
|
.form-section.active {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -407,3 +407,14 @@ ul.tree-children {
|
|||||||
margin: $spacer-1 $spacer-4;
|
margin: $spacer-1 $spacer-4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// File Input
|
||||||
|
|
||||||
|
input[type=file] {
|
||||||
|
width: 0.1px;
|
||||||
|
height: 0.1px;
|
||||||
|
opacity: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
position: absolute;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
@ -20,8 +20,9 @@
|
|||||||
"express": "^4.16.2",
|
"express": "^4.16.2",
|
||||||
"flatpickr": "^4.3.2",
|
"flatpickr": "^4.3.2",
|
||||||
"frappejs": "../frappejs",
|
"frappejs": "../frappejs",
|
||||||
"frappe-datatable": "^0.0.3",
|
"frappe-datatable": "frappe/datatable",
|
||||||
"jquery": "^3.3.1",
|
"jquery": "^3.3.1",
|
||||||
|
"mkdirp": "^0.5.1",
|
||||||
"mocha": "^4.1.0",
|
"mocha": "^4.1.0",
|
||||||
"moment": "^2.20.1",
|
"moment": "^2.20.1",
|
||||||
"mysql": "^2.15.0",
|
"mysql": "^2.15.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user