Browse Source

Add CSS (compiled SCSS) and fix install instruction

master
vbarkasov 8 years ago
parent
commit
308b477bad
2 changed files with 1177 additions and 10 deletions
  1. +18
    -10
      README.md
  2. +1159
    -0
      src/apps/callcenter/style/app.css

+ 18
- 10
README.md View File

@ -1,5 +1,7 @@
# Monster UI Call Center (Cloudbased Callcenter GUI)
The Callcenter app allows you to customize routing calls per web application
Requires [Monster UI v.4.2](https://github.com/2600hz/monster-ui)
#### Manual installation (to source files):
@ -12,17 +14,18 @@ Requires [Monster UI v.4.2](https://github.com/2600hz/monster-ui)
'datatables.net-buttons-html5': 'js/vendor/datatables/buttons.html5.min',
'datatables.net-buttons-bootstrap': 'js/vendor/datatables/buttons.bootstrap.min',
```
3. Register `recordings` app
4. Build your Monster UI with original builder (command `gulp`)
3. Build your Monster UI with original builder (command `gulp`)
4. Register the callcenter app
```bash
# sup crossbar_maintenance init_app PATH_TO_CALLCENTER_DIRECTORY API_ROOT
# The Kazoo user should be able to read files from callcenter app directory
sup crossbar_maintenance init_app /var/www/html/monster-ui/dist/apps/callcenter https://site.com:8443/v2/
```
5. Activate the Callcenter app in Monster UI App Store ( `/#/apps/appstore` )
#### Manual installation (to compiled files):
1. Install dependencies
`npm install gulp && npm install gulp-sass && npm install gulp-clean`
2. Run builder
`gulp --gulpfile gulpfile-build-app.js`
3. Upload all folders and files from directory `dist` to root directory of your Monster UI (*near the folders "apps", "css" and "js"*)
4. Create next symbol links in root directory of Monster UI
1. Upload all folders and files from directory `src` to root directory of your Monster UI (*near the folders "apps", "css" and "js"*)
2. Create next symbol links in root directory of Monster UI
```bash
# ln [options] <target file> [link name]
ln -s js/vendor/datatables/jquery.dataTables.min.js datatables.net.js
@ -31,5 +34,10 @@ ln -s js/vendor/datatables/dataTables.buttons.min.js datatables.net-buttons.js
ln -s js/vendor/datatables/buttons.html5.min.js datatables.net-buttons-html5.js
ln -s js/vendor/datatables/buttons.bootstrap.min.js datatables.net-buttons-bootstrap.js
```
4. Register `callcenter` app
5. Activate Callcenter app in the Monster UI App Store ( `/#/apps/appstore` )
3. Register the callcenter app
```bash
# sup crossbar_maintenance init_app PATH_TO_CALLCENTER_DIRECTORY API_ROOT
# The Kazoo user should be able to read files from callcenter app directory
sup crossbar_maintenance init_app /var/www/html/monster-ui/dist/apps/callcenter https://site.com:8443/v2/
```
4. Activate Callcenter app in the Monster UI App Store ( `/#/apps/appstore` )

+ 1159
- 0
src/apps/callcenter/style/app.css
File diff suppressed because it is too large
View File


Loading…
Cancel
Save