From: Nicolas Lœuillet Date: Mon, 2 Mar 2015 20:23:19 +0000 (+0100) Subject: Merge pull request #1132 from wallabag/v2-theme X-Git-Tag: 2.0.0-alpha.0~75 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=ba7b9d48d407f87690a3fdc199b37714d2a52897;hp=fca3c757233940cbe4c431e3e05fe74893225fe0;p=github%2Fwallabag%2Fwallabag.git Merge pull request #1132 from wallabag/v2-theme V2 theme --- diff --git a/.gitignore b/.gitignore index 3fbe668c..72e5ffad 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,4 @@ # Data for wallabag data/assets/* -data/db/poche*.sqlite +data/db/wallabag*.sqlite diff --git a/app/AppKernel.php b/app/AppKernel.php index fe61b255..d134de3c 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -21,6 +21,7 @@ class AppKernel extends Kernel new JMS\SerializerBundle\JMSSerializerBundle(), new Nelmio\ApiDocBundle\NelmioApiDocBundle(), new Nelmio\CorsBundle\NelmioCorsBundle(), + new Liip\ThemeBundle\LiipThemeBundle(), new Wallabag\CoreBundle\WallabagCoreBundle() ); diff --git a/src/Wallabag/CoreBundle/Resources/views/_messages.html.twig b/app/Resources/views/.gitkeep similarity index 100% rename from src/Wallabag/CoreBundle/Resources/views/_messages.html.twig rename to app/Resources/views/.gitkeep diff --git a/app/Resources/views/baggy/_display-mode.twig b/app/Resources/views/baggy/_display-mode.twig deleted file mode 100755 index 382dd5f1..00000000 --- a/app/Resources/views/baggy/_display-mode.twig +++ /dev/null @@ -1,5 +0,0 @@ -
- - {% trans - -
diff --git a/app/Resources/views/baggy/_head.twig b/app/Resources/views/baggy/_head.twig deleted file mode 100755 index a88d4186..00000000 --- a/app/Resources/views/baggy/_head.twig +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/Resources/views/baggy/_menu.twig b/app/Resources/views/baggy/_menu.twig deleted file mode 100644 index 8b80f65d..00000000 --- a/app/Resources/views/baggy/_menu.twig +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/app/Resources/views/baggy/_pocheit-form.twig b/app/Resources/views/baggy/_pocheit-form.twig deleted file mode 100755 index bf2ae903..00000000 --- a/app/Resources/views/baggy/_pocheit-form.twig +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/app/Resources/views/baggy/_search-form.twig b/app/Resources/views/baggy/_search-form.twig deleted file mode 100644 index 73f7951f..00000000 --- a/app/Resources/views/baggy/_search-form.twig +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/app/Resources/views/baggy/_top.twig b/app/Resources/views/baggy/_top.twig deleted file mode 100755 index a31c0925..00000000 --- a/app/Resources/views/baggy/_top.twig +++ /dev/null @@ -1,7 +0,0 @@ -
-

- {% if view == 'home' %}{% block logo %}wallabag logo{% endblock %} - {% else %}{{ block('logo') }} - {% endif %} -

-
diff --git a/app/Resources/views/baggy/about.twig b/app/Resources/views/baggy/about.twig deleted file mode 100755 index d18fe156..00000000 --- a/app/Resources/views/baggy/about.twig +++ /dev/null @@ -1,84 +0,0 @@ -{% extends "layout.twig" %} - -{% block title %}{% trans "About" %}{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block content %} -

{% trans "About wallabag" %}

- -
-
{% trans "Project website" %}
-
https://www.wallabag.org
- -
{% trans "Main developer" %}
-
Nicolas Lœuillet — {% trans "website" %}
- -
{% trans "Contributors:" %}
-
{% trans "on Github" %}
- -
{% trans "Bug reports" %}
-
{% trans "On our support website" %} {% trans "or" %} {% trans "on Github" %}
- -
{% trans "License" %}
-
MIT
- -
{% trans "Version" %}
-
{{ constant('WALLABAG') }}
-
- -

{% trans "wallabag is a read-it-later application: you can save a web page by keeping only content. Elements like ads or menus are deleted." %}

- -

{% trans "Getting help" %}

- -
-
{% trans "Documentation" %}
-
Offline documentation and online documentation (up to date)
- -
{% trans "Support" %}
-
http://support.wallabag.org/
-
- -

{% trans "Helping wallabag" %}

- -

{% trans "wallabag is free and opensource. You can help us:" %}

- -
-
{% trans "via Paypal" %}
- -
{% trans "via Flattr" %}
-
- -

{% trans "Credits" %}

-
-
PHP Readability
-
https://bitbucket.org/fivefilters/php-readability
- -
Full Text RSS
-
http://code.fivefilters.org/full-text-rss/src
- -
logo by Maylis Agniel
-
https://github.com/wallabag/logo
- -
icons
-
http://icomoon.io
- -
PHP Simple HTML DOM Parser
-
http://simplehtmldom.sourceforge.net/
- -
Session
-
https://github.com/tontof/kriss_feed/blob/master/src/class/Session.php
- -
Twig
-
http://twig.sensiolabs.org
- -
Flash messages
-
https://github.com/plasticbrain/PHP-Flash-Messages
- -
Pagination
-
https://github.com/daveismyname/pagination
- -
PHPePub
-
https://github.com/Grandt/PHPePub/
-
-{% endblock %} diff --git a/app/Resources/views/baggy/config.twig b/app/Resources/views/baggy/config.twig deleted file mode 100755 index 6031f489..00000000 --- a/app/Resources/views/baggy/config.twig +++ /dev/null @@ -1,187 +0,0 @@ -{% extends "layout.twig" %} - -{% block title %}{% trans "config" %}{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block content %} -

{% trans "Saving articles" %}

-

{% trans "There are several ways to save an article:" %} {% trans "(?)" %}

-

-

-
- - -
-

-

Browser Plugins

- -

Mobile Apps

- -

{% trans "Bookmarklet" %}

-

- {% trans "Drag & drop this link to your bookmarks bar:" %} {% trans "bag it!" %} -

- -

{% trans "Feeds" %}

- {% if token == '' %} -

{% trans "Your feed token is currently empty and must first be generated to enable feeds. Click here to generate it." %}

- {% else %} - -

- {% trans "Your token:" %} {{token}}
- {% trans "Your user id:" %} {{user_id}}
- {% trans "You can regenerate your token: generate!." %} -

- {% endif %} - -

{% trans "Change your theme" %}

-
-
-
- - -
-
- -
-
- - -
- -

{% trans "Change your language" %}

-
-
-
- - -
-
- -
-
- - -
- -

{% trans "Import" %}

-

{% trans "You can import your Pocket, Readability, Instapaper, Wallabag or any data in appropriate json or html format." %}

-

{% trans "Please select export file on your computer and press \"Import\" button below. Wallabag will parse your file, insert all URLs and start fetching of articles if required." %}

-
-
-
- - -
-
- -
-
-
-

{% trans "You can click here to fetch content for articles with no content." %}

-

{% trans "Fetching process is controlled by two constants in your config file: IMPORT_LIMIT (how many articles are fetched at once) and IMPORT_DELAY (delay between fetch of next batch of articles)." %}

- -

{% trans "Export your wallabag data" %}

-

{% trans "Export JSON" %}
- Data will be exported in a single JSON file.

- -

{% trans "Fancy an E-Book ?" %}

-

{% trans "Click to get all your articles in one ebook :" %} -

- - {% trans "This can take a while and can even fail if you have too many articles, depending on your server configuration." %}

- -

{% trans "Cache" %}

-

{% trans "Delete Cache" %}
- Deleting the cache may help with display or other problems.

- - {% if http_auth == 0 %} -

{% trans "Change your password" %}

-
-
-
- - -
-
- - -
-
- -
-
- - -
- {% endif %} - -

{% trans 'Add user' %}

-
-
-
- - -
-
- - -
-
- - -
-
- -
-
-
- -

{% trans "Delete account" %}

- {% if not only_user %}
-

{% trans "You can delete your account by entering your password and validating." %}
{% trans "Be careful, data will be erased forever (that is a very long time)." %}

-
-
- - -
-
- -
- - {% else %}

{% trans "You are the only user, you cannot delete your own account." %}

-

{% trans "To completely remove wallabag, delete the wallabag folder on your web server (and eventual databases)." %}

{% endif %} - -

{% trans "Upgrading wallabag" %}

-
    -
  • {% trans "Installed version" %}: {{ constant('WALLABAG') }}
  • -
  • {% trans "Latest stable version" %}: {{ prod }}. {% if compare_prod == -1 %}{% trans "A more recent stable version is available." %}{% else %}{% trans "You are up to date." %}{% endif %} ({% trans "Last check:" %} {{ check_time_prod }})
  • - {% if constant('DEBUG_POCHE') == 1 %}
  • {% trans "Latest dev version" %}: {{ dev }}. {% if compare_dev == -1 %}{% trans "A more recent development version is available." %}{% else %}{% trans "You are up to date." %}{% endif %} ({% trans "Last check:" %} {{ check_time_dev }}){% endif %}
  • -
-

{% trans "You can clear cache to check the latest release." %}

- -{% endblock %} diff --git a/app/Resources/views/baggy/edit-tags.twig b/app/Resources/views/baggy/edit-tags.twig deleted file mode 100755 index 15f15560..00000000 --- a/app/Resources/views/baggy/edit-tags.twig +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "layout.twig" %} -{% block title %}edit tags{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block content %} - - - - - -
-

{{ entry.title|raw }} -

-{% if tags is empty %} -
{% trans "no tags" %}
-{% endif %} -
    -{% for tag in tags %}
  • {{ tag.value }} ✘
  • {% endfor %} -
-
- - - -

{% trans "Start typing for auto complete." %}
- {% trans "You can enter multiple tags, separated by commas." %}

-
-{% trans "return to article" %} -{% endblock %} diff --git a/app/Resources/views/baggy/home.twig b/app/Resources/views/baggy/home.twig deleted file mode 100755 index 93515080..00000000 --- a/app/Resources/views/baggy/home.twig +++ /dev/null @@ -1,81 +0,0 @@ -{% extends "layout.twig" %} -{% block title %} -{% if view == 'fav' %} -{% trans "favorites" %} -{% elseif view == 'archive' %} -{% trans "archive" %} -{% else %} -{% trans "unread" %} -{% endif %} -{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block content %} - {% if tag %} -

{% trans "Tag" %}: {{ tag.value }}

- {% endif %} - {% if entries is empty %} -

{% trans "No articles found." %}

- {% else %} -
- {% include '_display-mode.twig' %} - {% include '_sorting.twig' %} -
- {% block pager %} - {% if nb_results > 1 %} -
-
{{ nb_results }} {% trans "results" %}{% if search_term is defined %} {% trans %}found for « {{ search_term }} »{% endtrans %}{% endif %}
- {{ page_links | raw }} -
- {% elseif nb_results == 1 %} - {% if search_term is defined %} -
-
{% trans "Only one result found for " %} « {{ search_term }} »
-
- {% endif %} - {% endif %} - {% endblock %} -
- {% for entry in entries %} -
-

{{ entry.title|raw }}

- {% if entry.content| getReadingTime > 0 %} -
{% trans "estimated reading time :" %} {{ entry.content| getReadingTime }} min
- {% else %} -
{% trans "estimated reading time :" %} < 1 min
- {% endif %} - -

{{ entry.content|striptags|slice(0, 300) }}...

-
- - {% endfor %} -
- {{ block('pager') }} - {% if view == 'home' %}{% if nb_results > 1 %}

{% trans "Mark all the entries as read" %}

{% endif %}{% endif %} - {% if searchterm is defined %}{% trans "Tag these results as" %} {{ searchterm }}{% endif %}
- - {% if searchterm is defined %}{% trans "Delete results matching" %} {{ searchterm }}{% endif %}
- - {% if tag %}{% trans "Mark all articles from this tag as read" %}
{% endif %} - - {% if tag %} - {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} - {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} - {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} - {% elseif searchterm is defined %} - {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} - {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} - {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} - {% else %} - {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} - {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} - {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} - {% endif %} -{% endif %} -{% endblock %} diff --git a/app/Resources/views/baggy/layout-login.twig b/app/Resources/views/baggy/layout-login.twig deleted file mode 100644 index 4078fbb0..00000000 --- a/app/Resources/views/baggy/layout-login.twig +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - {% block title %}{% endblock %} - wallabag -{% include '_head.twig' %} -{% include '_bookmarklet.twig' %} - - - {% include '_top.twig' %} -
- {% block menu %}{% endblock %} - {% block precontent %}{% endblock %} - {% block messages %} - {% include '_messages.twig' %} - {% endblock %} -
- {% block content %}{% endblock %} -
-
-{% include '_footer.twig' %} - - \ No newline at end of file diff --git a/app/Resources/views/baggy/layout.twig b/app/Resources/views/baggy/layout.twig deleted file mode 100755 index 8de12749..00000000 --- a/app/Resources/views/baggy/layout.twig +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - {% block title %}{% endblock %} - wallabag -{% include '_head.twig' %} -{% include '_bookmarklet.twig' %} - - - {% include '_top.twig' %} -
- {% block menu %}{% endblock %} - {% block precontent %}{% endblock %} - {% block messages %} - {% include '_messages.twig' %} - {% if includeImport %} - {% include '_import.twig' %} - {% endif %} - {% endblock %} -
- {% block content %}{% endblock %} -
-
-{% include '_footer.twig' %} - - \ No newline at end of file diff --git a/app/Resources/views/baggy/login.twig b/app/Resources/views/baggy/login.twig deleted file mode 100644 index 58290e9c..00000000 --- a/app/Resources/views/baggy/login.twig +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "layout-login.twig" %} - -{% block title %}{% trans "login to your wallabag" %}{% endblock %} -{% block content %} - {% if http_auth == 0 %} -
-
-

{% trans "Login to wallabag" %}

- {% if constant('MODE_DEMO') == 1 %}

{% trans "you are in demo mode, some features may be disabled." %}

{% endif %} -
- - -
- -
- - -
-
- -
-
- {% trans "(Do not check on public computers)" %} -
-
-
- -
-
- - -
- {% endif %} -{% endblock %} diff --git a/app/Resources/views/baggy/tags.twig b/app/Resources/views/baggy/tags.twig deleted file mode 100755 index 65930eb2..00000000 --- a/app/Resources/views/baggy/tags.twig +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "layout.twig" %} -{% block title %}Tags{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block content %} -

{% trans "Tags" %}

-
    -{% for tag in tags %}
  • {% if token != '' %}rss{% endif %} {{ tag.value }} ({{ tag.entriescount }}) -
  • -{% endfor %} -
-{% endblock %} diff --git a/app/Resources/views/baggy/theme.ini b/app/Resources/views/baggy/theme.ini deleted file mode 100644 index 31665e18..00000000 --- a/app/Resources/views/baggy/theme.ini +++ /dev/null @@ -1,3 +0,0 @@ -name = Baggy -description = Responsive black and white theme especially adapted to smartphones. -requirements[] = default diff --git a/app/Resources/views/baggy/view.twig b/app/Resources/views/baggy/view.twig deleted file mode 100755 index 1afd9df6..00000000 --- a/app/Resources/views/baggy/view.twig +++ /dev/null @@ -1,102 +0,0 @@ -{% extends "layout.twig" %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block title %}{{ entry.title|raw }} ({{ entry.url | e | getDomain }}){% endblock %} -{% block content %} - {% include '_highlight.twig' %} -
- -
-
-
-

{{ entry.title|raw }}

-
- -
- {{ content | raw }} -
-
- - -{% endblock %} diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig deleted file mode 100644 index bafd28d3..00000000 --- a/app/Resources/views/base.html.twig +++ /dev/null @@ -1,13 +0,0 @@ - - - - - {% block title %}Welcome!{% endblock %} - {% block stylesheets %}{% endblock %} - - - - {% block body %}{% endblock %} - {% block javascripts %}{% endblock %} - - diff --git a/app/Resources/views/dark/README.md b/app/Resources/views/dark/README.md deleted file mode 100644 index 92077994..00000000 --- a/app/Resources/views/dark/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# dark theme - -theme created by Nicolas Lœuillet aka nico_somb \ No newline at end of file diff --git a/app/Resources/views/dark/public/css/style-dark.css b/app/Resources/views/dark/public/css/style-dark.css deleted file mode 100644 index 41782c48..00000000 --- a/app/Resources/views/dark/public/css/style-dark.css +++ /dev/null @@ -1,74 +0,0 @@ -body { - color: #d4d4d4; - background-color: #262627; -} - -a, -a:hover, -a:visited { - color: #d4d4d4; -} - -a.back span { - background-image: url('../img/dark/left.png'); -} - -a.top span { - background-image: url('../img/dark/top.png'); -} - -a.fav span, -a.fav-off span:hover { - background-image: url('../img/dark/star-on.png'); -} - -a.fav span:hover, -a.fav-off span { - background-image: url('../img/dark/star-off.png'); -} - -a.archive span, -a.archive-off span:hover { - background-image: url('../img/dark/checkmark-on.png'); -} - -a.archive span:hover, -a.archive-off span { - background-image: url('../img/dark/checkmark-off.png'); -} - -a.twitter span { - background-image: url('../img/dark/twitter.png'); -} - -a.shaarli span { - background-image: url('../img/dark/shaarli.png'); -} - -a.flattr span { - background-image: url('../img/dark/flattr.png'); -} - -a.email span { - background-image: url('../img/dark/envelop.png'); -} - -a.delete span { - background-image: url('../img/dark/remove.png'); -} - -a.link span { - background-image: url('../img/dark/link.png'); -} - -a.bad-display span { - background-image: url('../img/dark/bad-display.png'); -} - -.pagination a { - color: #aaa; -} - -#article_toolbar { - background: #262627; -} \ No newline at end of file diff --git a/app/Resources/views/dark/public/img/dark/backtotop.png b/app/Resources/views/dark/public/img/dark/backtotop.png deleted file mode 100644 index c885086d..00000000 Binary files a/app/Resources/views/dark/public/img/dark/backtotop.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/bad-display.png b/app/Resources/views/dark/public/img/dark/bad-display.png deleted file mode 100644 index 66ea2e16..00000000 Binary files a/app/Resources/views/dark/public/img/dark/bad-display.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/checkmark-off.png b/app/Resources/views/dark/public/img/dark/checkmark-off.png deleted file mode 100644 index 661ea997..00000000 Binary files a/app/Resources/views/dark/public/img/dark/checkmark-off.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/checkmark-on.png b/app/Resources/views/dark/public/img/dark/checkmark-on.png deleted file mode 100644 index 5ee8c8d3..00000000 Binary files a/app/Resources/views/dark/public/img/dark/checkmark-on.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/down.png b/app/Resources/views/dark/public/img/dark/down.png deleted file mode 100644 index 4150e17c..00000000 Binary files a/app/Resources/views/dark/public/img/dark/down.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/envelop.png b/app/Resources/views/dark/public/img/dark/envelop.png deleted file mode 100644 index 73d9b0b9..00000000 Binary files a/app/Resources/views/dark/public/img/dark/envelop.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/flattr.png b/app/Resources/views/dark/public/img/dark/flattr.png deleted file mode 100644 index b457d080..00000000 Binary files a/app/Resources/views/dark/public/img/dark/flattr.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/left.png b/app/Resources/views/dark/public/img/dark/left.png deleted file mode 100644 index c2f7a20e..00000000 Binary files a/app/Resources/views/dark/public/img/dark/left.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/link.png b/app/Resources/views/dark/public/img/dark/link.png deleted file mode 100644 index a5b8d8d2..00000000 Binary files a/app/Resources/views/dark/public/img/dark/link.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/remove.png b/app/Resources/views/dark/public/img/dark/remove.png deleted file mode 100644 index 0c3dcfdf..00000000 Binary files a/app/Resources/views/dark/public/img/dark/remove.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/rss.png b/app/Resources/views/dark/public/img/dark/rss.png deleted file mode 100644 index 21bad1a1..00000000 Binary files a/app/Resources/views/dark/public/img/dark/rss.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/shaarli.png b/app/Resources/views/dark/public/img/dark/shaarli.png deleted file mode 100644 index e68ac8b5..00000000 Binary files a/app/Resources/views/dark/public/img/dark/shaarli.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/star-off.png b/app/Resources/views/dark/public/img/dark/star-off.png deleted file mode 100644 index 8194bc2d..00000000 Binary files a/app/Resources/views/dark/public/img/dark/star-off.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/star-on.png b/app/Resources/views/dark/public/img/dark/star-on.png deleted file mode 100644 index 109c3aec..00000000 Binary files a/app/Resources/views/dark/public/img/dark/star-on.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/top.png b/app/Resources/views/dark/public/img/dark/top.png deleted file mode 100644 index d137bd24..00000000 Binary files a/app/Resources/views/dark/public/img/dark/top.png and /dev/null differ diff --git a/app/Resources/views/dark/public/img/dark/twitter.png b/app/Resources/views/dark/public/img/dark/twitter.png deleted file mode 100644 index 6ce8a4d9..00000000 Binary files a/app/Resources/views/dark/public/img/dark/twitter.png and /dev/null differ diff --git a/app/Resources/views/dark/public/public b/app/Resources/views/dark/public/public deleted file mode 120000 index fd316b37..00000000 --- a/app/Resources/views/dark/public/public +++ /dev/null @@ -1 +0,0 @@ -../../themes/default/public \ No newline at end of file diff --git a/app/Resources/views/dark/screenshot.jpg b/app/Resources/views/dark/screenshot.jpg deleted file mode 100644 index daaad6c9..00000000 Binary files a/app/Resources/views/dark/screenshot.jpg and /dev/null differ diff --git a/app/Resources/views/dark/theme.ini b/app/Resources/views/dark/theme.ini deleted file mode 100644 index 4b020d36..00000000 --- a/app/Resources/views/dark/theme.ini +++ /dev/null @@ -1,2 +0,0 @@ -name = Dark -requirements[] = default diff --git a/app/Resources/views/default/_bookmarklet.twig b/app/Resources/views/default/_bookmarklet.twig deleted file mode 100644 index 61996353..00000000 --- a/app/Resources/views/default/_bookmarklet.twig +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/app/Resources/views/default/_footer.twig b/app/Resources/views/default/_footer.twig deleted file mode 100644 index 213a4aca..00000000 --- a/app/Resources/views/default/_footer.twig +++ /dev/null @@ -1,4 +0,0 @@ -
-

{% trans "powered by" %} wallabag

- {% if constant('DEBUG_POCHE') == 1 %}

{% trans "debug mode is on so cache is off." %} {% trans "your wallabag version:" %}{{constant('WALLABAG')}}. {% trans "storage:" %} {{constant('STORAGE')}}

{% endif %} -
\ No newline at end of file diff --git a/app/Resources/views/default/_head.twig b/app/Resources/views/default/_head.twig deleted file mode 100755 index 277e3833..00000000 --- a/app/Resources/views/default/_head.twig +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/Resources/views/default/_highlight.twig b/app/Resources/views/default/_highlight.twig deleted file mode 100755 index cdb7c6bf..00000000 --- a/app/Resources/views/default/_highlight.twig +++ /dev/null @@ -1,4 +0,0 @@ - {# include excelent highlight.js library for code highligting, see http://highlightjs.org/ #} - - - diff --git a/app/Resources/views/default/_import.twig b/app/Resources/views/default/_import.twig deleted file mode 100755 index c59b7a15..00000000 --- a/app/Resources/views/default/_import.twig +++ /dev/null @@ -1,15 +0,0 @@ - -
-

{% trans "Download required for " %} {{ import.recordsDownloadRequired }} {% trans "records" %}.

-

{% trans "Downloading next " %} {{ import.recordsUnderDownload }} {% trans "articles, please wait" %}...

-
diff --git a/app/Resources/views/default/_menu.twig b/app/Resources/views/default/_menu.twig deleted file mode 100644 index eedf84f1..00000000 --- a/app/Resources/views/default/_menu.twig +++ /dev/null @@ -1,14 +0,0 @@ - - {% include '_pocheit-form.twig' %} - {% include '_search-form.twig' %} - diff --git a/app/Resources/views/default/_messages.twig b/app/Resources/views/default/_messages.twig deleted file mode 100644 index 679aa098..00000000 --- a/app/Resources/views/default/_messages.twig +++ /dev/null @@ -1 +0,0 @@ - {{ messages | raw }} \ No newline at end of file diff --git a/app/Resources/views/default/_pocheit-form.twig b/app/Resources/views/default/_pocheit-form.twig deleted file mode 100755 index 8c982db0..00000000 --- a/app/Resources/views/default/_pocheit-form.twig +++ /dev/null @@ -1,8 +0,0 @@ -
-   -
- - - -
-
diff --git a/app/Resources/views/default/_search-form.twig b/app/Resources/views/default/_search-form.twig deleted file mode 100755 index 0cf6097a..00000000 --- a/app/Resources/views/default/_search-form.twig +++ /dev/null @@ -1,9 +0,0 @@ -
-
-

- - : - -

-
-
diff --git a/app/Resources/views/default/_sorting.twig b/app/Resources/views/default/_sorting.twig deleted file mode 100755 index 3ce9b949..00000000 --- a/app/Resources/views/default/_sorting.twig +++ /dev/null @@ -1,6 +0,0 @@ -{% if entries|length > 1 %} -
    -
  • {% trans {% trans "by date" %} {% trans
  • -
  • {% trans {% trans "by title" %} {% trans
  • -
-{% endif %} diff --git a/app/Resources/views/default/_top.twig b/app/Resources/views/default/_top.twig deleted file mode 100755 index 45806f01..00000000 --- a/app/Resources/views/default/_top.twig +++ /dev/null @@ -1,7 +0,0 @@ -
-

- {% if view == 'home' %}{% block logo %}wallabag logo{% endblock %} - {% else %}{{ block('logo') }} - {% endif %} -

-
diff --git a/app/Resources/views/default/about.twig b/app/Resources/views/default/about.twig deleted file mode 100755 index 50ffd8ef..00000000 --- a/app/Resources/views/default/about.twig +++ /dev/null @@ -1,74 +0,0 @@ -{% extends "layout.twig" %} - -{% block title %}{% trans "About wallabag" %}{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block content %} -

{% trans "About wallabag" %}

- -
-
{% trans "Project website" %}
-
http://www.wallabag.org
- -
{% trans "Main developer" %}
-
Nicolas Lœuillet — {% trans "website" %}
- -
{% trans "Contributors:" %}
-
{% trans "on Github" %}
- -
{% trans "Bug reports" %}
-
{% trans "On our support website" %} {% trans "or" %} {% trans "on Github" %}
- -
{% trans "License" %}
-
MIT
- -
{% trans "Version" %}
-
{{ constant('WALLABAG') }}
-
- -

{% trans "wallabag is a read-it-later application: you can save a web page by keeping only content. Elements like ads or menus are deleted." %}

- -

{% trans "Helping wallabag" %}

- -

{% trans "wallabag is free and opensource. You can help us:" %}

- -
-
{% trans "via Paypal" %}
- -
{% trans "via Flattr" %}
-
- -

{% trans "Credits" %}

-
-
PHP Readability
-
https://bitbucket.org/fivefilters/php-readability
- -
Full Text RSS
-
http://code.fivefilters.org/full-text-rss/src
- -
logo by Maylis Agniel
-
https://github.com/wallabag/logo
- -
icons
-
http://icomoon.io
- -
PHP Simple HTML DOM Parser
-
http://simplehtmldom.sourceforge.net/
- -
Session
-
https://github.com/tontof/kriss_feed/blob/master/src/class/Session.php
- -
Twig
-
http://twig.sensiolabs.org
- -
Flash messages
-
https://github.com/plasticbrain/PHP-Flash-Messages
- -
Pagination
-
https://github.com/daveismyname/pagination
- -
PHPePub
-
https://github.com/Grandt/PHPePub/
-
-{% endblock %} diff --git a/app/Resources/views/default/config.twig b/app/Resources/views/default/config.twig deleted file mode 100755 index b7d91937..00000000 --- a/app/Resources/views/default/config.twig +++ /dev/null @@ -1,188 +0,0 @@ -{% extends "layout.twig" %} - -{% block title %}{% trans "config" %}{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block content %} -

{% trans "Saving articles" %}

-

{% trans "There are several ways to save an article:" %} {% trans "(?)" %}

-

-

-
- - -
-

-

Browser Plugins

- -

Mobile Apps

- -

{% trans "Bookmarklet" %}

-

- {% trans "Drag & drop this link to your bookmarks bar:" %} {% trans "bag it!" %} -

- -

{% trans "Feeds" %}

- {% if token == '' %} -

{% trans "Your feed token is currently empty and must first be generated to enable feeds. Click here to generate it." %}

- {% else %} - -

- {% trans "Your token:" %} {{token}}
- {% trans "Your user id:" %} {{user_id}}
- {% trans "You can regenerate your token: generate!." %} -

- {% endif %} - -

{% trans "Change your theme" %}

-
-
-
- - -
-
- -
-
- - -
- -

{% trans "Change your language" %}

-
-
-
- - -
-
- -
-
- - -
- -

{% trans "Import" %}

-

{% trans "You can import your Pocket, Readability, Instapaper, Wallabag or any data in appropriate json or html format." %}

-

{% trans "Please select export file on your computer and press \"Import\" button below. Wallabag will parse your file, insert all URLs and start fetching of articles if required." %}

-
-
-
- - -
-
- -
-
-
-

{% trans "You can click here to fetch content for articles with no content." %}

-

{% trans "Fetching process is controlled by two constants in your config file: IMPORT_LIMIT (how many articles are fetched at once) and IMPORT_DELAY (delay between fetch of next batch of articles)." %}

- -

{% trans "Export your wallabag data" %}

-

{% trans "Export JSON" %}
- Data will be exported in a single JSON file.

- -

{% trans "Fancy an E-Book ?" %}

-

{% trans "Click to get all your articles in one ebook :" %} -

-

- - {% trans "This can take a while and can even fail if you have too many articles, depending on your server configuration." %}

- -

{% trans "Cache" %}

-

{% trans "Delete Cache" %}
- Deleting the cache may help with display or other problems.

- - {% if http_auth == 0 %} -

{% trans "Change your password" %}

-
-
-
- - -
-
- - -
-
- -
-
- - -
- {% endif %} - -

{% trans 'Add user' %}

-
-
-
- - -
-
- - -
-
- - -
-
- -
-
-
- -

{% trans "Delete account" %}

- {% if not only_user %}
-

{% trans "You can delete your account by entering your password and validating." %}
{% trans "Be careful, data will be erased forever (that is a very long time)." %}

-
-
- - -
-
- -
- - {% else %}

{% trans "You are the only user, you cannot delete your own account." %}

-

{% trans "To completely remove wallabag, delete the wallabag folder on your web server (and eventual databases)." %}

{% endif %} - -

{% trans "Upgrading wallabag" %}

-
    -
  • {% trans "Installed version" %}: {{ constant('WALLABAG') }}
  • -
  • {% trans "Latest stable version" %}: {{ prod }}. {% if compare_prod == -1 %}{% trans "A more recent stable version is available." %}{% else %}{% trans "You are up to date." %}{% endif %} ({% trans "Last check:" %} {{ check_time_prod }})
  • - {% if constant('DEBUG_POCHE') == 1 %}
  • {% trans "Latest dev version" %}: {{ dev }}. {% if compare_dev == -1 %}{% trans "A more recent development version is available." %}{% else %}{% trans "You are up to date." %}{% endif %} ({% trans "Last check:" %} {{ check_time_dev }}){% endif %}
  • -
-

{% trans "You can clear cache to check the latest release." %}

- -{% endblock %} diff --git a/app/Resources/views/default/edit-tags.twig b/app/Resources/views/default/edit-tags.twig deleted file mode 100755 index c29427e0..00000000 --- a/app/Resources/views/default/edit-tags.twig +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "layout.twig" %} -{% block title %}edit tags{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block content %} - - - - - -
-
-

{{ entry.title|raw }}

-
-
- -{% if tags is empty %} -{% trans "no tags" %} -{% endif %} -
    -{% for tag in tags %}
  • {{ tag.value }} ✘
  • {% endfor %} -
-
- - - - -

{% trans "Start typing for auto complete." %}
- {% trans "You can enter multiple tags, separated by commas." %}

- -
-
-« {% trans "return to article" %} -{% endblock %} diff --git a/app/Resources/views/default/error.twig b/app/Resources/views/default/error.twig deleted file mode 100644 index 528a0985..00000000 --- a/app/Resources/views/default/error.twig +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "layout.twig" %} -{% block title %}{% trans "plop" %}{% endblock %} -{% block content %} -

Errors

-
    - {% for message in msg %} -
  1. {{message}}
  2. - {% endfor %} -
-

Don't forget the documentation.

-

- {% trans "You can check your configuration here." %} -

-{% endblock %} diff --git a/app/Resources/views/default/export.twig b/app/Resources/views/default/export.twig deleted file mode 100644 index 4adb9540..00000000 --- a/app/Resources/views/default/export.twig +++ /dev/null @@ -1 +0,0 @@ -{{ export }} \ No newline at end of file diff --git a/app/Resources/views/default/home.twig b/app/Resources/views/default/home.twig deleted file mode 100755 index b9000559..00000000 --- a/app/Resources/views/default/home.twig +++ /dev/null @@ -1,82 +0,0 @@ -{% extends "layout.twig" %} -{% block title %} -{% if view == 'fav' %} -{% trans "favoris" %} -{% elseif view == 'archive' %} -{% trans "archive" %} -{% else %} -{% trans "unread" %} -{% endif %} -{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block precontent %} - -{% include '_sorting.twig' %} -{% endblock %} -{% block content %} - - {% if includeImport %} - {% include '_import.twig' %} - {% endif %} - - {% if tag %} -

{% trans "Tag" %}: {{ tag.value }}

- {% endif %} - - {% if entries is empty %} -

{% trans "No articles found." %}

- {% else %} - {% block pager %} - {% if nb_results > 1 %} -
-
{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}
- {{ page_links | raw }} -
- {% elseif nb_results == 1 %} - {% if searchterm is defined %} -
-
{% trans "Only one result found for " %} « {{ searchterm }} »
-
- {% endif %} - {% endif %} - {% endblock %} - {% for entry in entries %} -
-

{{ entry.title|raw }}

- -

{{ entry.content|striptags|slice(0, 300) }}...

-
- {% endfor %} - - {{ block('pager') }} - {% if view == 'home' %}{% if nb_results > 1 %}

{% trans "Mark all the entries as read" %}

{% endif %}{% endif %} - {% if searchterm is defined %}{% trans "Tag these results as" %} {{ searchterm }}{% endif %}
- - {% if searchterm is defined %}{% trans "Delete results matching" %} {{ searchterm }}{% endif %}
- - {% if tag %}{% trans "Mark all articles from this tag as read" %}
{% endif %} - - {% if tag %} - {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} - {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} - {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} - {% elseif searchterm is defined %} - {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} - {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} - {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} - {% else %} - {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} - {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} - {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} - {% endif %} - - {% endif %} -{% endblock %} diff --git a/app/Resources/views/default/index.html.twig b/app/Resources/views/default/index.html.twig deleted file mode 100644 index ed261498..00000000 --- a/app/Resources/views/default/index.html.twig +++ /dev/null @@ -1,5 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block body %} - Homepage. -{% endblock %} diff --git a/app/Resources/views/default/install.twig b/app/Resources/views/default/install.twig deleted file mode 100644 index c89c7e47..00000000 --- a/app/Resources/views/default/install.twig +++ /dev/null @@ -1,28 +0,0 @@ -{% extends "layout.twig" %} -{% block title %}{% trans "installation" %}{% endblock %} -{% block content %} -
-
-

{% trans "install your wallabag" %}

-

- {% trans "wallabag is still not installed. Please fill the below form to install it. Don't hesitate to read the documentation on wallabag website." %} -

-

- - -

-

- - -

-

- - -

-

- -

-
- -
-{% endblock %} diff --git a/app/Resources/views/default/layout.twig b/app/Resources/views/default/layout.twig deleted file mode 100644 index dfebc3ea..00000000 --- a/app/Resources/views/default/layout.twig +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - {% block title %}{% endblock %} - wallabag -{% include '_head.twig' %} -{% include '_bookmarklet.twig' %} - - - {% include '_top.twig' %} -
- {% block menu %}{% endblock %} - {% block precontent %}{% endblock %} - {% block messages %} - {% include '_messages.twig' %} - {% endblock %} -
- {% block content %}{% endblock %} -
-
-{% include '_footer.twig' %} - - \ No newline at end of file diff --git a/app/Resources/views/default/login.twig b/app/Resources/views/default/login.twig deleted file mode 100644 index b9f8b497..00000000 --- a/app/Resources/views/default/login.twig +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "layout.twig" %} - -{% block title %}{% trans "login to your wallabag" %}{% endblock %} -{% block content %} - {% if http_auth == 0 %} -
-
-

{% trans "Login to wallabag" %}

- {% if constant('MODE_DEMO') == 1 %}

{% trans "you are in demo mode, some features may be disabled." %}

{% endif %} -
- - -
- -
- - -
-
- -
- - {% trans "(Do not check on public computers)" %} -
-
-
- -
-
- - -
- {% endif %} -{% endblock %} diff --git a/app/Resources/views/default/public/css/images/animated-overlay.gif b/app/Resources/views/default/public/css/images/animated-overlay.gif deleted file mode 100644 index d441f75e..00000000 Binary files a/app/Resources/views/default/public/css/images/animated-overlay.gif and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-bg_flat_0_aaaaaa_40x100.png b/app/Resources/views/default/public/css/images/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100644 index 9f10cb65..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-bg_flat_0_aaaaaa_40x100.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-bg_flat_75_ffffff_40x100.png b/app/Resources/views/default/public/css/images/ui-bg_flat_75_ffffff_40x100.png deleted file mode 100644 index b89b914b..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-bg_flat_75_ffffff_40x100.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-bg_glass_55_fbf9ee_1x400.png b/app/Resources/views/default/public/css/images/ui-bg_glass_55_fbf9ee_1x400.png deleted file mode 100644 index 780d3ffd..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-bg_glass_55_fbf9ee_1x400.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-bg_glass_65_ffffff_1x400.png b/app/Resources/views/default/public/css/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100644 index da53255b..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-bg_glass_75_dadada_1x400.png b/app/Resources/views/default/public/css/images/ui-bg_glass_75_dadada_1x400.png deleted file mode 100644 index f6306608..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-bg_glass_75_dadada_1x400.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-bg_glass_75_e6e6e6_1x400.png b/app/Resources/views/default/public/css/images/ui-bg_glass_75_e6e6e6_1x400.png deleted file mode 100644 index 7d347065..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-bg_glass_75_e6e6e6_1x400.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-bg_glass_95_fef1ec_1x400.png b/app/Resources/views/default/public/css/images/ui-bg_glass_95_fef1ec_1x400.png deleted file mode 100644 index 533c4900..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-bg_glass_95_fef1ec_1x400.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/app/Resources/views/default/public/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png deleted file mode 100644 index bf3a9481..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-icons_222222_256x240.png b/app/Resources/views/default/public/css/images/ui-icons_222222_256x240.png deleted file mode 100644 index c1cb1170..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-icons_222222_256x240.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-icons_2e83ff_256x240.png b/app/Resources/views/default/public/css/images/ui-icons_2e83ff_256x240.png deleted file mode 100644 index 84b601bf..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-icons_2e83ff_256x240.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-icons_454545_256x240.png b/app/Resources/views/default/public/css/images/ui-icons_454545_256x240.png deleted file mode 100644 index b6db1acd..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-icons_454545_256x240.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-icons_888888_256x240.png b/app/Resources/views/default/public/css/images/ui-icons_888888_256x240.png deleted file mode 100644 index feea0e20..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-icons_888888_256x240.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/images/ui-icons_cd0a0a_256x240.png b/app/Resources/views/default/public/css/images/ui-icons_cd0a0a_256x240.png deleted file mode 100644 index ed5b6b09..00000000 Binary files a/app/Resources/views/default/public/css/images/ui-icons_cd0a0a_256x240.png and /dev/null differ diff --git a/app/Resources/views/default/public/css/messages.css b/app/Resources/views/default/public/css/messages.css deleted file mode 100644 index 46b54795..00000000 --- a/app/Resources/views/default/public/css/messages.css +++ /dev/null @@ -1,75 +0,0 @@ -.messages { - display: block; - clear: both; - width: 400px; - margin: 10px auto 10px; - padding: 10px 0; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.messages a.closeMessage { - display: none; - float: right; - width: 16px; - height: 16px; - margin: -14px -8px 0 0; - background: url(../img/messages/close.png) no-repeat; -} - -/*.messages:hover a.closeMessage { visibility:visible; }*/ - -.messages p { - margin: 3px 0 3px 10px !important; - padding: 0 10px 0 23px !important; - font-size: 14px; - line-height: 16px; -} - -.messages.error { - border: 1px solid #c42608; - color: #c00 !important; - background: #fff0ef; -} - -.messages.error p { - color: #c00 !important; - background: url(../img/messages/cross.png) no-repeat 0 50%; -} - -.messages.success { - border: 1px solid #6dc70c; - background: #e0fbcc; -} - -.messages.success p { - color: #2b6301 !important; - background: url(../img/messages/tick.png) no-repeat 0 50%; -} - -.messages.warning { - border: 1px solid #ebcd41; - color: #000; - background: #fffcd3; -} - -.messages.warning p { - color: #5f4e01; - background: url(../img/messages/warning.png) no-repeat 0 50%; -} - -.messages.information, -.messages.info { - border: 1px solid #82aee7; - background: #dfebfb; -} - -.messages.information p, -.messages.info p { - color: #064393; - background: url(../img/messages/help.png) no-repeat 0 50%; -} - -.messages.information a { - text-decoration: underline; -} diff --git a/app/Resources/views/default/public/css/print.css b/app/Resources/views/default/public/css/print.css deleted file mode 100644 index 625478e1..00000000 --- a/app/Resources/views/default/public/css/print.css +++ /dev/null @@ -1,53 +0,0 @@ -/* ### Layout ### */ - -body { - font-family: Serif; - background-color: #fff; -} - -@page { - margin: 1cm; -} - -img { - max-width: 100% !important; -} - -/* ### Content ### */ - -/* Hide useless blocks */ -body > header, -#links, -#sort, -body > footer, -.top_link, -div.tools, -header div, -.messages, -.entrie + .results, -#article_toolbar { - display: none !important; -} - -article { - border: none !important; -} - -pre code { - line-height: 1.6em; -} - -/* Add URL after links */ -.vieworiginal a:after { - content: " (" attr(href) ")"; -} - -/* Add explanation after abbr */ -abbr[title]:after { - content: " (" attr(title) ")"; -} - -/* Change border on current pager item */ -.pagination span.current { - border-style: dashed; -} diff --git a/app/Resources/views/default/public/css/style-default.css b/app/Resources/views/default/public/css/style-default.css deleted file mode 100755 index 4406d48f..00000000 --- a/app/Resources/views/default/public/css/style-default.css +++ /dev/null @@ -1,69 +0,0 @@ -a.back span { - background-image: url('../img/default/left.png'); -} - -a.top span { - background-image: url('../img/default/top.png'); -} - -a.fav span, -a.fav-off span:hover { - background-image: url('../img/default/star-on.png'); -} - -a.fav span:hover, -a.fav-off span { - background-image: url('../img/default/star-off.png'); -} - -a.archive span, -a.archive-off span:hover { - background-image: url('../img/default/checkmark-on.png'); -} - -a.archive span:hover, -a.archive-off span { - background-image: url('../img/default/checkmark-off.png'); -} - -a.twitter span { - background-image: url('../img/default/twitter.png'); -} - -a.shaarli span { - background-image: url('../img/default/shaarli.png'); -} - -a.flattr span { - background-image: url('../img/default/flattr.png'); -} - -a.carrot span { - background-image: url('../../_global/img/icons/carrot-icon--black.png'); - background-size: 16px 16px; -} - -a.diaspora span { - background-image: url('../../_global/img/icons/diaspora-icon--black.png'); - background-size: 16px 16px; -} - -a.email span { - background-image: url('../img/default/envelop.png'); -} - -a.delete span { - background-image: url('../img/default/remove.png'); -} - -a.link span { - background-image: url('../img/default/link.png'); -} - -a.bad-display span { - background-image: url('../img/default/bad-display.png'); -} - -a.print span { - background-image: url('../img/default/print.png'); -} diff --git a/app/Resources/views/default/public/fonts/Roboto.woff b/app/Resources/views/default/public/fonts/Roboto.woff deleted file mode 100644 index 1440b1be..00000000 Binary files a/app/Resources/views/default/public/fonts/Roboto.woff and /dev/null differ diff --git a/app/Resources/views/default/public/highlightjs/highlight.pack.js b/app/Resources/views/default/public/highlightjs/highlight.pack.js deleted file mode 100644 index 10a21c34..00000000 --- a/app/Resources/views/default/public/highlightjs/highlight.pack.js +++ /dev/null @@ -1 +0,0 @@ -var hljs=new function(){function j(v){return v.replace(/&/gm,"&").replace(//gm,">")}function t(v){return v.nodeName.toLowerCase()}function h(w,x){var v=w&&w.exec(x);return v&&v.index==0}function r(w){var v=(w.className+" "+(w.parentNode?w.parentNode.className:"")).split(/\s+/);v=v.map(function(x){return x.replace(/^lang(uage)?-/,"")});return v.filter(function(x){return i(x)||x=="no-highlight"})[0]}function o(x,y){var v={};for(var w in x){v[w]=x[w]}if(y){for(var w in y){v[w]=y[w]}}return v}function u(x){var v=[];(function w(y,z){for(var A=y.firstChild;A;A=A.nextSibling){if(A.nodeType==3){z+=A.nodeValue.length}else{if(t(A)=="br"){z+=1}else{if(A.nodeType==1){v.push({event:"start",offset:z,node:A});z=w(A,z);v.push({event:"stop",offset:z,node:A})}}}}return z})(x,0);return v}function q(w,y,C){var x=0;var F="";var z=[];function B(){if(!w.length||!y.length){return w.length?w:y}if(w[0].offset!=y[0].offset){return(w[0].offset"}function E(G){F+=""}function v(G){(G.event=="start"?A:E)(G.node)}while(w.length||y.length){var D=B();F+=j(C.substr(x,D[0].offset-x));x=D[0].offset;if(D==w){z.reverse().forEach(E);do{v(D.splice(0,1)[0]);D=B()}while(D==w&&D.length&&D[0].offset==x);z.reverse().forEach(A)}else{if(D[0].event=="start"){z.push(D[0].node)}else{z.pop()}v(D.splice(0,1)[0])}}return F+j(C.substr(x))}function m(y){function v(z){return(z&&z.source)||z}function w(A,z){return RegExp(v(A),"m"+(y.cI?"i":"")+(z?"g":""))}function x(D,C){if(D.compiled){return}D.compiled=true;D.k=D.k||D.bK;if(D.k){var z={};var E=function(G,F){if(y.cI){F=F.toLowerCase()}F.split(" ").forEach(function(H){var I=H.split("|");z[I[0]]=[G,I[1]?Number(I[1]):1]})};if(typeof D.k=="string"){E("keyword",D.k)}else{Object.keys(D.k).forEach(function(F){E(F,D.k[F])})}D.k=z}D.lR=w(D.l||/\b[A-Za-z0-9_]+\b/,true);if(C){if(D.bK){D.b="\\b("+D.bK.split(" ").join("|")+")\\b"}if(!D.b){D.b=/\B|\b/}D.bR=w(D.b);if(!D.e&&!D.eW){D.e=/\B|\b/}if(D.e){D.eR=w(D.e)}D.tE=v(D.e)||"";if(D.eW&&C.tE){D.tE+=(D.e?"|":"")+C.tE}}if(D.i){D.iR=w(D.i)}if(D.r===undefined){D.r=1}if(!D.c){D.c=[]}var B=[];D.c.forEach(function(F){if(F.v){F.v.forEach(function(G){B.push(o(F,G))})}else{B.push(F=="self"?D:F)}});D.c=B;D.c.forEach(function(F){x(F,D)});if(D.starts){x(D.starts,C)}var A=D.c.map(function(F){return F.bK?"\\.?("+F.b+")\\.?":F.b}).concat([D.tE,D.i]).map(v).filter(Boolean);D.t=A.length?w(A.join("|"),true):{exec:function(F){return null}};D.continuation={}}x(y)}function c(S,L,J,R){function v(U,V){for(var T=0;T";U+=Z+'">';return U+X+Y}function N(){if(!I.k){return j(C)}var T="";var W=0;I.lR.lastIndex=0;var U=I.lR.exec(C);while(U){T+=j(C.substr(W,U.index-W));var V=E(I,U);if(V){H+=V[1];T+=w(V[0],j(U[0]))}else{T+=j(U[0])}W=I.lR.lastIndex;U=I.lR.exec(C)}return T+j(C.substr(W))}function F(){if(I.sL&&!f[I.sL]){return j(C)}var T=I.sL?c(I.sL,C,true,I.continuation.top):e(C);if(I.r>0){H+=T.r}if(I.subLanguageMode=="continuous"){I.continuation.top=T.top}return w(T.language,T.value,false,true)}function Q(){return I.sL!==undefined?F():N()}function P(V,U){var T=V.cN?w(V.cN,"",true):"";if(V.rB){D+=T;C=""}else{if(V.eB){D+=j(U)+T;C=""}else{D+=T;C=U}}I=Object.create(V,{parent:{value:I}})}function G(T,X){C+=T;if(X===undefined){D+=Q();return 0}var V=v(X,I);if(V){D+=Q();P(V,X);return V.rB?0:X.length}var W=z(I,X);if(W){var U=I;if(!(U.rE||U.eE)){C+=X}D+=Q();do{if(I.cN){D+=""}H+=I.r;I=I.parent}while(I!=W.parent);if(U.eE){D+=j(X)}C="";if(W.starts){P(W.starts,"")}return U.rE?0:X.length}if(A(X,I)){throw new Error('Illegal lexeme "'+X+'" for mode "'+(I.cN||"")+'"')}C+=X;return X.length||1}var M=i(S);if(!M){throw new Error('Unknown language: "'+S+'"')}m(M);var I=R||M;var D="";for(var K=I;K!=M;K=K.parent){if(K.cN){D+=w(K.cN,D,true)}}var C="";var H=0;try{var B,y,x=0;while(true){I.t.lastIndex=x;B=I.t.exec(L);if(!B){break}y=G(L.substr(x,B.index-x),B[0]);x=B.index+y}G(L.substr(x));for(var K=I;K.parent;K=K.parent){if(K.cN){D+=""}}return{r:H,value:D,language:S,top:I}}catch(O){if(O.message.indexOf("Illegal")!=-1){return{r:0,value:j(L)}}else{throw O}}}function e(y,x){x=x||b.languages||Object.keys(f);var v={r:0,value:j(y)};var w=v;x.forEach(function(z){if(!i(z)){return}var A=c(z,y,false);A.language=z;if(A.r>w.r){w=A}if(A.r>v.r){w=v;v=A}});if(w.language){v.second_best=w}return v}function g(v){if(b.tabReplace){v=v.replace(/^((<[^>]+>|\t)+)/gm,function(w,z,y,x){return z.replace(/\t/g,b.tabReplace)})}if(b.useBR){v=v.replace(/\n/g,"
")}return v}function p(z){var y=b.useBR?z.innerHTML.replace(/\n/g,"").replace(/
|
]*>/g,"\n").replace(/<[^>]*>/g,""):z.textContent;var A=r(z);if(A=="no-highlight"){return}var v=A?c(A,y,true):e(y);var w=u(z);if(w.length){var x=document.createElementNS("http://www.w3.org/1999/xhtml","pre");x.innerHTML=v.value;v.value=q(w,u(x),y)}v.value=g(v.value);z.innerHTML=v.value;z.className+=" hljs "+(!A&&v.language||"");z.result={language:v.language,re:v.r};if(v.second_best){z.second_best={language:v.second_best.language,re:v.second_best.r}}}var b={classPrefix:"hljs-",tabReplace:null,useBR:false,languages:undefined};function s(v){b=o(b,v)}function l(){if(l.called){return}l.called=true;var v=document.querySelectorAll("pre code");Array.prototype.forEach.call(v,p)}function a(){addEventListener("DOMContentLoaded",l,false);addEventListener("load",l,false)}var f={};var n={};function d(v,x){var w=f[v]=x(this);if(w.aliases){w.aliases.forEach(function(y){n[y]=v})}}function k(){return Object.keys(f)}function i(v){return f[v]||f[n[v]]}this.highlight=c;this.highlightAuto=e;this.fixMarkup=g;this.highlightBlock=p;this.configure=s;this.initHighlighting=l;this.initHighlightingOnLoad=a;this.registerLanguage=d;this.listLanguages=k;this.getLanguage=i;this.inherit=o;this.IR="[a-zA-Z][a-zA-Z0-9_]*";this.UIR="[a-zA-Z_][a-zA-Z0-9_]*";this.NR="\\b\\d+(\\.\\d+)?";this.CNR="(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";this.BNR="\\b(0b[01]+)";this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.BE={b:"\\\\[\\s\\S]",r:0};this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE]};this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE]};this.PWM={b:/\b(a|an|the|are|I|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such)\b/};this.CLCM={cN:"comment",b:"//",e:"$",c:[this.PWM]};this.CBCM={cN:"comment",b:"/\\*",e:"\\*/",c:[this.PWM]};this.HCM={cN:"comment",b:"#",e:"$",c:[this.PWM]};this.NM={cN:"number",b:this.NR,r:0};this.CNM={cN:"number",b:this.CNR,r:0};this.BNM={cN:"number",b:this.BNR,r:0};this.CSSNM={cN:"number",b:this.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0};this.RM={cN:"regexp",b:/\//,e:/\/[gim]*/,i:/\n/,c:[this.BE,{b:/\[/,e:/\]/,r:0,c:[this.BE]}]};this.TM={cN:"title",b:this.IR,r:0};this.UTM={cN:"title",b:this.UIR,r:0}}();hljs.registerLanguage("bash",function(b){var a={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)\}/}]};var d={cN:"string",b:/"/,e:/"/,c:[b.BE,a,{cN:"variable",b:/\$\(/,e:/\)/,c:[b.BE]}]};var c={cN:"string",b:/'/,e:/'/};return{aliases:["sh","zsh"],l:/-?[a-z\.]+/,k:{keyword:"if then else elif fi for break continue while in do done exit return set declare case esac export exec",literal:"true false",built_in:"printf echo read cd pwd pushd popd dirs let eval unset typeset readonly getopts source shopt caller type hash bind help sudo",operator:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"shebang",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:true,c:[b.inherit(b.TM,{b:/\w[\w\d_]*/})],r:0},b.HCM,b.NM,d,c,a]}});hljs.registerLanguage("cs",function(b){var a="abstract as base bool break byte case catch char checked const continue decimal default delegate do double else enum event explicit extern false finally fixed float for foreach goto if implicit in int interface internal is lock long new null object operator out override params private protected public readonly ref return sbyte sealed short sizeof stackalloc static string struct switch this throw true try typeof uint ulong unchecked unsafe ushort using virtual volatile void while async await ascending descending from get group into join let orderby partial select set value var where yield";return{aliases:["csharp"],k:a,i:/::/,c:[{cN:"comment",b:"///",e:"$",rB:true,c:[{cN:"xmlDocTag",v:[{b:"///",r:0},{b:""},{b:""}]}]},b.CLCM,b.CBCM,{cN:"preprocessor",b:"#",e:"$",k:"if else elif endif define undef warning error line region endregion pragma checksum"},{cN:"string",b:'@"',e:'"',c:[{b:'""'}]},b.ASM,b.QSM,b.CNM,{bK:"protected public private internal",e:/[{;=]/,k:a,c:[{bK:"class namespace interface",starts:{c:[b.TM]}},{b:b.IR+"\\s*\\(",rB:true,c:[b.TM]}]}]}});hljs.registerLanguage("ruby",function(f){var j="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?";var i="and false then defined module in return redo if BEGIN retry end for true self when next until do begin unless END rescue nil else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor";var b={cN:"yardoctag",b:"@[A-Za-z]+"};var c={cN:"value",b:"#<",e:">"};var k={cN:"comment",v:[{b:"#",e:"$",c:[b]},{b:"^\\=begin",e:"^\\=end",c:[b],r:10},{b:"^__END__",e:"\\n$"}]};var d={cN:"subst",b:"#\\{",e:"}",k:i};var e={cN:"string",c:[f.BE,d],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:"%[qw]?\\(",e:"\\)"},{b:"%[qw]?\\[",e:"\\]"},{b:"%[qw]?{",e:"}"},{b:"%[qw]?<",e:">"},{b:"%[qw]?/",e:"/"},{b:"%[qw]?%",e:"%"},{b:"%[qw]?-",e:"-"},{b:"%[qw]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/}]};var a={cN:"params",b:"\\(",e:"\\)",k:i};var h=[e,c,k,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[f.inherit(f.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{cN:"inheritance",b:"<\\s*",c:[{cN:"parent",b:"("+f.IR+"::)?"+f.IR}]},k]},{cN:"function",bK:"def",e:" |$|;",r:0,c:[f.inherit(f.TM,{b:j}),a,k]},{cN:"constant",b:"(::)?(\\b[A-Z]\\w*(::)?)+",r:0},{cN:"symbol",b:":",c:[e,{b:j}],r:0},{cN:"symbol",b:f.UIR+"(\\!|\\?)?:",r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{b:"("+f.RSR+")\\s*",c:[c,k,{cN:"regexp",c:[f.BE,d],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}],r:0}];d.c=h;a.c=h;var g=[{r:1,cN:"output",b:"^\\s*=> ",e:"$",rB:true,c:[{cN:"status",b:"^\\s*=>"},{b:" ",e:"$",c:h}]},{r:1,cN:"input",b:"^[^ ][^=>]*>+ ",e:"$",rB:true,c:[{cN:"prompt",b:"^[^ ][^=>]*>+"},{b:" ",e:"$",c:h}]}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:i,c:g.concat(h)}});hljs.registerLanguage("diff",function(a){return{aliases:["patch"],c:[{cN:"chunk",r:10,v:[{b:/^\@\@ +\-\d+,\d+ +\+\d+,\d+ +\@\@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"header",v:[{b:/Index: /,e:/$/},{b:/=====/,e:/=====$/},{b:/^\-\-\-/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+\+\+/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"change",b:"^\\!",e:"$"}]}});hljs.registerLanguage("javascript",function(a){return{aliases:["js"],k:{keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document"},c:[{cN:"pi",b:/^\s*('|")use strict('|")/,r:10},a.ASM,a.QSM,a.CLCM,a.CBCM,a.CNM,{b:"("+a.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[a.CLCM,a.CBCM,a.RM,{b:/;/,r:0,sL:"xml"}],r:0},{cN:"function",bK:"function",e:/\{/,eE:true,c:[a.inherit(a.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,c:[a.CLCM,a.CBCM],i:/["'\(]/}],i:/\[|%/},{b:/\$[(.]/},{b:"\\."+a.IR,r:0}]}});hljs.registerLanguage("xml",function(a){var c="[A-Za-z0-9\\._:-]+";var d={b:/<\?(php)?(?!\w)/,e:/\?>/,sL:"php",subLanguageMode:"continuous"};var b={eW:true,i:/]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xsl","plist"],cI:true,c:[{cN:"doctype",b:"",r:10,c:[{b:"\\[",e:"\\]"}]},{cN:"comment",b:"",r:10},{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"|$)",e:">",k:{title:"style"},c:[b],starts:{e:"",rE:true,sL:"css"}},{cN:"tag",b:"|$)",e:">",k:{title:"script"},c:[b],starts:{e:"<\/script>",rE:true,sL:"javascript"}},{b:"<%",e:"%>",sL:"vbscript"},d,{cN:"pi",b:/<\?\w+/,e:/\?>/,r:10},{cN:"tag",b:"",c:[{cN:"title",b:"[^ /><]+",r:0},b]}]}});hljs.registerLanguage("markdown",function(a){return{aliases:["md","mkdown","mkd"],c:[{cN:"header",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"blockquote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"`.+?`"},{b:"^( {4}|\t)",e:"$",r:0}]},{cN:"horizontal_rule",b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].+?[\\)\\]]",rB:true,c:[{cN:"link_label",b:"\\[",e:"\\]",eB:true,rE:true,r:0},{cN:"link_url",b:"\\]\\(",e:"\\)",eB:true,eE:true},{cN:"link_reference",b:"\\]\\[",e:"\\]",eB:true,eE:true}],r:10},{b:"^\\[.+\\]:",e:"$",rB:true,c:[{cN:"link_reference",b:"\\[",e:"\\]",eB:true,eE:true},{cN:"link_url",b:"\\s",e:"$"}]}]}});hljs.registerLanguage("css",function(a){var b="[a-zA-Z-][a-zA-Z0-9_-]*";var c={cN:"function",b:b+"\\(",rB:true,eE:true,e:"\\("};return{cI:true,i:"[=/|']",c:[a.CBCM,{cN:"id",b:"\\#[A-Za-z0-9_-]+"},{cN:"class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"attr_selector",b:"\\[",e:"\\]",i:"$"},{cN:"pseudo",b:":(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\\\"\\']+"},{cN:"at_rule",b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{cN:"at_rule",b:"@",e:"[{;]",c:[{cN:"keyword",b:/\S+/},{b:/\s/,eW:true,eE:true,r:0,c:[c,a.ASM,a.QSM,a.CSSNM]}]},{cN:"tag",b:b,r:0},{cN:"rules",b:"{",e:"}",i:"[^\\s]",r:0,c:[a.CBCM,{cN:"rule",b:"[^\\s]",rB:true,e:";",eW:true,c:[{cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:true,i:"[^\\s]",starts:{cN:"value",eW:true,eE:true,c:[c,a.CSSNM,a.QSM,a.ASM,a.CBCM,{cN:"hexcolor",b:"#[0-9A-Fa-f]+"},{cN:"important",b:"!important"}]}}]}]}]}});hljs.registerLanguage("http",function(a){return{i:"\\S",c:[{cN:"status",b:"^HTTP/[0-9\\.]+",e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{cN:"request",b:"^[A-Z]+ (.*?) HTTP/[0-9\\.]+$",rB:true,e:"$",c:[{cN:"string",b:" ",e:" ",eB:true,eE:true}]},{cN:"attribute",b:"^\\w",e:": ",eE:true,i:"\\n|\\s|=",starts:{cN:"string",e:"$"}},{b:"\\n\\n",starts:{sL:"",eW:true}}]}});hljs.registerLanguage("java",function(b){var a="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws";return{aliases:["jsp"],k:a,i:/<\//,c:[{cN:"javadoc",b:"/\\*\\*",e:"\\*/",c:[{cN:"javadoctag",b:"(^|\\s)@[A-Za-z]+"}],r:10},b.CLCM,b.CBCM,b.ASM,b.QSM,{bK:"protected public private",e:/[{;=]/,k:a,c:[{cN:"class",bK:"class interface",eW:true,eE:true,i:/[:"\[\]]/,c:[{bK:"extends implements",r:10},b.UTM]},{b:b.UIR+"\\s*\\(",rB:true,c:[b.UTM]}]},b.CNM,{cN:"annotation",b:"@[A-Za-z]+"}]}});hljs.registerLanguage("php",function(b){var e={cN:"variable",b:"(\\$|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*"};var a={cN:"preprocessor",b:/<\?(php)?|\?>/};var c={cN:"string",c:[b.BE,a],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},b.inherit(b.ASM,{i:null}),b.inherit(b.QSM,{i:null})]};var d={v:[b.BNM,b.CNM]};return{aliases:["php3","php4","php5","php6"],cI:true,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[b.CLCM,b.HCM,{cN:"comment",b:"/\\*",e:"\\*/",c:[{cN:"phpdoc",b:"\\s@[A-Za-z]+"},a]},{cN:"comment",b:"__halt_compiler.+?;",eW:true,k:"__halt_compiler",l:b.UIR},{cN:"string",b:"<<<['\"]?\\w+['\"]?$",e:"^\\w+;",c:[b.BE]},a,e,{cN:"function",bK:"function",e:/[;{]/,eE:true,i:"\\$|\\[|%",c:[b.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",e,b.CBCM,c,d]}]},{cN:"class",bK:"class interface",e:"{",eE:true,i:/[:\(\$"]/,c:[{bK:"extends implements",r:10},b.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[b.UTM]},{bK:"use",e:";",c:[b.UTM]},{b:"=>"},c,d]}});hljs.registerLanguage("python",function(a){var f={cN:"prompt",b:/^(>>>|\.\.\.) /};var b={cN:"string",c:[a.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[f],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[f],r:10},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},a.ASM,a.QSM]};var d={cN:"number",r:0,v:[{b:a.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:a.CNR+"[lLjJ]?"}]};var e={cN:"params",b:/\(/,e:/\)/,c:["self",f,d,b]};var c={e:/:/,i:/[${=;\n]/,c:[a.UTM,e]};return{aliases:["py","gyp"],k:{keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},i:/(<\/|->|\?)/,c:[f,d,b,a.HCM,a.inherit(c,{cN:"function",bK:"def",r:10}),a.inherit(c,{cN:"class",bK:"class"}),{cN:"decorator",b:/@/,e:/$/},{b:/\b(print|exec)\(/}]}});hljs.registerLanguage("sql",function(a){var b={cN:"comment",b:"--",e:"$"};return{cI:true,i:/[<>]/,c:[{cN:"operator",bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate savepoint release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup",e:/;/,eW:true,k:{keyword:"abs absolute acos action add adddate addtime aes_decrypt aes_encrypt after aggregate all allocate alter analyze and any are as asc ascii asin assertion at atan atan2 atn2 authorization authors avg backup before begin benchmark between bin binlog bit_and bit_count bit_length bit_or bit_xor both by cache call cascade cascaded case cast catalog ceil ceiling chain change changed char_length character_length charindex charset check checksum checksum_agg choose close coalesce coercibility collate collation collationproperty column columns columns_updated commit compress concat concat_ws concurrent connect connection connection_id consistent constraint constraints continue contributors conv convert convert_tz corresponding cos cot count count_big crc32 create cross cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime data database databases datalength date_add date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts datetimeoffsetfromparts day dayname dayofmonth dayofweek dayofyear deallocate declare decode default deferrable deferred degrees delayed delete des_decrypt des_encrypt des_key_file desc describe descriptor diagnostics difference disconnect distinct distinctrow div do domain double drop dumpfile each else elt enclosed encode encrypt end end-exec engine engines eomonth errors escape escaped event eventdata events except exception exec execute exists exp explain export_set extended external extract fast fetch field fields find_in_set first first_value floor flush for force foreign format found found_rows from from_base64 from_days from_unixtime full function get get_format get_lock getdate getutcdate global go goto grant grants greatest group group_concat grouping grouping_id gtid_subset gtid_subtract handler having help hex high_priority hosts hour ident_current ident_incr ident_seed identified identity if ifnull ignore iif ilike immediate in index indicator inet6_aton inet6_ntoa inet_aton inet_ntoa infile initially inner innodb input insert install instr intersect into is is_free_lock is_ipv4 is_ipv4_compat is_ipv4_mapped is_not is_not_null is_used_lock isdate isnull isolation join key kill language last last_day last_insert_id last_value lcase lead leading least leaves left len lenght level like limit lines ln load load_file local localtime localtimestamp locate lock log log10 log2 logfile logs low_priority lower lpad ltrim make_set makedate maketime master master_pos_wait match matched max md5 medium merge microsecond mid min minute mod mode module month monthname mutex name_const names national natural nchar next no no_write_to_binlog not now nullif nvarchar oct octet_length of old_password on only open optimize option optionally or ord order outer outfile output pad parse partial partition password patindex percent_rank percentile_cont percentile_disc period_add period_diff pi plugin position pow power pragma precision prepare preserve primary prior privileges procedure procedure_analyze processlist profile profiles public publishingservername purge quarter query quick quote quotename radians rand read references regexp relative relaylog release release_lock rename repair repeat replace replicate reset restore restrict return returns reverse revoke right rlike rollback rollup round row row_count rows rpad rtrim savepoint schema scroll sec_to_time second section select serializable server session session_user set sha sha1 sha2 share show sign sin size slave sleep smalldatetimefromparts snapshot some soname soundex sounds_like space sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sql_variant_property sqlstate sqrt square start starting status std stddev stddev_pop stddev_samp stdev stdevp stop str str_to_date straight_join strcmp string stuff subdate substr substring subtime subtring_index sum switchoffset sysdate sysdatetime sysdatetimeoffset system_user sysutcdatetime table tables tablespace tan temporary terminated tertiary_weights then time time_format time_to_sec timediff timefromparts timestamp timestampadd timestampdiff timezone_hour timezone_minute to to_base64 to_days to_seconds todatetimeoffset trailing transaction translation trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse ucase uncompress uncompressed_length unhex unicode uninstall union unique unix_timestamp unknown unlock update upgrade upped upper usage use user user_resources using utc_date utc_time utc_timestamp uuid uuid_short validate_password_strength value values var var_pop var_samp variables variance varp version view warnings week weekday weekofyear weight_string when whenever where with work write xml xor year yearweek zon",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int integer interval number numeric real serial smallint varchar varying int8 serial8 text"},c:[{cN:"string",b:"'",e:"'",c:[a.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[a.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[a.BE]},a.CNM,a.CBCM,b]},a.CBCM,b]}});hljs.registerLanguage("ini",function(a){return{cI:true,i:/\S/,c:[{cN:"comment",b:";",e:"$"},{cN:"title",b:"^\\[",e:"\\]"},{cN:"setting",b:"^[a-z0-9\\[\\]_-]+[ \\t]*=[ \\t]*",e:"$",c:[{cN:"value",eW:true,k:"on off true false yes no",c:[a.QSM,a.NM],r:0}]}]}});hljs.registerLanguage("perl",function(c){var d="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when";var f={cN:"subst",b:"[$@]\\{",e:"\\}",k:d};var g={b:"->{",e:"}"};var a={cN:"variable",v:[{b:/\$\d/},{b:/[\$\%\@](\^\w\b|#\w+(\:\:\w+)*|{\w+}|\w+(\:\:\w*)*)/},{b:/[\$\%\@][^\s\w{]/,r:0}]};var e={cN:"comment",b:"^(__END__|__DATA__)",e:"\\n$",r:5};var h=[c.BE,f,a];var b=[a,c.HCM,e,{cN:"comment",b:"^\\=\\w",e:"\\=cut",eW:true},g,{cN:"string",c:h,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[c.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[c.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+c.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[c.HCM,e,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[c.BE],r:0}]},{cN:"sub",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",r:5},{cN:"operator",b:"-\\w\\b",r:0}];f.c=b;g.c=b;return{aliases:["pl"],k:d,c:b}});hljs.registerLanguage("objectivec",function(a){var d={keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"NSString NSDictionary CGRect CGPoint UIButton UILabel UITextView UIWebView MKMapView NSView NSViewController NSWindow NSWindowController NSSet NSUUID NSIndexSet UISegmentedControl NSObject UITableViewDelegate UITableViewDataSource NSThread UIActivityIndicator UITabbar UIToolBar UIBarButtonItem UIImageView NSAutoreleasePool UITableView BOOL NSInteger CGFloat NSException NSLog NSMutableString NSMutableArray NSMutableDictionary NSURL NSIndexPath CGSize UITableViewCell UIView UIViewController UINavigationBar UINavigationController UITabBarController UIPopoverController UIPopoverControllerDelegate UIImage NSNumber UISearchBar NSFetchedResultsController NSFetchedResultsChangeType UIScrollView UIScrollViewDelegate UIEdgeInsets UIColor UIFont UIApplication NSNotFound NSNotificationCenter NSNotification UILocalNotification NSBundle NSFileManager NSTimeInterval NSDate NSCalendar NSUserDefaults UIWindow NSRange NSArray NSError NSURLRequest NSURLConnection UIInterfaceOrientation MPMoviePlayerController dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"};var c=/[a-zA-Z@][a-zA-Z0-9_]*/;var b="@interface @class @protocol @implementation";return{aliases:["m","mm","objc","obj-c"],k:d,l:c,i:""}]}]},{cN:"class",b:"("+b.split(" ").join("|")+")\\b",e:"({|$)",eE:true,k:b,l:c,c:[a.UTM]},{cN:"variable",b:"\\."+a.UIR,r:0}]}});hljs.registerLanguage("coffeescript",function(c){var b={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",reserved:"case default function var void with const let enum export import native __hasProp __extends __slice __bind __indexOf",built_in:"npm require console print module global window document"};var a="[A-Za-z$_][0-9A-Za-z$_]*";var f=c.inherit(c.TM,{b:a});var e={cN:"subst",b:/#\{/,e:/}/,k:b};var d=[c.BNM,c.inherit(c.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[c.BE]},{b:/'/,e:/'/,c:[c.BE]},{b:/"""/,e:/"""/,c:[c.BE,e]},{b:/"/,e:/"/,c:[c.BE,e]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[e,c.HCM]},{b:"//[gim]*",r:0},{b:"/\\S(\\\\.|[^\\n])*?/[gim]*(?=\\s|\\W|$)"}]},{cN:"property",b:"@"+a},{b:"`",e:"`",eB:true,eE:true,sL:"javascript"}];e.c=d;return{aliases:["coffee","cson","iced"],k:b,c:d.concat([{cN:"comment",b:"###",e:"###"},c.HCM,{cN:"function",b:"("+a+"\\s*=\\s*)?(\\(.*\\))?\\s*\\B[-=]>",e:"[-=]>",rB:true,c:[f,{cN:"params",b:"\\(",rB:true,c:[{b:/\(/,e:/\)/,k:b,c:["self"].concat(d)}]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:true,i:/[:="\[\]]/,c:[f]},f]},{cN:"attribute",b:a+":",e:":",rB:true,eE:true,r:0}])}});hljs.registerLanguage("nginx",function(c){var b={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+c.UIR}]};var a={eW:true,l:"[a-z/_]+",k:{built_in:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[c.HCM,{cN:"string",c:[c.BE,b],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{cN:"url",b:"([a-z]+):/",e:"\\s",eW:true,eE:true},{cN:"regexp",c:[c.BE,b],v:[{b:"\\s\\^",e:"\\s|{|;",rE:true},{b:"~\\*?\\s+",e:"\\s|{|;",rE:true},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},b]};return{aliases:["nginxconf"],c:[c.HCM,{b:c.UIR+"\\s",e:";|{",rB:true,c:[{cN:"title",b:c.UIR,starts:a}],r:0}],i:"[^\\s\\}]"}});hljs.registerLanguage("json",function(a){var e={literal:"true false null"};var d=[a.QSM,a.CNM];var c={cN:"value",e:",",eW:true,eE:true,c:d,k:e};var b={b:"{",e:"}",c:[{cN:"attribute",b:'\\s*"',e:'"\\s*:\\s*',eB:true,eE:true,c:[a.BE],i:"\\n",starts:c}],i:"\\S"};var f={b:"\\[",e:"\\]",c:[a.inherit(c,{cN:null})],i:"\\S"};d.splice(d.length,0,b,f);return{c:d,k:e,i:"\\S"}});hljs.registerLanguage("apache",function(a){var b={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:true,c:[a.HCM,{cN:"tag",b:""},{cN:"keyword",b:/\w+/,r:0,k:{common:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"sqbracket",b:"\\s\\[",e:"\\]$"},{cN:"cbracket",b:"[\\$%]\\{",e:"\\}",c:["self",b]},b,a.QSM]}}],i:/\S/}});hljs.registerLanguage("cpp",function(a){var b={keyword:"false int float while private char catch export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const struct for static_cast|10 union namespace unsigned long throw volatile static protected bool template mutable if public friend do return goto auto void enum else break new extern using true class asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue wchar_t inline delete alignof char16_t char32_t constexpr decltype noexcept nullptr static_assert thread_local restrict _Bool complex _Complex _Imaginary",built_in:"std string cin cout cerr clog stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf"};return{aliases:["c","h","c++","h++"],k:b,i:""]',k:"include",i:"\\n"},a.CLCM]},{cN:"stl_container",b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:b,c:["self"]},{b:a.IR+"::"}]}});hljs.registerLanguage("makefile",function(a){var b={cN:"variable",b:/\$\(/,e:/\)/,c:[a.BE]};return{aliases:["mk","mak"],c:[a.HCM,{b:/^\w+\s*\W*=/,rB:true,r:0,starts:{cN:"constant",e:/\s*\W*=/,eE:true,starts:{e:/$/,r:0,c:[b]}}},{cN:"title",b:/^[\w]+:\s*$/},{cN:"phony",b:/^\.PHONY:/,e:/$/,k:".PHONY",l:/[\.\w]+/},{b:/^\t+/,e:/$/,c:[a.QSM,b]}]}}); \ No newline at end of file diff --git a/app/Resources/views/default/public/highlightjs/styles/default.css b/app/Resources/views/default/public/highlightjs/styles/default.css deleted file mode 100644 index e5bd2801..00000000 --- a/app/Resources/views/default/public/highlightjs/styles/default.css +++ /dev/null @@ -1,152 +0,0 @@ -/* - -Original style from softwaremaniacs.org (c) Ivan Sagalaev - -*/ - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - background: #f0f0f0; -} - -.hljs, -.hljs-subst, -.hljs-tag .hljs-title, -.lisp .hljs-title, -.clojure .hljs-built_in, -.nginx .hljs-title { - color: black; -} - -.hljs-string, -.hljs-title, -.hljs-constant, -.hljs-parent, -.hljs-tag .hljs-value, -.hljs-rules .hljs-value, -.hljs-preprocessor, -.hljs-pragma, -.haml .hljs-symbol, -.ruby .hljs-symbol, -.ruby .hljs-symbol .hljs-string, -.hljs-template_tag, -.django .hljs-variable, -.smalltalk .hljs-class, -.hljs-addition, -.hljs-flow, -.hljs-stream, -.bash .hljs-variable, -.apache .hljs-tag, -.apache .hljs-cbracket, -.tex .hljs-command, -.tex .hljs-special, -.erlang_repl .hljs-function_or_atom, -.asciidoc .hljs-header, -.markdown .hljs-header, -.coffeescript .hljs-attribute { - color: #800; -} - -.smartquote, -.hljs-comment, -.hljs-annotation, -.hljs-template_comment, -.diff .hljs-header, -.hljs-chunk, -.asciidoc .hljs-blockquote, -.markdown .hljs-blockquote { - color: #888; -} - -.hljs-number, -.hljs-date, -.hljs-regexp, -.hljs-literal, -.hljs-hexcolor, -.smalltalk .hljs-symbol, -.smalltalk .hljs-char, -.go .hljs-constant, -.hljs-change, -.lasso .hljs-variable, -.makefile .hljs-variable, -.asciidoc .hljs-bullet, -.markdown .hljs-bullet, -.asciidoc .hljs-link_url, -.markdown .hljs-link_url { - color: #080; -} - -.hljs-label, -.hljs-javadoc, -.ruby .hljs-string, -.hljs-decorator, -.hljs-filter .hljs-argument, -.hljs-localvars, -.hljs-array, -.hljs-attr_selector, -.hljs-important, -.hljs-pseudo, -.hljs-pi, -.haml .hljs-bullet, -.hljs-doctype, -.hljs-deletion, -.hljs-envvar, -.hljs-shebang, -.apache .hljs-sqbracket, -.nginx .hljs-built_in, -.tex .hljs-formula, -.erlang_repl .hljs-reserved, -.hljs-prompt, -.asciidoc .hljs-link_label, -.markdown .hljs-link_label, -.vhdl .hljs-attribute, -.clojure .hljs-attribute, -.asciidoc .hljs-attribute, -.lasso .hljs-attribute, -.coffeescript .hljs-property, -.hljs-phony { - color: #88f; -} - -.hljs-keyword, -.hljs-id, -.hljs-title, -.hljs-built_in, -.css .hljs-tag, -.hljs-javadoctag, -.hljs-phpdoc, -.hljs-yardoctag, -.smalltalk .hljs-class, -.hljs-winutils, -.bash .hljs-variable, -.apache .hljs-tag, -.go .hljs-typename, -.tex .hljs-command, -.asciidoc .hljs-strong, -.markdown .hljs-strong, -.hljs-request, -.hljs-status { - font-weight: bold; -} - -.asciidoc .hljs-emphasis, -.markdown .hljs-emphasis { - font-style: italic; -} - -.nginx .hljs-built_in { - font-weight: normal; -} - -.coffeescript .javascript, -.javascript .xml, -.lasso .markup, -.tex .hljs-formula, -.xml .javascript, -.xml .vbscript, -.xml .css, -.xml .hljs-cdata { - opacity: 0.5; -} diff --git a/app/Resources/views/default/public/highlightjs/styles/github.css b/app/Resources/views/default/public/highlightjs/styles/github.css deleted file mode 100644 index 47fc2651..00000000 --- a/app/Resources/views/default/public/highlightjs/styles/github.css +++ /dev/null @@ -1,127 +0,0 @@ -/* - -github.com style (c) Vasily Polovnyov - -*/ - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - color: #333; - background: #f8f8f8; -} - -.hljs-comment, -.hljs-template_comment, -.diff .hljs-header, -.hljs-javadoc { - color: #998; - font-style: italic; -} - -.hljs-keyword, -.css .rule .hljs-keyword, -.hljs-winutils, -.javascript .hljs-title, -.nginx .hljs-title, -.hljs-subst, -.hljs-request, -.hljs-status { - color: #333; - font-weight: bold; -} - -.hljs-number, -.hljs-hexcolor, -.ruby .hljs-constant { - color: #099; -} - -.hljs-string, -.hljs-tag .hljs-value, -.hljs-phpdoc, -.tex .hljs-formula { - color: #d14; -} - -.hljs-title, -.hljs-id, -.coffeescript .hljs-params, -.scss .hljs-preprocessor { - color: #900; - font-weight: bold; -} - -.javascript .hljs-title, -.lisp .hljs-title, -.clojure .hljs-title, -.hljs-subst { - font-weight: normal; -} - -.hljs-class .hljs-title, -.haskell .hljs-type, -.vhdl .hljs-literal, -.tex .hljs-command { - color: #458; - font-weight: bold; -} - -.hljs-tag, -.hljs-tag .hljs-title, -.hljs-rules .hljs-property, -.django .hljs-tag .hljs-keyword { - color: #000080; - font-weight: normal; -} - -.hljs-attribute, -.hljs-variable, -.lisp .hljs-body { - color: #008080; -} - -.hljs-regexp { - color: #009926; -} - -.hljs-symbol, -.ruby .hljs-symbol .hljs-string, -.lisp .hljs-keyword, -.tex .hljs-special, -.hljs-prompt { - color: #990073; -} - -.hljs-built_in, -.lisp .hljs-title, -.clojure .hljs-built_in { - color: #0086b3; -} - -.hljs-preprocessor, -.hljs-pragma, -.hljs-pi, -.hljs-doctype, -.hljs-shebang, -.hljs-cdata { - color: #999; - font-weight: bold; -} - -.hljs-deletion { - background: #fdd; -} - -.hljs-addition { - background: #dfd; -} - -.diff .hljs-change { - background: #0086b3; -} - -.hljs-chunk { - color: #aaa; -} diff --git a/app/Resources/views/default/public/highlightjs/styles/googlecode.css b/app/Resources/views/default/public/highlightjs/styles/googlecode.css deleted file mode 100644 index fd237367..00000000 --- a/app/Resources/views/default/public/highlightjs/styles/googlecode.css +++ /dev/null @@ -1,148 +0,0 @@ -/* - -Google Code style (c) Aahan Krish - -*/ - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - background: white; - color: black; -} - -.hljs-comment, -.hljs-template_comment, -.hljs-javadoc { - color: #800; -} - -.hljs-keyword, -.method, -.hljs-list .hljs-title, -.clojure .hljs-built_in, -.nginx .hljs-title, -.hljs-tag .hljs-title, -.setting .hljs-value, -.hljs-winutils, -.tex .hljs-command, -.http .hljs-title, -.hljs-request, -.hljs-status { - color: #008; -} - -.hljs-envvar, -.tex .hljs-special { - color: #660; -} - -.hljs-string, -.hljs-tag .hljs-value, -.hljs-cdata, -.hljs-filter .hljs-argument, -.hljs-attr_selector, -.apache .hljs-cbracket, -.hljs-date, -.hljs-regexp, -.coffeescript .hljs-attribute { - color: #080; -} - -.hljs-sub .hljs-identifier, -.hljs-pi, -.hljs-tag, -.hljs-tag .hljs-keyword, -.hljs-decorator, -.ini .hljs-title, -.hljs-shebang, -.hljs-prompt, -.hljs-hexcolor, -.hljs-rules .hljs-value, -.hljs-literal, -.hljs-symbol, -.ruby .hljs-symbol .hljs-string, -.hljs-number, -.css .hljs-function, -.clojure .hljs-attribute { - color: #066; -} - -.hljs-class .hljs-title, -.haskell .hljs-type, -.smalltalk .hljs-class, -.hljs-javadoctag, -.hljs-yardoctag, -.hljs-phpdoc, -.hljs-typename, -.hljs-tag .hljs-attribute, -.hljs-doctype, -.hljs-class .hljs-id, -.hljs-built_in, -.setting, -.hljs-params, -.hljs-variable, -.clojure .hljs-title { - color: #606; -} - -.css .hljs-tag, -.hljs-rules .hljs-property, -.hljs-pseudo, -.hljs-subst { - color: #000; -} - -.css .hljs-class, -.css .hljs-id { - color: #9b703f; -} - -.hljs-value .hljs-important { - color: #ff7700; - font-weight: bold; -} - -.hljs-rules .hljs-keyword { - color: #c5af75; -} - -.hljs-annotation, -.apache .hljs-sqbracket, -.nginx .hljs-built_in { - color: #9b859d; -} - -.hljs-preprocessor, -.hljs-preprocessor *, -.hljs-pragma { - color: #444; -} - -.tex .hljs-formula { - background-color: #eee; - font-style: italic; -} - -.diff .hljs-header, -.hljs-chunk { - color: #808080; - font-weight: bold; -} - -.diff .hljs-change { - background-color: #bccff9; -} - -.hljs-addition { - background-color: #baeeba; -} - -.hljs-deletion { - background-color: #ffc8bd; -} - -.hljs-comment .hljs-yardoctag { - font-weight: bold; -} diff --git a/app/Resources/views/default/public/img/default/backtotop.png b/app/Resources/views/default/public/img/default/backtotop.png deleted file mode 100644 index 051238ef..00000000 Binary files a/app/Resources/views/default/public/img/default/backtotop.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/bad-display.png b/app/Resources/views/default/public/img/default/bad-display.png deleted file mode 100755 index 6866799f..00000000 Binary files a/app/Resources/views/default/public/img/default/bad-display.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/checkmark-off.png b/app/Resources/views/default/public/img/default/checkmark-off.png deleted file mode 100644 index 3db5a06d..00000000 Binary files a/app/Resources/views/default/public/img/default/checkmark-off.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/checkmark-on.png b/app/Resources/views/default/public/img/default/checkmark-on.png deleted file mode 100644 index cd3abb2c..00000000 Binary files a/app/Resources/views/default/public/img/default/checkmark-on.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/down.png b/app/Resources/views/default/public/img/default/down.png deleted file mode 100644 index b9d536a7..00000000 Binary files a/app/Resources/views/default/public/img/default/down.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/envelop.png b/app/Resources/views/default/public/img/default/envelop.png deleted file mode 100644 index 6be1c886..00000000 Binary files a/app/Resources/views/default/public/img/default/envelop.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/flattr.png b/app/Resources/views/default/public/img/default/flattr.png deleted file mode 100755 index 0404aaea..00000000 Binary files a/app/Resources/views/default/public/img/default/flattr.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/left.png b/app/Resources/views/default/public/img/default/left.png deleted file mode 100644 index a0a53631..00000000 Binary files a/app/Resources/views/default/public/img/default/left.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/link.png b/app/Resources/views/default/public/img/default/link.png deleted file mode 100755 index db62819d..00000000 Binary files a/app/Resources/views/default/public/img/default/link.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/print.png b/app/Resources/views/default/public/img/default/print.png deleted file mode 100755 index 83d6445b..00000000 Binary files a/app/Resources/views/default/public/img/default/print.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/remove.png b/app/Resources/views/default/public/img/default/remove.png deleted file mode 100644 index f8ad56a3..00000000 Binary files a/app/Resources/views/default/public/img/default/remove.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/rss.png b/app/Resources/views/default/public/img/default/rss.png deleted file mode 100644 index 21bad1a1..00000000 Binary files a/app/Resources/views/default/public/img/default/rss.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/shaarli.png b/app/Resources/views/default/public/img/default/shaarli.png deleted file mode 100644 index 1eb30f60..00000000 Binary files a/app/Resources/views/default/public/img/default/shaarli.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/star-off.png b/app/Resources/views/default/public/img/default/star-off.png deleted file mode 100644 index 6a0133a7..00000000 Binary files a/app/Resources/views/default/public/img/default/star-off.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/star-on.png b/app/Resources/views/default/public/img/default/star-on.png deleted file mode 100644 index a9f96eaa..00000000 Binary files a/app/Resources/views/default/public/img/default/star-on.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/top.png b/app/Resources/views/default/public/img/default/top.png deleted file mode 100644 index 954a8c0a..00000000 Binary files a/app/Resources/views/default/public/img/default/top.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/default/twitter.png b/app/Resources/views/default/public/img/default/twitter.png deleted file mode 100644 index cfcfe419..00000000 Binary files a/app/Resources/views/default/public/img/default/twitter.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/logo.svg b/app/Resources/views/default/public/img/logo.svg deleted file mode 100644 index 865da440..00000000 --- a/app/Resources/views/default/public/img/logo.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/app/Resources/views/default/public/img/messages/close.png b/app/Resources/views/default/public/img/messages/close.png deleted file mode 100644 index 731aa018..00000000 Binary files a/app/Resources/views/default/public/img/messages/close.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/messages/cross.png b/app/Resources/views/default/public/img/messages/cross.png deleted file mode 100644 index 1514d51a..00000000 Binary files a/app/Resources/views/default/public/img/messages/cross.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/messages/help.png b/app/Resources/views/default/public/img/messages/help.png deleted file mode 100644 index 5c870176..00000000 Binary files a/app/Resources/views/default/public/img/messages/help.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/messages/tick.png b/app/Resources/views/default/public/img/messages/tick.png deleted file mode 100644 index a9925a06..00000000 Binary files a/app/Resources/views/default/public/img/messages/tick.png and /dev/null differ diff --git a/app/Resources/views/default/public/img/messages/warning.png b/app/Resources/views/default/public/img/messages/warning.png deleted file mode 100644 index 628cf2da..00000000 Binary files a/app/Resources/views/default/public/img/messages/warning.png and /dev/null differ diff --git a/app/Resources/views/default/public/js/closeMessage.js b/app/Resources/views/default/public/js/closeMessage.js deleted file mode 100644 index b57fe4a8..00000000 --- a/app/Resources/views/default/public/js/closeMessage.js +++ /dev/null @@ -1,17 +0,0 @@ -$(function(){ - //--------------------------------------------------------------------------- - // Show the close icon when the user hover over a message - //--------------------------------------------------------------------------- - $('.messages').on('mouseenter', function(){ - $(this).find('a.closeMessage').stop(true, true).show(); - }).on('mouseleave', function(){ - $(this).find('a.closeMessage').stop(true, true).hide(); - }); - //--------------------------------------------------------------------------- - // Close the message box when the user clicks the close icon - //--------------------------------------------------------------------------- - $('a.closeMessage').on('click', function(){ - $(this).parents('div.messages').slideUp(300, function(){ $(this).remove(); }); - return false; - }); -}); \ No newline at end of file diff --git a/app/Resources/views/default/tags.twig b/app/Resources/views/default/tags.twig deleted file mode 100755 index e5be748e..00000000 --- a/app/Resources/views/default/tags.twig +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "layout.twig" %} -{% block title %}tags{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block content %} -
- {% for tag in tags %} - {{ tag.value }} ({{ tag.entriescount }}) {% if token != '' %}{% endif %} -
- - {% if loop.index == '%d'|format(loop.length/2 + 0.5) %} -
- {% endif %} - - {% endfor %} -
-{% endblock %} \ No newline at end of file diff --git a/app/Resources/views/default/theme.ini b/app/Resources/views/default/theme.ini deleted file mode 100644 index 9f3cfb6a..00000000 --- a/app/Resources/views/default/theme.ini +++ /dev/null @@ -1 +0,0 @@ -name = Default \ No newline at end of file diff --git a/app/Resources/views/default/view.twig b/app/Resources/views/default/view.twig deleted file mode 100755 index 8f3a26c3..00000000 --- a/app/Resources/views/default/view.twig +++ /dev/null @@ -1,124 +0,0 @@ -{% extends "layout.twig" %} -{% block title %}{{ entry.title|raw }} ({{ entry.url | e | getDomain }}){% endblock %} -{% block content %} - {% include '_highlight.twig' %} - {% include '_pocheit-form.twig' %} -
- -
-
-
-

{{ entry.title|raw }}

-
- {% block tags %} - - {% endblock %} -
- {{ content | raw }} -
- {{ block('tags') }} -
- - -{% endblock %} diff --git a/app/Resources/views/dmagenta/README.md b/app/Resources/views/dmagenta/README.md deleted file mode 100644 index 6abc37e3..00000000 --- a/app/Resources/views/dmagenta/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# dmagenta (dark magenta) theme - -theme created by Nicolas Lœuillet aka nico_somb \ No newline at end of file diff --git a/app/Resources/views/dmagenta/public/css/style-dmagenta.css b/app/Resources/views/dmagenta/public/css/style-dmagenta.css deleted file mode 100644 index 4dc592d2..00000000 --- a/app/Resources/views/dmagenta/public/css/style-dmagenta.css +++ /dev/null @@ -1,78 +0,0 @@ -body { - color: #d4d4d4; - background-color: #372d37; -} - -a, -a:hover, -a:visited { - color: #8d748d; -} - -a.back span { - background-image: url('../img/dmagenta/left.png'); -} - -a.top span { - background-image: url('../img/dmagenta/top.png'); -} - -a.fav span, -a.fav-off span:hover { - background-image: url('../img/dmagenta/star-on.png'); -} - -a.fav span:hover, -a.fav-off span { - background-image: url('../img/dmagenta/star-off.png'); -} - -a.archive span, -a.archive-off span:hover { - background-image: url('../img/dmagenta/checkmark-on.png'); -} - -a.archive span:hover, -a.archive-off span { - background-image: url('../img/dmagenta/checkmark-off.png'); -} - -a.twitter span { - background-image: url('../img/dmagenta/twitter.png'); -} - -a.flattr span { - background-image: url('../img/dmagenta/flattr.png'); -} - -a.shaarli span { - background-image: url('../img/dmagenta/shaarli.png'); -} - -a.email span { - background-image: url('../img/dmagenta/envelop.png'); -} - -a.delete span { - background-image: url('../img/dmagenta/remove.png'); -} - -a.link span { - background-image: url('../img/dmagenta/link.png'); -} - -a.bad-display span { - background-image: url('../img/dmagenta/bad-display.png'); -} - -.pagination a { - color: #aaa; -} - -#main #links li .current { - background-color: #2d372d; -} - -#article_toolbar { - background: #372d37; -} \ No newline at end of file diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/backtotop.png b/app/Resources/views/dmagenta/public/img/dmagenta/backtotop.png deleted file mode 100755 index 051238ef..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/backtotop.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/bad-display.png b/app/Resources/views/dmagenta/public/img/dmagenta/bad-display.png deleted file mode 100755 index 6866799f..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/bad-display.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/checkmark-off.png b/app/Resources/views/dmagenta/public/img/dmagenta/checkmark-off.png deleted file mode 100644 index 3db5a06d..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/checkmark-off.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/checkmark-on.png b/app/Resources/views/dmagenta/public/img/dmagenta/checkmark-on.png deleted file mode 100644 index cd3abb2c..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/checkmark-on.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/down.png b/app/Resources/views/dmagenta/public/img/dmagenta/down.png deleted file mode 100644 index b9d536a7..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/down.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/envelop.png b/app/Resources/views/dmagenta/public/img/dmagenta/envelop.png deleted file mode 100644 index 6be1c886..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/envelop.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/flattr.png b/app/Resources/views/dmagenta/public/img/dmagenta/flattr.png deleted file mode 100755 index 0404aaea..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/flattr.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/left.png b/app/Resources/views/dmagenta/public/img/dmagenta/left.png deleted file mode 100644 index a0a53631..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/left.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/link.png b/app/Resources/views/dmagenta/public/img/dmagenta/link.png deleted file mode 100755 index db62819d..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/link.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/remove.png b/app/Resources/views/dmagenta/public/img/dmagenta/remove.png deleted file mode 100644 index f8ad56a3..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/remove.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/rss.png b/app/Resources/views/dmagenta/public/img/dmagenta/rss.png deleted file mode 100644 index 21bad1a1..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/rss.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/shaarli.png b/app/Resources/views/dmagenta/public/img/dmagenta/shaarli.png deleted file mode 100644 index 1eb30f60..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/shaarli.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/star-off.png b/app/Resources/views/dmagenta/public/img/dmagenta/star-off.png deleted file mode 100644 index 6a0133a7..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/star-off.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/star-on.png b/app/Resources/views/dmagenta/public/img/dmagenta/star-on.png deleted file mode 100644 index a9f96eaa..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/star-on.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/top.png b/app/Resources/views/dmagenta/public/img/dmagenta/top.png deleted file mode 100644 index 954a8c0a..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/top.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/public/img/dmagenta/twitter.png b/app/Resources/views/dmagenta/public/img/dmagenta/twitter.png deleted file mode 100644 index cfcfe419..00000000 Binary files a/app/Resources/views/dmagenta/public/img/dmagenta/twitter.png and /dev/null differ diff --git a/app/Resources/views/dmagenta/screenshot.jpg b/app/Resources/views/dmagenta/screenshot.jpg deleted file mode 100644 index ab8f1ec2..00000000 Binary files a/app/Resources/views/dmagenta/screenshot.jpg and /dev/null differ diff --git a/app/Resources/views/dmagenta/theme.ini b/app/Resources/views/dmagenta/theme.ini deleted file mode 100644 index 78fa3a9c..00000000 --- a/app/Resources/views/dmagenta/theme.ini +++ /dev/null @@ -1,2 +0,0 @@ -name = Dmagenta -requirements[] = default diff --git a/app/Resources/views/solarized-dark/README.md b/app/Resources/views/solarized-dark/README.md deleted file mode 100644 index 81be1f8c..00000000 --- a/app/Resources/views/solarized-dark/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# solarized-dark (Solarized Dark) theme - - -Theme created by NumEricR - -http://github.com/NumEricR/poche-themes diff --git a/app/Resources/views/solarized-dark/Solarized-LICENSE.txt b/app/Resources/views/solarized-dark/Solarized-LICENSE.txt deleted file mode 100644 index a842f663..00000000 --- a/app/Resources/views/solarized-dark/Solarized-LICENSE.txt +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2011 Ethan Schoonover - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE diff --git a/app/Resources/views/solarized-dark/public/css/style-solarized-dark.css b/app/Resources/views/solarized-dark/public/css/style-solarized-dark.css deleted file mode 100644 index 77a97d38..00000000 --- a/app/Resources/views/solarized-dark/public/css/style-solarized-dark.css +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Solarized Dark - by NumEricR - * http://github.com/NumEricR/poche-themes - * ================================================== - * - * Based on Solarized's palette - (c) 2011 Ethan Schoonover - * See http://ethanschoonover.com/solarized#usage-development - * See http://ethanschoonover.com/solarized#the-values - * - * Background: #002b36 base 03 - * Highlight: #073642 base 02 - * Primary content: #839496 base 0 - * Intermediate: #657b83 base 00 - * Emphasized content: #93a1a1 base 1 - * Secondary content: #586e75 base 01 - * Green: #859900 - * Orange: #cb4b16 - * Red: #dc322f - * Blue: #268bd2 - * - * ================================================== */ - -/* Background */ - -body, -#article_toolbar { - background-color: #002b36; -} - -/* Highlight */ -/* 2 different selectors for selection pseudo-elmt */ -/* See https://developer.mozilla.org/en-US/docs/Web/CSS/::selection */ -::-moz-selection { - background-color: #073642; -} -::selection { - background-color: #073642; -} - -/* Primary content */ - -body, -a, -a:hover, -a:visited, -td { - color: #839496; -} - -/* Secondary content */ - -.tools p, -.vieworiginal a, -.vieworiginal a:hover, -.vieworiginal a:visited { - color: #586e75; -} - -#main #content .entrie, -#article header, -#article article { - border-bottom-color: #586e75; -} - -/* Emphasized content */ - -.entrie h2 a:hover, -footer, -footer a { - color: #93a1a1; -} - -/* Colored content */ - -#main .messages.success, -#main .messages.warning, -#main .messages.error, -#main .messages.information, -#main .messages.info { - background-color: #073642; -} - -#main .messages.success { - border-color: #859900; -} - -#main .messages.success p { - color: #859900 !important; /* Overwrites !important used on messages.css */ -} - -#main .messages.warning { - border-color: #cb4b16; -} - -#main .messages.warning p { - color: #cb4b16; -} - -#main .messages.error { - border-color: #dc322f; -} - -#main .messages.error p { - color: #dc322f !important; /* Overwrites !important used on messages.css */ -} - -#main .messages.information, -#main .messages.info { - border-color: #268bd2; -} - -#main .messages.information p, -#main .messages.info p { - color: #268bd2; -} - -/* Miscellaneous */ - -.bouton, -.bouton:hover, -#main #links li a.current, -#links a:hover, -.pagination span.current, -.pagination a:hover, -.pagination a:active { - color: #002b36; - background-color: #586e75; -} - -.bouton:hover { - background-color: #657b83; -} - -#login, -#password, -#password_repeat, -#bookmarklet, -.top_link { - background-color: #073642; -} - -#login, -#password, -#password_repeat, -#bookmarklet { - padding: 5px; - border: 1px solid #586e75; - color: #839496; -} - -#bookmarklet { - border-style: dashed; -} - -.pagination a { - border-color: #586e75; - color: #586e75; -} - -.pagination span.current { - border-color: #073642; -} - -/* Images */ - -a.back span { - background-image: url('../img/solarized-dark/left.png'); -} - -a.top span { - background-image: url('../img/solarized-dark/top.png'); -} - -a.fav span, -a.fav-off span:hover { - background-image: url('../img/solarized-dark/star-on.png'); -} - -a.fav span:hover, -a.fav-off span { - background-image: url('../img/solarized-dark/star-off.png'); -} - -a.archive span, -a.archive-off span:hover { - background-image: url('../img/solarized-dark/checkmark-on.png'); -} - -a.archive span:hover, -a.archive-off span { - background-image: url('../img/solarized-dark/checkmark-off.png'); -} - -a.twitter span { - background-image: url('../img/solarized-dark/twitter.png'); -} - -a.flattr span { - background-image: url('../img/solarized-dark/flattr.png'); -} - -a.shaarli span { - background-image: url('../img/solarized-dark/shaarli.png'); -} - -a.email span { - background-image: url('../img/solarized-dark/envelop.png'); -} - -a.delete span { - background-image: url('../img/solarized-dark/remove.png'); -} - -a.link span { - background-image: url('../img/solarized-dark/link.png'); -} - -a.bad-display span { - background-image: url('../img/solarized-dark/bad-display.png'); -} - -.arrow-down { - width: 0px; - height: 0px; - border-style: solid; - border-width: 10px 10px 0 10px; - border-color: #586E75 transparent transparent transparent; - - position: absolute; - margin-top: 1.5em; - margin-left: -30px; -} \ No newline at end of file diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/backtotop.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/backtotop.png deleted file mode 100644 index 1501c2a5..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/backtotop.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/bad-display.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/bad-display.png deleted file mode 100644 index b2c3ca17..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/bad-display.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-off.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-off.png deleted file mode 100644 index fd7d92fa..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-off.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-on.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-on.png deleted file mode 100644 index 592965dd..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-on.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/down.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/down.png deleted file mode 100644 index 5de30315..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/down.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/envelop.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/envelop.png deleted file mode 100644 index d3468885..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/envelop.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/flattr.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/flattr.png deleted file mode 100644 index 73e3f421..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/flattr.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/left.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/left.png deleted file mode 100644 index a953d831..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/left.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/link.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/link.png deleted file mode 100644 index 5e859a0e..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/link.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/remove.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/remove.png deleted file mode 100644 index 66a5c1ab..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/remove.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/rss.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/rss.png deleted file mode 100644 index 21bad1a1..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/rss.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/shaarli.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/shaarli.png deleted file mode 100644 index 1eb30f60..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/shaarli.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/star-off.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/star-off.png deleted file mode 100644 index 1c603ecc..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/star-off.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/star-on.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/star-on.png deleted file mode 100644 index bc37772a..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/star-on.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/top.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/top.png deleted file mode 100644 index b3f44f31..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/top.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/public/img/solarized-dark/twitter.png b/app/Resources/views/solarized-dark/public/img/solarized-dark/twitter.png deleted file mode 100644 index c4a25334..00000000 Binary files a/app/Resources/views/solarized-dark/public/img/solarized-dark/twitter.png and /dev/null differ diff --git a/app/Resources/views/solarized-dark/screenshot.jpg b/app/Resources/views/solarized-dark/screenshot.jpg deleted file mode 100644 index 2ad87943..00000000 Binary files a/app/Resources/views/solarized-dark/screenshot.jpg and /dev/null differ diff --git a/app/Resources/views/solarized-dark/theme.ini b/app/Resources/views/solarized-dark/theme.ini deleted file mode 100644 index c9948146..00000000 --- a/app/Resources/views/solarized-dark/theme.ini +++ /dev/null @@ -1,2 +0,0 @@ -name = Solarized Dark -requirements[] = default diff --git a/app/Resources/views/solarized/README.md b/app/Resources/views/solarized/README.md deleted file mode 100644 index 255e3cdd..00000000 --- a/app/Resources/views/solarized/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# solarized (Solarized) theme - - -Theme created by NumEricR - -http://github.com/NumEricR/poche-themes diff --git a/app/Resources/views/solarized/Solarized-LICENSE.txt b/app/Resources/views/solarized/Solarized-LICENSE.txt deleted file mode 100644 index a842f663..00000000 --- a/app/Resources/views/solarized/Solarized-LICENSE.txt +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2011 Ethan Schoonover - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE diff --git a/app/Resources/views/solarized/public/css/style-solarized.css b/app/Resources/views/solarized/public/css/style-solarized.css deleted file mode 100644 index cf16338f..00000000 --- a/app/Resources/views/solarized/public/css/style-solarized.css +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Solarized - by NumEricR - * http://github.com/NumEricR/poche-themes - * ================================================== - * - * Based on Solarized's palette - (c) 2011 Ethan Schoonover - * See http://ethanschoonover.com/solarized#usage-development - * See http://ethanschoonover.com/solarized#the-values - * - * Background: #fdf6e3 base 3 - * Highlight: #eee8d5 base 2 - * Primary content: #657b83 base 00 - * Intermediate: #839496 base 0 - * Emphasized content: #586e75 base 01 - * Secondary content: #93a1a1 base 1 - * Green: #859900 - * Orange: #cb4b16 - * Red: #dc322f - * Blue: #268bd2 - * - * ================================================== */ - -/* Background */ - -body, -#article_toolbar { - background-color: #fdf6e3; -} - -/* Highlight */ -/* 2 different selectors for selection pseudo-elmt */ -/* See https://developer.mozilla.org/en-US/docs/Web/CSS/::selection */ -::-moz-selection { - background-color: #eee8d5; -} -::selection { - background-color: #eee8d5; -} - -/* Primary content */ - -body, -a, -a:hover, -a:visited, -td { - color: #657b83; -} - -/* Secondary content */ - -.tools p, -.vieworiginal a, -.vieworiginal a:hover, -.vieworiginal a:visited { - color: #93a1a1; -} - -#main #content .entrie, -#article header, -#article article { - border-bottom-color: #93a1a1; -} - -/* Emphasized content */ - -.entrie h2 a:hover, -footer, -footer a { - color: #586e75; -} - -/* Colored content */ - -#main .messages.success, -#main .messages.warning, -#main .messages.error, -#main .messages.information, -#main .messages.info { - background-color: #eee8d5; -} - -#main .messages.success { - border-color: #859900; -} - -#main .messages.success p { - color: #859900 !important; /* Overwrites !important used on messages.css */ -} - -#main .messages.warning { - border-color: #cb4b16; -} - -#main .messages.warning p { - color: #cb4b16; -} - -#main .messages.error { - border-color: #dc322f; -} - -#main .messages.error p { - color: #dc322f !important; /* Overwrites !important used on messages.css */ -} - -#main .messages.information, -#main .messages.info { - border-color: #268bd2; -} - -#main .messages.information p, -#main .messages.info p { - color: #268bd2; -} - -/* Miscellaneous */ - -.bouton, -.bouton:hover, -#main #links li a.current, -#links a:hover, -.pagination span.current, -.pagination a:hover, -.pagination a:active { - color: #fdf6e3; - background-color: #93a1a1; -} - -.bouton:hover { - background-color: #657b83; -} - -#login, -#password, -#password_repeat, -#bookmarklet, -.top_link { - background-color: #eee8d5; -} - -#login, -#password, -#password_repeat, -#bookmarklet { - padding: 5px; - border: 1px solid #93a1a1; - color: #657b83; -} - -#bookmarklet { - border-style: dashed; -} - -.pagination a { - border-color: #93a1a1; - color: #93a1a1; -} - -.pagination span.current { - border-color: #eee8d5; -} - -/* Images */ - -a.back span { - background-image: url('../img/solarized/left.png'); -} - -a.top span { - background-image: url('../img/solarized/top.png'); -} - -a.fav span, -a.fav-off span:hover { - background-image: url('../img/solarized/star-on.png'); -} - -a.fav span:hover, -a.fav-off span { - background-image: url('../img/solarized/star-off.png'); -} - -a.archive span, -a.archive-off span:hover { - background-image: url('../img/solarized/checkmark-on.png'); -} - -a.archive span:hover, -a.archive-off span { - background-image: url('../img/solarized/checkmark-off.png'); -} - -a.twitter span { - background-image: url('../img/solarized/twitter.png'); -} - -a.shaarli span { - background-image: url('../img/solarized/shaarli.png'); -} - -a.flattr span { - background-image: url('../img/solarized/flattr.png'); -} - -a.email span { - background-image: url('../img/solarized/envelop.png'); -} - -a.delete span { - background-image: url('../img/solarized/remove.png'); -} - -a.link span { - background-image: url('../img/solarized/link.png'); -} - -a.bad-display span { - background-image: url('../img/solarized/bad-display.png'); -} - -.arrow-down { - width: 0px; - height: 0px; - border-style: solid; - border-width: 10px 10px 0 10px; - border-color: #93A1A1 transparent transparent transparent; - - position: absolute; - margin-top: 1.5em; - margin-left: -30px; -} \ No newline at end of file diff --git a/app/Resources/views/solarized/public/img/solarized/backtotop.png b/app/Resources/views/solarized/public/img/solarized/backtotop.png deleted file mode 100644 index a3e52318..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/backtotop.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/bad-display.png b/app/Resources/views/solarized/public/img/solarized/bad-display.png deleted file mode 100644 index ae99ab37..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/bad-display.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/checkmark-off.png b/app/Resources/views/solarized/public/img/solarized/checkmark-off.png deleted file mode 100644 index 20cd26b3..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/checkmark-off.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/checkmark-on.png b/app/Resources/views/solarized/public/img/solarized/checkmark-on.png deleted file mode 100644 index 87a2b799..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/checkmark-on.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/down.png b/app/Resources/views/solarized/public/img/solarized/down.png deleted file mode 100644 index 622ff87b..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/down.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/envelop.png b/app/Resources/views/solarized/public/img/solarized/envelop.png deleted file mode 100644 index 1caf7d43..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/envelop.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/flattr.png b/app/Resources/views/solarized/public/img/solarized/flattr.png deleted file mode 100644 index 18e00f86..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/flattr.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/left.png b/app/Resources/views/solarized/public/img/solarized/left.png deleted file mode 100644 index 9780faee..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/left.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/link.png b/app/Resources/views/solarized/public/img/solarized/link.png deleted file mode 100644 index d0e12862..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/link.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/remove.png b/app/Resources/views/solarized/public/img/solarized/remove.png deleted file mode 100644 index d5113d17..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/remove.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/rss.png b/app/Resources/views/solarized/public/img/solarized/rss.png deleted file mode 100644 index 21bad1a1..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/rss.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/shaarli.png b/app/Resources/views/solarized/public/img/solarized/shaarli.png deleted file mode 100644 index 1eb30f60..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/shaarli.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/star-off.png b/app/Resources/views/solarized/public/img/solarized/star-off.png deleted file mode 100644 index afd7d80c..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/star-off.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/star-on.png b/app/Resources/views/solarized/public/img/solarized/star-on.png deleted file mode 100644 index 3a772512..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/star-on.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/top.png b/app/Resources/views/solarized/public/img/solarized/top.png deleted file mode 100644 index d20001a4..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/top.png and /dev/null differ diff --git a/app/Resources/views/solarized/public/img/solarized/twitter.png b/app/Resources/views/solarized/public/img/solarized/twitter.png deleted file mode 100644 index 109d7151..00000000 Binary files a/app/Resources/views/solarized/public/img/solarized/twitter.png and /dev/null differ diff --git a/app/Resources/views/solarized/screenshot.jpg b/app/Resources/views/solarized/screenshot.jpg deleted file mode 100644 index 07d402e3..00000000 Binary files a/app/Resources/views/solarized/screenshot.jpg and /dev/null differ diff --git a/app/Resources/views/solarized/theme.ini b/app/Resources/views/solarized/theme.ini deleted file mode 100644 index 703997b9..00000000 --- a/app/Resources/views/solarized/theme.ini +++ /dev/null @@ -1,2 +0,0 @@ -name = Solarized -requirements[] = default diff --git a/app/config/config.yml b/app/config/config.yml index 8e7258ea..367aa276 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -128,3 +128,19 @@ nelmio_cors: allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] max_age: 3600 hosts: ['^api\.'] + +liip_theme: + load_controllers: false + themes: + - baggy + autodetect_theme: wallabag_core.helper.detect_active_theme + + path_patterns: + # app_resource: + # - %%app_path%%/views/themes/%%current_theme%%/%%template%% + # - %%app_path%%/views/%%template%% + bundle_resource: + - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%% + # bundle_resource_dir: + # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%% + # - %%dir%%/views/%%bundle_name%%/%%override_path%% diff --git a/app/config/config_test.yml b/app/config/config_test.yml index 83e2922a..a6ead1e8 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml @@ -17,4 +17,6 @@ swiftmailer: doctrine: dbal: - path: %kernel.root_dir%/../data/db/poche_test.sqlite + driver: pdo_sqlite + path: %kernel.root_dir%/../data/db/wallabag_test.sqlite + host: localhost diff --git a/app/config/routing.yml b/app/config/routing.yml index 20f6979a..d681b39b 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -19,6 +19,6 @@ logout: path: /logout rest : - type : rest - resource : "routing_rest.yml" - prefix : /api \ No newline at end of file + type : rest + resource : "routing_rest.yml" + prefix : /api diff --git a/composer.json b/composer.json index d49f3df3..0b162c02 100644 --- a/composer.json +++ b/composer.json @@ -75,6 +75,7 @@ "tecnick.com/tcpdf": "~6.2", "simplepie/simplepie": "~1.3.1", "htmlawed/htmlawed": "dev-master", + "liip/theme-bundle": "1.1.3", "wallabag/PHP-Flash-Messages": "dev-master", "wallabag/kriss_php5": "dev-master", "wallabag/pagination": "dev-master", diff --git a/composer.lock b/composer.lock index 8fd4b2ab..a6102a81 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "4cbcfeafb3c1dc4ed8c364e93969808f", + "hash": "fd56c671d70f498ccc1996450479fbdc", "packages": [ { "name": "doctrine/annotations", @@ -1282,6 +1282,61 @@ ], "time": "2014-12-12 05:04:05" }, + { + "name": "liip/theme-bundle", + "version": "1.1.3", + "target-dir": "Liip/ThemeBundle", + "source": { + "type": "git", + "url": "https://github.com/liip/LiipThemeBundle.git", + "reference": "a594cc6deda293034b8fd7795c9950f02fc8251b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/liip/LiipThemeBundle/zipball/a594cc6deda293034b8fd7795c9950f02fc8251b", + "reference": "a594cc6deda293034b8fd7795c9950f02fc8251b", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "symfony/framework-bundle": "~2.0" + }, + "require-dev": { + "symfony/console": "~2.0", + "symfony/expression-language": "~2.6" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-0": { + "Liip\\ThemeBundle": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Community contributions", + "homepage": "https://github.com/liip/LiipThemeBundle/contributors" + }, + { + "name": "Liip AG", + "homepage": "http://www.liip.ch/" + } + ], + "description": "Provides theming support for #Symfony2 Bundles", + "keywords": [ + "themes", + "theming" + ], + "time": "2015-02-02 15:55:54" + }, { "name": "mgargano/simplehtmldom", "version": "1.5", @@ -2590,7 +2645,7 @@ "description": "Libraries from @fivefilters.", "homepage": "https://github.com/wallabag/Fivefilters_Libraries", "support": { - "source": "https://github.com/wallabag/Fivefilters_Libraries/tree/master", + "source": "https://github.com/wallabag/Fivefilters_Libraries/tree/1.0.0", "issues": "https://github.com/wallabag/Fivefilters_Libraries/issues" }, "time": "2015-01-19 20:19:28" @@ -2635,7 +2690,7 @@ "description": "PHP Classes for dynamically generating EPub files.", "homepage": "https://github.com/wallabag/PHPePub", "support": { - "source": "https://github.com/wallabag/PHPePub/tree/master" + "source": "https://github.com/wallabag/PHPePub/tree/2.1.0" }, "time": "2015-01-19 11:44:19" }, @@ -2672,7 +2727,7 @@ "description": "A simple and smart (or stupid) php5 snippets repository", "homepage": "https://github.com/wallabag/kriss_php5", "support": { - "source": "https://github.com/wallabag/kriss_php5/tree/master" + "source": "https://github.com/wallabag/kriss_php5/tree/1.0.0" }, "time": "2015-01-18 21:21:43" }, @@ -2709,7 +2764,7 @@ "description": "Paginate record sets, not tied in directly to a database.", "homepage": "https://github.com/wallabag/pagination", "support": { - "source": "https://github.com/wallabag/pagination/tree/master" + "source": "https://github.com/wallabag/pagination/tree/1.0.0" }, "time": "2015-01-19 09:24:39" }, @@ -2755,7 +2810,7 @@ "sessions" ], "support": { - "source": "https://github.com/wallabag/PHP-Flash-Messages/tree/master" + "source": "https://github.com/wallabag/PHP-Flash-Messages/tree/1.0.0" }, "time": "2015-01-18 19:51:55" }, @@ -2809,7 +2864,7 @@ "html" ], "support": { - "source": "https://github.com/wallabag/php-readability/tree/master", + "source": "https://github.com/wallabag/php-readability/tree/1.0.0", "issues": "https://github.com/wallabag/php-readability/issues" }, "time": "2015-01-19 12:25:38" @@ -2847,7 +2902,7 @@ "description": "An experimental Mobipocket file creator in PHP.", "homepage": "https://github.com/wallabag/phpMobi", "support": { - "source": "https://github.com/wallabag/phpMobi/tree/master" + "source": "https://github.com/wallabag/phpMobi/tree/1.0.0" }, "time": "2015-01-19 12:43:17" }, diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php index 68e034fa..4e895875 100644 --- a/src/Wallabag/CoreBundle/Controller/ConfigController.php +++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php @@ -7,7 +7,6 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Wallabag\CoreBundle\Entity\Config; use Wallabag\CoreBundle\Entity\User; -use Wallabag\CoreBundle\Form\Type\ConfigType; use Wallabag\CoreBundle\Form\Type\ChangePasswordType; use Wallabag\CoreBundle\Form\Type\UserType; use Wallabag\CoreBundle\Form\Type\NewUserType; @@ -25,14 +24,18 @@ class ConfigController extends Controller $config = $this->getConfig(); $user = $this->getUser(); - // handle basic config detail - $configForm = $this->createForm(new ConfigType(), $config); + // handle basic config detail (this form is defined as a service) + $configForm = $this->createForm('config', $config); $configForm->handleRequest($request); if ($configForm->isValid()) { $em->persist($config); $em->flush(); + // switch active theme + $activeTheme = $this->get('liip_theme.active_theme'); + $activeTheme->setName($config->getTheme()); + $this->get('session')->getFlashBag()->add( 'notice', 'Config saved' diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php index 7b4464a1..91f9bfe8 100644 --- a/src/Wallabag/CoreBundle/Entity/Config.php +++ b/src/Wallabag/CoreBundle/Entity/Config.php @@ -48,7 +48,7 @@ class Config private $language; /** - * @ORM\ManyToOne(targetEntity="User", inversedBy="config") + * @ORM\OneToOne(targetEntity="User", inversedBy="config") */ private $user; diff --git a/src/Wallabag/CoreBundle/Entity/User.php b/src/Wallabag/CoreBundle/Entity/User.php index 193dfebc..ed5cfe53 100644 --- a/src/Wallabag/CoreBundle/Entity/User.php +++ b/src/Wallabag/CoreBundle/Entity/User.php @@ -92,6 +92,11 @@ class User implements AdvancedUserInterface, \Serializable */ private $entries; + /** + * @ORM\OneToOne(targetEntity="Config", mappedBy="user") + */ + private $config; + public function __construct() { $this->salt = md5(uniqid(null, true)); @@ -320,4 +325,26 @@ class User implements AdvancedUserInterface, \Serializable { return $this->isActive; } + /** + * Set config + * + * @param \Wallabag\CoreBundle\Entity\Config $config + * @return User + */ + public function setConfig(\Wallabag\CoreBundle\Entity\Config $config = null) + { + $this->config = $config; + + return $this; + } + + /** + * Get config + * + * @return \Wallabag\CoreBundle\Entity\Config + */ + public function getConfig() + { + return $this->config; + } } diff --git a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php index a1e0ce47..0c8706e2 100644 --- a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php +++ b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php @@ -7,20 +7,23 @@ use Symfony\Component\OptionsResolver\OptionsResolverInterface; class ConfigType extends AbstractType { + private $themes = array(); + + /** + * @param array $themes Themes come from the LiipThemeBundle (liip_theme.themes) + */ + public function __construct($themes) + { + $this->themes = array_combine( + $themes, + array_map(function ($s) { return ucwords(strtolower(str_replace('-', ' ', $s))); }, $themes) + ); + } + public function buildForm(FormBuilderInterface $builder, array $options) { $builder - ->add('theme', 'choice', array( - 'choices' => array( - 'baggy' => 'Baggy', - 'courgette' => 'Courgette', - 'dark' => 'Dark', - 'default' => 'Default', - 'dmagenta' => 'Dmagenta', - 'solarized' => 'Solarized', - 'solarized_dark' => 'Solarized Dark', - ), - )) + ->add('theme', 'choice', array('choices' => $this->themes)) ->add('items_per_page', 'text') ->add('language') ->add('save', 'submit') diff --git a/src/Wallabag/CoreBundle/Helper/DetectActiveTheme.php b/src/Wallabag/CoreBundle/Helper/DetectActiveTheme.php new file mode 100644 index 00000000..446629db --- /dev/null +++ b/src/Wallabag/CoreBundle/Helper/DetectActiveTheme.php @@ -0,0 +1,59 @@ +securityContext = $securityContext; + $this->defaultTheme = $defaultTheme; + } + + public function setUserAgent($userAgent) + { + } + + /** + * This should return the active theme for the logged in user. + * + * Default theme for: + * - anonymous user + * - user without a config (shouldn't happen ..) + * + * @return string + */ + public function getType() + { + $user = $this->securityContext->getToken()->getUser(); + + if (!$user instanceof User) { + return $this->defaultTheme; + } + + $config = $user->getConfig(); + + if (!$config) { + return $this->defaultTheme; + } + + return $config->getTheme(); + } +} diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index b066c1a3..c734a3a5 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml @@ -1,15 +1,30 @@ services: - wallabag_core.twig.wallabag: + wallabag_core.twig.extension: class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension tags: - { name: twig.extension } + wsse.security.authentication.provider: class: Wallabag\CoreBundle\Security\Authentication\Provider\WsseProvider public: false arguments: ['', '%kernel.cache_dir%/security/nonces'] + wsse.security.authentication.listener: class: Wallabag\CoreBundle\Security\Firewall\WsseListener public: false tags: - { name: monolog.logger, channel: wsse } arguments: ['@security.context', '@security.authentication.manager', '@logger'] + + wallabag_core.helper.detect_active_theme: + class: Wallabag\CoreBundle\Helper\DetectActiveTheme + arguments: + - @security.context + - %theme% # default theme from parameters.yml + + wallabag_core.form.type.config: + class: Wallabag\CoreBundle\Form\Type\ConfigType + arguments: + - %liip_theme.themes% + tags: + - { name: form.type, alias: config } diff --git a/src/Wallabag/CoreBundle/Resources/views/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/Config/index.html.twig index 051dafd6..1835d26e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Config/index.html.twig @@ -2,10 +2,6 @@ {% block title %}{% trans %}Config{% endtrans %}{% endblock %} -{% block menu %} - {% include "WallabagCoreBundle::_menu.html.twig" %} -{% endblock %} - {% block content %}

{% trans %}Wallabag configuration{% endtrans %}

diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig index dfce4b3c..acb96420 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig @@ -2,10 +2,6 @@ {% block title "Unread" %} -{% block menu %} - {% include "WallabagCoreBundle::_menu.html.twig" %} -{% endblock %} - {% block content %} {% block pager %} {% if entries is not empty %} diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig index f0c00509..f23ab968 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig @@ -2,10 +2,6 @@ {% block title %}{{ entry.title|raw }} ({{ entry.url | e | domainName }}){% endblock %} -{% block menu %} - {% include "WallabagCoreBundle::_menu.html.twig" %} -{% endblock %} - {% block content %}
- {# - Si vous voulez contrôler l'URL vers laquelle l'utilisateur est redirigé en cas de succès - (plus de détails ci-dessous) - - #} +
diff --git a/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig b/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig index b8d3c7b6..9e188cd9 100755 --- a/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig @@ -1,9 +1,7 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} {% block title %}{% trans %}About{% endtrans %}{% endblock %} -{% block menu %} -{% include "WallabagCoreBundle::_menu.html.twig" %} -{% endblock %} + {% block content %}

{% trans %}About wallabag{% endtrans %}

diff --git a/src/Wallabag/CoreBundle/Resources/views/_footer.html.twig b/src/Wallabag/CoreBundle/Resources/views/_footer.html.twig deleted file mode 100644 index 1b5f9a0f..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_footer.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -
-

{% trans %}powered by{% endtrans %} wallabag

-
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/css/jquery-ui-1.10.4.custom.css b/src/Wallabag/CoreBundle/Resources/views/_global/public/css/jquery-ui-1.10.4.custom.css deleted file mode 100644 index 5690172f..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/css/jquery-ui-1.10.4.custom.css +++ /dev/null @@ -1,560 +0,0 @@ -/*! jQuery UI - v1.10.4 - 2014-03-09 -* http://jqueryui.com -* Includes: jquery.ui.core.css, jquery.ui.autocomplete.css, jquery.ui.menu.css, jquery.ui.theme.css -* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px -* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { - display: none; -} -.ui-helper-hidden-accessible { - border: 0; - clip: rect(0 0 0 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; -} -.ui-helper-reset { - margin: 0; - padding: 0; - border: 0; - outline: 0; - line-height: 1.3; - text-decoration: none; - font-size: 100%; - list-style: none; -} -.ui-helper-clearfix:before, -.ui-helper-clearfix:after { - content: ""; - display: table; - border-collapse: collapse; -} -.ui-helper-clearfix:after { - clear: both; -} -.ui-helper-clearfix { - min-height: 0; /* support: IE7 */ -} -.ui-helper-zfix { - width: 100%; - height: 100%; - top: 0; - left: 0; - position: absolute; - opacity: 0; - filter:Alpha(Opacity=0); -} - -.ui-front { - z-index: 100; -} - - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { - cursor: default !important; -} - - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { - display: block; - text-indent: -99999px; - overflow: hidden; - background-repeat: no-repeat; -} - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -.ui-autocomplete { - position: absolute; - top: 0; - left: 0; - cursor: default; -} -.ui-menu { - list-style: none; - padding: 2px; - margin: 0; - display: block; - outline: none; -} -.ui-menu .ui-menu { - margin-top: -3px; - position: absolute; -} -.ui-menu .ui-menu-item { - margin: 0; - padding: 0; - width: 100%; - /* support: IE10, see #8844 */ - list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); -} -.ui-menu .ui-menu-divider { - margin: 5px -2px 5px -2px; - height: 0; - font-size: 0; - line-height: 0; - border-width: 1px 0 0 0; -} -.ui-menu .ui-menu-item a { - text-decoration: none; - display: block; - padding: 2px .4em; - line-height: 1.5; - min-height: 0; /* support: IE7 */ - font-weight: normal; -} -.ui-menu .ui-menu-item a.ui-state-focus, -.ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; -} - -.ui-menu .ui-state-disabled { - font-weight: normal; - margin: .4em 0 .2em; - line-height: 1.5; -} -.ui-menu .ui-state-disabled a { - cursor: default; -} - -/* icon support */ -.ui-menu-icons { - position: relative; -} -.ui-menu-icons .ui-menu-item a { - position: relative; - padding-left: 2em; -} - -/* left-aligned */ -.ui-menu .ui-icon { - position: absolute; - top: .2em; - left: .2em; -} - -/* right-aligned */ -.ui-menu .ui-menu-icon { - position: static; - float: right; -} - -/* Component containers -----------------------------------*/ -.ui-widget { - font-family: Verdana,Arial,sans-serif; - font-size: 1.1em; -} -.ui-widget .ui-widget { - font-size: 1em; -} -.ui-widget input, -.ui-widget select, -.ui-widget textarea, -.ui-widget button { - font-family: Verdana,Arial,sans-serif; - font-size: 1em; -} -.ui-widget-content { - border: 1px solid #aaaaaa; - background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; - color: #222222; -} -.ui-widget-content a { - color: #222222; -} -.ui-widget-header { - border: 1px solid #aaaaaa; - background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; - color: #222222; - font-weight: bold; -} -.ui-widget-header a { - color: #222222; -} - -/* Interaction states -----------------------------------*/ -.ui-state-default, -.ui-widget-content .ui-state-default, -.ui-widget-header .ui-state-default { - border: 1px solid #d3d3d3; - background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; - font-weight: normal; - color: #555555; -} -.ui-state-default a, -.ui-state-default a:link, -.ui-state-default a:visited { - color: #555555; - text-decoration: none; -} -.ui-state-hover, -.ui-widget-content .ui-state-hover, -.ui-widget-header .ui-state-hover, -.ui-state-focus, -.ui-widget-content .ui-state-focus, -.ui-widget-header .ui-state-focus { - border: 1px solid #999999; - background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; - font-weight: normal; - color: #212121; -} -.ui-state-hover a, -.ui-state-hover a:hover, -.ui-state-hover a:link, -.ui-state-hover a:visited, -.ui-state-focus a, -.ui-state-focus a:hover, -.ui-state-focus a:link, -.ui-state-focus a:visited { - color: #212121; - text-decoration: none; -} -.ui-state-active, -.ui-widget-content .ui-state-active, -.ui-widget-header .ui-state-active { - border: 1px solid #aaaaaa; - background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; - font-weight: normal; - color: #212121; -} -.ui-state-active a, -.ui-state-active a:link, -.ui-state-active a:visited { - color: #212121; - text-decoration: none; -} - -/* Interaction Cues -----------------------------------*/ -.ui-state-highlight, -.ui-widget-content .ui-state-highlight, -.ui-widget-header .ui-state-highlight { - border: 1px solid #fcefa1; - background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; - color: #363636; -} -.ui-state-highlight a, -.ui-widget-content .ui-state-highlight a, -.ui-widget-header .ui-state-highlight a { - color: #363636; -} -.ui-state-error, -.ui-widget-content .ui-state-error, -.ui-widget-header .ui-state-error { - border: 1px solid #cd0a0a; - background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; - color: #cd0a0a; -} -.ui-state-error a, -.ui-widget-content .ui-state-error a, -.ui-widget-header .ui-state-error a { - color: #cd0a0a; -} -.ui-state-error-text, -.ui-widget-content .ui-state-error-text, -.ui-widget-header .ui-state-error-text { - color: #cd0a0a; -} -.ui-priority-primary, -.ui-widget-content .ui-priority-primary, -.ui-widget-header .ui-priority-primary { - font-weight: bold; -} -.ui-priority-secondary, -.ui-widget-content .ui-priority-secondary, -.ui-widget-header .ui-priority-secondary { - opacity: .7; - filter:Alpha(Opacity=70); - font-weight: normal; -} -.ui-state-disabled, -.ui-widget-content .ui-state-disabled, -.ui-widget-header .ui-state-disabled { - opacity: .35; - filter:Alpha(Opacity=35); - background-image: none; -} -.ui-state-disabled .ui-icon { - filter:Alpha(Opacity=35); /* For IE8 - See #6059 */ -} - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { - width: 16px; - height: 16px; -} -.ui-icon, -.ui-widget-content .ui-icon { - background-image: url(images/ui-icons_222222_256x240.png); -} -.ui-widget-header .ui-icon { - background-image: url(images/ui-icons_222222_256x240.png); -} -.ui-state-default .ui-icon { - background-image: url(images/ui-icons_888888_256x240.png); -} -.ui-state-hover .ui-icon, -.ui-state-focus .ui-icon { - background-image: url(images/ui-icons_454545_256x240.png); -} -.ui-state-active .ui-icon { - background-image: url(images/ui-icons_454545_256x240.png); -} -.ui-state-highlight .ui-icon { - background-image: url(images/ui-icons_2e83ff_256x240.png); -} -.ui-state-error .ui-icon, -.ui-state-error-text .ui-icon { - background-image: url(images/ui-icons_cd0a0a_256x240.png); -} - -/* positioning */ -.ui-icon-blank { background-position: 16px 16px; } -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-on { background-position: -96px -144px; } -.ui-icon-radio-off { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-all, -.ui-corner-top, -.ui-corner-left, -.ui-corner-tl { - border-top-left-radius: 4px; -} -.ui-corner-all, -.ui-corner-top, -.ui-corner-right, -.ui-corner-tr { - border-top-right-radius: 4px; -} -.ui-corner-all, -.ui-corner-bottom, -.ui-corner-left, -.ui-corner-bl { - border-bottom-left-radius: 4px; -} -.ui-corner-all, -.ui-corner-bottom, -.ui-corner-right, -.ui-corner-br { - border-bottom-right-radius: 4px; -} - -/* Overlays */ -.ui-widget-overlay { - background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; - opacity: .3; - filter: Alpha(Opacity=30); -} -.ui-widget-shadow { - margin: -8px 0 0 -8px; - padding: 8px; - background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; - opacity: .3; - filter: Alpha(Opacity=30); - border-radius: 8px; -} diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/css/jquery-ui-1.10.4.custom.min.css b/src/Wallabag/CoreBundle/Resources/views/_global/public/css/jquery-ui-1.10.4.custom.min.css deleted file mode 100644 index 4dba92a8..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/css/jquery-ui-1.10.4.custom.min.css +++ /dev/null @@ -1,7 +0,0 @@ -/*! jQuery UI - v1.10.4 - 2014-03-09 -* http://jqueryui.com -* Includes: jquery.ui.core.css, jquery.ui.autocomplete.css, jquery.ui.menu.css, jquery.ui.theme.css -* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px -* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ - -.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px} \ No newline at end of file diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-114.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-114.png deleted file mode 100755 index 0e96edd5..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-114.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-120.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-120.png deleted file mode 100755 index dc5aab1c..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-120.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-144.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-144.png deleted file mode 100755 index 1d005db6..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-144.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-152.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-152.png deleted file mode 100755 index f915231f..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-152.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-57.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-57.png deleted file mode 100755 index 5aa19ed9..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-57.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-72.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-72.png deleted file mode 100755 index b8b48e1b..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-72.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-76.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-76.png deleted file mode 100755 index 9f9dba27..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-76.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon.png deleted file mode 100755 index 9cf29e2b..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/favicon.ico b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/favicon.ico deleted file mode 100755 index 0346558b..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/favicon.ico and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/carrot-icon--black.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/carrot-icon--black.png deleted file mode 100644 index 6da7925b..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/carrot-icon--black.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/carrot-icon--white.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/carrot-icon--white.png deleted file mode 100644 index a70044b6..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/carrot-icon--white.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/diaspora-icon--black.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/diaspora-icon--black.png deleted file mode 100644 index 32bca194..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/diaspora-icon--black.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/diaspora-icon--white.png b/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/diaspora-icon--white.png deleted file mode 100644 index fc48d47c..00000000 Binary files a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/diaspora-icon--white.png and /dev/null differ diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/autoClose.js b/src/Wallabag/CoreBundle/Resources/views/_global/public/js/autoClose.js deleted file mode 100644 index e9145b7e..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/autoClose.js +++ /dev/null @@ -1,6 +0,0 @@ -$(document).ready(function() { - current_url = window.location.href - if (current_url.match("&closewin=true")) { - window.close(); - } -}); diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/autoCompleteTags.js b/src/Wallabag/CoreBundle/Resources/views/_global/public/js/autoCompleteTags.js deleted file mode 100755 index 90bc982c..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/autoCompleteTags.js +++ /dev/null @@ -1,47 +0,0 @@ -jQuery(function($) { - - function split( val ) { - return val.split( /,\s*/ ); - } - function extractLast( term ) { - return split( term ).pop(); - } - - - $("#value").bind("keydown", function(event) { - if (event.keyCode === $.ui.keyCode.TAB && $(this).data("ui-autocomplete").menu.active) { - event.preventDefault(); - } - }).autocomplete({ - source : function(request, response) { - $.getJSON("./?view=tags", { - term : extractLast(request.term), - //id: $(':hidden#entry_id').val() - }, response); - }, - search : function() { - // custom minLength - var term = extractLast(this.value); - if (term.length < 1) { - return false; - } - }, - focus : function() { - // prevent value inserted on focus - return false; - }, - select : function(event, ui) { - var terms = split(this.value); - // remove the current input - terms.pop(); - // add the selected item - terms.push(ui.item.value); - // add placeholder to get the comma-and-space at the end - terms.push(""); - this.value = terms.join(", "); - return false; - } - }); - - -}); diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/jquery-2.0.3.min.js b/src/Wallabag/CoreBundle/Resources/views/_global/public/js/jquery-2.0.3.min.js deleted file mode 100644 index a4dd0a2f..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/jquery-2.0.3.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(e,undefined){var t,n,r=typeof undefined,i=e.location,o=e.document,s=o.documentElement,a=e.jQuery,u=e.$,l={},c=[],p="2.0.3",f=c.concat,h=c.push,d=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,x=function(e,n){return new x.fn.init(e,n,t)},b=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^-ms-/,N=/-([\da-z])/gi,E=function(e,t){return t.toUpperCase()},S=function(){o.removeEventListener("DOMContentLoaded",S,!1),e.removeEventListener("load",S,!1),x.ready()};x.fn=x.prototype={jquery:p,constructor:x,init:function(e,t,n){var r,i;if(!e)return this;if("string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:T.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),C.test(r[1])&&x.isPlainObject(t))for(r in t)x.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=o.getElementById(r[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?n.ready(e):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return d.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[1]||{},a=2),"object"==typeof s||x.isFunction(s)||(s={}),u===a&&(s=this,--a);u>a;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],r=e[t],s!==r&&(l&&r&&(x.isPlainObject(r)||(i=x.isArray(r)))?(i?(i=!1,o=n&&x.isArray(n)?n:[]):o=n&&x.isPlainObject(n)?n:{},s[t]=x.extend(l,o,r)):r!==undefined&&(s[t]=r));return s},x.extend({expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=a),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){(e===!0?--x.readyWait:x.isReady)||(x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(o,[x]),x.fn.trigger&&x(o).trigger("ready").off("ready")))},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if("object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}return!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:JSON.parse,parseXML:function(e){var t,n;if(!e||"string"!=typeof e)return null;try{n=new DOMParser,t=n.parseFromString(e,"text/xml")}catch(r){t=undefined}return(!t||t.getElementsByTagName("parsererror").length)&&x.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){var t,n=eval;e=x.trim(e),e&&(1===e.indexOf("use strict")?(t=o.createElement("script"),t.text=e,o.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(k,"ms-").replace(N,E)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,s=j(e);if(n){if(s){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(s){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:function(e){return null==e?"":v.call(e)},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:g.call(t,e,n)},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;n>i;i++)e[r++]=t[i];else while(t[i]!==undefined)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r,i=[],o=0,s=e.length;for(n=!!n;s>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,s=j(e),a=[];if(s)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(a[a.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(a[a.length]=r);return f.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),x.isFunction(e)?(r=d.call(arguments,2),i=function(){return e.apply(t||this,r.concat(d.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):undefined},access:function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===x.type(n)){i=!0;for(a in n)x.access(e,t,a,n[a],!0,o,s)}else if(r!==undefined&&(i=!0,x.isFunction(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;u>a;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o},now:Date.now,swap:function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=s[o];return i}}),x.ready.promise=function(t){return n||(n=x.Deferred(),"complete"===o.readyState?setTimeout(x.ready):(o.addEventListener("DOMContentLoaded",S,!1),e.addEventListener("load",S,!1))),n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function j(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}t=x(o),function(e,undefined){var t,n,r,i,o,s,a,u,l,c,p,f,h,d,g,m,y,v="sizzle"+-new Date,b=e.document,w=0,T=0,C=st(),k=st(),N=st(),E=!1,S=function(e,t){return e===t?(E=!0,0):0},j=typeof undefined,D=1<<31,A={}.hasOwnProperty,L=[],q=L.pop,H=L.push,O=L.push,F=L.slice,P=L.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",W="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",$=W.replace("w","w#"),B="\\["+M+"*("+W+")"+M+"*(?:([*^$|!~]?=)"+M+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+$+")|)|)"+M+"*\\]",I=":("+W+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+B.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=RegExp("^"+M+"*,"+M+"*"),X=RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=RegExp(M+"*[+~]"),Y=RegExp("="+M+"*([^\\]'\"]*)"+M+"*\\]","g"),V=RegExp(I),G=RegExp("^"+$+"$"),J={ID:RegExp("^#("+W+")"),CLASS:RegExp("^\\.("+W+")"),TAG:RegExp("^("+W.replace("w","w*")+")"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:RegExp("^(?:"+R+")$","i"),needsContext:RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/^(?:input|select|textarea|button)$/i,et=/^h\d$/i,tt=/'|\\/g,nt=RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),rt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{O.apply(L=F.call(b.childNodes),b.childNodes),L[b.childNodes.length].nodeType}catch(it){O={apply:L.length?function(e,t){H.apply(e,F.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function ot(e,t,r,i){var o,s,a,u,l,f,g,m,x,w;if((t?t.ownerDocument||t:b)!==p&&c(t),t=t||p,r=r||[],!e||"string"!=typeof e)return r;if(1!==(u=t.nodeType)&&9!==u)return[];if(h&&!i){if(o=K.exec(e))if(a=o[1]){if(9===u){if(s=t.getElementById(a),!s||!s.parentNode)return r;if(s.id===a)return r.push(s),r}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(a))&&y(t,s)&&s.id===a)return r.push(s),r}else{if(o[2])return O.apply(r,t.getElementsByTagName(e)),r;if((a=o[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&(!d||!d.test(e))){if(m=g=v,x=t,w=9===u&&e,1===u&&"object"!==t.nodeName.toLowerCase()){f=gt(e),(g=t.getAttribute("id"))?m=g.replace(tt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",l=f.length;while(l--)f[l]=m+mt(f[l]);x=U.test(e)&&t.parentNode||t,w=f.join(",")}if(w)try{return O.apply(r,x.querySelectorAll(w)),r}catch(T){}finally{g||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,r,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>i.cacheLength&&delete t[e.shift()],t[n]=r}return t}function at(e){return e[v]=!0,e}function ut(e){var t=p.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),r=e.length;while(r--)i.attrHandle[n[r]]=t}function ct(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return at(function(t){return t=+t,at(function(n,r){var i,o=e([],n.length,t),s=o.length;while(s--)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}s=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},n=ot.support={},c=ot.setDocument=function(e){var t=e?e.ownerDocument||e:b,r=t.defaultView;return t!==p&&9===t.nodeType&&t.documentElement?(p=t,f=t.documentElement,h=!s(t),r&&r.attachEvent&&r!==r.top&&r.attachEvent("onbeforeunload",function(){c()}),n.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ut(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=ut(function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),n.getById=ut(function(e){return f.appendChild(e).id=v,!t.getElementsByName||!t.getElementsByName(v).length}),n.getById?(i.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){return e.getAttribute("id")===t}}):(delete i.find.ID,i.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=n.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==j?t.getElementsByTagName(e):undefined}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==j&&h?t.getElementsByClassName(e):undefined},g=[],d=[],(n.qsa=Q.test(t.querySelectorAll))&&(ut(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll(":checked").length||d.push(":checked")}),ut(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&d.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||d.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),d.push(",.*:")})),(n.matchesSelector=Q.test(m=f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ut(function(e){n.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",I)}),d=d.length&&RegExp(d.join("|")),g=g.length&&RegExp(g.join("|")),y=Q.test(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},S=f.compareDocumentPosition?function(e,r){if(e===r)return E=!0,0;var i=r.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(r);return i?1&i||!n.sortDetached&&r.compareDocumentPosition(e)===i?e===t||y(b,e)?-1:r===t||y(b,r)?1:l?P.call(l,e)-P.call(l,r):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var r,i=0,o=e.parentNode,s=n.parentNode,a=[e],u=[n];if(e===n)return E=!0,0;if(!o||!s)return e===t?-1:n===t?1:o?-1:s?1:l?P.call(l,e)-P.call(l,n):0;if(o===s)return ct(e,n);r=e;while(r=r.parentNode)a.unshift(r);r=n;while(r=r.parentNode)u.unshift(r);while(a[i]===u[i])i++;return i?ct(a[i],u[i]):a[i]===b?-1:u[i]===b?1:0},t):p},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Y,"='$1']"),!(!n.matchesSelector||!h||g&&g.test(t)||d&&d.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return ot(t,p,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},ot.attr=function(e,t){(e.ownerDocument||e)!==p&&c(e);var r=i.attrHandle[t.toLowerCase()],o=r&&A.call(i.attrHandle,t.toLowerCase())?r(e,t,!h):undefined;return o===undefined?n.attributes||!h?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null:o},ot.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,r=[],i=0,o=0;if(E=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(S),E){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return e},o=ot.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=ot.selectors={cacheLength:50,createPseudo:at,match:J,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(nt,rt),e[3]=(e[4]||e[5]||"").replace(nt,rt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ot.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return J.CHILD.test(e[0])?null:(e[3]&&e[4]!==undefined?e[2]=e[4]:n&&V.test(n)&&(t=gt(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(nt,rt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,h,d,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,y=a&&t.nodeName.toLowerCase(),x=!u&&!a;if(m){if(o){while(g){p=t;while(p=p[g])if(a?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&x){c=m[v]||(m[v]={}),l=c[e]||[],h=l[0]===w&&l[1],f=l[0]===w&&l[2],p=h&&m.childNodes[h];while(p=++h&&p&&p[g]||(f=h=0)||d.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[w,h,f];break}}else if(x&&(l=(t[v]||(t[v]={}))[e])&&l[0]===w)f=l[1];else while(p=++h&&p&&p[g]||(f=h=0)||d.pop())if((a?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(x&&((p[v]||(p[v]={}))[e]=[w,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return r[v]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var i,o=r(e,t),s=o.length;while(s--)i=P.call(e,o[s]),e[i]=!(n[i]=o[s])}):function(e){return r(e,0,n)}):r}},pseudos:{not:at(function(e){var t=[],n=[],r=a(e.replace(z,"$1"));return r[v]?at(function(e,t,n,i){var o,s=r(e,null,i,[]),a=e.length;while(a--)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:at(function(e){return G.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(nt,rt).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return et.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},i.pseudos.nth=i.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=pt(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=ft(t);function dt(){}dt.prototype=i.filters=i.pseudos,i.setFilters=new dt;function gt(e,t){var n,r,o,s,a,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);a=e,u=[],l=i.preFilter;while(a){(!n||(r=_.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),u.push(o=[])),n=!1,(r=X.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(z," ")}),a=a.slice(n.length));for(s in i.filter)!(r=J[s].exec(a))||l[s]&&!(r=l[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ot.error(e):k(e,u).slice(0)}function mt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function yt(e,t,n){var i=t.dir,o=n&&"parentNode"===i,s=T++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,a){var u,l,c,p=w+" "+s;if(a){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,a))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[v]||(t[v]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,a)||r,l[1]===!0)return!0}}function vt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,s=[],a=0,u=e.length,l=null!=t;for(;u>a;a++)(o=e[a])&&(!n||n(o,r,i))&&(s.push(o),l&&t.push(a));return s}function bt(e,t,n,r,i,o){return r&&!r[v]&&(r=bt(r)),i&&!i[v]&&(i=bt(i,o)),at(function(o,s,a,u){var l,c,p,f=[],h=[],d=s.length,g=o||Ct(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:xt(g,f,e,a,u),y=n?i||(o?e:d||r)?[]:s:m;if(n&&n(m,y,a,u),r){l=xt(y,h),r(l,[],a,u),c=l.length;while(c--)(p=l[c])&&(y[h[c]]=!(m[h[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?P.call(o,p):f[c])>-1&&(o[l]=!(s[l]=p))}}else y=xt(y===s?y.splice(d,y.length):y),i?i(null,s,y,u):O.apply(s,y)})}function wt(e){var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],l=s?1:0,c=yt(function(e){return e===t},a,!0),p=yt(function(e){return P.call(t,e)>-1},a,!0),f=[function(e,n,r){return!s&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>l;l++)if(n=i.relative[e[l].type])f=[yt(vt(f),n)];else{if(n=i.filter[e[l].type].apply(null,e[l].matches),n[v]){for(r=++l;o>r;r++)if(i.relative[e[r].type])break;return bt(l>1&&vt(f),l>1&&mt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&wt(e.slice(l,r)),o>r&&wt(e=e.slice(r)),o>r&&mt(e))}f.push(n)}return vt(f)}function Tt(e,t){var n=0,o=t.length>0,s=e.length>0,a=function(a,l,c,f,h){var d,g,m,y=[],v=0,x="0",b=a&&[],T=null!=h,C=u,k=a||s&&i.find.TAG("*",h&&l.parentNode||l),N=w+=null==C?1:Math.random()||.1;for(T&&(u=l!==p&&l,r=n);null!=(d=k[x]);x++){if(s&&d){g=0;while(m=e[g++])if(m(d,l,c)){f.push(d);break}T&&(w=N,r=++n)}o&&((d=!m&&d)&&v--,a&&b.push(d))}if(v+=x,o&&x!==v){g=0;while(m=t[g++])m(b,y,l,c);if(a){if(v>0)while(x--)b[x]||y[x]||(y[x]=q.call(f));y=xt(y)}O.apply(f,y),T&&!a&&y.length>0&&v+t.length>1&&ot.uniqueSort(f)}return T&&(w=N,u=C),b};return o?at(a):a}a=ot.compile=function(e,t){var n,r=[],i=[],o=N[e+" "];if(!o){t||(t=gt(e)),n=t.length;while(n--)o=wt(t[n]),o[v]?r.push(o):i.push(o);o=N(e,Tt(i,r))}return o};function Ct(e,t,n){var r=0,i=t.length;for(;i>r;r++)ot(e,t[r],n);return n}function kt(e,t,r,o){var s,u,l,c,p,f=gt(e);if(!o&&1===f.length){if(u=f[0]=f[0].slice(0),u.length>2&&"ID"===(l=u[0]).type&&n.getById&&9===t.nodeType&&h&&i.relative[u[1].type]){if(t=(i.find.ID(l.matches[0].replace(nt,rt),t)||[])[0],!t)return r;e=e.slice(u.shift().value.length)}s=J.needsContext.test(e)?0:u.length;while(s--){if(l=u[s],i.relative[c=l.type])break;if((p=i.find[c])&&(o=p(l.matches[0].replace(nt,rt),U.test(u[0].type)&&t.parentNode||t))){if(u.splice(s,1),e=o.length&&mt(u),!e)return O.apply(r,o),r;break}}}return a(e,f)(o,t,!h,r,U.test(e)),r}n.sortStable=v.split("").sort(S).join("")===v,n.detectDuplicates=E,c(),n.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(p.createElement("div"))}),ut(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||lt("type|href|height|width",function(e,t,n){return n?undefined:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ut(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||lt("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?undefined:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||lt(R,function(e,t,n){var r;return n?undefined:(r=e.getAttributeNode(t))&&r.specified?r.value:e[t]===!0?t.toLowerCase():null}),x.find=ot,x.expr=ot.selectors,x.expr[":"]=x.expr.pseudos,x.unique=ot.uniqueSort,x.text=ot.getText,x.isXMLDoc=ot.isXML,x.contains=ot.contains}(e);var D={};function A(e){var t=D[e]={};return x.each(e.match(w)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?D[e]||A(e):x.extend({},e);var t,n,r,i,o,s,a=[],u=!e.once&&[],l=function(p){for(t=e.memory&&p,n=!0,s=i||0,i=0,o=a.length,r=!0;a&&o>s;s++)if(a[s].apply(p[0],p[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,a&&(u?u.length&&l(u.shift()):t?a=[]:c.disable())},c={add:function(){if(a){var n=a.length;(function s(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&c.has(n)||a.push(n):n&&n.length&&"string"!==r&&s(n)})})(arguments),r?o=a.length:t&&(i=n,l(t))}return this},remove:function(){return a&&x.each(arguments,function(e,t){var n;while((n=x.inArray(t,a,n))>-1)a.splice(n,1),r&&(o>=n&&o--,s>=n&&s--)}),this},has:function(e){return e?x.inArray(e,a)>-1:!(!a||!a.length)},empty:function(){return a=[],o=0,this},disable:function(){return a=u=t=undefined,this},disabled:function(){return!a},lock:function(){return u=undefined,t||c.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!a||n&&!u||(t=t||[],t=[e,t.slice?t.slice():t],r?u.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var s=o[0],a=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=d.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),s=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?d.call(arguments):r,n===a?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},a,u,l;if(r>1)for(a=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(s(t,l,n)).fail(o.reject).progress(s(t,u,a)):--i;return i||o.resolveWith(l,n),o.promise()}}),x.support=function(t){var n=o.createElement("input"),r=o.createDocumentFragment(),i=o.createElement("div"),s=o.createElement("select"),a=s.appendChild(o.createElement("option"));return n.type?(n.type="checkbox",t.checkOn=""!==n.value,t.optSelected=a.selected,t.reliableMarginRight=!0,t.boxSizingReliable=!0,t.pixelPosition=!1,n.checked=!0,t.noCloneChecked=n.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!a.disabled,n=o.createElement("input"),n.value="t",n.type="radio",t.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),r.appendChild(n),t.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,t.focusinBubbles="onfocusin"in e,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===i.style.backgroundClip,x(function(){var n,r,s="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box",a=o.getElementsByTagName("body")[0];a&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(i),i.innerHTML="",i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%",x.swap(a,null!=a.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===i.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(i,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(i,null)||{width:"4px"}).width,r=i.appendChild(o.createElement("div")),r.style.cssText=i.style.cssText=s,r.style.marginRight=r.style.width="0",i.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),a.removeChild(n))}),t):t}({});var L,q,H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,O=/([A-Z])/g;function F(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=x.expando+Math.random()}F.uid=1,F.accepts=function(e){return e.nodeType?1===e.nodeType||9===e.nodeType:!0},F.prototype={key:function(e){if(!F.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=F.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,x.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),o=this.cache[i];if("string"==typeof t)o[t]=n;else if(x.isEmptyObject(o))x.extend(this.cache[i],t);else for(r in t)o[r]=t[r];return o},get:function(e,t){var n=this.cache[this.key(e)];return t===undefined?n:n[t]},access:function(e,t,n){var r;return t===undefined||t&&"string"==typeof t&&n===undefined?(r=this.get(e,t),r!==undefined?r:this.get(e,x.camelCase(t))):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r,i,o=this.key(e),s=this.cache[o];if(t===undefined)this.cache[o]={};else{x.isArray(t)?r=t.concat(t.map(x.camelCase)):(i=x.camelCase(t),t in s?r=[t,i]:(r=i,r=r in s?[r]:r.match(w)||[])),n=r.length;while(n--)delete s[r[n]]}},hasData:function(e){return!x.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}},L=new F,q=new F,x.extend({acceptData:F.accepts,hasData:function(e){return L.hasData(e)||q.hasData(e)},data:function(e,t,n){return L.access(e,t,n)},removeData:function(e,t){L.remove(e,t)},_data:function(e,t,n){return q.access(e,t,n)},_removeData:function(e,t){q.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,i=this[0],o=0,s=null;if(e===undefined){if(this.length&&(s=L.get(i),1===i.nodeType&&!q.get(i,"hasDataAttrs"))){for(n=i.attributes;n.length>o;o++)r=n[o].name,0===r.indexOf("data-")&&(r=x.camelCase(r.slice(5)),P(i,r,s[r]));q.set(i,"hasDataAttrs",!0)}return s}return"object"==typeof e?this.each(function(){L.set(this,e)}):x.access(this,function(t){var n,r=x.camelCase(e);if(i&&t===undefined){if(n=L.get(i,e),n!==undefined)return n;if(n=L.get(i,r),n!==undefined)return n;if(n=P(i,r,undefined),n!==undefined)return n}else this.each(function(){var n=L.get(this,r);L.set(this,r,t),-1!==e.indexOf("-")&&n!==undefined&&L.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){L.remove(this,e)})}});function P(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(O,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:H.test(n)?JSON.parse(n):n}catch(i){}L.set(e,t,n)}else n=undefined;return n}x.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=q.get(e,t),n&&(!r||x.isArray(n)?r=q.access(e,t,x.makeArray(n)):r.push(n)),r||[]):undefined},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),s=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return q.get(e,n)||q.access(e,n,{empty:x.Callbacks("once memory").add(function(){q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),n>arguments.length?x.queue(this[0],e):t===undefined?this:this.each(function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=x.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=undefined),e=e||"fx";while(s--)n=q.get(o[s],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var R,M,W=/[\t\r\n\f]/g,$=/\r/g,B=/^(?:input|select|textarea|button)$/i;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})},addClass:function(e){var t,n,r,i,o,s=0,a=this.length,u="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,s=0,a=this.length,u=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,i=0,o=x(this),s=e.match(w)||[];while(t=s[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===r||"boolean"===n)&&(this.className&&q.set(this,"__className__",this.className),this.className=this.className||e===!1?"":q.get(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(W," ").indexOf(t)>=0)return!0;return!1},val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=x.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,x(this).val()):e,null==i?i="":"number"==typeof i?i+="":x.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,i,"value")!==undefined||(this.value=i))});if(i)return t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,"string"==typeof n?n.replace($,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,s=o?null:[],a=o?i+1:r.length,u=0>i?a:o?i:0;for(;a>u;u++)if(n=r[u],!(!n.selected&&u!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),s=i.length;while(s--)r=i[s],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,t,n){var i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===r?x.prop(e,t,n):(1===s&&x.isXMLDoc(e)||(t=t.toLowerCase(),i=x.attrHooks[t]||(x.expr.match.bool.test(t)?M:R)),n===undefined?i&&"get"in i&&null!==(o=i.get(e,t))?o:(o=x.find.attr(e,t),null==o?undefined:o):null!==n?i&&"set"in i&&(o=i.set(e,n,t))!==undefined?o:(e.setAttribute(t,n+""),n):(x.removeAttr(e,t),undefined))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return o=1!==s||!x.isXMLDoc(e),o&&(t=x.propFix[t]||t,i=x.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||B.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),M={set:function(e,t,n){return t===!1?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=x.expr.attrHandle[t]||x.find.attr;x.expr.attrHandle[t]=function(e,t,r){var i=x.expr.attrHandle[t],o=r?undefined:(x.expr.attrHandle[t]=undefined)!=n(e,t,r)?t.toLowerCase():null;return x.expr.attrHandle[t]=i,o}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){return x.isArray(t)?e.checked=x.inArray(x(e).val(),t)>=0:undefined}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var I=/^key/,z=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,X=/^([^.]*)(?:\.(.+)|)$/;function U(){return!0}function Y(){return!1}function V(){try{return o.activeElement}catch(e){}}x.event={global:{},add:function(e,t,n,i,o){var s,a,u,l,c,p,f,h,d,g,m,y=q.get(e);if(y){n.handler&&(s=n,n=s.handler,o=s.selector),n.guid||(n.guid=x.guid++),(l=y.events)||(l=y.events={}),(a=y.handle)||(a=y.handle=function(e){return typeof x===r||e&&x.event.triggered===e.type?undefined:x.event.dispatch.apply(a.elem,arguments)},a.elem=e),t=(t||"").match(w)||[""],c=t.length;while(c--)u=X.exec(t[c])||[],d=m=u[1],g=(u[2]||"").split(".").sort(),d&&(f=x.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=x.event.special[d]||{},p=x.extend({type:d,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:g.join(".")},s),(h=l[d])||(h=l[d]=[],h.delegateCount=0,f.setup&&f.setup.call(e,i,g,a)!==!1||e.addEventListener&&e.addEventListener(d,a,!1)),f.add&&(f.add.call(e,p),p.handler.guid||(p.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,p):h.push(p),x.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,s,a,u,l,c,p,f,h,d,g,m=q.hasData(e)&&q.get(e);if(m&&(u=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(a=X.exec(t[l])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h){p=x.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,f=u[h]||[],a=a[2]&&RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;while(o--)c=f[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&p.teardown.call(e,d,m.handle)!==!1||x.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)x.event.remove(e,h+t[l],n,r,!0);x.isEmptyObject(u)&&(delete m.handle,q.remove(e,"events"))}},trigger:function(t,n,r,i){var s,a,u,l,c,p,f,h=[r||o],d=y.call(t,"type")?t.type:t,g=y.call(t,"namespace")?t.namespace.split("."):[];if(a=u=r=r||o,3!==r.nodeType&&8!==r.nodeType&&!_.test(d+x.event.triggered)&&(d.indexOf(".")>=0&&(g=d.split("."),d=g.shift(),g.sort()),c=0>d.indexOf(":")&&"on"+d,t=t[x.expando]?t:new x.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.namespace_re=t.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=null==n?[t]:x.makeArray(n,[t]),f=x.event.special[d]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!x.isWindow(r)){for(l=f.delegateType||d,_.test(l+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),u=a;u===(r.ownerDocument||o)&&h.push(u.defaultView||u.parentWindow||e)}s=0;while((a=h[s++])&&!t.isPropagationStopped())t.type=s>1?l:f.bindType||d,p=(q.get(a,"events")||{})[t.type]&&q.get(a,"handle"),p&&p.apply(a,n),p=c&&a[c],p&&x.acceptData(a)&&p.apply&&p.apply(a,n)===!1&&t.preventDefault();return t.type=d,i||t.isDefaultPrevented()||f._default&&f._default.apply(h.pop(),n)!==!1||!x.acceptData(r)||c&&x.isFunction(r[d])&&!x.isWindow(r)&&(u=r[c],u&&(r[c]=null),x.event.triggered=d,r[d](),x.event.triggered=undefined,u&&(r[c]=u)),t.result}},dispatch:function(e){e=x.event.fix(e);var t,n,r,i,o,s=[],a=d.call(arguments),u=(q.get(this,"events")||{})[e.type]||[],l=x.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),t=0;while((i=s[t++])&&!e.isPropagationStopped()){e.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,r=((x.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a),r!==undefined&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==e.type){for(r=[],n=0;a>n;n++)o=t[n],i=o.selector+" ",r[i]===undefined&&(r[i]=o.needsContext?x(i,this).index(u)>=0:x.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return t.length>a&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,s=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||o,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||s===undefined||(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,s=e,a=this.fixHooks[i];a||(this.fixHooks[i]=a=z.test(i)?this.mouseHooks:I.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new x.Event(s),t=r.length;while(t--)n=r[t],e[n]=s[n];return e.target||(e.target=o),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,s):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==V()&&this.focus?(this.focus(),!1):undefined},delegateType:"focusin"},blur:{trigger:function(){return this===V()&&this.blur?(this.blur(),!1):undefined},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&x.nodeName(this,"input")?(this.click(),!1):undefined},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},x.Event=function(e,t){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.getPreventDefault&&e.getPreventDefault()?U:Y):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,undefined):new x.Event(e,t)},x.Event.prototype={isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=U,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=U,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=U,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,t,n,r,i){var o,s;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=undefined);for(s in e)this.on(s,t,n,e[s],i);return this}if(null==n&&null==r?(r=t,n=t=undefined):null==r&&("string"==typeof t?(r=n,n=undefined):(r=n,n=t,t=undefined)),r===!1)r=Y;else if(!r)return this;return 1===i&&(o=r,r=function(e){return x().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=x.guid++)),this.each(function(){x.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=undefined),n===!1&&(n=Y),this.each(function(){x.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?x.event.trigger(e,t,n,!0):undefined}});var G=/^.[^:#\[\.,]*$/,J=/^(?:parents|prev(?:Until|All))/,Q=x.expr.match.needsContext,K={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){var e=0;for(;n>e;e++)if(x.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(et(this,e||[],!0))},filter:function(e){return this.pushStack(et(this,e||[],!1))},is:function(e){return!!et(this,"string"==typeof e&&Q.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],s=Q.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(s?s.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?g.call(x(e),this[0]):g.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function Z(e,t){while((e=e[t])&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return Z(e,"nextSibling")},prev:function(e){return Z(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return e.contentDocument||x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(K[e]||x.unique(i),J.test(e)&&i.reverse()),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,t,n){var r=[],i=n!==undefined;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function et(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(G.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return g.call(t,e)>=0!==n})}var tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,nt=/<([\w:]+)/,rt=/<|&#?\w+;/,it=/<(?:script|style|link)/i,ot=/^(?:checkbox|radio)$/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^$|\/(?:java|ecma)script/i,ut=/^true\/(.*)/,lt=/^\s*\s*$/g,ct={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ct.optgroup=ct.option,ct.tbody=ct.tfoot=ct.colgroup=ct.caption=ct.thead,ct.th=ct.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===undefined?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(mt(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&dt(mt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(mt(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!it.test(e)&&!ct[(nt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(tt,"<$1>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(x.cleanData(mt(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=f.apply([],e);var r,i,o,s,a,u,l=0,c=this.length,p=this,h=c-1,d=e[0],g=x.isFunction(d);if(g||!(1>=c||"string"!=typeof d||x.support.checkClone)&&st.test(d))return this.each(function(r){var i=p.eq(r);g&&(e[0]=d.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(r=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=r.firstChild,1===r.childNodes.length&&(r=i),i)){for(o=x.map(mt(r,"script"),ft),s=o.length;c>l;l++)a=r,l!==h&&(a=x.clone(a,!0,!0),s&&x.merge(o,mt(a,"script"))),t.call(this[l],a,l);if(s)for(u=o[o.length-1].ownerDocument,x.map(o,ht),l=0;s>l;l++)a=o[l],at.test(a.type||"")&&!q.access(a,"globalEval")&&x.contains(u,a)&&(a.src?x._evalUrl(a.src):x.globalEval(a.textContent.replace(lt,"")))}return this}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=[],i=x(e),o=i.length-1,s=0;for(;o>=s;s++)n=s===o?this:this.clone(!0),x(i[s])[t](n),h.apply(r,n.get());return this.pushStack(r)}}),x.extend({clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=x.contains(e.ownerDocument,e);if(!(x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(s=mt(a),o=mt(e),r=0,i=o.length;i>r;r++)yt(o[r],s[r]);if(t)if(n)for(o=o||mt(e),s=s||mt(a),r=0,i=o.length;i>r;r++)gt(o[r],s[r]);else gt(e,a);return s=mt(a,"script"),s.length>0&&dt(s,!u&&mt(e,"script")),a},buildFragment:function(e,t,n,r){var i,o,s,a,u,l,c=0,p=e.length,f=t.createDocumentFragment(),h=[];for(;p>c;c++)if(i=e[c],i||0===i)if("object"===x.type(i))x.merge(h,i.nodeType?[i]:i);else if(rt.test(i)){o=o||f.appendChild(t.createElement("div")),s=(nt.exec(i)||["",""])[1].toLowerCase(),a=ct[s]||ct._default,o.innerHTML=a[1]+i.replace(tt,"<$1>")+a[2],l=a[0];while(l--)o=o.lastChild;x.merge(h,o.childNodes),o=f.firstChild,o.textContent=""}else h.push(t.createTextNode(i));f.textContent="",c=0;while(i=h[c++])if((!r||-1===x.inArray(i,r))&&(u=x.contains(i.ownerDocument,i),o=mt(f.appendChild(i),"script"),u&&dt(o),n)){l=0;while(i=o[l++])at.test(i.type||"")&&n.push(i)}return f},cleanData:function(e){var t,n,r,i,o,s,a=x.event.special,u=0;for(;(n=e[u])!==undefined;u++){if(F.accepts(n)&&(o=n[q.expando],o&&(t=q.cache[o]))){if(r=Object.keys(t.events||{}),r.length)for(s=0;(i=r[s])!==undefined;s++)a[i]?x.event.remove(n,i):x.removeEvent(n,i,t.handle);q.cache[o]&&delete q.cache[o]}delete L.cache[n[L.expando]]}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}});function pt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ft(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ht(e){var t=ut.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function dt(e,t){var n=e.length,r=0;for(;n>r;r++)q.set(e[r],"globalEval",!t||q.get(t[r],"globalEval"))}function gt(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(q.hasData(e)&&(o=q.access(e),s=q.set(t,o),l=o.events)){delete s.handle,s.events={};for(i in l)for(n=0,r=l[i].length;r>n;n++)x.event.add(t,i,l[i][n])}L.hasData(e)&&(a=L.access(e),u=x.extend({},a),L.set(t,u))}}function mt(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return t===undefined||t&&x.nodeName(e,t)?x.merge([e],n):n}function yt(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ot.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}x.fn.extend({wrapAll:function(e){var t;return x.isFunction(e)?this.each(function(t){x(this).wrapAll(e.call(this,t))}):(this[0]&&(t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var vt,xt,bt=/^(none|table(?!-c[ea]).+)/,wt=/^margin/,Tt=RegExp("^("+b+")(.*)$","i"),Ct=RegExp("^("+b+")(?!px)[a-z%]+$","i"),kt=RegExp("^([+-])=("+b+")","i"),Nt={BODY:"block"},Et={position:"absolute",visibility:"hidden",display:"block"},St={letterSpacing:0,fontWeight:400},jt=["Top","Right","Bottom","Left"],Dt=["Webkit","O","Moz","ms"];function At(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Dt.length;while(i--)if(t=Dt[i]+n,t in e)return t;return r}function Lt(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function qt(t){return e.getComputedStyle(t,null)}function Ht(e,t){var n,r,i,o=[],s=0,a=e.length;for(;a>s;s++)r=e[s],r.style&&(o[s]=q.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Lt(r)&&(o[s]=q.access(r,"olddisplay",Rt(r.nodeName)))):o[s]||(i=Lt(r),(n&&"none"!==n||!i)&&q.set(r,"olddisplay",i?n:x.css(r,"display"))));for(s=0;a>s;s++)r=e[s],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}x.fn.extend({css:function(e,t){return x.access(this,function(e,t,n){var r,i,o={},s=0;if(x.isArray(t)){for(r=qt(e),i=t.length;i>s;s++)o[t[s]]=x.css(e,t[s],!1,r);return o}return n!==undefined?x.style(e,t,n):x.css(e,t)},e,t,arguments.length>1)},show:function(){return Ht(this,!0)},hide:function(){return Ht(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Lt(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=x.camelCase(t),u=e.style;return t=x.cssProps[a]||(x.cssProps[a]=At(u,a)),s=x.cssHooks[t]||x.cssHooks[a],n===undefined?s&&"get"in s&&(i=s.get(e,!1,r))!==undefined?i:u[t]:(o=typeof n,"string"===o&&(i=kt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(x.css(e,t)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||x.cssNumber[a]||(n+="px"),x.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&(n=s.set(e,n,r))===undefined||(u[t]=n)),undefined)}},css:function(e,t,n,r){var i,o,s,a=x.camelCase(t);return t=x.cssProps[a]||(x.cssProps[a]=At(e.style,a)),s=x.cssHooks[t]||x.cssHooks[a],s&&"get"in s&&(i=s.get(e,!0,n)),i===undefined&&(i=vt(e,t,r)),"normal"===i&&t in St&&(i=St[t]),""===n||n?(o=parseFloat(i),n===!0||x.isNumeric(o)?o||0:i):i}}),vt=function(e,t,n){var r,i,o,s=n||qt(e),a=s?s.getPropertyValue(t)||s[t]:undefined,u=e.style;return s&&(""!==a||x.contains(e.ownerDocument,e)||(a=x.style(e,t)),Ct.test(a)&&wt.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=s.width,u.width=r,u.minWidth=i,u.maxWidth=o)),a};function Ot(e,t,n){var r=Tt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Ft(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;for(;4>o;o+=2)"margin"===n&&(s+=x.css(e,n+jt[o],!0,i)),r?("content"===n&&(s-=x.css(e,"padding"+jt[o],!0,i)),"margin"!==n&&(s-=x.css(e,"border"+jt[o]+"Width",!0,i))):(s+=x.css(e,"padding"+jt[o],!0,i),"padding"!==n&&(s+=x.css(e,"border"+jt[o]+"Width",!0,i)));return s}function Pt(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=qt(e),s=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=vt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Ct.test(i))return i;r=s&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+Ft(e,t,n||(s?"border":"content"),r,o)+"px"}function Rt(e){var t=o,n=Nt[e];return n||(n=Mt(e,t),"none"!==n&&n||(xt=(xt||x("