diff --git a/emission/net/api/cfc_webapp.py b/emission/net/api/cfc_webapp.py index ea871315f..ce253f099 100644 --- a/emission/net/api/cfc_webapp.py +++ b/emission/net/api/cfc_webapp.py @@ -80,10 +80,10 @@ def index(): # If this gets to be too much, we should definitely consider that @route("/") def doc(filename): - if filename != "privacy" and filename != "support" and filename != "about" and filename != "consent": + if filename != "privacy" and filename != "home" and filename != "about" and filename != "index": return HTTPError(404, "Don't try to hack me, you evil spammer") else: - return static_file("%s.html" % filename, "%s/docs/" % static_path) + return static_file("%s.html" % filename, "%s/server/" % static_path) # Serve up javascript and css files properly @route('/front/') @@ -91,6 +91,30 @@ def server_static(filename): logging.debug("static filename = %s" % filename) return static_file(filename, static_path) +@route('/assets/css/') +def css_static(filename): + return static_file(filename, static_path + '/server/assets/css/') + +@route('/assets/css/images/') +def css_images_static(filename): + return static_file(filename, static_path + '/server/assets/css/images') + +@route('/assets/js/') +def js_static(filename): + return static_file(filename, static_path + '/server/assets/js/') + +@route('/assets/fonts/') +def fonts_static(filename): + return static_file(filename, static_path + '/server/assets/fonts/') + +@route('/assets/css/images/') +def assets_images_static(filename): + return static_file(filename, static_path + '/server/assets/css/images/') + +@route('/images/') +def images_static(filename): + return static_file(filename, static_path + '/server/images/') + @route('/clients//front/') def server_static(clientname, filename): logging.debug("returning file %s from client %s " % (filename, clientname)) diff --git a/front/server/About Us.html b/front/server/about.html similarity index 93% rename from front/server/About Us.html rename to front/server/about.html index edb76cb9c..59e9c1b15 100644 --- a/front/server/About Us.html +++ b/front/server/about.html @@ -1,3 +1,4 @@ + diff --git a/front/server/assets/css/images/overlay1.png b/front/server/assets/css/images/overlay1.png new file mode 100755 index 000000000..7aa803196 Binary files /dev/null and b/front/server/assets/css/images/overlay1.png differ diff --git a/front/server/home.html b/front/server/home.html index 427d79d25..a3da3504a 100644 --- a/front/server/home.html +++ b/front/server/home.html @@ -27,8 +27,8 @@

bPedal

diff --git a/front/server/images/header.jpg b/front/server/images/header.jpg new file mode 100644 index 000000000..e84417a68 Binary files /dev/null and b/front/server/images/header.jpg differ