Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
dfc88e3b
Commit
dfc88e3b
authored
Jul 26, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed gadget "search" to "products", updated all files
parent
61be3469
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
33 deletions
+15
-33
modules/footer/footer.html
modules/footer/footer.html
+1
-1
modules/products/products.css
modules/products/products.css
+4
-4
modules/products/products.html
modules/products/products.html
+7
-6
modules/products/products.js
modules/products/products.js
+2
-2
modules/searchbar/searchbar.js
modules/searchbar/searchbar.js
+1
-1
search.html
search.html
+0
-19
No files found.
modules/footer/footer.html
View file @
dfc88e3b
...
...
@@ -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>
...
...
modules/
search/search
.css
→
modules/
products/products
.css
View file @
dfc88e3b
.
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
modules/
search/search
.html
→
modules/
products/products
.html
View file @
dfc88e3b
...
...
@@ -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>
...
...
modules/
search/search
.js
→
modules/
products/products
.js
View file @
dfc88e3b
define
([
'
app
'
,
'
text!
search
.html!strip
'
,
'
css!
search
'
,
'
text!
products
.html!strip
'
,
'
css!
products
'
],
function
(
App
,
source
)
{
var
response
=
{};
...
...
modules/searchbar/searchbar.js
View file @
dfc88e3b
...
...
@@ -12,7 +12,7 @@ define([
value
,
runSearch
;
runSearch
=
function
(
value
)
{
$
.
mobile
.
changePage
(
"
search
.html
"
,
{
$
.
mobile
.
changePage
(
"
products
.html
"
,
{
"
transition
"
:
"
slide
"
,
"
allowSamePageTransition
"
:
true
,
"
data
"
:
{
...
...
search.html
deleted
100644 → 0
View file @
61be3469
<!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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment