From 9b94dcbe846e67710ccb98dca3c7b842ceecdd92 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Sun, 20 Oct 2019 08:36:23 +0700 Subject: [PATCH] README update --- README.md | 14 ++++++++++++++ app/client/src/js/_layout.js | 8 -------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f5ea2b4..80eb059 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,20 @@ Those steps depends on your environment: + edit .env, robots.txt, humans.txt, cache.appcache, manifest.json and package.json to setup your own project + copy favicon.ico after `yarn build` to ./public folder +### Building your custom UI + +Edit following files: ++ app/client/src/js/_layout.js ++ app/client/src/js/types/*Your_Custom_ClassName*.js + ++ app/client/src/scss/_layout.scss ++ app/client/src/scss/types/*Your_Custom_ClassName*.scss + +To compile use: yarn build +To start dev-server use: yarn start + + + ## Installing composer at some cpanel hostings ``` php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" diff --git a/app/client/src/js/_layout.js b/app/client/src/js/_layout.js index 37b1ec0..f8a6981 100644 --- a/app/client/src/js/_layout.js +++ b/app/client/src/js/_layout.js @@ -17,14 +17,6 @@ const LayoutUI = (($) => { const NAME = 'LayoutUI'; - const datepickerOptions = { - autoclose: true, - startDate: 0, - //todayBtn: true, - todayHighlight: true, - clearBtn: true, - }; - class LayoutUI { static init() { const ui = this;