-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
199 lines (156 loc) · 8.97 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html ng-app="honeyApp">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="client/styles/bootstrap/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="client/styles/style.css"/>
<link rel="stylesheet" href="client/styles/font-awesome-4.5.0/css/font-awesome.min.css"/>
<link rel="stylesheet" href="client/js/ideal-image-slider/ideal-image-slider.css">
<link rel="stylesheet" href="client/js/ideal-image-slider/themes/default/default.css">
<link rel="stylesheet" href="client/styles/queries.css" />
<script src="client/js/angular/angular.js"></script>
<script src="client/js/angular-resource/angular-resource.js"></script>
<script src="client/js/angular-route/angular-route.min.js"></script>
<script src="client/js/app.js"></script>
</head>
<body ng-controller="mainController">
<div id="coverImg">
<div class="container-fluid">
<!-- header -->
<header>
<div class="row clearPadMar ">
<div class="clearPadMar" id="row1">
<div class="clearPadMar" >
<span id="iconsT">
<a href="#"><i class="fa fa-tumblr"></i></a>
<a href="#"><i class="fa fa-rss-square"></i></a>
<a href="#"> <i class="fa fa-facebook-square"></i></a>
</span>
<input class="form-control" id="searchT" type="text" style="font-family:FontAwesome; font-size: 12px" placeholder="Search this website...   ">
</div>
</div>
</div>
<div class="row clearPadMar" id="row2" >
<div class=" col-sm-6 col-md-2 clearPadMar" >
<img src="client/sources/logo.png" id="logo" alt="logo" width="80px"/>
</div>
<div class="col-sm-12 col-md-10" >
<div id="mainMenu" >
<a href="#/">Home</a>
<a href="#news">News</a>
<a href="#products">Products</a>
<a href="#posts">Posts</a>
<a href="#contacts">Contacts</a>
<a href="#login" class="loginMain">Login/Register</a>
<a href="#/" class="logout">Log out</a>
</div>
</div>
</div>
<hr/>
<div id="sliderHolder">
<div id="homeMenu" class="row clearPadMar">
<a href="#/">Home</a>
<a href="#news">News</a>
<a href="#products">Products</a>
<a href="#posts">Posts</a>
<a href="#contacts">Contacts</a>
<a href="#login" class="loginMain">Login/Register</a>
<a href="#/" class="logout">Log out</a>
</div>
<div id="slider">
<img src="client/sources/honey1.jpg" alt="Minimum required attributes">
<img data-src="client/sources/honey2.jpg" src="" alt="Use data-src for on-demand loading">
<img data-src="client/sources/honey5.jpg" src="" alt="Use data-src for on-demand loading">
<img data-src="client/sources/honey6.jpg" src="" alt="Use data-src for on-demand loading">
</div>
<div id="sliderBox">
<h1> Welcome to honey world <br/>
View our products <br/>
Read our posts
</h1>
</div>
</div>
<hr/>
</header>
<!-- /header -->
<!-- main -->
<main>
<div ng-view></div>
</main>
<!-- /main -->
<!-- footer -->
<footer>
<div class="row clearPadMar" id="footerRow">
<div class="col-md-3"><h2><img src="client/sources/logo.png" alt="logo" width="80px"/></h2>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sit amet aliquam lacus. Mauris luctus tincidunt eros, in viverra arcu rhoncus molestie. Integer semper quis lorem eu pellentesque. Nulla eget pulvinar neque. Suspendisse iaculis lectus purus, sed tincidunt massa vehicula eget. Nunc dignissim pulvinar erat, at fermentum neque auctor sollicitudin. Proin sit amet lorem et massa sagittis consectetur. Aliquam ac nunc non orci accumsan tempor. Fusce scelerisque risus sit amet arcu scelerisque, eu accumsan nunc mattis.</div>
<div class="col-md-3"><h2><a id="light" href="#/">Light</a></h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sit amet aliquam lacus. Mauris luctus tincidunt eros, in viverra arcu rhoncus molestie. Integer semper quis lorem eu pellentesque. Nulla eget pulvinar neque. Suspendisse iaculis lectus purus, sed tincidunt massa vehicula eget. Nunc dignissim pulvinar erat, at fermentum neque auctor sollicitudin. Proin sit amet lorem et massa sagittis consectetur. Aliquam ac nunc non orci accumsan tempor. Fusce scelerisque risus sit amet arcu scelerisque, eu accumsan nunc mattis.</div>
<div class="col-md-3"><h2><a id="normal" href="#/">Normal</a></h2>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sit amet aliquam lacus. Mauris luctus tincidunt eros, in viverra arcu rhoncus molestie. Integer semper quis lorem eu pellentesque. Nulla eget pulvinar neque. Suspendisse iaculis lectus purus, sed tincidunt massa vehicula eget. Nunc dignissim pulvinar erat, at fermentum neque auctor sollicitudin. Proin sit amet lorem et massa sagittis consectetur. Aliquam ac nunc non orci accumsan tempor. Fusce scelerisque risus sit amet arcu scelerisque, eu accumsan nunc mattis.</div>
<div class="col-md-3"><h2><a id="dark" href="#/">Dark</a></h2>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sit amet aliquam lacus. Mauris luctus tincidunt eros, in viverra arcu rhoncus molestie. Integer semper quis lorem eu pellentesque. Nulla eget pulvinar neque. Suspendisse iaculis lectus purus, sed tincidunt massa vehicula eget. Nunc dignissim pulvinar erat, at fermentum neque auctor sollicitudin. Proin sit amet lorem et massa sagittis consectetur. Aliquam ac nunc non orci accumsan tempor. Fusce scelerisque risus sit amet arcu scelerisque, eu accumsan nunc mattis.</div>
</div>
<div class="row clearPadMar" >
<div id="author">
© 2016 App all rights Reserved | Made by <a target="_blank" style="text-decoration:none" href="http://www.cv.t-titov.com">     tima_t with smile
<img src="client/sources/timat.png" width="100px" alt="logo"></a>
</div>
</div>
</footer>
<!-- /footer -->
</div>
</div>
<!-- extra libs -->
<script src="client/js/jquery/dist/jquery.min.js"></script>
<script src="client/styles/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="client/js/ideal-image-slider/ideal-image-slider.min.js"></script>
<script src="client/js/node_modules/crypto-js/crypto-js.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<!-- ng controllers -->
<script src="client/Ang-controllers/contactController.js"></script>
<script src="client/Ang-controllers/homeController.js"></script>
<script src="client/Ang-controllers/loginController.js"></script>
<script src="client/Ang-controllers/postsController.js"></script>
<script src="client/Ang-controllers/productsController.js"></script>
<script src="client/Ang-controllers/registerController.js"></script>
<script src="client/Ang-controllers/newsController.js"></script>
<script src="client/Ang-controllers/postAdmController.js"></script>
<script src="client/Ang-controllers/productsAdmController.js"></script>
<!-- //end ng -->
<script>
var slider = new IdealImageSlider.Slider({
selector: '#slider',
height: 400, // Required but can be set by CSS
interval: 3000
});
slider.start();
</script>
<!--login/logout -->
<script>
$(window).bind('hashchange', function() {
if (localStorage.getItem("role")) {
$(".logout").css("display", "inline-block");
$(".loginMain").css("display", "none");
}
$(".logout").click(function () {
localStorage.clear();
$(".loginMain").css("display", "inline-block");
$(".logout").css("display", "none");
})
})
</script>
<!-- appearacnce -->
<script>
$("#light").on("click",function(){
$("#coverImg").css("background","url('client/sources/honeyBack1.png')");
$("body").css("color","black");
});
$("#normal").on("click",function(){
$("#coverImg").css("background","url('client/sources/back1.jpg')");
$("body").css("color","black");
});
$("#dark").on("click",function(){
$("#coverImg").css("background","url('client/sources/backL1.jpg')");
$("body").css("color","#FFA500");
});
</script>
</body>
</html>