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
673e359d
Commit
673e359d
authored
Jul 31, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gadgets/Pagination: renamed browser gadget
parent
72011fb6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
14 deletions
+13
-14
js/main.js
js/main.js
+1
-1
modules/ui/details/details.html
modules/ui/details/details.html
+5
-5
modules/ui/pagination/pagination.css
modules/ui/pagination/pagination.css
+1
-1
modules/ui/pagination/pagination.html
modules/ui/pagination/pagination.html
+4
-5
modules/ui/pagination/pagination.js
modules/ui/pagination/pagination.js
+2
-2
No files found.
js/main.js
View file @
673e359d
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
// page gadgets
// page gadgets
,
address
:
'
../modules/ui/address/address
'
,
address
:
'
../modules/ui/address/address
'
,
basket
:
'
../modules/ui/basket/basket
'
,
basket
:
'
../modules/ui/basket/basket
'
,
browser
:
'
../modules/ui/browser/browser
'
,
pagination
:
'
../modules/ui/pagination/pagination
'
,
confirm
:
'
../modules/ui/confirm/confirm
'
,
confirm
:
'
../modules/ui/confirm/confirm
'
,
description
:
'
../modules/ui/description/description
'
,
description
:
'
../modules/ui/description/description
'
,
details
:
'
../modules/ui/details/details
'
,
details
:
'
../modules/ui/details/details
'
...
...
modules/ui/details/details.html
View file @
673e359d
...
@@ -28,14 +28,14 @@
...
@@ -28,14 +28,14 @@
<!-- content -->
<!-- content -->
<div
data-role=
"content"
class=
"ui-content"
>
<div
data-role=
"content"
class=
"ui-content"
>
<!--
browse items
-->
<!--
pagination
-->
<div
id=
"
browser
"
<div
id=
"
pagination
"
data-gadget=
"modules/
browser/browser
.html"
data-gadget=
"modules/
pagination/pagination
.html"
data-gadget-module=
"
browser
"
data-gadget-module=
"
pagination
"
data-gadget-property=
'{
data-gadget-property=
'{
"state": [
"state": [
{
{
"
browser
": {
"
pagination
": {
"_config": {
"_config": {
"datasource": {"module": "storage"}
"datasource": {"module": "storage"}
},
},
...
...
modules/ui/
browser/browser
.css
→
modules/ui/
pagination/pagination
.css
View file @
673e359d
.
browser
_bar
{
.
pagination
_bar
{
width
:
100%
;
width
:
100%
;
display
:
inline-block
;
display
:
inline-block
;
text-align
:
center
;
text-align
:
center
;
...
...
modules/ui/
browser/browser
.html
→
modules/ui/
pagination/pagination
.html
View file @
673e359d
...
@@ -5,12 +5,11 @@
...
@@ -5,12 +5,11 @@
<title>
Browser Module
</title>
<title>
Browser Module
</title>
</head>
</head>
<body>
<body>
<!-- TODO: rename to "pagination" gadget -->
<div
class=
"pagination_bar"
>
<div
class=
"browser_bar"
>
<div
data-role=
"controlgroup"
data-type=
"horizontal"
>
<div
data-role=
"controlgroup"
data-type=
"horizontal"
>
<a
href=
"details.html?item_id=prev"
data-icon=
"arrow-l"
data-transition=
"slide"
data-direction=
"reverse"
data-role=
"button"
data-iconpos=
"notext"
class=
"translate prev"
data-i18n=
"
browser
.previous"
>
Previous
</a>
<a
href=
"details.html?item_id=prev"
data-icon=
"arrow-l"
data-transition=
"slide"
data-direction=
"reverse"
data-role=
"button"
data-iconpos=
"notext"
class=
"translate prev"
data-i18n=
"
pagination
.previous"
>
Previous
</a>
<a
href=
"products.html"
data-role=
"button"
class=
"translate"
data-i18n=
"
browser
.back"
>
Back
</a>
<a
href=
"products.html"
data-role=
"button"
class=
"translate"
data-i18n=
"
pagination
.back"
>
Back
</a>
<a
href=
"details.html?item_id=next"
data-icon=
"arrow-r"
data-transition=
"slide"
data-role=
"button"
data-iconpos=
"notext"
class=
"translate next"
data-i18n=
"
browser
.next"
>
Next
</a>
<a
href=
"details.html?item_id=next"
data-icon=
"arrow-r"
data-transition=
"slide"
data-role=
"button"
data-iconpos=
"notext"
class=
"translate next"
data-i18n=
"
pagination
.next"
>
Next
</a>
</div>
</div>
</div>
</div>
</body>
</body>
...
...
modules/ui/
browser/browser
.js
→
modules/ui/
pagination/pagination
.js
View file @
673e359d
define
([
define
([
'
app
'
'
app
'
,
'
text!
browser
.html!strip
'
,
'
text!
pagination
.html!strip
'
,
'
css!
browser
'
,
'
css!
pagination
'
],
],
function
(
App
,
source
)
{
function
(
App
,
source
)
{
var
priv
=
{};
var
priv
=
{};
...
...
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