Skip to content
This repository has been archived by the owner on May 5, 2018. It is now read-only.

Commit

Permalink
cambios en el js que trae el feed del planet de mozilla-hispano y el …
Browse files Browse the repository at this point in the history
…diseño
  • Loading branch information
marti1125 committed Jan 15, 2013
1 parent d010593 commit 7f4576f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
14 changes: 12 additions & 2 deletions data/css/app.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ p.first {
} }


#remo-top { #remo-top {
background: url('../img/bg-stone.png') 0 0 repeat-x; background: url('../img/bg-sky.png') 0 0 repeat-x;
padding: 20px 0 0 0; padding: 20px 0 0 0;
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 80px; height: 80px;
} }


#remo-main { #remo-main {
background: #F8F8F8 url('../img/bg-stone.png') 0 0 repeat-x; background: #F8F8F8 url('../img/bg-sky.png') 0 0 repeat-x;
overflow: auto; overflow: auto;
position: fixed; position: fixed;
width: 100%; width: 100%;
Expand All @@ -60,3 +60,13 @@ p.first {
.ItemTitle { .ItemTitle {
padding: 5px; padding: 5px;
} }

dl.tabs dd a.active {
background-image: linear-gradient(rgb(60, 136, 204), rgb(39, 97, 149));
color: white;
}

dl.tabs dd a {
background-image: linear-gradient(rgb(39, 97, 149), rgb(39, 97, 149));
color: white;
}
Binary file added data/img/bg-sky.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions data/js/FeedEk.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@
success: function (data) { success: function (data) {
$('#' + idd).empty(); $('#' + idd).empty();
$.each(data.responseData.feed.entries, function (i, entry) { $.each(data.responseData.feed.entries, function (i, entry) {
var title = entry.title; var title = entry.title;
title = title.replace(/^Noctuido :/, " ") || title.replace(/^Ricardo Palomares (rickiees) :/, " "); title = title.replace(/^Noctuido :/, " ");
title = title.replace(/^Willy Aguirre :/, " ");
title = title.replace(/^Jusa\u00ed Prieto :/, " ");
//title = title.replace('Prieto :', ' ');
//title = title.replace('Jusa\u00ed', ' ');

$('#' + idd).append('<div class="ItemTitle"><a id="rtitle" href="' + entry.link + '" target="_blank" >' + title + '</a></div>'); $('#' + idd).append('<div class="ItemTitle"><a id="rtitle" href="' + entry.link + '" target="_blank" >' + title + '</a></div>');


//$("#rtitle").html(title); //$("#rtitle").html(title);
Expand Down

0 comments on commit 7f4576f

Please sign in to comment.