Top bar responsiveness fix

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

@ -5,8 +5,8 @@
<title>RTL</title> <title>RTL</title>
<base href="/rtl/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <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="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> <body>
<rtl-app></rtl-app> <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> </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 logger = require('./controllers/logger');
var connect = {}; var connect = {};
var defaultConfig = { const setDefaultConfig = () => {
Authentication: { var macaroonPath = '';
macaroonPath: '', var lndConfigPath = '';
nodeAuthType: 'DEFAULT', var bitcoindConfigPath = '';
lndConfigPath: '', return {
rtlPass: '' Authentication: {
}, macaroonPath: macaroonPath,
Settings: { nodeAuthType: 'DEFAULT',
flgSidenavOpened: true, lndConfigPath: lndConfigPath,
flgSidenavPinned: true, rtlPass: ''
menu: 'Vertical', },
menuType: 'Regular', Settings: {
theme: 'dark-blue', flgSidenavOpened: true,
satsToBTC: false, flgSidenavPinned: true,
lndServerUrl: 'https://localhost:8080/v1', menu: 'Vertical',
bitcoindConfigPath: '', menuType: 'Regular',
enableLogging: false, theme: 'dark-blue',
port: 3000 satsToBTC: false,
}, lndServerUrl: 'https://localhost:8080/v1',
SSO: { bitcoindConfigPath: bitcoindConfigPath,
rtlSSO: 0, enableLogging: false,
rtlCookiePath: '', port: 3000
logoutRedirectLink: '/login' },
} SSO: {
}; rtlSSO: 0,
rtlCookiePath: '',
logoutRedirectLink: '/login'
}
};
}
const normalizePort = val => { const normalizePort = val => {
var port = parseInt(val, 10); var port = parseInt(val, 10);
@ -253,7 +258,7 @@ connect.configFileExists = () => {
logEnvVariables(); logEnvVariables();
} else { } else {
try { try {
fs.writeFileSync(RTLConfFile, ini.stringify(defaultConfig)); fs.writeFileSync(RTLConfFile, ini.stringify(setDefaultConfig()));
var config = ini.parse(fs.readFileSync(RTLConfFile, 'utf-8')); var config = ini.parse(fs.readFileSync(RTLConfFile, 'utf-8'));
setMacaroonPath(clArgs, config) setMacaroonPath(clArgs, config)
validateConfigFile(config); validateConfigFile(config);

Loading…
Cancel
Save