From: Radek Czajka Date: Fri, 10 Sep 2010 11:58:48 +0000 (+0200) Subject: fixed widget colors X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/d92ffa94a1cc8346d105de9687ac3f9f776b315e?ds=sidebyside;hp=22a9e609d7f00bac9d88306d3c9f4cf3bd244dee fixed widget colors --- diff --git a/apps/infopages/fixtures/wl_data.json b/apps/infopages/fixtures/wl_data.json index e4cf73c13..64b9e9964 100644 --- a/apps/infopages/fixtures/wl_data.json +++ b/apps/infopages/fixtures/wl_data.json @@ -178,7 +178,7 @@ "title_de": "Widget", "page_title": "Widget", "left_column_uk": "", - "right_column_pl": "

Jak umie\u015bci\u0107 wid\u017cet Wolne Lektury na stronie WWW

\r\n\r\n

Po prostu skopiuj poni\u017cszy kod HTML.

\r\n\r\n", + "right_column_pl": "

Jak umie\u015bci\u0107 wid\u017cet Wolne Lektury na stronie WWW

\r\n\r\n

Po prostu skopiuj poni\u017cszy kod HTML.

\r\n\r\n", "page_title_en": "Widget", "page_title_es": "Widget", "left_column_lt": "", @@ -187,7 +187,7 @@ "left_column_fr": "", "title": "Widget", "title_lt": "Widget", - "right_column": "

Jak umie\u015bci\u0107 wid\u017cet Wolne Lektury na stronie WWW

\r\n\r\n

Po prostu skopiuj poni\u017cszy kod HTML.

\r\n\r\n", + "right_column": "

Jak umie\u015bci\u0107 wid\u017cet Wolne Lektury na stronie WWW

\r\n\r\n

Po prostu skopiuj poni\u017cszy kod HTML.

\r\n\r\n", "right_column_es": "", "right_column_en": "", "left_column_de": "", diff --git a/wolnelektury/static/css/widget.css b/wolnelektury/static/css/widget.css index cd8e16b05..31349efb1 100644 --- a/wolnelektury/static/css/widget.css +++ b/wolnelektury/static/css/widget.css @@ -44,3 +44,8 @@ width: 160px; cursor: pointer; display:block; } + +.ui-corner-all a{ + color: black; + text-decoration: none; +} diff --git a/wolnelektury/templates/base.html b/wolnelektury/templates/base.html index 4d59dc8aa..297b4d6a6 100644 --- a/wolnelektury/templates/base.html +++ b/wolnelektury/templates/base.html @@ -46,8 +46,8 @@ WolneLektury @ Facebook WolneLektury @ NK -
-
+ +
{% spaceless %} {% for lang in LANGUAGES %} {% endfor %} {% endspaceless %} -
+
diff --git a/wolnelektury/templates/catalogue/main_page.html b/wolnelektury/templates/catalogue/main_page.html index aba596f99..720c2d584 100644 --- a/wolnelektury/templates/catalogue/main_page.html +++ b/wolnelektury/templates/catalogue/main_page.html @@ -21,11 +21,11 @@

{% trans "Wolne Lektury Widget" %}

{% trans "Place our widget - search engine for Wolne Lektury which gives access to free books and audiobooks - on your homepage! Just copy the HTML code below onto your page:" %}

+<div id="wl" /> +<!-- END --> +<!-- START {% trans "Place this element just before closing body tag: </body>" %} --> +<script type="text/javascript" src="http://www.wolnelektury.pl/static/js/widget.js"></script> +<!-- END -->

{% trans "See more" %} ⇒

{% trans "Your shelves with books" %}

{% if user.is_authenticated %}