Commit dfc88e3b authored by Sven Franck's avatar Sven Franck

renamed gadget "search" to "products", updated all files

parent 61be3469
......@@ -7,7 +7,7 @@
<body>
<div data-role="navbar">
<ul>
<li><a href="search.html" data-icon="search" class="translate" data-i18n="footer.search" data-iconpos="bottom"></a></li>
<li><a href="products.html" data-icon="search" class="translate" data-i18n="footer.products" data-iconpos="bottom"></a></li>
<li><a href="basket.html" data-icon="arrow-r" class="translate" data-i18n="footer.basket" data-iconpos="bottom"></a></li>
</ul>
</div>
......
.search_content {
.products_content {
text-align: center;
}
.search_element {
.products_element {
display: inline-block;
vertical-align: middle;
}
.search_element:first-child,
.search_element:last-child {
.products_element:first-child,
.products_element:last-child {
margin-left: .25em;
margin-right: .25em;
}
\ No newline at end of file
......@@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<title>Search Module</title>
<title>Products Module</title>
</head>
<body>
......@@ -26,19 +26,20 @@
}'>
</div>
<!-- panel -->
<!-- panel
<div data-role="panel"
id="search_panel"
data-gadget="modules/refine/refine.html"
data-gadget-module="refine">
</div>
-->
<!-- content -->
<div data-role="content" class="ui-content search_content">
<div data-role="content" class="ui-content products_content">
<!-- refine panel trigger -->
<a href="#search_panel"
class="translate search_element"
class="translate products_element"
data-i18n="search.refine"
data-rel="panel"
data-role="button"
......@@ -50,7 +51,7 @@
<div id="searchbar"
data-gadget="modules/searchbar/searchbar.html"
data-gadget-module="searchbar"
class="searchbar_wrap search_element"
class="searchbar_wrap products_element"
data-gadget-property='{
"state": [
{
......@@ -66,7 +67,7 @@
<!-- sorting -->
<div id="sorting"
class="search_element"
class="products_element"
data-gadget="modules/sorting/sorting.html"
data-gadget-module="sorting">
</div>
......
define([
'app'
, 'text!search.html!strip'
, 'css!search'
, 'text!products.html!strip'
, 'css!products'
],
function (App, source) {
var response = {};
......
......@@ -12,7 +12,7 @@ define([
value, runSearch;
runSearch = function (value) {
$.mobile.changePage( "search.html", {
$.mobile.changePage( "products.html", {
"transition": "slide",
"allowSamePageTransition": true,
"data": {
......
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title></title>
<link rel="stylesheet" href="css/main.css">
<script data-main="js/main.js" src="js/libs/require/require.js"></script>
</head>
<body>
<div id="search"
data-role="page"
data-gadget="modules/search/search.html"
data-gadget-module="search">
</div>
</body>
</html>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment