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
cb35fb6b
Commit
cb35fb6b
authored
Jul 29, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating gadgets
parent
3fb4020d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
11 deletions
+30
-11
modules/ui/browser/browser.css
modules/ui/browser/browser.css
+5
-1
modules/ui/browser/browser.html
modules/ui/browser/browser.html
+4
-4
modules/ui/gallery/gallery.css
modules/ui/gallery/gallery.css
+15
-0
modules/ui/gallery/gallery.js
modules/ui/gallery/gallery.js
+2
-2
modules/ui/media/media.html
modules/ui/media/media.html
+4
-4
No files found.
modules/ui/browser/browser.css
View file @
cb35fb6b
/* scope CSS? */
.browser_bar
{
width
:
100%
;
display
:
inline-block
;
text-align
:
center
;
}
\ No newline at end of file
modules/ui/browser/browser.html
View file @
cb35fb6b
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
<title>
Browser Module
</title>
<title>
Browser Module
</title>
</head>
</head>
<body>
<body>
<div
data-role=
"fieldcontain
"
>
<div
class=
"browser_bar
"
>
<div
data-role=
"controlgroup"
data-type=
"horizontal"
>
<div
data-role=
"controlgroup"
data-type=
"horizontal"
>
<a
href=
"#"
data-icon=
"arrow-l"
data-
role=
"button"
data-iconpos=
"notext"
class=
"translate"
data-i18n=
"browser.previous"
>
</a>
<a
href=
"#"
data-icon=
"arrow-l"
data-
transition=
"slide"
data-direction=
"reverse"
data-role=
"button"
data-iconpos=
"notext"
class=
"translate"
data-i18n=
"browser.previous"
>
Previous
</a>
<a
href=
"
search.html"
data-role=
"button"
class=
"translate"
data-i18n=
"browser.back"
>
</a>
<a
href=
"
products.html"
data-role=
"button"
class=
"translate"
data-i18n=
"browser.back"
>
Back
</a>
<a
href=
"#"
data-icon=
"arrow-r"
data-role=
"button"
data-iconpos=
"notext"
class=
"translate"
data-i18n=
"browser.next"
>
Next
</a>
<a
href=
"#"
data-icon=
"arrow-r"
data-
transition=
"slide"
data-
role=
"button"
data-iconpos=
"notext"
class=
"translate"
data-i18n=
"browser.next"
>
Next
</a>
</div>
</div>
</div>
</div>
</body>
</body>
...
...
modules/ui/gallery/gallery.css
View file @
cb35fb6b
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
.ui-carousel-controls
{
.ui-carousel-controls
{
text-align
:
center
;
text-align
:
center
;
}
}
.ui-carousel-controls
.ui-radio
{
.ui-carousel-controls
.ui-radio
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
0
0.25em
;
padding
:
0
0.25em
;
...
@@ -107,3 +108,17 @@
...
@@ -107,3 +108,17 @@
}
}
}
}
/* ===================================================================*/
/* ===================================================================*/
/* FIX JQM */
html
.ui-btn.ui-icon-checkbox-off
:after
,
html
.ui-btn.ui-icon-checkbox-on
:after
,
html
.ui-btn.ui-icon-radio-off
:after
,
html
.ui-btn.ui-icon-radio-on
:after
{
margin
:
-9px
-9px
0
;
}
.gallery_wrap
ul
.ui-carousel
{
background
:
white
;
border
:
1px
solid
#DDD
;
}
.gallery_thumbnail_wrapper
{
}
\ No newline at end of file
modules/ui/gallery/gallery.js
View file @
cb35fb6b
...
@@ -19,7 +19,7 @@ define([
...
@@ -19,7 +19,7 @@ define([
"
data-inset='true' class='
"
+
"
data-inset='true' class='
"
+
"
ui-responsive tester' data-captions='true' data-transition='
"
+
"
ui-responsive tester' data-captions='true' data-transition='
"
+
"
slide'>
"
;
"
slide'>
"
;
thumbnails
=
"
<div class='gallery_thumbnails'><ul data-role='
"
+
thumbnails
=
"
<div class='gallery_thumbnails
'><ul data-role='
"
+
"
listview' data-inset='true' class='gallery_thumbnail_wrapper'>
"
;
"
listview' data-inset='true' class='gallery_thumbnail_wrapper'>
"
;
if
(
response
.
items
)
{
if
(
response
.
items
)
{
...
@@ -62,7 +62,7 @@ define([
...
@@ -62,7 +62,7 @@ define([
thumbnails
+=
"
<li data-icon='false'><a href='#' class='
"
+
thumbnails
+=
"
<li data-icon='false'><a href='#' class='
"
+
"
display_item'><img src='
"
+
response
.
media
+
item
.
media
.
img
[
0
][
"
t
"
]
+
"
' alt='
"
"
display_item'><img src='
"
+
response
.
media
+
item
.
media
.
img
[
0
][
"
t
"
]
+
"
' alt='
"
+
item
.
name
+
"
' /><h3 class='translate gallery_header' data-i18n='
"
+
+
item
.
name
+
"
' /><h3 class='translate gallery_header' data-i18n='
"
+
item
.
i18n
+
"
'></h3></li>
"
;
item
.
i18n
+
"
'>
"
+
item
.
name
+
"
</h3></li>
"
;
}
}
thumbnails
+=
"
</ul></div>
"
;
thumbnails
+=
"
</ul></div>
"
;
...
...
modules/ui/media/media.html
View file @
cb35fb6b
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
<!-- TODO: replace this with tabs -->
<!-- TODO: replace this with tabs -->
<div
class=
"media_wrap"
>
<div
class=
"media_wrap"
>
<div
data-role=
"collapsible-set"
>
<!--
<div data-role="collapsible-set">
<div data-role="collapsible" data-collapsed="false" class="images">
<div data-role="collapsible" data-collapsed="false" class="images">
<h1>Images</h1>
<h1>Images</h1>
-->
<!-- gallery widget -->
<!-- gallery widget -->
<div
id=
"imageGallery"
<div
id=
"imageGallery"
data-gadget=
"../gallery/gallery.html"
data-gadget=
"../gallery/gallery.html"
...
@@ -32,8 +32,8 @@
...
@@ -32,8 +32,8 @@
}
}
]
]
}'
>
}'
>
</div>
<!--
</div>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</body>
</body>
...
...
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