Skip to content

Commit

Permalink
init tablet
Browse files Browse the repository at this point in the history
  • Loading branch information
dmacompton committed Nov 16, 2015
0 parents commit b2c985a
Show file tree
Hide file tree
Showing 98 changed files with 88,554 additions and 0 deletions.
96 changes: 96 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Created by .ignore support plugin (hsz.mobi)
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio

*.iml

## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries

# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml

# Gradle:
# .idea/gradle.xml
# .idea/libraries

# Mongo Explorer plugin:
# .idea/mongoSettings.xml

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
### Node template
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules
### GitBook template
# Node rules:
## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

## Dependency directory
## Commenting this out is preferred by some people, see
## https://docs.npmjs.com/misc/faq#should-i-check-my-node_modules-folder-into-git
node_modules
bower_components

# Book build output
_book

# eBook build output
*.epub
*.mobi
*.pdf

26 changes: 26 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "Furgoneta",
"version": "1.0.0",
"authors": [
"dmacompton"
],
"description": "",
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
".jshintrc"
],
"dependencies": {
"angular": "~1.4.0",
"angular-route": "~1.4.0",
"angular-resource": "~1.4.0",
"angular-sanitize": "~1.4.0",
"angular-animate": "~1.4.0",
"angular-cookies": "~1.4.0",
"angular-touch": "~1.4.0",
"angular-loader": "~1.4.0",
"angular-i18n": "~1.4.0"
}
}
5 changes: 5 additions & 0 deletions builds/development/app/about/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="container">
<div class="row">
<h1>О нас</h1>
</div>
</div>
71 changes: 71 additions & 0 deletions builds/development/app/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
'use strict';

(function() {
angular
.module('ngFur', ['ngRoute'])
.config(ngFurConfig)
.controller('MainCtrl', MainCtrl);

function ngFurConfig($routeProvider) {
$routeProvider.when('/', {
templateUrl: 'app/main/main.html',
controller: 'MainCtrl',
controllerAs: 'vm'
}).when('/about', {
templateUrl: 'app/about/about.html',
}).when('/cart', {
templateUrl: 'app/cart/cart.html',
controller: CartCtrl
}).when('/contact', {
templateUrl: 'app/contact/contact.html',
controller: ContactCtrl
}).when('/menu', {
templateUrl: 'app/menu/menu.html',
controller: MenuCtrl
}).when('/news', {
templateUrl: 'app/news/news.html',
controller: NewsCtrl
}).when('/order', {
templateUrl: 'app/order/order.html',
controller: OrderCtrl
});
}

function MainCtrl($scope) {
$scope.count = 0;
$scope.$on('$includeContentLoaded', function () {
$scope.count++;
if ($scope.count == 5) {
setInterval(function(){
$('#loader').hide();
}, 100);
}
});
}
function CartCtrl($scope){
setInterval(function(){
$('#loader').hide();
}, 100);
}
function ContactCtrl($scope){
setInterval(function(){
$('#loader').hide();
}, 100);
}
function MenuCtrl($scope) {
$scope.h1 = 'Меню';
setInterval(function(){
$('#loader').hide();
}, 100);
}
function NewsCtrl($scope){
setInterval(function(){
$('#loader').hide();
}, 100);
}
function OrderCtrl($scope){
setInterval(function(){
$('#loader').hide();
}, 100);
}
})();
5 changes: 5 additions & 0 deletions builds/development/app/cart/cart.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="container">
<div class="row">
<h1>Корзина</h1>
</div>
</div>
5 changes: 5 additions & 0 deletions builds/development/app/contact/contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="container">
<div class="row">
<h1>Контакты и доставка</h1>
</div>
</div>
22 changes: 22 additions & 0 deletions builds/development/app/footer/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<footer>
<div class="row">
<div class="left">
<div>
<img src="img/footer/logo-bottom.svg" alt="Furgoneta">
<p>© 2015 «Furgoneta»<br />Все права защищены.</p>
</div>
</div>
<div class="center">
<div>
<a href="//fb.com"><img src="img/footer/fb.svg" alt="facebook"></a>
<a href="//instagram.com"><img src="img/footer/insta.svg" alt="instagram"></a>
</div>
</div>
<div class="right">
<div>
<p>Сайт разработан<br />компанией «Sponge»</p>
<img src="img/footer/sponge.svg" alt="Sponge">
</div>
</div>
</div>
</footer>
22 changes: 22 additions & 0 deletions builds/development/app/header/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<header>
<div class="header-main-row">
<div class="left-side">
<a href="#/about">О нас</a>
<a href="#/menu">Меню</a>
<a href="#/news">Новости</a>
<a href="#/contact">Контакты и доставка</a>
</div>
<div class="logo">
<a href="#/"><img src="img/logo.svg" alt="Furgoneta logo"></a>
</div>
<div class="right-side">
<a href="tel:+380966451671" class="phone">+38 096 645 16 71</a>
<a href="#/order">Заказать звонок</a>
<a href="#/cart" class="cart">
<span>Корзина пуста</span>
<img src="img/cart.svg" alt="Cart">
</a>
</div>
</div>
</header>
<p></p>
95 changes: 95 additions & 0 deletions builds/development/app/main/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<div class="main-first-block">
<div class="original">
<div class="left-half">
<div ng-include="'img/main/foodvan-stuff.svg'" class="van"></div>
</div>
<div class="arrow-box">
<div class="wrapper">
<img class="bounce arrow" src="img/arrow.svg" alt="">
</div>
</div>
</div>
<div class="clone">
<div class="right-half">
<div ng-include="'img/main/title.svg'" class="title"></div>
</div>
<div class="arrow-box">
<div class="wrapper">
<img class="bounce arrow" src="img/arrow.svg" alt="">
</div>
</div>
</div>
</div>
<div id="fullpage" class="first-page">
<div class="main-second-block">
<div class="row main-second-block-row">
<div class="items">
<div ng-include="'img/hands.svg'"></div>
<p>Дружелюбная атмосфера</p>
</div>
<div class="items">
<div ng-include="'img/cow.svg'"></div>
<p>Натуральные ингридиенты</p>
</div>
<div class="items">
<div ng-include="'img/burger.svg'"></div>
<p>Быстрая доставка</p>
</div>
</div>
</div>
<div class="main-third-block">
<div class="row">
<div class="svg">
<a href="#/menu" class="menu-btn">
<div class="btn-orange-border">
<div class="btn-white-border">
<div class="btn">
<span>Перейти в меню</span>
</div>
</div>
</div>
</a>
<div class="svg-images">
<img id="third-hamburger" src="img/third-hamburger.svg" alt="">
<img id="third-bottle" src="img/third-bottle.svg" alt="">
<img id="third-wog" src="img/third-wog.svg" alt="">
</div>
</div>
</div>
</div>
<div class="main-fourth-block">
<div class="row">
<div class="items animate-news">
<div class="wrap">
<p class="item-title">Брускетты с томатами<br/>и копченным окороком</p>
<p class="item-description">На сайте вы найдёте независимую оценку ведущих компаний в области интернет инвестирования, а также актуальный состав моего инвестиционного портфеля и его текущую доходность.</p>
<p class="item-date">19.09.2015</p>
</div>
<div class="items-border">
<div class="items-notice"></div>
</div>
</div><!--
--><div class="items animate-news">
<div class="wrap">
<p class="item-title">Беби бургер с картофелем фри</p>
<p class="item-description">Если у вас есть стремление зарабатывать на Forex, но нет ни желания, ни времени изучать премудрости торговли на этом рынке, тогда вам необходимо выполнить несколько несложных действий.</p>
<p class="item-date">19.09.2015</p>
</div>
<div class="items-border">
<div class="items-notice"></div>
</div>
</div><!--
--><div class="items animate-news">
<div class="wrap">
<p class="item-title">Минеральная вода срибна<br/>без газа</p>
<p class="item-description">Торговые риски — это риски, связанные непосредственно с торговой деятельностью трейдера.</p>
<p class="item-date">16.09.2015</p>
</div>
<div class="items-border">
<div class="items-notice"></div>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
5 changes: 5 additions & 0 deletions builds/development/app/menu/menu.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="container">
<div class="row">
<h1>{{h1}}</h1>
</div>
</div>
5 changes: 5 additions & 0 deletions builds/development/app/news/news.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="container">
<div class="row">
<h1>Новости</h1>
</div>
</div>
5 changes: 5 additions & 0 deletions builds/development/app/order/order.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="container">
<div class="row">
<h1>Заказ звонок</h1>
</div>
</div>
Loading

0 comments on commit b2c985a

Please sign in to comment.