/**
* Created by cmiles on 8/9/2017.
*/
var express = require('express');
var router = express.Router();
var fs = require('fs');
var template_render = require('../core/render-template.js');
var authorize = require('../core/authorize.js');
router.get('/', authorize.auth, function(req, res, next) {
glass_settings_template = template_render.get_template("glass_settings");
var json_file = require('jsonfile');
/* Read Config */
glass_config = json_file.readFileSync('config/glass_config.json');
/* Leases File */
input = template_render.form_input('Leases File', '');
/* Config File */
input = input + template_render.form_input('Config File', '');
/* Log File */
input = input + template_render.form_input('Log File', '');
/* Admin User */
input = input + template_render.form_input('Admin User', '');
input = input + template_render.form_input('Admin Password', '');
input = input + '
';
input = input + '