├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── app.py ├── init.sql ├── screen_shoot ├── 买家个人中心.jpg ├── 买家个人信息修改界面.jpg ├── 买家主界面.jpg ├── 买家密码修改界面.jpg ├── 买家菜单界面.jpg ├── 买家购物车界面.jpg ├── 商家个人中心.jpg ├── 商家个人信息修改界面.jpg ├── 商家主界面.jpg ├── 商家修改菜品界面.jpg ├── 商家密码修改界面.jpg ├── 商家添加菜品界面.jpg ├── 商家菜单界面.jpg ├── 注册界面.jpg ├── 登录界面.jpg ├── 管理员主界面.jpg └── 首页.jpg ├── static ├── css │ ├── .DS_Store │ ├── OrderPage.css │ ├── animate.css │ ├── animate1.css │ ├── bootstrap-datepicker.min.css │ ├── bootstrap-datetimepicker.min.css │ ├── bootstrap.css │ ├── bootstrap.css.map │ ├── bootstrap1.css │ ├── bootstrap1.css.map │ ├── bootstrap1.min.css │ ├── cartstyle.css │ ├── flexslider.css │ ├── font-awesome.css │ ├── font-awesome1.css │ ├── icomoon.css │ ├── magnific-popup.css │ ├── magnific-popup1.css │ ├── owl.carousel.min.css │ ├── owl.theme.default.min.css │ ├── personal.css │ ├── screen.css │ ├── style.css │ ├── style.css.map │ ├── style1.css │ ├── test.css │ └── themify-icons.css ├── fonts │ ├── .DS_Store │ ├── FontAwesome.otf │ ├── bootstrap │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── icomoon │ │ ├── icomoon.eot │ │ ├── icomoon.svg │ │ ├── icomoon.ttf │ │ └── icomoon.woff │ └── themify-icons │ │ ├── themify.eot │ │ ├── themify.svg │ │ ├── themify.ttf │ │ └── themify.woff ├── images │ ├── .DS_Store │ ├── Slider.jpg │ ├── icons-s2205f6ae3b.png │ ├── img_1.jpg │ ├── img_2.jpg │ ├── img_3.jpg │ ├── img_4.jpg │ ├── img_5.jpg │ ├── img_6.jpg │ ├── img_7.jpg │ ├── img_bg_1.jpg │ ├── img_bg_2.jpg │ ├── loader.gif │ ├── logo.png │ ├── pizza.jpg │ ├── res_1.jpg │ └── res_2.jpg ├── js │ ├── .DS_Store │ ├── app.js │ ├── bootstrap-datepicker.min.js │ ├── bootstrap-datetimepicker.min.js │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── cart.js │ ├── google_map.js │ ├── jquery-1.11.2.min.js │ ├── jquery-2.2.1.min.js │ ├── jquery.countTo.js │ ├── jquery.easing.1.3.js │ ├── jquery.magnific-popup.min.js │ ├── jquery.min.js │ ├── jquery.mixitup.js │ ├── jquery.stellar.min.js │ ├── jquery.waypoints.min.js │ ├── magnific-popup-options.js │ ├── main.js │ ├── modernizr-2.6.2.min.js │ ├── moment.min.js │ ├── myOrder.js │ ├── owl.carousel.min.js │ ├── respond.min.js │ ├── smooth-scroll.js │ ├── template.js │ └── wow.js └── sass │ ├── .DS_Store │ ├── _bootstrap-compass.scss │ ├── _bootstrap-mincer.scss │ ├── _bootstrap-sprockets.scss │ ├── bootstrap.scss │ ├── bootstrap │ ├── _alerts.scss │ ├── _badges.scss │ ├── _breadcrumbs.scss │ ├── _button-groups.scss │ ├── _buttons.scss │ ├── _carousel.scss │ ├── _close.scss │ ├── _code.scss │ ├── _component-animations.scss │ ├── _dropdowns.scss │ ├── _forms.scss │ ├── _glyphicons.scss │ ├── _grid.scss │ ├── _input-groups.scss │ ├── _jumbotron.scss │ ├── _labels.scss │ ├── _list-group.scss │ ├── _media.scss │ ├── _mixins.scss │ ├── _modals.scss │ ├── _navbar.scss │ ├── _navs.scss │ ├── _normalize.scss │ ├── _pager.scss │ ├── _pagination.scss │ ├── _panels.scss │ ├── _popovers.scss │ ├── _print.scss │ ├── _progress-bars.scss │ ├── _responsive-embed.scss │ ├── _responsive-utilities.scss │ ├── _scaffolding.scss │ ├── _tables.scss │ ├── _theme.scss │ ├── _thumbnails.scss │ ├── _tooltip.scss │ ├── _type.scss │ ├── _utilities.scss │ ├── _variables.scss │ ├── _wells.scss │ └── mixins │ │ ├── _alerts.scss │ │ ├── _background-variant.scss │ │ ├── _border-radius.scss │ │ ├── _buttons.scss │ │ ├── _center-block.scss │ │ ├── _clearfix.scss │ │ ├── _forms.scss │ │ ├── _gradients.scss │ │ ├── _grid-framework.scss │ │ ├── _grid.scss │ │ ├── _hide-text.scss │ │ ├── _image.scss │ │ ├── _labels.scss │ │ ├── _list-group.scss │ │ ├── _nav-divider.scss │ │ ├── _nav-vertical-align.scss │ │ ├── _opacity.scss │ │ ├── _pagination.scss │ │ ├── _panels.scss │ │ ├── _progress-bar.scss │ │ ├── _reset-filter.scss │ │ ├── _reset-text.scss │ │ ├── _resize.scss │ │ ├── _responsive-visibility.scss │ │ ├── _size.scss │ │ ├── _tab-focus.scss │ │ ├── _table-row.scss │ │ ├── _text-emphasis.scss │ │ ├── _text-overflow.scss │ │ └── _vendor-prefixes.scss │ └── style.scss └── templates ├── 404.html ├── CommentForm.html ├── Menu.html ├── MenuAdd.html ├── MenuModify.html ├── MerchantIndex.html ├── MerchantMenu.html ├── MerchantModifyPerInfo.html ├── MerchantModifyPwd.html ├── MerchantOrderPage.html ├── MerchantPersonal.html ├── ModifyPassword.html ├── ModifyPersonalInfo.html ├── MyComments.html ├── OrderPage.html ├── Register.html ├── ResComment.html ├── ResCommentList.html ├── UserRestList.html ├── WriteComments.html ├── adminCommentList.html ├── adminRestList.html ├── index.html ├── logIn.html ├── myOrder.html └── personal.html /.gitattributes: -------------------------------------------------------------------------------- 1 | *.css linguist-language=python 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | .DS_Store 6 | 7 | # data files 8 | data/*.csv 9 | 10 | # draw pic file 11 | plot_roc1.py 12 | plot_roc2.py 13 | 14 | # bash file 15 | run.sh 16 | 17 | # C extensions 18 | *.so 19 | 20 | # Distribution / packaging 21 | .Python 22 | build/ 23 | develop-eggs/ 24 | dist/ 25 | downloads/ 26 | eggs/ 27 | .eggs/ 28 | lib/ 29 | lib64/ 30 | parts/ 31 | sdist/ 32 | var/ 33 | wheels/ 34 | pip-wheel-metadata/ 35 | share/python-wheels/ 36 | *.egg-info/ 37 | .installed.cfg 38 | *.egg 39 | MANIFEST 40 | 41 | # PyInstaller 42 | # Usually these files are written by a python script from a template 43 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 44 | *.manifest 45 | *.spec 46 | 47 | # Installer logs 48 | pip-log.txt 49 | pip-delete-this-directory.txt 50 | 51 | # Unit test / coverage reports 52 | htmlcov/ 53 | .tox/ 54 | .nox/ 55 | .coverage 56 | .coverage.* 57 | .cache 58 | nosetests.xml 59 | coverage.xml 60 | *.cover 61 | *.py,cover 62 | .hypothesis/ 63 | .pytest_cache/ 64 | 65 | # Translations 66 | *.mo 67 | *.pot 68 | 69 | # Django stuff: 70 | *.log 71 | local_settings.py 72 | db.sqlite3 73 | db.sqlite3-journal 74 | 75 | # Flask stuff: 76 | instance/ 77 | .webassets-cache 78 | 79 | # Scrapy stuff: 80 | .scrapy 81 | 82 | # Sphinx documentation 83 | docs/_build/ 84 | 85 | # PyBuilder 86 | target/ 87 | 88 | # Jupyter Notebook 89 | .ipynb_checkpoints 90 | 91 | # IPython 92 | profile_default/ 93 | ipython_config.py 94 | 95 | # pyenv 96 | .python-version 97 | 98 | # pipenv 99 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 100 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 101 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 102 | # install all needed dependencies. 103 | #Pipfile.lock 104 | 105 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow 106 | __pypackages__/ 107 | 108 | # Celery stuff 109 | celerybeat-schedule 110 | celerybeat.pid 111 | 112 | # SageMath parsed files 113 | *.sage.py 114 | 115 | # Environments 116 | .env 117 | .venv 118 | env/ 119 | venv/ 120 | ENV/ 121 | env.bak/ 122 | venv.bak/ 123 | 124 | # Spyder project settings 125 | .spyderproject 126 | .spyproject 127 | 128 | # Rope project settings 129 | .ropeproject 130 | 131 | # mkdocs documentation 132 | /site 133 | 134 | # mypy 135 | .mypy_cache/ 136 | .dmypy.json 137 | dmypy.json 138 | 139 | # Pyre type checker 140 | .pyre/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright 2020 ZhangHongYu 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 6 | to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 7 | and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 8 | 9 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 10 | 11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 12 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 13 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 9 | # Takeaways-Order-Sys 10 | 11 | [![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/orion-orion/Takeaways-Order-Sys) 12 | [![](https://img.shields.io/github/license/orion-orion/Takeaways-Order-Sys)](https://github.com/orion-orion/Takeaways-Order-Sys/LICENSE) 13 | [![](https://img.shields.io/github/stars/orion-orion/Takeaways-Order-Sys?style=social)](https://github.com/orion-orion/Takeaways-Order-Sys) 14 | 15 | 16 | ​ 17 | > 本项目为SWPU数据库原理及应用大作业,在线外卖订餐系统《西柚の外卖屋》, 基于[Flask](https://github.com/pallets/flask)框架+MySQL数据库开发,轻量简洁。 18 | 19 | #### 项目模块及功能介绍 20 | 21 | 本系统包括登录模块、注册模块、商家用户模块、买家用户模块、系统管理员模块。具体功能介绍如下: 22 | 23 | + 登录模块 24 | - [x] 选择管理员、商家用户、用户三种身份登录 25 | - [x] 将输入的用户名与密码与数据库中的数据进行对比验证 26 | 27 | + 注册模块 28 | - [x] 选择商家用户、用户两种身份注册 29 | - [x] 将注册信息(用户名、密码、电话、地址)存入数据库 30 | 31 | + 商家用户模块 32 | - [x] 维护商家个人信息(店名、地址、联系电话、商家图片) 33 | - [x] 修改商家个人登录密码 34 | - [x] 维护菜单列表(菜品名称、菜品描述、营养成分、销量、价格、菜品图片、是否为招牌菜),包括添加、删除、修改 35 | - [x] 对菜品列表按照销量或价格排序查看 36 | - [x] 查看顾客订单与完成情况 37 | - [x] 对顾客订单按照时间或价格排序查看 38 | - [x] 查看顾客对商家当前菜品的评论(订单号、顾客用户名、餐厅名、是否完成、花费、评分、评语、交易时间) 39 | 40 | + 买家用户模块 41 | - [x] 维护买家用户个人信息(用户名、地址、联系电话) 42 | - [x] 修改用户个人登录密码 43 | - [x] 查看商家列表(店名、地址、联系电话、商家图片) 44 | - [x] 查看商家菜单列表(菜品名称、菜品描述、营养成分、销量、价格、菜品图片、是否为招牌菜) 45 | - [x] 对菜单列表按销量或价格排序查看 46 | - [x] 筛选出菜单列表中的特色菜 47 | - [x] 将菜品加入购物车 48 | - [x] 维护购物车,包括选择、删除、搜索、修改数量 49 | - [x] 对购物车进行结算,结算时商品价格可促销打折,可选择堂食或外卖两种就餐方式 50 | - [x] 查看商家评价信息 51 | - [x] 查看以完成订单 52 | - [x] 对当前订单按时间或价格排序查看 53 | - [x] 查看已发表评价(订单号、顾客用户名、餐厅名、是否完成、花费、评分、评语、交易时间) 54 | - [x] 查看可发表评价的订单 55 | - [x] 对可发表评价的订单按交易时间或价格排序查看 56 | 57 | + 系统管理员模块 58 | - [x] 查看各商家获得的评价信息 59 | - [x] 对各商家获得的评价信息按照评分升序查看 60 | - [x] 移除恶意营销商家 61 | 62 | #### 项目结构 63 | ├── screen_shot          //项目测试截图 64 | ├── static             //网页静态资源 65 | │ ├── css             //css样式配置 66 | │ ├── fonts            //字体配置 67 | │ ├── images           //图片文件 68 | │ ├── js              //javascript脚本文件 69 | ├── templates           //基于jinja2编写的HTML模板文件 70 | ├── app.py             //Web服务启动程序 71 | └── README.md           //help 72 | 73 | #### 环境依赖 74 | 75 | + Python 3.9.10 76 | + Flask 2.1.1 77 | + PyMySQL 1.0.2 78 | + MySQL 8.0.28 79 | 80 | #### 运行方法 81 | 先以MySQL的root身份执行SQL脚本初始化数据库与数据表项(会提示输入root用户的登录密码) 82 | ~~~shell 83 | mysql -uroot -p < init.sql 84 | ~~~ 85 | 再执行Web服务启动程序 86 | ~~~python 87 | 88 | python app.py --mysql_pwd 11235813 --db_name appDB 89 | ~~~ 90 | 注意此处`mysql_pwd`也是你MySQL的root用户登录密码,`db_name`即你用`init.sql`创建的数据库名称。 91 | #### 系统部分界面展示 92 | 93 | + 首页 94 | 95 | ![首页](screen_shoot/首页.jpg) 96 | 97 | + 注册界面 98 | 99 | ![注册界面](screen_shoot/注册界面.jpg) 100 | 101 | + 登录界面 102 | 103 | ![登录界面](screen_shoot/登录界面.jpg) 104 | 105 | + 商家主界面 106 | 107 | ![商家主界面](screen_shoot/商家主界面.jpg) 108 | 109 | + 商家菜单界面 110 | 111 | ![商家菜单界面](screen_shoot/商家菜单界面.jpg) 112 | 113 | + 商家添加菜品界面 114 | 115 | ![商家添加菜品界面](screen_shoot/商家添加菜品界面.jpg) 116 | 117 | + 商家修改菜品界面 118 | 119 | ![商家修改菜品界面](screen_shoot/商家修改菜品界面.jpg) 120 | 121 | + 商家个人中心 122 | 123 | ![商家个人中心](screen_shoot/商家个人中心.jpg) 124 | 125 | + 商家个人信息修改界面 126 | 127 | ![商家个人信息修改界面](screen_shoot/商家个人信息修改界面.jpg) 128 | 129 | + 商家密码修改界面 130 | 131 | ![商家密码修改界面](screen_shoot/商家密码修改界面.jpg) 132 | 133 | + 买家主界面 134 | 135 | ![买家主界面](screen_shoot/买家主界面.jpg) 136 | 137 | + 买家菜单界面 138 | 139 | ![买家菜单界面](screen_shoot/买家菜单界面.jpg) 140 | 141 | + 买家购物车界面 142 | 143 | ![买家购物车界面](screen_shoot/买家购物车界面.jpg) 144 | 145 | + 买家个人中心 146 | 147 | ![买家个人中心](screen_shoot/买家个人中心.jpg) 148 | 149 | + 买家个人信息修改界面 150 | 151 | ![买家个人信息修改界面](screen_shoot/买家个人信息修改界面.jpg) 152 | 153 | + 买家密码修改界面 154 | 155 | ![买家密码修改界面](screen_shoot/买家密码修改界面.jpg) 156 | 157 | + 管理员主界面 158 | 159 | ![管理员主界面](screen_shoot/管理员主界面.jpg) 160 | -------------------------------------------------------------------------------- /init.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE appDB; 2 | USE appDB; 3 | CREATE TABLE `ADMIN`( 4 | `username` CHAR(15) PRIMARY KEY, 5 | `password` CHAR(12) NOT NULL 6 | )ENGINE=InnoDB DEFAULT CHARSET=utf8; 7 | INSERT INTO `ADMIN` VALUES 8 | ('root','12345678'); 9 | SELECT* FROM ADMIN; 10 | 11 | CREATE TABLE `CUSTOMER`( 12 | `username` CHAR(15) PRIMARY KEY, 13 | `password` CHAR(12) NOT NULL, 14 | `address` VARCHAR(30) NOT NULL, 15 | `phone` CHAR(15) NOT NULL 16 | )ENGINE=InnoDB DEFAULT CHARSET=utf8; 17 | INSERT INTO `CUSTOMER` VALUES 18 | ('lonelyprince7','77777777','西南石油大学学生宿舍10-222','13844444444'), 19 | ('小张','55555555','西南石油大学学生宿舍17-555','18833344444'); 20 | SELECT* FROM CUSTOMER; 21 | 22 | CREATE TABLE `RESTAURANT`( 23 | `username` CHAR(15) PRIMARY KEY, 24 | `password` CHAR(12) NOT NULL, 25 | `address` VARCHAR(30) NOT NULL, 26 | `phone` CHAR(15) NOT NULL, 27 | `img_res` VARCHAR(50) 28 | )ENGINE=InnoDB DEFAULT CHARSET=utf8; 29 | INSERT INTO `RESTAURANT` VALUES 30 | ('土风土味','77777777','四川省成都市新都区正因村128号','1314074','static/images/res_2.jpg'), 31 | ('统一面馆','88888888','四川省成都市新都区正熊猫大道69号','1884801','static/images/res_1.jpg'); 32 | SELECT* FROM RESTAURANT; 33 | 34 | CREATE TABLE `DISHES`( 35 | `dishname` CHAR(15) PRIMARY KEY, 36 | `restaurant` CHAR(15) NOT NULL, 37 | `dishinfo` VARCHAR(50) , 38 | `nutriention` VARCHAR(30), 39 | `price` DECIMAL(5,2) NOT NULL, 40 | `sales` INT(5) NOT NULL, 41 | `imgsrc` VARCHAR(50), 42 | `isSpecialty` BOOLEAN, 43 | FOREIGN KEY (restaurant) 44 | REFERENCES RESTAURANT(username) 45 | )ENGINE=InnoDB DEFAULT CHARSET=utf8; 46 | INSERT INTO DISHES VALUES 47 | ('水煮鱼', '土风土味', '松江鲈鱼,巨口细鳞,肉质鲜嫩', '蛋白质,维生素', 26.00, 0, 'static/images/img_2.jpg', 0), 48 | ('香锅牛肉', '土风土味', '该香锅牛肉味道鲜美,有土豆藕片等蔬菜可添加', '蛋白质,维生素', 14.50, 0, 'static/images/img_5.jpg', 1), 49 | ('牛肉面', '统一面馆', '老坛酸菜牛肉面,麻辣酸爽,美味享受', '蛋白质,淀粉,维生素', 13.00, 1, 'static/images/img_7.jpg', 0); 50 | SELECT* FROM DISHES; 51 | 52 | CREATE TABLE `SHOPPINGCART`( 53 | `username` CHAR(15), 54 | `restaurant` CHAR(15), 55 | `dishname` CHAR(15), 56 | `price` DECIMAL(5,2) NOT NULL, 57 | `img_res` VARCHAR(50), 58 | FOREIGN KEY (username) 59 | REFERENCES CUSTOMER(username), 60 | FOREIGN KEY (restaurant) 61 | REFERENCES RESTAURANT(username), 62 | FOREIGN KEY (dishname) 63 | REFERENCES DISHES(dishname), 64 | PRIMARY KEY (username,restaurant,dishname) 65 | )ENGINE=InnoDB DEFAULT CHARSET=utf8; 66 | INSERT INTO `SHOPPINGCART` VALUES 67 | ('lonelyprince7','土风土味','水煮鱼',26.00,'static/images/img_2.jpg'); 68 | SELECT* FROM SHOPPINGCART; 69 | 70 | CREATE TABLE `ORDER_COMMENT`( 71 | `orderID` CHAR(15) PRIMARY KEY, 72 | `username` CHAR(15) NOT NULL, 73 | `restaurant` VARCHAR(15) NOT NULL, 74 | `isFinished` BOOLEAN, 75 | CHECK(isFinished=1 or isFinished =0), 76 | `cost` DECIMAL(5,2) NOT NULL, 77 | `c_rank` TINYINT(1), 78 | CHECK(c_rank BETWEEN 1 AND 5), 79 | `text` VARCHAR(50), 80 | `transactiontime` TIMESTAMP(0) NOT NULL, 81 | CHECK(transactiontime BETWEEN '1970-01-01 00:00:01' AND '2038-01-19 03:14:07'), 82 | FOREIGN KEY (username) 83 | REFERENCES CUSTOMER(username), 84 | FOREIGN KEY (restaurant) 85 | REFERENCES RESTAURANT(username) 86 | )ENGINE=InnoDB DEFAULT CHARSET=utf8; 87 | 88 | INSERT INTO ORDER_COMMENT VALUES 89 | ('1444000', 'lonelyprince7', '土风土味', 1, 26.00, 1, '鱼肉非常不新鲜,不推荐', '2020-11-7 13:14:07'), 90 | ('1445000', 'lonelyprince7', '土风土味', 1, 14.50, 3, '牛肉太少,蔬菜太多,希望下次多放点牛肉', '2020-10-13 20:29:13'), 91 | ('1446000', '小张', '统一面馆', 0, 13.00, 5, '分量足,味道好,推荐', '2020-10-27 15:45:21'); 92 | SELECT* FROM ORDER_COMMENT; -------------------------------------------------------------------------------- /screen_shoot/买家个人中心.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/买家个人中心.jpg -------------------------------------------------------------------------------- /screen_shoot/买家个人信息修改界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/买家个人信息修改界面.jpg -------------------------------------------------------------------------------- /screen_shoot/买家主界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/买家主界面.jpg -------------------------------------------------------------------------------- /screen_shoot/买家密码修改界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/买家密码修改界面.jpg -------------------------------------------------------------------------------- /screen_shoot/买家菜单界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/买家菜单界面.jpg -------------------------------------------------------------------------------- /screen_shoot/买家购物车界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/买家购物车界面.jpg -------------------------------------------------------------------------------- /screen_shoot/商家个人中心.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/商家个人中心.jpg -------------------------------------------------------------------------------- /screen_shoot/商家个人信息修改界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/商家个人信息修改界面.jpg -------------------------------------------------------------------------------- /screen_shoot/商家主界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/商家主界面.jpg -------------------------------------------------------------------------------- /screen_shoot/商家修改菜品界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/商家修改菜品界面.jpg -------------------------------------------------------------------------------- /screen_shoot/商家密码修改界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/商家密码修改界面.jpg -------------------------------------------------------------------------------- /screen_shoot/商家添加菜品界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/商家添加菜品界面.jpg -------------------------------------------------------------------------------- /screen_shoot/商家菜单界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/商家菜单界面.jpg -------------------------------------------------------------------------------- /screen_shoot/注册界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/注册界面.jpg -------------------------------------------------------------------------------- /screen_shoot/登录界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/登录界面.jpg -------------------------------------------------------------------------------- /screen_shoot/管理员主界面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/管理员主界面.jpg -------------------------------------------------------------------------------- /screen_shoot/首页.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/screen_shoot/首页.jpg -------------------------------------------------------------------------------- /static/css/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/css/.DS_Store -------------------------------------------------------------------------------- /static/css/OrderPage.css: -------------------------------------------------------------------------------- 1 | .fh5co-card-item .fh5co-text { 2 | padding: 0px 10px 10px 20px; 3 | text-align: center; 4 | position: relative; 5 | z-index: 22; 6 | } 7 | .fh5co-card-item .fh5co-text:before { 8 | /* position: absolute; 9 | top: -40px; 10 | right: 0; 11 | left: 0; 12 | width: 103%; 13 | margin-left: -4px; 14 | height: 50px; 15 | z-index: -1; 16 | content: ""; 17 | background: #fff; 18 | -webkit-transform: rotate(4deg); 19 | -moz-transform: rotate(4deg); 20 | -ms-transform: rotate(4deg); 21 | -o-transform: rotate(4deg); 22 | transform: rotate(4deg); */ 23 | text-align: center; 24 | } 25 | .gtco-container form input { 26 | color: white; 27 | font-size: 16px; 28 | outline:none; 29 | border:0px; 30 | background-color: #FBB448; 31 | border-radius: 10%; 32 | } 33 | .selectcondition { 34 | float: left; 35 | } -------------------------------------------------------------------------------- /static/css/cartstyle.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | *{margin:0; 3 | padding:0; 4 | list-style-type:none;} 5 | 6 | a 7 | {color:#666; 8 | text-decoration:none;} 9 | 10 | table 11 | {border-collapse:collapse; 12 | border-spacing:0; 13 | border:0;} 14 | 15 | body 16 | {color:#666; 17 | font:12px/180% Arial, Helvetica, sans-serif, "新宋体";} 18 | 19 | clearfix:after 20 | {content:"."; 21 | display:block; 22 | height:0; 23 | clear:both; 24 | visibility:hidden} 25 | 26 | .clearfix 27 | {display:inline-table} 28 | 29 | *html .clearfix 30 | {height:1%} 31 | 32 | .clearfix 33 | {display:block} 34 | 35 | *+html .clearfix 36 | {min-height:1%} 37 | 38 | .fl 39 | {float:left;} 40 | 41 | .fr 42 | {float:right;} 43 | /*素材家园 - www.sucaijiayuan.com*/ 44 | .catbox 45 | {width:940px; 46 | margin:100px auto;} 47 | 48 | .catbox table 49 | {text-align:center; 50 | width:100%;} 51 | 52 | .catbox table th,.catbox table td 53 | {border:1px solid #CADEFF;} 54 | 55 | .catbox table th 56 | {background:#e2f2ff; 57 | border-top:3px solid #a7cbff; 58 | height:30px;} 59 | 60 | .catbox table td 61 | {padding:10px; 62 | color:#444;} 63 | 64 | .catbox table tbody tr:hover 65 | {background:RGB(238,246,255);} 66 | 67 | .checkbox 68 | {width:60px;} 69 | 70 | .check-all 71 | { vertical-align:middle;} 72 | 73 | .goods 74 | {width:300px;} 75 | 76 | .goods span 77 | {width:180px; 78 | margin-top:20px; 79 | text-align:left; 80 | float:left;} 81 | 82 | .goods img 83 | {width:100px; 84 | height:80px; 85 | margin-right:10px; 86 | float:left;} 87 | 88 | .price 89 | {width:130px;} 90 | 91 | .count 92 | {width:30px;} 93 | 94 | .count .add, .count input, .count .reduce 95 | {float:left; 96 | margin-right:-1px; 97 | position:relative; 98 | z-index:0;} 99 | 100 | .count .add, .count .reduce 101 | {height:23px; 102 | width:17px; 103 | border:1px solid #e5e5e5; 104 | background:#f0f0f0; 105 | text-align:center; 106 | line-height:23px; 107 | color:#444;} 108 | 109 | .count .add:hover, .count .reduce:hover{color:#f50;z-index:3;border-color:#f60;cursor:pointer;} 110 | .count input{width:50px;height:15px;line-height:15px;border:1px solid #aaa;color:#343434;text-align:center;padding:4px 0;background-color:#fff;z-index:2;} 111 | .subtotal{width:150px;color:red;font-weight:bold;} 112 | .operation span:hover,a:hover{cursor:pointer;color:red;text-decoration:underline;} 113 | 114 | .foot{margin-top:0px;color:#666;height:48px;border:1px solid #c8c8c8;border-top:0;background-color:#eaeaea;background-image:linear-gradient(RGB(241,241,241),RGB(226,226,226));position:relative;z-index:8;} 115 | .foot div, .foot a{line-height:48px;height:48px;} 116 | .foot .select-all{width:80px;height:48px;line-height:48px;color:#666;text-align:center;} 117 | .foot .delete{padding-left:10px;} 118 | .foot .closing{border-left:1px solid #c8c8c8;width:103px;text-align:center;color:#666;font-weight:bold;cursor:pointer;background-image:linear-gradient(RGB(241,241,241),RGB(226,226,226));} 119 | .foot .closing:hover{background-image:linear-gradient(RGB(226,226,226),RGB(241,241,241));color:#333;} 120 | .foot .total{margin:0 20px;cursor:pointer;} 121 | .foot #priceTotal, .foot #selectedTotal{color:red;font-family:"Microsoft Yahei";font-weight:bold;} 122 | .foot .selected{cursor:pointer;} 123 | .foot .selected .arrow{position:relative;top:-3px;margin-left:3px;} 124 | .foot .selected .down{position:relative;top:3px;display:none;} 125 | .show .selected .down{display:inline;} 126 | .show .selected .up{display:none;} 127 | .foot .selected:hover .arrow{color:red;} 128 | .foot .selected-view{width:938px;border:1px solid #c8c8c8;position:absolute;height:auto;background:#ffffff;z-index:9;bottom:48px;left:-1px;display:none;} 129 | .show .selected-view{display:block;} 130 | .foot .selected-view div{height:auto;} 131 | .foot .selected-view .arrow{font-size:16px;line-height:100%;color:#c8c8c8;position:absolute;right:330px;bottom:-9px;} 132 | .foot .selected-view .arrow span{color:#ffffff;position:absolute;left:0px;bottom:1px;} 133 | 134 | #selectedViewList 135 | {padding:10px 20px 10px 20px;} 136 | 137 | #selectedViewList div 138 | {display:inline-block; 139 | position:relative; 140 | width:100px; 141 | height:80px; 142 | border:1px solid #ccc; 143 | margin:10px; 144 | float:left;} 145 | 146 | #selectedViewList div img{width:100px;height:80px;margin-right:10px;float:left;} 147 | #selectedViewList div span{display:none;color:#ffffff;font-size:12px;position:absolute;top:0px;right:0px;width:60px;height:18px;line-height:18px;text-align:center;background:#000;cursor:pointer;} 148 | #selectedViewList div:hover span{display:block;} -------------------------------------------------------------------------------- /static/css/owl.carousel.min.css: -------------------------------------------------------------------------------- 1 | .owl-carousel .animated{-webkit-animation-duration:1000ms;animation-duration:1000ms;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{-webkit-transition:height 500ms ease-in-out;-moz-transition:height 500ms ease-in-out;-ms-transition:height 500ms ease-in-out;-o-transition:height 500ms ease-in-out;transition:height 500ms ease-in-out}.owl-carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0px,0,0)}.owl-carousel .owl-controls .owl-dot,.owl-carousel .owl-controls .owl-nav .owl-next,.owl-carousel .owl-controls .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loaded{display:block}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel .owl-refresh .owl-item{display:none}.owl-carousel .owl-item{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d}.owl-carousel.owl-text-select-on .owl-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.owl-carousel .owl-grab{cursor:move;cursor:-webkit-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.no-js .owl-carousel{display:block}.owl-carousel .owl-item .owl-lazy{opacity:0;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease}.owl-carousel .owl-item img{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;-webkit-transition:scale 100ms ease;-moz-transition:scale 100ms ease;-ms-transition:scale 100ms ease;-o-transition:scale 100ms ease;transition:scale 100ms ease}.owl-carousel .owl-video-play-icon:hover{-webkit-transition:scale(1.3,1.3);-moz-transition:scale(1.3,1.3);-ms-transition:scale(1.3,1.3);-o-transition:scale(1.3,1.3);transition:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease}.owl-carousel .owl-video-frame{position:relative;z-index:1} -------------------------------------------------------------------------------- /static/css/owl.theme.default.min.css: -------------------------------------------------------------------------------- 1 | .owl-theme .owl-controls{margin-top:10px;text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-controls .owl-nav [class*=owl-]{color:#fff;font-size:14px;margin:5px;padding:4px 7px;background:#d6d6d6;display:inline-block;cursor:pointer;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.owl-theme .owl-controls .owl-nav [class*=owl-]:hover{background:#869791;color:#fff;text-decoration:none}.owl-theme .owl-controls .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1;*display:inline}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#d6d6d6;display:block;-webkit-backface-visibility:visible;-webkit-transition:opacity 200ms ease;-moz-transition:opacity 200ms ease;-ms-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791} -------------------------------------------------------------------------------- /static/css/personal.css: -------------------------------------------------------------------------------- 1 | /* .listbkg { 2 | width: 100%; 3 | height: auto; 4 | background-color: #FBB448; 5 | } */ 6 | /* .navbkg { 7 | width: 100%; 8 | height: 69px; 9 | background-color: #000; 10 | } */ 11 | a :hover{ 12 | text-decoration: none; 13 | } -------------------------------------------------------------------------------- /static/css/test.css: -------------------------------------------------------------------------------- 1 | .test { 2 | width: 30px; 3 | height: 30px; 4 | background-color: red; 5 | } -------------------------------------------------------------------------------- /static/fonts/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/.DS_Store -------------------------------------------------------------------------------- /static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /static/fonts/bootstrap/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/bootstrap/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /static/fonts/bootstrap/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/bootstrap/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /static/fonts/bootstrap/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/bootstrap/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /static/fonts/bootstrap/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/bootstrap/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /static/fonts/icomoon/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/icomoon/icomoon.eot -------------------------------------------------------------------------------- /static/fonts/icomoon/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/icomoon/icomoon.ttf -------------------------------------------------------------------------------- /static/fonts/icomoon/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/icomoon/icomoon.woff -------------------------------------------------------------------------------- /static/fonts/themify-icons/themify.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/themify-icons/themify.eot -------------------------------------------------------------------------------- /static/fonts/themify-icons/themify.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/themify-icons/themify.ttf -------------------------------------------------------------------------------- /static/fonts/themify-icons/themify.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/fonts/themify-icons/themify.woff -------------------------------------------------------------------------------- /static/images/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/.DS_Store -------------------------------------------------------------------------------- /static/images/Slider.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/Slider.jpg -------------------------------------------------------------------------------- /static/images/icons-s2205f6ae3b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/icons-s2205f6ae3b.png -------------------------------------------------------------------------------- /static/images/img_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/img_1.jpg -------------------------------------------------------------------------------- /static/images/img_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/img_2.jpg -------------------------------------------------------------------------------- /static/images/img_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/img_3.jpg -------------------------------------------------------------------------------- /static/images/img_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/img_4.jpg -------------------------------------------------------------------------------- /static/images/img_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/img_5.jpg -------------------------------------------------------------------------------- /static/images/img_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/img_6.jpg -------------------------------------------------------------------------------- /static/images/img_7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/img_7.jpg -------------------------------------------------------------------------------- /static/images/img_bg_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/img_bg_1.jpg -------------------------------------------------------------------------------- /static/images/img_bg_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/img_bg_2.jpg -------------------------------------------------------------------------------- /static/images/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/loader.gif -------------------------------------------------------------------------------- /static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/logo.png -------------------------------------------------------------------------------- /static/images/pizza.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/pizza.jpg -------------------------------------------------------------------------------- /static/images/res_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/res_1.jpg -------------------------------------------------------------------------------- /static/images/res_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/images/res_2.jpg -------------------------------------------------------------------------------- /static/js/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/js/.DS_Store -------------------------------------------------------------------------------- /static/js/app.js: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------ 2 | Project: Seven - HTML onpage theme 3 | Version: 1.0 4 | Last change: 10/03/2015 5 | Author: GraphBerry 6 | URL: # 7 | License: #/pages/license 8 | -------------------------------------------------------------------*/ 9 | 10 | $(function () { 11 | 'use strict'; 12 | 13 | /*-------------------------------------------------- 14 | WOW Effects Animation 15 | ---------------------------------------------------*/ 16 | 17 | var wow = new WOW({ 18 | boxClass: 'wow', // animated element css class (default is wow) 19 | animateClass: 'animated', // animation css class (default is animated) 20 | offset: 100, // distance to the element when triggering the animation (default is 0) 21 | mobile: false // trigger animations on mobile devices (true is default) 22 | }); 23 | wow.init(); 24 | 25 | /*-------------------------------------------------- 26 | Page Scroll Features 27 | ---------------------------------------------------*/ 28 | smoothScroll.init({ 29 | speed: 1000, 30 | updateURL: true, 31 | offset: 50 32 | }); 33 | 34 | /*-------------------------------------------------- 35 | Menu Features 36 | ---------------------------------------------------*/ 37 | 38 | // Closes the Responsive Menu on Menu Item Click 39 | $('.navbar-collapse ul li a').on('click', function () { 40 | $('.navbar-toggle:visible').trigger('click'); 41 | }); 42 | 43 | /*-------------------------------------------------- 44 | Open video modal 45 | ---------------------------------------------------*/ 46 | 47 | $('#popup-youtube').magnificPopup({ 48 | disableOn: 700, 49 | type: 'iframe', 50 | mainClass: 'mfp-fade', 51 | removalDelay: 160, 52 | preloader: false, 53 | fixedContentPos: false 54 | }); 55 | 56 | /*-------------------------------------------------- 57 | Initialize portfolio filter 58 | ---------------------------------------------------*/ 59 | 60 | $('#filter-controls').mixItUp(); 61 | 62 | 63 | 64 | /*-------------------------------------------------- 65 | Set main image height. 66 | ---------------------------------------------------*/ 67 | 68 | function homeFullScreen() { 69 | 70 | var homeSection = $('.slide'); 71 | var windowHeight = $(window).outerHeight(); 72 | 73 | if (homeSection.hasClass('slide-fullscreen')) { 74 | 75 | $('.slide-fullscreen').css('height', windowHeight); 76 | } 77 | } 78 | 79 | homeFullScreen(); 80 | 81 | //What happen on window resize 82 | $(window).resize(function () { 83 | homeFullScreen(); 84 | }); 85 | 86 | 87 | function stickyMenu() { 88 | 89 | var scrollTop = $(window).scrollTop(); 90 | var offset = 0; 91 | 92 | if (scrollTop > offset) { 93 | $('.navbar-default').addClass('navbar-small'); 94 | } else { 95 | $('.navbar-default').removeClass('navbar-small'); 96 | } 97 | } 98 | 99 | //What happen on window scroll 100 | $(window).on("scroll", function (e) { 101 | setTimeout(function () { 102 | stickyMenu(); 103 | }, 300) 104 | }); 105 | 106 | }); -------------------------------------------------------------------------------- /static/js/google_map.js: -------------------------------------------------------------------------------- 1 | 2 | var google; 3 | 4 | function init() { 5 | // Basic options for a simple Google Map 6 | // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions 7 | // var myLatlng = new google.maps.LatLng(40.71751, -73.990922); 8 | var myLatlng = new google.maps.LatLng(40.69847032728747, -73.9514422416687); 9 | // 39.399872 10 | // -8.224454 11 | 12 | var mapOptions = { 13 | // How zoomed in you want the map to start at (always required) 14 | zoom: 7, 15 | 16 | // The latitude and longitude to center the map (always required) 17 | center: myLatlng, 18 | 19 | // How you would like to style the map. 20 | scrollwheel: false, 21 | styles: [{"featureType":"administrative.land_parcel","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"landscape.man_made","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"labels","stylers":[{"visibility":"simplified"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry","stylers":[{"hue":"#f49935"}]},{"featureType":"road.highway","elementType":"labels","stylers":[{"visibility":"simplified"}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"hue":"#fad959"}]},{"featureType":"road.arterial","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"visibility":"simplified"}]},{"featureType":"road.local","elementType":"labels","stylers":[{"visibility":"simplified"}]},{"featureType":"transit","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"all","stylers":[{"hue":"#a1cdfc"},{"saturation":30},{"lightness":49}]}] 22 | }; 23 | 24 | 25 | 26 | // Get the HTML DOM element that will contain your map 27 | // We are using a div with id="map" seen below in the 28 | var mapElement = document.getElementById('map'); 29 | 30 | // Create the Google Map using out element and options defined above 31 | var map = new google.maps.Map(mapElement, mapOptions); 32 | 33 | var addresses = ['Brooklyn']; 34 | 35 | for (var x = 0; x < addresses.length; x++) { 36 | $.getJSON('http://maps.googleapis.com/maps/api/geocode/json?address='+addresses[x]+'&sensor=false', null, function (data) { 37 | var p = data.results[0].geometry.location 38 | var latlng = new google.maps.LatLng(p.lat, p.lng); 39 | new google.maps.Marker({ 40 | position: latlng, 41 | map: map, 42 | icon: 'images/loc.png' 43 | }); 44 | 45 | }); 46 | } 47 | 48 | } 49 | google.maps.event.addDomListener(window, 'load', init); -------------------------------------------------------------------------------- /static/js/jquery.countTo.js: -------------------------------------------------------------------------------- 1 | (function (factory) { 2 | if (typeof define === 'function' && define.amd) { 3 | // AMD 4 | define(['jquery'], factory); 5 | } else if (typeof exports === 'object') { 6 | // CommonJS 7 | factory(require('jquery')); 8 | } else { 9 | // Browser globals 10 | factory(jQuery); 11 | } 12 | }(function ($) { 13 | var CountTo = function (element, options) { 14 | this.$element = $(element); 15 | this.options = $.extend({}, CountTo.DEFAULTS, this.dataOptions(), options); 16 | this.init(); 17 | }; 18 | 19 | CountTo.DEFAULTS = { 20 | from: 0, // the number the element should start at 21 | to: 0, // the number the element should end at 22 | speed: 1000, // how long it should take to count between the target numbers 23 | refreshInterval: 100, // how often the element should be updated 24 | decimals: 0, // the number of decimal places to show 25 | formatter: formatter, // handler for formatting the value before rendering 26 | onUpdate: null, // callback method for every time the element is updated 27 | onComplete: null // callback method for when the element finishes updating 28 | }; 29 | 30 | CountTo.prototype.init = function () { 31 | this.value = this.options.from; 32 | this.loops = Math.ceil(this.options.speed / this.options.refreshInterval); 33 | this.loopCount = 0; 34 | this.increment = (this.options.to - this.options.from) / this.loops; 35 | }; 36 | 37 | CountTo.prototype.dataOptions = function () { 38 | var options = { 39 | from: this.$element.data('from'), 40 | to: this.$element.data('to'), 41 | speed: this.$element.data('speed'), 42 | refreshInterval: this.$element.data('refresh-interval'), 43 | decimals: this.$element.data('decimals') 44 | }; 45 | 46 | var keys = Object.keys(options); 47 | 48 | for (var i in keys) { 49 | var key = keys[i]; 50 | 51 | if (typeof(options[key]) === 'undefined') { 52 | delete options[key]; 53 | } 54 | } 55 | 56 | return options; 57 | }; 58 | 59 | CountTo.prototype.update = function () { 60 | this.value += this.increment; 61 | this.loopCount++; 62 | 63 | this.render(); 64 | 65 | if (typeof(this.options.onUpdate) == 'function') { 66 | this.options.onUpdate.call(this.$element, this.value); 67 | } 68 | 69 | if (this.loopCount >= this.loops) { 70 | clearInterval(this.interval); 71 | this.value = this.options.to; 72 | 73 | if (typeof(this.options.onComplete) == 'function') { 74 | this.options.onComplete.call(this.$element, this.value); 75 | } 76 | } 77 | }; 78 | 79 | CountTo.prototype.render = function () { 80 | var formattedValue = this.options.formatter.call(this.$element, this.value, this.options); 81 | this.$element.text(formattedValue); 82 | }; 83 | 84 | CountTo.prototype.restart = function () { 85 | this.stop(); 86 | this.init(); 87 | this.start(); 88 | }; 89 | 90 | CountTo.prototype.start = function () { 91 | this.stop(); 92 | this.render(); 93 | this.interval = setInterval(this.update.bind(this), this.options.refreshInterval); 94 | }; 95 | 96 | CountTo.prototype.stop = function () { 97 | if (this.interval) { 98 | clearInterval(this.interval); 99 | } 100 | }; 101 | 102 | CountTo.prototype.toggle = function () { 103 | if (this.interval) { 104 | this.stop(); 105 | } else { 106 | this.start(); 107 | } 108 | }; 109 | 110 | function formatter(value, options) { 111 | return value.toFixed(options.decimals); 112 | } 113 | 114 | $.fn.countTo = function (option) { 115 | return this.each(function () { 116 | var $this = $(this); 117 | var data = $this.data('countTo'); 118 | var init = !data || typeof(option) === 'object'; 119 | var options = typeof(option) === 'object' ? option : {}; 120 | var method = typeof(option) === 'string' ? option : 'start'; 121 | 122 | if (init) { 123 | if (data) data.stop(); 124 | $this.data('countTo', data = new CountTo(this, options)); 125 | } 126 | 127 | data[method].call(data); 128 | }); 129 | }; 130 | })); -------------------------------------------------------------------------------- /static/js/magnific-popup-options.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | // MagnificPopup 3 | var magnifPopup = function() { 4 | $('.image-popup').magnificPopup({ 5 | type: 'image', 6 | removalDelay: 300, 7 | mainClass: 'mfp-with-zoom', 8 | gallery:{ 9 | enabled:true 10 | }, 11 | zoom: { 12 | enabled: true, // By default it's false, so don't forget to enable it 13 | 14 | duration: 300, // duration of the effect, in milliseconds 15 | easing: 'ease-in-out', // CSS transition easing function 16 | 17 | // The "opener" function should return the element from which popup will be zoomed in 18 | // and to which popup will be scaled down 19 | // By defailt it looks for an image tag: 20 | opener: function(openerElement) { 21 | // openerElement is the element on which popup was initialized, in this case its tag 22 | // you don't need to add "opener" option if this code matches your needs, it's defailt one. 23 | return openerElement.is('img') ? openerElement : openerElement.find('img'); 24 | } 25 | } 26 | }); 27 | }; 28 | 29 | var magnifVideo = function() { 30 | $('.popup-youtube, .popup-vimeo, .popup-gmaps').magnificPopup({ 31 | disableOn: 700, 32 | type: 'iframe', 33 | mainClass: 'mfp-fade', 34 | removalDelay: 160, 35 | preloader: false, 36 | 37 | fixedContentPos: false 38 | }); 39 | }; 40 | 41 | 42 | 43 | 44 | // Call the functions 45 | magnifPopup(); 46 | magnifVideo(); 47 | 48 | }); -------------------------------------------------------------------------------- /static/js/respond.min.js: -------------------------------------------------------------------------------- 1 | 2 | /*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl 3 | * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT 4 | * */ 5 | 6 | !function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b/g,"")),a&&(a=s[1]+b(a)+s[2]+"\n"),a}function f(b){var c=m;if(j?b=j(b,d):g&&(b=b.replace(/\n/g,function(){return m++,"$line="+m+";"})),0===b.indexOf("=")){var e=l&&!/^=[=#]/.test(b);if(b=b.replace(/^=[=#]?|[\s;]*$/g,""),e){var f=b.replace(/\s*\([^\)]+\)/,"");n[f]||/^(include|print)$/.test(f)||(b="$escape("+b+")")}else b="$string("+b+")";b=s[1]+b+s[2]}return g&&(b="$line="+c+";"+b),r(a(b),function(a){if(a&&!p[a]){var b;b="print"===a?u:"include"===a?v:n[a]?"$utils."+a:o[a]?"$helpers."+a:"$data."+a,w+=a+"="+b+",",p[a]=!0}}),b+"\n"}var g=d.debug,h=d.openTag,i=d.closeTag,j=d.parser,k=d.compress,l=d.escape,m=1,p={$data:1,$filename:1,$utils:1,$helpers:1,$out:1,$line:1},q="".trim,s=q?["$out='';","$out+=",";","$out"]:["$out=[];","$out.push(",");","$out.join('')"],t=q?"$out+=text;return $out;":"$out.push(text);",u="function(){var text=''.concat.apply('',arguments);"+t+"}",v="function(filename,data){data=data||$data;var text=$utils.$include(filename,data,$filename);"+t+"}",w="'use strict';var $utils=this,$helpers=$utils.$helpers,"+(g?"$line=0,":""),x=s[0],y="return new String("+s[3]+");";r(c.split(h),function(a){a=a.split(i);var b=a[0],c=a[1];1===a.length?x+=e(b):(x+=f(b),c&&(x+=e(c)))});var z=w+x+y;g&&(z="try{"+z+"}catch(e){throw {filename:$filename,name:'Render Error',message:e.message,line:$line,source:"+b(c)+".split(/\\n/)[$line-1].replace(/^\\s+/,'')};}");try{var A=new Function("$data","$filename",z);return A.prototype=n,A}catch(B){throw B.temp="function anonymous($data,$filename) {"+z+"}",B}}var d=function(a,b){return"string"==typeof b?q(b,{filename:a}):g(a,b)};d.version="3.0.0",d.config=function(a,b){e[a]=b};var e=d.defaults={openTag:"<%",closeTag:"%>",escape:!0,cache:!0,compress:!1,parser:null},f=d.cache={};d.render=function(a,b){return q(a,b)};var g=d.renderFile=function(a,b){var c=d.get(a)||p({filename:a,name:"Render Error",message:"Template not found"});return b?c(b):c};d.get=function(a){var b;if(f[a])b=f[a];else if("object"==typeof document){var c=document.getElementById(a);if(c){var d=(c.value||c.innerHTML).replace(/^\s*|\s*$/g,"");b=q(d,{filename:a})}}return b};var h=function(a,b){return"string"!=typeof a&&(b=typeof a,"number"===b?a+="":a="function"===b?h(a.call(a)):""),a},i={"<":"<",">":">",'"':""","'":"'","&":"&"},j=function(a){return i[a]},k=function(a){return h(a).replace(/&(?![\w#]+;)|[<>"']/g,j)},l=Array.isArray||function(a){return"[object Array]"==={}.toString.call(a)},m=function(a,b){var c,d;if(l(a))for(c=0,d=a.length;d>c;c++)b.call(a,a[c],c,a);else for(c in a)b.call(a,a[c],c)},n=d.utils={$helpers:{},$include:g,$string:h,$escape:k,$each:m};d.helper=function(a,b){o[a]=b};var o=d.helpers=n.$helpers;d.onerror=function(a){var b="Template Error\n\n";for(var c in a)b+="<"+c+">\n"+a[c]+"\n\n";"object"==typeof console&&console.error(b)};var p=function(a){return d.onerror(a),function(){return"{Template Error}"}},q=d.compile=function(a,b){function d(c){try{return new i(c,h)+""}catch(d){return b.debug?p(d)():(b.debug=!0,q(a,b)(c))}}b=b||{};for(var g in e)void 0===b[g]&&(b[g]=e[g]);var h=b.filename;try{var i=c(a,b)}catch(j){return j.filename=h||"anonymous",j.name="Syntax Error",p(j)}return d.prototype=i.prototype,d.toString=function(){return i.toString()},h&&b.cache&&(f[h]=d),d},r=n.$each,s="break,case,catch,continue,debugger,default,delete,do,else,false,finally,for,function,if,in,instanceof,new,null,return,switch,this,throw,true,try,typeof,var,void,while,with,abstract,boolean,byte,char,class,const,double,enum,export,extends,final,float,goto,implements,import,int,interface,long,native,package,private,protected,public,short,static,super,synchronized,throws,transient,volatile,arguments,let,yield,undefined",t=/\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|\s*\.\s*[$\w\.]+/g,u=/[^\w$]+/g,v=new RegExp(["\\b"+s.replace(/,/g,"\\b|\\b")+"\\b"].join("|"),"g"),w=/^\d[^,]*|,\d[^,]*/g,x=/^,+|,+$/g,y=/^$|,+/;e.openTag="{{",e.closeTag="}}";var z=function(a,b){var c=b.split(":"),d=c.shift(),e=c.join(":")||"";return e&&(e=", "+e),"$helpers."+d+"("+a+e+")"};e.parser=function(a){a=a.replace(/^\s/,"");var b=a.split(" "),c=b.shift(),e=b.join(" ");switch(c){case"if":a="if("+e+"){";break;case"else":b="if"===b.shift()?" if("+b.join(" ")+")":"",a="}else"+b+"{";break;case"/if":a="}";break;case"each":var f=b[0]||"$data",g=b[1]||"as",h=b[2]||"$value",i=b[3]||"$index",j=h+","+i;"as"!==g&&(f="[]"),a="$each("+f+",function("+j+"){";break;case"/each":a="});";break;case"echo":a="print("+e+");";break;case"print":case"include":a=c+"("+b.join(",")+");";break;default:if(/^\s*\|\s*[\w\$]/.test(e)){var k=!0;0===a.indexOf("#")&&(a=a.substr(1),k=!1);for(var l=0,m=a.split("|"),n=m.length,o=m[l++];n>l;l++)o=z(o,m[l]);a=(k?"=":"=#")+o}else a=d.helpers[c]?"=#"+c+"("+b.join(",")+");":"="+a}return a},"function"==typeof define?define(function(){return d}):"undefined"!=typeof exports?module.exports=d:this.template=d}(); -------------------------------------------------------------------------------- /static/sass/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orion-orion/Takeaways-Order-Sys/26fe662e11bf8ed280d56591db5882b6cf48c793/static/sass/.DS_Store -------------------------------------------------------------------------------- /static/sass/_bootstrap-compass.scss: -------------------------------------------------------------------------------- 1 | @function twbs-font-path($path) { 2 | @return font-url($path, true); 3 | } 4 | 5 | @function twbs-image-path($path) { 6 | @return image-url($path, true); 7 | } 8 | 9 | $bootstrap-sass-asset-helper: true; 10 | -------------------------------------------------------------------------------- /static/sass/_bootstrap-mincer.scss: -------------------------------------------------------------------------------- 1 | // Mincer asset helper functions 2 | // 3 | // This must be imported into a .css.ejs.scss file. 4 | // Then, <% %>-interpolations will be parsed as strings by Sass, and evaluated by EJS after Sass compilation. 5 | 6 | 7 | @function twbs-font-path($path) { 8 | // do something like following 9 | // from "path/to/font.ext#suffix" to "<%- asset_path(path/to/font.ext)) + #suffix %>" 10 | // from "path/to/font.ext?#suffix" to "<%- asset_path(path/to/font.ext)) + ?#suffix %>" 11 | // or from "path/to/font.ext" just "<%- asset_path(path/to/font.ext)) %>" 12 | @return "<%- asset_path('#{$path}'.replace(/[#?].*$/, '')) + '#{$path}'.replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>"; 13 | } 14 | 15 | @function twbs-image-path($file) { 16 | @return "<%- asset_path('#{$file}') %>"; 17 | } 18 | 19 | $bootstrap-sass-asset-helper: true; 20 | -------------------------------------------------------------------------------- /static/sass/_bootstrap-sprockets.scss: -------------------------------------------------------------------------------- 1 | @function twbs-font-path($path) { 2 | @return font-path($path); 3 | } 4 | 5 | @function twbs-image-path($path) { 6 | @return image-path($path); 7 | } 8 | 9 | $bootstrap-sass-asset-helper: true; 10 | -------------------------------------------------------------------------------- /static/sass/bootstrap.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.5 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | // Core variables and mixins 8 | @import "bootstrap/variables"; 9 | @import "bootstrap/mixins"; 10 | 11 | // Reset and dependencies 12 | @import "bootstrap/normalize"; 13 | @import "bootstrap/print"; 14 | @import "bootstrap/glyphicons"; 15 | 16 | // Core CSS 17 | @import "bootstrap/scaffolding"; 18 | @import "bootstrap/type"; 19 | @import "bootstrap/code"; 20 | @import "bootstrap/grid"; 21 | @import "bootstrap/tables"; 22 | @import "bootstrap/forms"; 23 | @import "bootstrap/buttons"; 24 | 25 | // Components 26 | @import "bootstrap/component-animations"; 27 | @import "bootstrap/dropdowns"; 28 | @import "bootstrap/button-groups"; 29 | @import "bootstrap/input-groups"; 30 | @import "bootstrap/navs"; 31 | @import "bootstrap/navbar"; 32 | @import "bootstrap/breadcrumbs"; 33 | @import "bootstrap/pagination"; 34 | @import "bootstrap/pager"; 35 | @import "bootstrap/labels"; 36 | @import "bootstrap/badges"; 37 | @import "bootstrap/jumbotron"; 38 | @import "bootstrap/thumbnails"; 39 | @import "bootstrap/alerts"; 40 | @import "bootstrap/progress-bars"; 41 | @import "bootstrap/media"; 42 | @import "bootstrap/list-group"; 43 | @import "bootstrap/panels"; 44 | @import "bootstrap/responsive-embed"; 45 | @import "bootstrap/wells"; 46 | @import "bootstrap/close"; 47 | 48 | // Components w/ JavaScript 49 | @import "bootstrap/modals"; 50 | @import "bootstrap/tooltip"; 51 | @import "bootstrap/popovers"; 52 | @import "bootstrap/carousel"; 53 | 54 | // Utility classes 55 | @import "bootstrap/utilities"; 56 | @import "bootstrap/responsive-utilities"; 57 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_alerts.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Alerts 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // ------------------------- 8 | 9 | .alert { 10 | padding: $alert-padding; 11 | margin-bottom: $line-height-computed; 12 | border: 1px solid transparent; 13 | border-radius: $alert-border-radius; 14 | 15 | // Headings for larger alerts 16 | h4 { 17 | margin-top: 0; 18 | // Specified for the h4 to prevent conflicts of changing $headings-color 19 | color: inherit; 20 | } 21 | 22 | // Provide class for links that match alerts 23 | .alert-link { 24 | font-weight: $alert-link-font-weight; 25 | } 26 | 27 | // Improve alignment and spacing of inner content 28 | > p, 29 | > ul { 30 | margin-bottom: 0; 31 | } 32 | 33 | > p + p { 34 | margin-top: 5px; 35 | } 36 | } 37 | 38 | // Dismissible alerts 39 | // 40 | // Expand the right padding and account for the close button's positioning. 41 | 42 | .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0. 43 | .alert-dismissible { 44 | padding-right: ($alert-padding + 20); 45 | 46 | // Adjust close link position 47 | .close { 48 | position: relative; 49 | top: -2px; 50 | right: -21px; 51 | color: inherit; 52 | } 53 | } 54 | 55 | // Alternate styles 56 | // 57 | // Generate contextual modifier classes for colorizing the alert. 58 | 59 | .alert-success { 60 | @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text); 61 | } 62 | 63 | .alert-info { 64 | @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text); 65 | } 66 | 67 | .alert-warning { 68 | @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text); 69 | } 70 | 71 | .alert-danger { 72 | @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text); 73 | } 74 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_badges.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Badges 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | .badge { 8 | display: inline-block; 9 | min-width: 10px; 10 | padding: 3px 7px; 11 | font-size: $font-size-small; 12 | font-weight: $badge-font-weight; 13 | color: $badge-color; 14 | line-height: $badge-line-height; 15 | vertical-align: middle; 16 | white-space: nowrap; 17 | text-align: center; 18 | background-color: $badge-bg; 19 | border-radius: $badge-border-radius; 20 | 21 | // Empty badges collapse automatically (not available in IE8) 22 | &:empty { 23 | display: none; 24 | } 25 | 26 | // Quick fix for badges in buttons 27 | .btn & { 28 | position: relative; 29 | top: -1px; 30 | } 31 | 32 | .btn-xs &, 33 | .btn-group-xs > .btn & { 34 | top: 0; 35 | padding: 1px 5px; 36 | } 37 | 38 | // [converter] extracted a& to a.badge 39 | 40 | // Account for badges in navs 41 | .list-group-item.active > &, 42 | .nav-pills > .active > a > & { 43 | color: $badge-active-color; 44 | background-color: $badge-active-bg; 45 | } 46 | 47 | .list-group-item > & { 48 | float: right; 49 | } 50 | 51 | .list-group-item > & + & { 52 | margin-right: 5px; 53 | } 54 | 55 | .nav-pills > li > a > & { 56 | margin-left: 3px; 57 | } 58 | } 59 | 60 | // Hover state, but only for links 61 | a.badge { 62 | &:hover, 63 | &:focus { 64 | color: $badge-link-hover-color; 65 | text-decoration: none; 66 | cursor: pointer; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_breadcrumbs.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Breadcrumbs 3 | // -------------------------------------------------- 4 | 5 | 6 | .breadcrumb { 7 | padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal; 8 | margin-bottom: $line-height-computed; 9 | list-style: none; 10 | background-color: $breadcrumb-bg; 11 | border-radius: $border-radius-base; 12 | 13 | > li { 14 | display: inline-block; 15 | 16 | + li:before { 17 | content: "#{$breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space 18 | padding: 0 5px; 19 | color: $breadcrumb-color; 20 | } 21 | } 22 | 23 | > .active { 24 | color: $breadcrumb-active-color; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_buttons.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Buttons 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base styles 7 | // -------------------------------------------------- 8 | 9 | .btn { 10 | display: inline-block; 11 | margin-bottom: 0; // For input.btn 12 | font-weight: $btn-font-weight; 13 | text-align: center; 14 | vertical-align: middle; 15 | touch-action: manipulation; 16 | cursor: pointer; 17 | background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 18 | border: 1px solid transparent; 19 | white-space: nowrap; 20 | @include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $btn-border-radius-base); 21 | @include user-select(none); 22 | 23 | &, 24 | &:active, 25 | &.active { 26 | &:focus, 27 | &.focus { 28 | @include tab-focus; 29 | } 30 | } 31 | 32 | &:hover, 33 | &:focus, 34 | &.focus { 35 | color: $btn-default-color; 36 | text-decoration: none; 37 | } 38 | 39 | &:active, 40 | &.active { 41 | outline: 0; 42 | background-image: none; 43 | @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); 44 | } 45 | 46 | &.disabled, 47 | &[disabled], 48 | fieldset[disabled] & { 49 | cursor: $cursor-disabled; 50 | @include opacity(.65); 51 | @include box-shadow(none); 52 | } 53 | 54 | // [converter] extracted a& to a.btn 55 | } 56 | 57 | a.btn { 58 | &.disabled, 59 | fieldset[disabled] & { 60 | pointer-events: none; // Future-proof disabling of clicks on `` elements 61 | } 62 | } 63 | 64 | 65 | // Alternate buttons 66 | // -------------------------------------------------- 67 | 68 | .btn-default { 69 | @include button-variant($btn-default-color, $btn-default-bg, $btn-default-border); 70 | } 71 | .btn-primary { 72 | @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); 73 | } 74 | // Success appears as green 75 | .btn-success { 76 | @include button-variant($btn-success-color, $btn-success-bg, $btn-success-border); 77 | } 78 | // Info appears as blue-green 79 | .btn-info { 80 | @include button-variant($btn-info-color, $btn-info-bg, $btn-info-border); 81 | } 82 | // Warning appears as orange 83 | .btn-warning { 84 | @include button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border); 85 | } 86 | // Danger and error appear as red 87 | .btn-danger { 88 | @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border); 89 | } 90 | 91 | 92 | // Link buttons 93 | // ------------------------- 94 | 95 | // Make a button look and behave like a link 96 | .btn-link { 97 | color: $link-color; 98 | font-weight: normal; 99 | border-radius: 0; 100 | 101 | &, 102 | &:active, 103 | &.active, 104 | &[disabled], 105 | fieldset[disabled] & { 106 | background-color: transparent; 107 | @include box-shadow(none); 108 | } 109 | &, 110 | &:hover, 111 | &:focus, 112 | &:active { 113 | border-color: transparent; 114 | } 115 | &:hover, 116 | &:focus { 117 | color: $link-hover-color; 118 | text-decoration: $link-hover-decoration; 119 | background-color: transparent; 120 | } 121 | &[disabled], 122 | fieldset[disabled] & { 123 | &:hover, 124 | &:focus { 125 | color: $btn-link-disabled-color; 126 | text-decoration: none; 127 | } 128 | } 129 | } 130 | 131 | 132 | // Button Sizes 133 | // -------------------------------------------------- 134 | 135 | .btn-lg { 136 | // line-height: ensure even-numbered height of button next to large input 137 | @include button-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $btn-border-radius-large); 138 | } 139 | .btn-sm { 140 | // line-height: ensure proper height of button next to small input 141 | @include button-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $btn-border-radius-small); 142 | } 143 | .btn-xs { 144 | @include button-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $line-height-small, $btn-border-radius-small); 145 | } 146 | 147 | 148 | // Block button 149 | // -------------------------------------------------- 150 | 151 | .btn-block { 152 | display: block; 153 | width: 100%; 154 | } 155 | 156 | // Vertically space out multiple block buttons 157 | .btn-block + .btn-block { 158 | margin-top: 5px; 159 | } 160 | 161 | // Specificity overrides 162 | input[type="submit"], 163 | input[type="reset"], 164 | input[type="button"] { 165 | &.btn-block { 166 | width: 100%; 167 | } 168 | } 169 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_close.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Close icons 3 | // -------------------------------------------------- 4 | 5 | 6 | .close { 7 | float: right; 8 | font-size: ($font-size-base * 1.5); 9 | font-weight: $close-font-weight; 10 | line-height: 1; 11 | color: $close-color; 12 | text-shadow: $close-text-shadow; 13 | @include opacity(.2); 14 | 15 | &:hover, 16 | &:focus { 17 | color: $close-color; 18 | text-decoration: none; 19 | cursor: pointer; 20 | @include opacity(.5); 21 | } 22 | 23 | // [converter] extracted button& to button.close 24 | } 25 | 26 | // Additional properties for button version 27 | // iOS requires the button element instead of an anchor tag. 28 | // If you want the anchor version, it requires `href="#"`. 29 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile 30 | button.close { 31 | padding: 0; 32 | cursor: pointer; 33 | background: transparent; 34 | border: 0; 35 | -webkit-appearance: none; 36 | } 37 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_code.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Code (inline and block) 3 | // -------------------------------------------------- 4 | 5 | 6 | // Inline and block code styles 7 | code, 8 | kbd, 9 | pre, 10 | samp { 11 | font-family: $font-family-monospace; 12 | } 13 | 14 | // Inline code 15 | code { 16 | padding: 2px 4px; 17 | font-size: 90%; 18 | color: $code-color; 19 | background-color: $code-bg; 20 | border-radius: $border-radius-base; 21 | } 22 | 23 | // User input typically entered via keyboard 24 | kbd { 25 | padding: 2px 4px; 26 | font-size: 90%; 27 | color: $kbd-color; 28 | background-color: $kbd-bg; 29 | border-radius: $border-radius-small; 30 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); 31 | 32 | kbd { 33 | padding: 0; 34 | font-size: 100%; 35 | font-weight: bold; 36 | box-shadow: none; 37 | } 38 | } 39 | 40 | // Blocks of code 41 | pre { 42 | display: block; 43 | padding: (($line-height-computed - 1) / 2); 44 | margin: 0 0 ($line-height-computed / 2); 45 | font-size: ($font-size-base - 1); // 14px to 13px 46 | line-height: $line-height-base; 47 | word-break: break-all; 48 | word-wrap: break-word; 49 | color: $pre-color; 50 | background-color: $pre-bg; 51 | border: 1px solid $pre-border-color; 52 | border-radius: $border-radius-base; 53 | 54 | // Account for some code outputs that place code tags in pre tags 55 | code { 56 | padding: 0; 57 | font-size: inherit; 58 | color: inherit; 59 | white-space: pre-wrap; 60 | background-color: transparent; 61 | border-radius: 0; 62 | } 63 | } 64 | 65 | // Enable scrollable blocks of code 66 | .pre-scrollable { 67 | max-height: $pre-scrollable-max-height; 68 | overflow-y: scroll; 69 | } 70 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_component-animations.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Component animations 3 | // -------------------------------------------------- 4 | 5 | // Heads up! 6 | // 7 | // We don't use the `.opacity()` mixin here since it causes a bug with text 8 | // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552. 9 | 10 | .fade { 11 | opacity: 0; 12 | @include transition(opacity .15s linear); 13 | &.in { 14 | opacity: 1; 15 | } 16 | } 17 | 18 | .collapse { 19 | display: none; 20 | 21 | &.in { display: block; } 22 | // [converter] extracted tr&.in to tr.collapse.in 23 | // [converter] extracted tbody&.in to tbody.collapse.in 24 | } 25 | 26 | tr.collapse.in { display: table-row; } 27 | 28 | tbody.collapse.in { display: table-row-group; } 29 | 30 | .collapsing { 31 | position: relative; 32 | height: 0; 33 | overflow: hidden; 34 | @include transition-property(height, visibility); 35 | @include transition-duration(.35s); 36 | @include transition-timing-function(ease); 37 | } 38 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_dropdowns.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Dropdown menus 3 | // -------------------------------------------------- 4 | 5 | 6 | // Dropdown arrow/caret 7 | .caret { 8 | display: inline-block; 9 | width: 0; 10 | height: 0; 11 | margin-left: 2px; 12 | vertical-align: middle; 13 | border-top: $caret-width-base dashed; 14 | border-top: $caret-width-base solid \9; // IE8 15 | border-right: $caret-width-base solid transparent; 16 | border-left: $caret-width-base solid transparent; 17 | } 18 | 19 | // The dropdown wrapper (div) 20 | .dropup, 21 | .dropdown { 22 | position: relative; 23 | } 24 | 25 | // Prevent the focus on the dropdown toggle when closing dropdowns 26 | .dropdown-toggle:focus { 27 | outline: 0; 28 | } 29 | 30 | // The dropdown menu (ul) 31 | .dropdown-menu { 32 | position: absolute; 33 | top: 100%; 34 | left: 0; 35 | z-index: $zindex-dropdown; 36 | display: none; // none by default, but block on "open" of the menu 37 | float: left; 38 | min-width: 160px; 39 | padding: 5px 0; 40 | margin: 2px 0 0; // override default ul 41 | list-style: none; 42 | font-size: $font-size-base; 43 | text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer) 44 | background-color: $dropdown-bg; 45 | border: 1px solid $dropdown-fallback-border; // IE8 fallback 46 | border: 1px solid $dropdown-border; 47 | border-radius: $border-radius-base; 48 | @include box-shadow(0 6px 12px rgba(0,0,0,.175)); 49 | background-clip: padding-box; 50 | 51 | // Aligns the dropdown menu to right 52 | // 53 | // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]` 54 | &.pull-right { 55 | right: 0; 56 | left: auto; 57 | } 58 | 59 | // Dividers (basically an hr) within the dropdown 60 | .divider { 61 | @include nav-divider($dropdown-divider-bg); 62 | } 63 | 64 | // Links within the dropdown menu 65 | > li > a { 66 | display: block; 67 | padding: 3px 20px; 68 | clear: both; 69 | font-weight: normal; 70 | line-height: $line-height-base; 71 | color: $dropdown-link-color; 72 | white-space: nowrap; // prevent links from randomly breaking onto new lines 73 | } 74 | } 75 | 76 | // Hover/Focus state 77 | .dropdown-menu > li > a { 78 | &:hover, 79 | &:focus { 80 | text-decoration: none; 81 | color: $dropdown-link-hover-color; 82 | background-color: $dropdown-link-hover-bg; 83 | } 84 | } 85 | 86 | // Active state 87 | .dropdown-menu > .active > a { 88 | &, 89 | &:hover, 90 | &:focus { 91 | color: $dropdown-link-active-color; 92 | text-decoration: none; 93 | outline: 0; 94 | background-color: $dropdown-link-active-bg; 95 | } 96 | } 97 | 98 | // Disabled state 99 | // 100 | // Gray out text and ensure the hover/focus state remains gray 101 | 102 | .dropdown-menu > .disabled > a { 103 | &, 104 | &:hover, 105 | &:focus { 106 | color: $dropdown-link-disabled-color; 107 | } 108 | 109 | // Nuke hover/focus effects 110 | &:hover, 111 | &:focus { 112 | text-decoration: none; 113 | background-color: transparent; 114 | background-image: none; // Remove CSS gradient 115 | @include reset-filter; 116 | cursor: $cursor-disabled; 117 | } 118 | } 119 | 120 | // Open state for the dropdown 121 | .open { 122 | // Show the menu 123 | > .dropdown-menu { 124 | display: block; 125 | } 126 | 127 | // Remove the outline when :focus is triggered 128 | > a { 129 | outline: 0; 130 | } 131 | } 132 | 133 | // Menu positioning 134 | // 135 | // Add extra class to `.dropdown-menu` to flip the alignment of the dropdown 136 | // menu with the parent. 137 | .dropdown-menu-right { 138 | left: auto; // Reset the default from `.dropdown-menu` 139 | right: 0; 140 | } 141 | // With v3, we enabled auto-flipping if you have a dropdown within a right 142 | // aligned nav component. To enable the undoing of that, we provide an override 143 | // to restore the default dropdown menu alignment. 144 | // 145 | // This is only for left-aligning a dropdown menu within a `.navbar-right` or 146 | // `.pull-right` nav component. 147 | .dropdown-menu-left { 148 | left: 0; 149 | right: auto; 150 | } 151 | 152 | // Dropdown section headers 153 | .dropdown-header { 154 | display: block; 155 | padding: 3px 20px; 156 | font-size: $font-size-small; 157 | line-height: $line-height-base; 158 | color: $dropdown-header-color; 159 | white-space: nowrap; // as with > li > a 160 | } 161 | 162 | // Backdrop to catch body clicks on mobile, etc. 163 | .dropdown-backdrop { 164 | position: fixed; 165 | left: 0; 166 | right: 0; 167 | bottom: 0; 168 | top: 0; 169 | z-index: ($zindex-dropdown - 10); 170 | } 171 | 172 | // Right aligned dropdowns 173 | .pull-right > .dropdown-menu { 174 | right: 0; 175 | left: auto; 176 | } 177 | 178 | // Allow for dropdowns to go bottom up (aka, dropup-menu) 179 | // 180 | // Just add .dropup after the standard .dropdown class and you're set, bro. 181 | // TODO: abstract this so that the navbar fixed styles are not placed here? 182 | 183 | .dropup, 184 | .navbar-fixed-bottom .dropdown { 185 | // Reverse the caret 186 | .caret { 187 | border-top: 0; 188 | border-bottom: $caret-width-base dashed; 189 | border-bottom: $caret-width-base solid \9; // IE8 190 | content: ""; 191 | } 192 | // Different positioning for bottom up menu 193 | .dropdown-menu { 194 | top: auto; 195 | bottom: 100%; 196 | margin-bottom: 2px; 197 | } 198 | } 199 | 200 | 201 | // Component alignment 202 | // 203 | // Reiterate per navbar.less and the modified component alignment there. 204 | 205 | @media (min-width: $grid-float-breakpoint) { 206 | .navbar-right { 207 | .dropdown-menu { 208 | right: 0; left: auto; 209 | } 210 | // Necessary for overrides of the default right aligned menu. 211 | // Will remove come v4 in all likelihood. 212 | .dropdown-menu-left { 213 | left: 0; right: auto; 214 | } 215 | } 216 | } 217 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_grid.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Grid system 3 | // -------------------------------------------------- 4 | 5 | 6 | // Container widths 7 | // 8 | // Set the container width, and override it for fixed navbars in media queries. 9 | 10 | .container { 11 | @include container-fixed; 12 | 13 | @media (min-width: $screen-sm-min) { 14 | width: $container-sm; 15 | } 16 | @media (min-width: $screen-md-min) { 17 | width: $container-md; 18 | } 19 | @media (min-width: $screen-lg-min) { 20 | width: $container-lg; 21 | } 22 | } 23 | 24 | 25 | // Fluid container 26 | // 27 | // Utilizes the mixin meant for fixed width containers, but without any defined 28 | // width for fluid, full width layouts. 29 | 30 | .container-fluid { 31 | @include container-fixed; 32 | } 33 | 34 | 35 | // Row 36 | // 37 | // Rows contain and clear the floats of your columns. 38 | 39 | .row { 40 | @include make-row; 41 | } 42 | 43 | 44 | // Columns 45 | // 46 | // Common styles for small and large grid columns 47 | 48 | @include make-grid-columns; 49 | 50 | 51 | // Extra small grid 52 | // 53 | // Columns, offsets, pushes, and pulls for extra small devices like 54 | // smartphones. 55 | 56 | @include make-grid(xs); 57 | 58 | 59 | // Small grid 60 | // 61 | // Columns, offsets, pushes, and pulls for the small device range, from phones 62 | // to tablets. 63 | 64 | @media (min-width: $screen-sm-min) { 65 | @include make-grid(sm); 66 | } 67 | 68 | 69 | // Medium grid 70 | // 71 | // Columns, offsets, pushes, and pulls for the desktop device range. 72 | 73 | @media (min-width: $screen-md-min) { 74 | @include make-grid(md); 75 | } 76 | 77 | 78 | // Large grid 79 | // 80 | // Columns, offsets, pushes, and pulls for the large desktop device range. 81 | 82 | @media (min-width: $screen-lg-min) { 83 | @include make-grid(lg); 84 | } 85 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_input-groups.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Input groups 3 | // -------------------------------------------------- 4 | 5 | // Base styles 6 | // ------------------------- 7 | .input-group { 8 | position: relative; // For dropdowns 9 | display: table; 10 | border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table 11 | 12 | // Undo padding and float of grid classes 13 | &[class*="col-"] { 14 | float: none; 15 | padding-left: 0; 16 | padding-right: 0; 17 | } 18 | 19 | .form-control { 20 | // Ensure that the input is always above the *appended* addon button for 21 | // proper border colors. 22 | position: relative; 23 | z-index: 2; 24 | 25 | // IE9 fubars the placeholder attribute in text inputs and the arrows on 26 | // select elements in input groups. To fix it, we float the input. Details: 27 | // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855 28 | float: left; 29 | 30 | width: 100%; 31 | margin-bottom: 0; 32 | } 33 | } 34 | 35 | // Sizing options 36 | // 37 | // Remix the default form control sizing classes into new ones for easier 38 | // manipulation. 39 | 40 | .input-group-lg > .form-control, 41 | .input-group-lg > .input-group-addon, 42 | .input-group-lg > .input-group-btn > .btn { 43 | @extend .input-lg; 44 | } 45 | .input-group-sm > .form-control, 46 | .input-group-sm > .input-group-addon, 47 | .input-group-sm > .input-group-btn > .btn { 48 | @extend .input-sm; 49 | } 50 | 51 | 52 | // Display as table-cell 53 | // ------------------------- 54 | .input-group-addon, 55 | .input-group-btn, 56 | .input-group .form-control { 57 | display: table-cell; 58 | 59 | &:not(:first-child):not(:last-child) { 60 | border-radius: 0; 61 | } 62 | } 63 | // Addon and addon wrapper for buttons 64 | .input-group-addon, 65 | .input-group-btn { 66 | width: 1%; 67 | white-space: nowrap; 68 | vertical-align: middle; // Match the inputs 69 | } 70 | 71 | // Text input groups 72 | // ------------------------- 73 | .input-group-addon { 74 | padding: $padding-base-vertical $padding-base-horizontal; 75 | font-size: $font-size-base; 76 | font-weight: normal; 77 | line-height: 1; 78 | color: $input-color; 79 | text-align: center; 80 | background-color: $input-group-addon-bg; 81 | border: 1px solid $input-group-addon-border-color; 82 | border-radius: $border-radius-base; 83 | 84 | // Sizing 85 | &.input-sm { 86 | padding: $padding-small-vertical $padding-small-horizontal; 87 | font-size: $font-size-small; 88 | border-radius: $border-radius-small; 89 | } 90 | &.input-lg { 91 | padding: $padding-large-vertical $padding-large-horizontal; 92 | font-size: $font-size-large; 93 | border-radius: $border-radius-large; 94 | } 95 | 96 | // Nuke default margins from checkboxes and radios to vertically center within. 97 | input[type="radio"], 98 | input[type="checkbox"] { 99 | margin-top: 0; 100 | } 101 | } 102 | 103 | // Reset rounded corners 104 | .input-group .form-control:first-child, 105 | .input-group-addon:first-child, 106 | .input-group-btn:first-child > .btn, 107 | .input-group-btn:first-child > .btn-group > .btn, 108 | .input-group-btn:first-child > .dropdown-toggle, 109 | .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), 110 | .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { 111 | @include border-right-radius(0); 112 | } 113 | .input-group-addon:first-child { 114 | border-right: 0; 115 | } 116 | .input-group .form-control:last-child, 117 | .input-group-addon:last-child, 118 | .input-group-btn:last-child > .btn, 119 | .input-group-btn:last-child > .btn-group > .btn, 120 | .input-group-btn:last-child > .dropdown-toggle, 121 | .input-group-btn:first-child > .btn:not(:first-child), 122 | .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { 123 | @include border-left-radius(0); 124 | } 125 | .input-group-addon:last-child { 126 | border-left: 0; 127 | } 128 | 129 | // Button input groups 130 | // ------------------------- 131 | .input-group-btn { 132 | position: relative; 133 | // Jankily prevent input button groups from wrapping with `white-space` and 134 | // `font-size` in combination with `inline-block` on buttons. 135 | font-size: 0; 136 | white-space: nowrap; 137 | 138 | // Negative margin for spacing, position for bringing hovered/focused/actived 139 | // element above the siblings. 140 | > .btn { 141 | position: relative; 142 | + .btn { 143 | margin-left: -1px; 144 | } 145 | // Bring the "active" button to the front 146 | &:hover, 147 | &:focus, 148 | &:active { 149 | z-index: 2; 150 | } 151 | } 152 | 153 | // Negative margin to only have a 1px border between the two 154 | &:first-child { 155 | > .btn, 156 | > .btn-group { 157 | margin-right: -1px; 158 | } 159 | } 160 | &:last-child { 161 | > .btn, 162 | > .btn-group { 163 | z-index: 2; 164 | margin-left: -1px; 165 | } 166 | } 167 | } 168 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_jumbotron.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Jumbotron 3 | // -------------------------------------------------- 4 | 5 | 6 | .jumbotron { 7 | padding-top: $jumbotron-padding; 8 | padding-bottom: $jumbotron-padding; 9 | margin-bottom: $jumbotron-padding; 10 | color: $jumbotron-color; 11 | background-color: $jumbotron-bg; 12 | 13 | h1, 14 | .h1 { 15 | color: $jumbotron-heading-color; 16 | } 17 | 18 | p { 19 | margin-bottom: ($jumbotron-padding / 2); 20 | font-size: $jumbotron-font-size; 21 | font-weight: 200; 22 | } 23 | 24 | > hr { 25 | border-top-color: darken($jumbotron-bg, 10%); 26 | } 27 | 28 | .container &, 29 | .container-fluid & { 30 | border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container 31 | } 32 | 33 | .container { 34 | max-width: 100%; 35 | } 36 | 37 | @media screen and (min-width: $screen-sm-min) { 38 | padding-top: ($jumbotron-padding * 1.6); 39 | padding-bottom: ($jumbotron-padding * 1.6); 40 | 41 | .container &, 42 | .container-fluid & { 43 | padding-left: ($jumbotron-padding * 2); 44 | padding-right: ($jumbotron-padding * 2); 45 | } 46 | 47 | h1, 48 | .h1 { 49 | font-size: $jumbotron-heading-font-size; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_labels.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // -------------------------------------------------- 4 | 5 | .label { 6 | display: inline; 7 | padding: .2em .6em .3em; 8 | font-size: 75%; 9 | font-weight: bold; 10 | line-height: 1; 11 | color: $label-color; 12 | text-align: center; 13 | white-space: nowrap; 14 | vertical-align: baseline; 15 | border-radius: .25em; 16 | 17 | // [converter] extracted a& to a.label 18 | 19 | // Empty labels collapse automatically (not available in IE8) 20 | &:empty { 21 | display: none; 22 | } 23 | 24 | // Quick fix for labels in buttons 25 | .btn & { 26 | position: relative; 27 | top: -1px; 28 | } 29 | } 30 | 31 | // Add hover effects, but only for links 32 | a.label { 33 | &:hover, 34 | &:focus { 35 | color: $label-link-hover-color; 36 | text-decoration: none; 37 | cursor: pointer; 38 | } 39 | } 40 | 41 | // Colors 42 | // Contextual variations (linked labels get darker on :hover) 43 | 44 | .label-default { 45 | @include label-variant($label-default-bg); 46 | } 47 | 48 | .label-primary { 49 | @include label-variant($label-primary-bg); 50 | } 51 | 52 | .label-success { 53 | @include label-variant($label-success-bg); 54 | } 55 | 56 | .label-info { 57 | @include label-variant($label-info-bg); 58 | } 59 | 60 | .label-warning { 61 | @include label-variant($label-warning-bg); 62 | } 63 | 64 | .label-danger { 65 | @include label-variant($label-danger-bg); 66 | } 67 | -------------------------------------------------------------------------------- /static/sass/bootstrap/_list-group.scss: -------------------------------------------------------------------------------- 1 | // 2 | // List groups 3 | // -------------------------------------------------- 4 | 5 | 6 | // Base class 7 | // 8 | // Easily usable on