Commit cb35fb6b authored by Sven Franck's avatar Sven Franck

updating gadgets

parent 3fb4020d
/* scope CSS? */ .browser_bar {
width: 100%;
display: inline-block;
text-align: center;
}
\ No newline at end of file
...@@ -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>
......
...@@ -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
...@@ -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>";
......
...@@ -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>
......
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