-
Notifications
You must be signed in to change notification settings - Fork 17
/
constants.js
53 lines (49 loc) · 1.26 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
global.settings = {
// change the API address and/or port number as necessary
// no need to put forward slash at the end
api: 'http://192.168.8.5:80'
};
// logo
global.logo = {
name: 'logo.png',
path: '/img/'
};
global.logo.uri = global.settings.api + global.logo.path + global.logo.name;
// add more CSS customizations to your liking
global.css = {
// general
bodyBackgroundColor: '#FEFEFE',
bodyIconColor: '#5B96A9',
bodyTextColor: '#808080',
// navigation bar
navigationBackgroundColor: '#5B96A9',
navigationIconColor: '#FEFEFE',
// sign in page
formLogoHeight: 160,
formInputColor: '#808080',
formInputIconColor: '#5B96A9',
formInputBorderColor: '#808080',
formErrorColor: '#5B96A9',
formSubmitBackgroundColor: '#5B96A9',
formSubmitIconColor: '#FEFEFE',
// splash page
bodyBackgroundColorInverted: '#5B96A9',
bodyIconColorInverted: '#FEFEFE'
};
global.msg = {
// change the welcome (sign in) message to your liking
welcome: 'Application is under construction.',
noConnection: 'No internet connection!'
};
global.input = {};
// input placeholders
global.input.placeholder = {
email: 'Email',
password: 'Password'
}
// input error messages
global.input.message = {
email: 'Please enter email',
password: 'Please enter password',
global: 'Host unreachable'
}