Top bar responsiveness fix

pull/86/head
ShahanaFarooqui 5 years ago
parent 98541ea356
commit 65d7d17ea2

@ -5,8 +5,8 @@
<title>RTL</title>
<base href="/rtl/"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="assets/images/favicon.ico">
<link rel="stylesheet" href="styles.168392a8740fe909e5a9.css"></head>
<link rel="stylesheet" href="styles.5a9bc95a2a0293f04c31.css"></head>
<body>
<rtl-app></rtl-app>
<script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.418928a701f2040ada02.js"></script><script type="text/javascript" src="main.805225cdacf1973fe4ee.js"></script></body>
<script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.418928a701f2040ada02.js"></script><script type="text/javascript" src="main.3ec1b91d75f99fb62e78.js"></script></body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -8,31 +8,36 @@ var upperCase = require('upper-case');
var logger = require('./controllers/logger');
var connect = {};
var defaultConfig = {
Authentication: {
macaroonPath: '',
nodeAuthType: 'DEFAULT',
lndConfigPath: '',
rtlPass: ''
},
Settings: {
flgSidenavOpened: true,
flgSidenavPinned: true,
menu: 'Vertical',
menuType: 'Regular',
theme: 'dark-blue',
satsToBTC: false,
lndServerUrl: 'https://localhost:8080/v1',
bitcoindConfigPath: '',
enableLogging: false,
port: 3000
},
SSO: {
rtlSSO: 0,
rtlCookiePath: '',
logoutRedirectLink: '/login'
}
};
const setDefaultConfig = () => {
var macaroonPath = '';
var lndConfigPath = '';
var bitcoindConfigPath = '';
return {
Authentication: {
macaroonPath: macaroonPath,
nodeAuthType: 'DEFAULT',
lndConfigPath: lndConfigPath,
rtlPass: ''
},
Settings: {
flgSidenavOpened: true,
flgSidenavPinned: true,
menu: 'Vertical',
menuType: 'Regular',
theme: 'dark-blue',
satsToBTC: false,
lndServerUrl: 'https://localhost:8080/v1',
bitcoindConfigPath: bitcoindConfigPath,
enableLogging: false,
port: 3000
},
SSO: {
rtlSSO: 0,
rtlCookiePath: '',
logoutRedirectLink: '/login'
}
};
}
const normalizePort = val => {
var port = parseInt(val, 10);
@ -253,7 +258,7 @@ connect.configFileExists = () => {
logEnvVariables();
} else {
try {
fs.writeFileSync(RTLConfFile, ini.stringify(defaultConfig));
fs.writeFileSync(RTLConfFile, ini.stringify(setDefaultConfig()));
var config = ini.parse(fs.readFileSync(RTLConfFile, 'utf-8'));
setMacaroonPath(clArgs, config)
validateConfigFile(config);

Loading…
Cancel
Save