mirror of
https://github.com/frappe/books.git
synced 2024-12-23 03:19:01 +00:00
minor
This commit is contained in:
parent
3bfda11884
commit
8508747937
@ -8,8 +8,8 @@ const Observable = require('frappejs/utils/observable');
|
||||
module.exports = {
|
||||
async start({dbPath, columns = 3, models}) {
|
||||
window.frappe = frappe;
|
||||
frappe.isServer = true;
|
||||
frappe.init();
|
||||
|
||||
frappe.registerLibs(common);
|
||||
frappe.registerModels(require('frappejs/models'));
|
||||
|
||||
@ -29,8 +29,6 @@ module.exports = {
|
||||
|
||||
frappe.desk = new Desk(columns);
|
||||
await frappe.login();
|
||||
|
||||
return frappe;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -11,7 +11,6 @@ module.exports = {
|
||||
frappe.init();
|
||||
frappe.registerLibs(common);
|
||||
frappe.registerModels(require('frappejs/models'), 'client');
|
||||
frappe.registerModels(require('../models'), 'client');
|
||||
|
||||
frappe.fetch = window.fetch.bind();
|
||||
|
||||
|
@ -395,11 +395,11 @@ ul.tree-children {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.form-body {
|
||||
.form-section {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.form-body.active {
|
||||
.form-section.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@ -407,3 +407,14 @@ ul.tree-children {
|
||||
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",
|
||||
"flatpickr": "^4.3.2",
|
||||
"frappejs": "../frappejs",
|
||||
"frappe-datatable": "^0.0.3",
|
||||
"frappe-datatable": "frappe/datatable",
|
||||
"jquery": "^3.3.1",
|
||||
"mkdirp": "^0.5.1",
|
||||
"mocha": "^4.1.0",
|
||||
"moment": "^2.20.1",
|
||||
"mysql": "^2.15.0",
|
||||
|
Loading…
Reference in New Issue
Block a user