add the enquete to the current site
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
class DashboardController < ApplicationController
|
||||
layout 'theme1'
|
||||
def home
|
||||
render layout: 'theme1-home'
|
||||
end
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
iframe[ src="https://docs.google.com/spreadsheet/embeddedform?formkey=dEI3NmlWRUFMbnVySWd6SzljYjM3NVE6MQ" width="760" height="1332"
|
||||
frameborder="0" marginheight="0" marginwidth="0"] Loading..
|
||||
@@ -42,6 +42,7 @@ html lang="en"
|
||||
ul.nav
|
||||
li= link_to User.model_name.human_plural, user_root_path
|
||||
li= link_to Supplier.model_name.human_plural, supplier_root_path
|
||||
li= link_to 'Enquete', enquete_path
|
||||
#banner-wrap
|
||||
.left
|
||||
.right
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
doctype html
|
||||
html lang="en"
|
||||
head
|
||||
meta charset="utf-8"
|
||||
meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"
|
||||
meta name="viewport" content="width=device-width, initial-scale=1.0"
|
||||
title= content_for?(:title) ? yield(:title) : application_title
|
||||
= csrf_meta_tags
|
||||
|
||||
/! Le HTML5 shim, for IE6-8 support of HTML elements
|
||||
/[if lt IE 9]
|
||||
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
|
||||
= stylesheet_link_tag "application", :media => "all"
|
||||
link href="/favicon.ico" rel="shortcut icon"
|
||||
link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'
|
||||
|
||||
body
|
||||
.header-nav-banner
|
||||
#header-wrap
|
||||
#ceiling
|
||||
.left
|
||||
.right
|
||||
.lights
|
||||
.light1
|
||||
.light2
|
||||
.light3
|
||||
.container
|
||||
#header
|
||||
#header-right
|
||||
.social
|
||||
a.wsite-social-facebook href="https://www.facebook.com/Qwaiter" target=:_blank
|
||||
span.wsite-social-inner
|
||||
a.wsite-social-twitter href="https://twitter.com/qwaiter" target=:_blank
|
||||
span.wsite-social-inner
|
||||
a.wsite-social-linkedin href="http://www.linkedin.com/company/579750" target=:_blank
|
||||
span.wsite-social-inner
|
||||
a.wsite-social-rss
|
||||
span.wsite-social-inner
|
||||
#logo= link_to image_tag('icons/logo-small.png', alt: application_title), root_path
|
||||
#nav-wrap
|
||||
.container
|
||||
ul.nav
|
||||
li= link_to User.model_name.human_plural, user_root_path
|
||||
li= link_to Supplier.model_name.human_plural, supplier_root_path
|
||||
li= link_to 'Enquete', enquete_path
|
||||
#banner-wrap
|
||||
.left
|
||||
.right
|
||||
.container
|
||||
#banner
|
||||
.wsite-header
|
||||
.clearing
|
||||
#main-wrap
|
||||
.container
|
||||
.content-top
|
||||
.main-inner
|
||||
#wsite-content.wsite-not-footer= yield
|
||||
#footer-wrap
|
||||
.footer-shadow
|
||||
.container
|
||||
.footer-top
|
||||
.bottom
|
||||
p © Companytools 2012
|
||||
= yield :footer
|
||||
|
||||
|
||||
.content
|
||||
- if flash[:alert].present?
|
||||
.alert.alert-error
|
||||
a.close data-dismiss="alert" ×
|
||||
div= flash[:alert]
|
||||
- if flash[:notice].present?
|
||||
.alert.alert-success
|
||||
a.close data-dismiss="alert" ×
|
||||
div= flash[:notice]
|
||||
= javascript_include_tag "application"
|
||||
@@ -0,0 +1,69 @@
|
||||
doctype html
|
||||
html lang="en"
|
||||
head
|
||||
meta charset="utf-8"
|
||||
meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"
|
||||
meta name="viewport" content="width=device-width, initial-scale=1.0"
|
||||
title= content_for?(:title) ? yield(:title) : application_title
|
||||
= csrf_meta_tags
|
||||
|
||||
/! Le HTML5 shim, for IE6-8 support of HTML elements
|
||||
/[if lt IE 9]
|
||||
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
|
||||
= stylesheet_link_tag "application", :media => "all"
|
||||
link href="/favicon.ico" rel="shortcut icon"
|
||||
link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'
|
||||
|
||||
body
|
||||
.header-nav-banner
|
||||
#header-wrap
|
||||
#ceiling
|
||||
.left
|
||||
.right
|
||||
.lights
|
||||
.light1
|
||||
.light2
|
||||
.light3
|
||||
.container
|
||||
#header
|
||||
#header-right
|
||||
.social
|
||||
a.wsite-social-facebook href="https://www.facebook.com/Qwaiter" target=:_blank
|
||||
span.wsite-social-inner
|
||||
a.wsite-social-twitter href="https://twitter.com/qwaiter" target=:_blank
|
||||
span.wsite-social-inner
|
||||
a.wsite-social-linkedin href="http://www.linkedin.com/company/579750" target=:_blank
|
||||
span.wsite-social-inner
|
||||
a.wsite-social-rss
|
||||
span.wsite-social-inner
|
||||
#logo= link_to image_tag('icons/logo-small.png', alt: application_title), root_path
|
||||
#nav-wrap
|
||||
.container
|
||||
ul.nav
|
||||
li= link_to User.model_name.human_plural, user_root_path
|
||||
li= link_to Supplier.model_name.human_plural, supplier_root_path
|
||||
li= link_to 'Enquete', enquete_path
|
||||
#main-wrap
|
||||
.container
|
||||
.content-top
|
||||
.main-inner
|
||||
#wsite-content.wsite-not-footer= yield
|
||||
#footer-wrap
|
||||
.footer-shadow
|
||||
.container
|
||||
.footer-top
|
||||
.bottom
|
||||
p © Companytools 2012
|
||||
= yield :footer
|
||||
|
||||
|
||||
.content
|
||||
- if flash[:alert].present?
|
||||
.alert.alert-error
|
||||
a.close data-dismiss="alert" ×
|
||||
div= flash[:alert]
|
||||
- if flash[:notice].present?
|
||||
.alert.alert-success
|
||||
a.close data-dismiss="alert" ×
|
||||
div= flash[:notice]
|
||||
= javascript_include_tag "application"
|
||||
@@ -66,6 +66,7 @@ Qrammer::Application.routes.draw do
|
||||
# DEVELOPMENT ONLY
|
||||
match '/qr' => 'dashboard#qr'
|
||||
match '/demo_both' => 'dashboard#demo_both'
|
||||
match '/enquete' => 'dashboard#enquete'
|
||||
|
||||
namespace :suppliers, path: '/supplier' do
|
||||
resources :sections do
|
||||
|
||||
Reference in New Issue
Block a user