Giter VIP home page Giter VIP logo

monster-ui-addressbooks's Introduction

Monster UI Address Books

The Address Books App allows you to manage address books and entries.

Installation to source files:

  1. Upload files from directory src to directory with source files of your Monster UI (near the folders "apps", "css" and "js")
  2. Add next strings to file /js/main.js after string paths: {
'datatables.net': 'js/vendor/datatables/jquery.dataTables.min',
'datatables.net-bs': 'js/vendor/datatables/dataTables.bootstrap.min',
'datatables.net-buttons': 'js/vendor/datatables/dataTables.buttons.min',
'datatables.net-buttons-html5': 'js/vendor/datatables/buttons.html5.min',
'datatables.net-buttons-bootstrap':'js/vendor/datatables/buttons.bootstrap.min',
  1. Build your Monster UI with original builder (command gulp)
  2. Register addressbooks app
#sup crossbar_maintenance init_app <absolute path to addressbooks app> <your api base url>
sup crossbar_maintenance init_app /var/www/html/monster-ui/dist/apps/addressbooks https://site.com:8443/v2/ 
  1. Activate the AddressBooks app in the Monster UI App Store ( /#/apps/appstore )

Installation to compiled files:

  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
# ln [options] <target file> [link name]
ln -s js/vendor/datatables/jquery.dataTables.min.js datatables.net.js
ln -s js/vendor/datatables/dataTables.bootstrap.min.js datatables.net-bs.js
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
  1. Register addressbooks app
#sup crossbar_maintenance init_app <absolute path to addressbooks app> <your api base url>
sup crossbar_maintenance init_app /var/www/html/monster-ui/dist/apps/addressbooks https://site.com:8443/v2/ 
  1. Activate AddressBooks app in the Monster UI App Store ( /#/apps/appstore )

Default address book

Default address book is list of entries, which will be create automatically.
The user will not be able to change the default list name and to delete it through the application interface in this case.
If you want set default address book (list), you should add to js/config.js specific parameters as next:

define(function(require) {
	return {
		addressbooksapp: {
			create_default_addressbook: true,
			default_addressbook_name: "Default list"
		}
Parameter Value Type Default value Is required
create_default_addressbook boolean false No
default_addressbook_name string "default_addressbook" No

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.