sandbox/tmp/cache/assets/DA9/420/sprockets%2F4be564f02ffc16e32df33e92e43fb8f9 in iugu-ux-0.8.7 vs sandbox/tmp/cache/assets/DA9/420/sprockets%2F4be564f02ffc16e32df33e92e43fb8f9 in iugu-ux-0.8.8
- old
+ new
@@ -1,8 +1,8 @@
-o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357654410.6873128 üï:@value"ý
{I"
+o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357760297.6956429 …j:@value"Z{I"
class:EFI"BundledAsset; FI"logical_path; FI"3iugu-ux/components/presenters/iugu-ui-table.js; FI"
pathname; FI"~/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-table.jst.eco; FI"content_type; FI"application/javascript; FI"
-mtime; FI"2013-01-08T10:25:41-02:00; FI"length; FiàI"digest; F"%80c536a72beca5ae46ee75d4adb4cd59I"source; FI"à(function() {
+mtime; FI"2013-01-09T14:35:31-02:00; FI"length; Fi=
I"digest; F"%76adc192b5d3e119a8e8c81301e51436I"source; FI"=
(function() {
this.JST || (this.JST = {});
this.JST["iugu-ux/components/presenters/iugu-ui-table"] = function(__obj) {
if (!__obj) __obj = {};
var __out = [], __capture = function(callback) {
var out = __out, result;
@@ -41,53 +41,53 @@
}
(function() {
(function() {
var field, icon_class, _i, _len, _ref;
- __out.push('<table class="table table-bordered table-hover" style="margin-bottom: 0px">\n <thead>\n <tr>\n ');
+ __out.push('<div class="dataset">\n <table class="table table-bordered">\n <thead>\n <tr>\n ');
_ref = _.pairs(this.fields);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
field = _ref[_i];
- __out.push('\n ');
+ __out.push('\n ');
if (_.indexOf(this.sortableBy, field[0]) === -1) {
- __out.push('\n <th>');
+ __out.push('\n <th>\n <div class="row-container"><div class="row-data">\n ');
__out.push(__sanitize(field[1]));
- __out.push('</th>\n ');
+ __out.push('\n </div></div>\n </th>\n ');
} else {
- __out.push('\n ');
+ __out.push('\n ');
icon_class = "";
- __out.push('\n ');
+ __out.push('\n ');
if (this.sortBy[field[0]] === "") {
icon_class = "";
}
- __out.push('\n ');
+ __out.push('\n ');
if (this.sortBy[field[0]] === "asc") {
- icon_class = "ASC";
+ icon_class = "iux-default-icon-arrow-asc";
}
- __out.push('\n ');
+ __out.push('\n ');
if (this.sortBy[field[0]] === "desc") {
- icon_class = "DESC";
+ icon_class = "iux-default-icon-arrow-desc";
}
- __out.push('\n <th><a id="');
+ __out.push('\n <th class="sort-button" id="');
__out.push(__sanitize(field[0]));
- __out.push('" class="button sort-button" href="#" data-direction="');
- __out.push(__sanitize(icon_class));
- __out.push('">');
+ __out.push('" data-direction="');
+ __out.push(__sanitize(this.sortBy[field[0]]));
+ __out.push('">\n <div class="row-container"><div class="row-data">\n ');
__out.push(__sanitize(field[1]));
- __out.push(' ');
+ __out.push('\n <div class="icon ');
__out.push(__sanitize(icon_class));
- __out.push('</a></th>\n ');
+ __out.push('"></div>\n </div></div>\n </th>\n ');
}
- __out.push('\n ');
+ __out.push('\n ');
}
- __out.push('\n </tr>\n </thead>\n <tbody class="records">\n </tbody>\n</table>\n');
+ __out.push('\n </tr>\n </thead>\n <tbody class="records">\n </tbody>\n </table>\n</div>\n');
}).call(this);
}).call(__obj);
__obj.safe = __objSafe, __obj.escape = __escape;
return __out.join('');
};
}).call(this);
-; FI"required_assets_digest; F"%f7123a047c7fda705fa5f0bd0b85203aI"
_version; F"%9f3b95dd7ea3030dc35985c0a8020862
+; FI"required_assets_digest; F"%277b94baf5761673b37bac12db22c8b0I"
_version; F"%9f3b95dd7ea3030dc35985c0a8020862
\ No newline at end of file