From f5d07128f11b93a08a3023e87fff7f30fdafe995 Mon Sep 17 00:00:00 2001 From: Will Searle <5527349+livehybrid@users.noreply.github.com> Date: Sun, 17 Jan 2021 17:11:44 +0000 Subject: [PATCH] Add missing js and typo in restmap --- .gitignore | 2 +- package/appserver/templates/base.html | 87 --------------------------- package/default/restmap.conf | 4 +- 3 files changed, 3 insertions(+), 90 deletions(-) delete mode 100644 package/appserver/templates/base.html diff --git a/.gitignore b/.gitignore index ebbde64..76e8b8e 100644 --- a/.gitignore +++ b/.gitignore @@ -23,7 +23,6 @@ local.meta *.spl # Unknown -build .build *.orig.pre41 @@ -34,6 +33,7 @@ build_scripts/*.gz splunk-ref-pas-code.iml out/ +output/ # RVM and rbenv /.rvmrc diff --git a/package/appserver/templates/base.html b/package/appserver/templates/base.html deleted file mode 100644 index 790b51b..0000000 --- a/package/appserver/templates/base.html +++ /dev/null @@ -1,87 +0,0 @@ -<%! -# retrieve settings -isLite = (cherrypy.config['product_type'] == 'lite' or cherrypy.config['product_type'] == 'lite_free') - -if cherrypy.config['product_type'] == 'hunk': - faviconFile = 'favicon_hunk.ico' -elif isLite: - faviconFile = 'favicon_lite.ico' -else: - faviconFile = 'favicon.ico' - -faviconFilePath = '/static/img/' + faviconFile - -config_qs = dict(autoload=1) -if hasattr(cherrypy.request, 'embed') and cherrypy.request.embed: - config_qs['embed'] = 1 -%>\ - -<% -app_name = app - -splk_root = "/static" -app_root = "/".join([splk_root,"app",app_name]) - -app_js = app_root + '/js' - -app_js_build = app_root + '/js/build' -app_css_build = app_root + '/css' - -pageJSName = page+'_page' - -# optimized js and css -common_css = "%s/common.css" % app_css_build -page_css ="%s/%s.css" % (app_css_build, page) -bootstrap_enterprise_css = "%s/bootstrap-enterprise.css" % app_css_build - -page_js = "%s/%s.js" % (app_js_build ,pageJSName) -%>\ - - - - - - - - -
- - -