diff options
Diffstat (limited to 'src/Wallabag')
237 files changed, 280 insertions, 2567 deletions
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; | |||
7 | use Symfony\Component\HttpFoundation\Request; | 7 | use Symfony\Component\HttpFoundation\Request; |
8 | use Wallabag\CoreBundle\Entity\Config; | 8 | use Wallabag\CoreBundle\Entity\Config; |
9 | use Wallabag\CoreBundle\Entity\User; | 9 | use Wallabag\CoreBundle\Entity\User; |
10 | use Wallabag\CoreBundle\Form\Type\ConfigType; | ||
11 | use Wallabag\CoreBundle\Form\Type\ChangePasswordType; | 10 | use Wallabag\CoreBundle\Form\Type\ChangePasswordType; |
12 | use Wallabag\CoreBundle\Form\Type\UserType; | 11 | use Wallabag\CoreBundle\Form\Type\UserType; |
13 | use Wallabag\CoreBundle\Form\Type\NewUserType; | 12 | use Wallabag\CoreBundle\Form\Type\NewUserType; |
@@ -25,14 +24,18 @@ class ConfigController extends Controller | |||
25 | $config = $this->getConfig(); | 24 | $config = $this->getConfig(); |
26 | $user = $this->getUser(); | 25 | $user = $this->getUser(); |
27 | 26 | ||
28 | // handle basic config detail | 27 | // handle basic config detail (this form is defined as a service) |
29 | $configForm = $this->createForm(new ConfigType(), $config); | 28 | $configForm = $this->createForm('config', $config); |
30 | $configForm->handleRequest($request); | 29 | $configForm->handleRequest($request); |
31 | 30 | ||
32 | if ($configForm->isValid()) { | 31 | if ($configForm->isValid()) { |
33 | $em->persist($config); | 32 | $em->persist($config); |
34 | $em->flush(); | 33 | $em->flush(); |
35 | 34 | ||
35 | // switch active theme | ||
36 | $activeTheme = $this->get('liip_theme.active_theme'); | ||
37 | $activeTheme->setName($config->getTheme()); | ||
38 | |||
36 | $this->get('session')->getFlashBag()->add( | 39 | $this->get('session')->getFlashBag()->add( |
37 | 'notice', | 40 | 'notice', |
38 | 'Config saved' | 41 | '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 | |||
48 | private $language; | 48 | private $language; |
49 | 49 | ||
50 | /** | 50 | /** |
51 | * @ORM\ManyToOne(targetEntity="User", inversedBy="config") | 51 | * @ORM\OneToOne(targetEntity="User", inversedBy="config") |
52 | */ | 52 | */ |
53 | private $user; | 53 | private $user; |
54 | 54 | ||
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 | |||
92 | */ | 92 | */ |
93 | private $entries; | 93 | private $entries; |
94 | 94 | ||
95 | /** | ||
96 | * @ORM\OneToOne(targetEntity="Config", mappedBy="user") | ||
97 | */ | ||
98 | private $config; | ||
99 | |||
95 | public function __construct() | 100 | public function __construct() |
96 | { | 101 | { |
97 | $this->salt = md5(uniqid(null, true)); | 102 | $this->salt = md5(uniqid(null, true)); |
@@ -320,4 +325,26 @@ class User implements AdvancedUserInterface, \Serializable | |||
320 | { | 325 | { |
321 | return $this->isActive; | 326 | return $this->isActive; |
322 | } | 327 | } |
328 | /** | ||
329 | * Set config | ||
330 | * | ||
331 | * @param \Wallabag\CoreBundle\Entity\Config $config | ||
332 | * @return User | ||
333 | */ | ||
334 | public function setConfig(\Wallabag\CoreBundle\Entity\Config $config = null) | ||
335 | { | ||
336 | $this->config = $config; | ||
337 | |||
338 | return $this; | ||
339 | } | ||
340 | |||
341 | /** | ||
342 | * Get config | ||
343 | * | ||
344 | * @return \Wallabag\CoreBundle\Entity\Config | ||
345 | */ | ||
346 | public function getConfig() | ||
347 | { | ||
348 | return $this->config; | ||
349 | } | ||
323 | } | 350 | } |
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; | |||
7 | 7 | ||
8 | class ConfigType extends AbstractType | 8 | class ConfigType extends AbstractType |
9 | { | 9 | { |
10 | private $themes = array(); | ||
11 | |||
12 | /** | ||
13 | * @param array $themes Themes come from the LiipThemeBundle (liip_theme.themes) | ||
14 | */ | ||
15 | public function __construct($themes) | ||
16 | { | ||
17 | $this->themes = array_combine( | ||
18 | $themes, | ||
19 | array_map(function ($s) { return ucwords(strtolower(str_replace('-', ' ', $s))); }, $themes) | ||
20 | ); | ||
21 | } | ||
22 | |||
10 | public function buildForm(FormBuilderInterface $builder, array $options) | 23 | public function buildForm(FormBuilderInterface $builder, array $options) |
11 | { | 24 | { |
12 | $builder | 25 | $builder |
13 | ->add('theme', 'choice', array( | 26 | ->add('theme', 'choice', array('choices' => $this->themes)) |
14 | 'choices' => array( | ||
15 | 'baggy' => 'Baggy', | ||
16 | 'courgette' => 'Courgette', | ||
17 | 'dark' => 'Dark', | ||
18 | 'default' => 'Default', | ||
19 | 'dmagenta' => 'Dmagenta', | ||
20 | 'solarized' => 'Solarized', | ||
21 | 'solarized_dark' => 'Solarized Dark', | ||
22 | ), | ||
23 | )) | ||
24 | ->add('items_per_page', 'text') | 27 | ->add('items_per_page', 'text') |
25 | ->add('language') | 28 | ->add('language') |
26 | ->add('save', 'submit') | 29 | ->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 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Helper; | ||
4 | |||
5 | use Liip\ThemeBundle\Helper\DeviceDetectionInterface; | ||
6 | use Symfony\Component\Security\Core\SecurityContextInterface; | ||
7 | use Wallabag\CoreBundle\Entity\User; | ||
8 | |||
9 | /** | ||
10 | * This class intend to detect the active theme for the logged in user. | ||
11 | * It will retrieve the configured theme of the user. | ||
12 | * | ||
13 | * If no user where logged in, it will returne the default theme | ||
14 | */ | ||
15 | class DetectActiveTheme implements DeviceDetectionInterface | ||
16 | { | ||
17 | protected $securityContext; | ||
18 | protected $defaultTheme; | ||
19 | |||
20 | /** | ||
21 | * @param SecurityContextInterface $securityContext Needed to retrieve the current user | ||
22 | * @param string $defaultTheme Default theme when user isn't logged in | ||
23 | */ | ||
24 | public function __construct(SecurityContextInterface $securityContext, $defaultTheme) | ||
25 | { | ||
26 | $this->securityContext = $securityContext; | ||
27 | $this->defaultTheme = $defaultTheme; | ||
28 | } | ||
29 | |||
30 | public function setUserAgent($userAgent) | ||
31 | { | ||
32 | } | ||
33 | |||
34 | /** | ||
35 | * This should return the active theme for the logged in user. | ||
36 | * | ||
37 | * Default theme for: | ||
38 | * - anonymous user | ||
39 | * - user without a config (shouldn't happen ..) | ||
40 | * | ||
41 | * @return string | ||
42 | */ | ||
43 | public function getType() | ||
44 | { | ||
45 | $user = $this->securityContext->getToken()->getUser(); | ||
46 | |||
47 | if (!$user instanceof User) { | ||
48 | return $this->defaultTheme; | ||
49 | } | ||
50 | |||
51 | $config = $user->getConfig(); | ||
52 | |||
53 | if (!$config) { | ||
54 | return $this->defaultTheme; | ||
55 | } | ||
56 | |||
57 | return $config->getTheme(); | ||
58 | } | ||
59 | } | ||
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 @@ | |||
1 | services: | 1 | services: |
2 | wallabag_core.twig.wallabag: | 2 | wallabag_core.twig.extension: |
3 | class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension | 3 | class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension |
4 | tags: | 4 | tags: |
5 | - { name: twig.extension } | 5 | - { name: twig.extension } |
6 | |||
6 | wsse.security.authentication.provider: | 7 | wsse.security.authentication.provider: |
7 | class: Wallabag\CoreBundle\Security\Authentication\Provider\WsseProvider | 8 | class: Wallabag\CoreBundle\Security\Authentication\Provider\WsseProvider |
8 | public: false | 9 | public: false |
9 | arguments: ['', '%kernel.cache_dir%/security/nonces'] | 10 | arguments: ['', '%kernel.cache_dir%/security/nonces'] |
11 | |||
10 | wsse.security.authentication.listener: | 12 | wsse.security.authentication.listener: |
11 | class: Wallabag\CoreBundle\Security\Firewall\WsseListener | 13 | class: Wallabag\CoreBundle\Security\Firewall\WsseListener |
12 | public: false | 14 | public: false |
13 | tags: | 15 | tags: |
14 | - { name: monolog.logger, channel: wsse } | 16 | - { name: monolog.logger, channel: wsse } |
15 | arguments: ['@security.context', '@security.authentication.manager', '@logger'] | 17 | arguments: ['@security.context', '@security.authentication.manager', '@logger'] |
18 | |||
19 | wallabag_core.helper.detect_active_theme: | ||
20 | class: Wallabag\CoreBundle\Helper\DetectActiveTheme | ||
21 | arguments: | ||
22 | - @security.context | ||
23 | - %theme% # default theme from parameters.yml | ||
24 | |||
25 | wallabag_core.form.type.config: | ||
26 | class: Wallabag\CoreBundle\Form\Type\ConfigType | ||
27 | arguments: | ||
28 | - %liip_theme.themes% | ||
29 | tags: | ||
30 | - { 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 @@ | |||
2 | 2 | ||
3 | {% block title %}{% trans %}Config{% endtrans %}{% endblock %} | 3 | {% block title %}{% trans %}Config{% endtrans %}{% endblock %} |
4 | 4 | ||
5 | {% block menu %} | ||
6 | {% include "WallabagCoreBundle::_menu.html.twig" %} | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block content %} | 5 | {% block content %} |
10 | <h2>{% trans %}Wallabag configuration{% endtrans %}</h2> | 6 | <h2>{% trans %}Wallabag configuration{% endtrans %}</h2> |
11 | 7 | ||
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 @@ | |||
2 | 2 | ||
3 | {% block title "Unread" %} | 3 | {% block title "Unread" %} |
4 | 4 | ||
5 | {% block menu %} | ||
6 | {% include "WallabagCoreBundle::_menu.html.twig" %} | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block content %} | 5 | {% block content %} |
10 | {% block pager %} | 6 | {% block pager %} |
11 | {% if entries is not empty %} | 7 | {% 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 @@ | |||
2 | 2 | ||
3 | {% block title %}{{ entry.title|raw }} ({{ entry.url | e | domainName }}){% endblock %} | 3 | {% block title %}{{ entry.title|raw }} ({{ entry.url | e | domainName }}){% endblock %} |
4 | 4 | ||
5 | {% block menu %} | ||
6 | {% include "WallabagCoreBundle::_menu.html.twig" %} | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block content %} | 5 | {% block content %} |
10 | <div id="article_toolbar"> | 6 | <div id="article_toolbar"> |
11 | <ul class="links"> | 7 | <ul class="links"> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/new.html.twig index b6de7d23..b11512a4 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/new.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/new.html.twig | |||
@@ -2,10 +2,6 @@ | |||
2 | 2 | ||
3 | {% block title %}{% trans %}Save new entry{% endtrans %}{% endblock %} | 3 | {% block title %}{% trans %}Save new entry{% endtrans %}{% endblock %} |
4 | 4 | ||
5 | {% block menu %} | ||
6 | {% include "WallabagCoreBundle::_menu.html.twig" %} | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block content %} | 5 | {% block content %} |
10 | {{ form(form) }} | 6 | {{ form(form) }} |
11 | {% endblock %} | 7 | {% endblock %} |
diff --git a/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig b/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig index 2437e3b0..eb8f08c8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig | |||
@@ -1,6 +1,11 @@ | |||
1 | {% extends "WallabagCoreBundle::layout-login.html.twig" %} | 1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | 2 | ||
3 | {% block title %}{% trans %}login to your wallabag{% endtrans %}{% endblock %} | 3 | {% block title %}{% trans %}login to your wallabag{% endtrans %}{% endblock %} |
4 | |||
5 | {% block body_class %}login{% endblock %} | ||
6 | |||
7 | {% block menu %}{% endblock %} | ||
8 | |||
4 | {% block content %} | 9 | {% block content %} |
5 | {% if error %} | 10 | {% if error %} |
6 | <div>{{ error.message }}</div> | 11 | <div>{{ error.message }}</div> |
@@ -19,11 +24,7 @@ | |||
19 | <label class="col w150p" for="password">{% trans %}Password{% endtrans %}</label> | 24 | <label class="col w150p" for="password">{% trans %}Password{% endtrans %}</label> |
20 | <input type="password" id="password" name="_password" /> | 25 | <input type="password" id="password" name="_password" /> |
21 | </div> | 26 | </div> |
22 | {# | 27 | |
23 | Si vous voulez contrôler l'URL vers laquelle l'utilisateur est redirigé en cas de succès | ||
24 | (plus de détails ci-dessous) | ||
25 | <input type="hidden" name="_target_path" value="/account" /> | ||
26 | #} | ||
27 | <div class="row mts txtcenter"> | 28 | <div class="row mts txtcenter"> |
28 | <button type="submit">login</button> | 29 | <button type="submit">login</button> |
29 | </div> | 30 | </div> |
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 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | 1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | 2 | ||
3 | {% block title %}{% trans %}About{% endtrans %}{% endblock %} | 3 | {% block title %}{% trans %}About{% endtrans %}{% endblock %} |
4 | {% block menu %} | 4 | |
5 | {% include "WallabagCoreBundle::_menu.html.twig" %} | ||
6 | {% endblock %} | ||
7 | {% block content %} | 5 | {% block content %} |
8 | <h2>{% trans %}About wallabag{% endtrans %}</h2> | 6 | <h2>{% trans %}About wallabag{% endtrans %}</h2> |
9 | 7 | ||
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 @@ | |||
1 | <footer class="w600p center mt3 mb3 smaller txtright"> | ||
2 | <p>{% trans %}powered by{% endtrans %} <a href="http://wallabag.org">wallabag</a></p> | ||
3 | </footer> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_head.html.twig b/src/Wallabag/CoreBundle/Resources/views/_head.html.twig deleted file mode 100755 index 3bdbe812..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_head.html.twig +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-152.png') }}" sizes="152x152"> | ||
2 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-152.png') }}" sizes="152x152"> | ||
3 | |||
4 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-144.png') }}" sizes="144x144"> | ||
5 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-144.png') }}" sizes="144x144"> | ||
6 | |||
7 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-120.png') }}" sizes="120x120"> | ||
8 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-120.png') }}" sizes="120x120"> | ||
9 | |||
10 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-114.png') }}" sizes="114x114"> | ||
11 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-114.png') }}" sizes="114x114"> | ||
12 | |||
13 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-76.png') }}" sizes="76x76"> | ||
14 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-76.png') }}" sizes="76x76"> | ||
15 | |||
16 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-72.png') }}" sizes="72x72"> | ||
17 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-72.png') }}" sizes="72x72"> | ||
18 | |||
19 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-57.png') }}" sizes="57x57"> | ||
20 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-57.png') }}" sizes="57x57"> | ||
21 | |||
22 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon.png') }}"> | ||
23 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon.png') }}"> | ||
24 | |||
25 | <link rel="shortcut icon" type="image/x-icon" href="{{ asset('themes/_global/img/appicon/favicon.ico') }}"> | ||
26 | |||
27 | <link rel="stylesheet" href="{{ asset('themes/baggy/css/ratatouille.css') }}" media="all"> | ||
28 | <link rel="stylesheet" href="{{ asset('themes/baggy/css/font.css') }}" media="all"> | ||
29 | <link rel="stylesheet" href="{{ asset('themes/baggy/css/main.css') }}" media="all"> | ||
30 | <link rel="stylesheet" href="{{ asset('themes/baggy/css/messages.css') }}" media="all"> | ||
31 | <link rel="stylesheet" href="{{ asset('themes/baggy/css/print.css') }}" media="print"> | ||
32 | |||
33 | <script src="{{ asset('themes/_global/js/jquery-2.0.3.min.js') }}"></script> | ||
34 | <script src="{{ asset('themes/_global/js/autoClose.js') }}"></script> | ||
35 | <script src="{{ asset('themes/baggy/js/jquery.cookie.js') }}"></script> | ||
36 | <script src="{{ asset('themes/baggy/js/init.js') }}"></script> | ||
37 | <script src="{{ asset('themes/_global/js/saveLink.js') }}"></script> | ||
38 | <script src="{{ asset('themes/_global/js/popupForm.js') }}"></script> | ||
39 | <script src="{{ asset('themes/baggy/js/closeMessage.js') }}"></script> | ||
40 | <script src="{{ asset('bundles/wallabagcore/js/bookmarklet.js') }}"></script> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_menu.html.twig b/src/Wallabag/CoreBundle/Resources/views/_menu.html.twig deleted file mode 100644 index 9a3cf053..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_menu.html.twig +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | <button id="menu" class="icon icon-menu desktopHide"><span>Menu</span></button> | ||
2 | <ul id="links" class="links"> | ||
3 | <li><a href="{{ path('unread') }}">{% trans %}unread{% endtrans %}</a></li> | ||
4 | <li><a href="{{ path('starred') }}">{% trans %}favorites{% endtrans %}</a></li> | ||
5 | <li><a href="{{ path('archive') }}"}>{% trans %}archive{% endtrans %}</a></li> | ||
6 | <li><a href="?view=tags">{% trans %}tags{% endtrans %}</a></li> | ||
7 | <li><a href="{{ path('new_entry') }}">{% trans %}save a link{% endtrans %}</a></li> | ||
8 | <li style="position: relative;"><a href="javascript: void(null);" id="search">{% trans %}search{% endtrans %}</a> | ||
9 | {% include "WallabagCoreBundle::_search_form.html.twig" %} | ||
10 | </li> | ||
11 | <li><a href="{{ path('config') }}">{% trans %}config{% endtrans %}</a></li> | ||
12 | <li><a href="{{ path('about') }}">{% trans %}about{% endtrans %}</a></li> | ||
13 | <li><a class="icon icon-power" href="{{ path('logout') }}" title="{% trans %}logout{% endtrans %}">{% trans %}logout{% endtrans %}</a></li> | ||
14 | </ul> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_messages.html.twig b/src/Wallabag/CoreBundle/Resources/views/_messages.html.twig deleted file mode 100644 index e69de29b..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_messages.html.twig +++ /dev/null | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_save_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/_save_form.html.twig deleted file mode 100755 index acaa5dbc..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_save_form.html.twig +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | <div id="bagit-form" class="messages info popup-form"> | ||
2 | <form method="get" action="index.php" target="_blank" id="bagit-form-form"> | ||
3 | <h2>{% trans %}Save a link{% endtrans %}</h2> | ||
4 | <a href="javascript: void(null);" id="bagit-form-close" class="close-button--popup close-button">×</a> | ||
5 | <input type="hidden" name="autoclose" value="1" /> | ||
6 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | ||
7 | <span id="add-link-result"></span> | ||
8 | <input type="submit" value="{% trans %}save link!"{% endtrans %} /> | ||
9 | </form> | ||
10 | </div> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_search_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/_search_form.html.twig deleted file mode 100644 index 1e6f327d..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_search_form.html.twig +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | <div id="search-form" class="messages info popup-form"> | ||
2 | <form method="get" action="index.php"> | ||
3 | <h2>{% trans %}Search{% endtrans %}</h2> | ||
4 | <a href="javascript: void(null);" id="search-form-close" class="close-button--popup close-button">×</a> | ||
5 | <input type="hidden" name="view" value="search"></input> | ||
6 | <input required placeholder="{% trans %}Enter your search here{% endtrans %}" type="text" name="search" id="searchfield"><br> | ||
7 | <input id="submit-search" type="submit" value="{% trans %}Search{% endtrans %}"></input> | ||
8 | </form> | ||
9 | </div> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_top.html.twig b/src/Wallabag/CoreBundle/Resources/views/_top.html.twig deleted file mode 100755 index 9313071d..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/_top.html.twig +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | <header class="w600p center mbm"> | ||
2 | <h1> | ||
3 | {% block logo %}<img width="100" height="100" src="{{ asset('themes/baggy/img/logo-w.png') }}" alt="wallabag logo" />{% endblock %} | ||
4 | </h1> | ||
5 | </header> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/_display-mode.twig b/src/Wallabag/CoreBundle/Resources/views/baggy/_display-mode.twig deleted file mode 100755 index 382dd5f1..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/_display-mode.twig +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | <div id="display-mode"> | ||
2 | <a href="javascript: void(null);" id="listmode" class="listmode"> | ||
3 | <img src="{{ poche_url }}themes/{{ theme }}/img/{{ theme }}/blank.png" alt="{% trans "toggle view mode" %}" title="{% trans "toggle view mode" %}" width="16" height="16"> | ||
4 | </a> | ||
5 | </div> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/config.twig b/src/Wallabag/CoreBundle/Resources/views/baggy/config.twig deleted file mode 100755 index c5c07d49..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/config.twig +++ /dev/null | |||
@@ -1,187 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | |||
3 | {% block title %}{% trans "config" %}{% endblock %} | ||
4 | {% block menu %} | ||
5 | {% include '_menu.twig' %} | ||
6 | {% endblock %} | ||
7 | {% block content %} | ||
8 | <h2>{% trans "Saving articles" %}</h2> | ||
9 | <p>{% trans "There are several ways to save an article:" %} {% trans "(<a href=\"http://doc.wallabag.org/en/User_documentation/Save_your_first_article\" target=\"_blank\" title=\"Documentation\">?</a>)" %}</p> | ||
10 | <p> | ||
11 | <form method="get" action="index.php"> | ||
12 | <label class="addurl" for="config_plainurl">{% trans "By filling this field" %}:</label><br> | ||
13 | <input required placeholder="example.com/article" class="addurl" id="config_plainurl" name="plainurl" type="url" /> | ||
14 | <input type="submit" value="{% trans "bag it!" %}" /> | ||
15 | </form> | ||
16 | </p> | ||
17 | <h3>Browser Plugins</h3> | ||
18 | <ul> | ||
19 | <li><a href="https://addons.mozilla.org/firefox/addon/wallabag/" target="_blank">{% trans "Firefox Add-On" %}</a></li> | ||
20 | <li><a href="https://chrome.google.com/webstore/detail/wallabag/bepdcjnnkglfjehplaogpoonpffbdcdj" target="_blank">{% trans "Chrome Extension" %}</a></li> | ||
21 | </ul> | ||
22 | <h3>Mobile Apps</h3> | ||
23 | <ul> | ||
24 | <li>Android: <a href="https://f-droid.org/app/fr.gaulupeau.apps.InThePoche" target="_blank">{% trans "via F-Droid" %}</a> {% trans " or " %} <a href="https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche" target="_blank">{% trans "via Google Play" %}</a></li> | ||
25 | <li>iOS: <a href="https://itunes.apple.com/app/wallabag/id828331015?mt=8" target="_blank">{% trans "download the application" %}</a></li> | ||
26 | <li>Windows Phone: <a href="http://www.windowsphone.com/en-us/store/app/wallabag/ff890514-348c-4d0b-9b43-153fff3f7450" target="_blank">{% trans "download the application" %}</a></li> | ||
27 | </ul> | ||
28 | <h3>{% trans "Bookmarklet" %}</h3> | ||
29 | <p> | ||
30 | {% trans "Drag & drop this link to your bookmarks bar:" %} <a id="bookmarklet" ondragend="this.click();" href="javascript:if(top['bookmarklet-url@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "bag it!" %}</a> | ||
31 | </p> | ||
32 | |||
33 | <h2>{% trans "Feeds" %}</h2> | ||
34 | {% if token == '' %} | ||
35 | <p>{% trans "Your feed token is currently empty and must first be generated to enable feeds. Click <a href='?feed&action=generate'>here to generate it</a>." %}</p> | ||
36 | {% else %} | ||
37 | <ul> | ||
38 | <li><a href="?feed&type=home&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "Unread feed" %}</a></li> | ||
39 | <li><a href="?feed&type=fav&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "Favorites feed" %}</a></li> | ||
40 | <li><a href="?feed&type=archive&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "Archive feed" %}</a></li> | ||
41 | </ul> | ||
42 | <p class="more-info"> | ||
43 | {% trans "Your token:" %} <strong>{{token}}</strong><br> | ||
44 | {% trans "Your user id:" %} <strong>{{user_id}}</strong><br> | ||
45 | {% trans "You can regenerate your token: <a href='?feed&action=generate'>generate!</a>." %} | ||
46 | </p> | ||
47 | {% endif %} | ||
48 | |||
49 | <h2>{% trans "Change your theme" %}</h2> | ||
50 | <form method="post" action="?updatetheme" name="changethemeform"> | ||
51 | <fieldset class="w500p inline"> | ||
52 | <div class="row"> | ||
53 | <label class="col w150p" for="theme">{% trans "Theme:" %}</label> | ||
54 | <select class="col" id="theme" name="theme"> | ||
55 | {% for key, theme in themes %} | ||
56 | <option value="{{ key }}" {{ theme.current ? 'selected' : '' }}>{{ theme.name }}</option> | ||
57 | {% endfor %} | ||
58 | </select> | ||
59 | </div> | ||
60 | <div class="row mts txtcenter"> | ||
61 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | ||
62 | </div> | ||
63 | </fieldset> | ||
64 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
65 | <input type="hidden" name="token" value="{{ token }}"> | ||
66 | </form> | ||
67 | |||
68 | <h2>{% trans "Change your language" %}</h2> | ||
69 | <form method="post" action="?updatelanguage" name="changelanguageform"> | ||
70 | <fieldset class="w500p inline"> | ||
71 | <div class="row"> | ||
72 | <label class="col w150p" for="language">{% trans "Language:" %}</label> | ||
73 | <select class="col" id="language" name="language"> | ||
74 | {% for language in languages %} | ||
75 | <option value="{{ language.value }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option> | ||
76 | {% endfor %} | ||
77 | </select> | ||
78 | </div> | ||
79 | <div class="row mts txtcenter"> | ||
80 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | ||
81 | </div> | ||
82 | </fieldset> | ||
83 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
84 | <input type="hidden" name="token" value="{{ token }}"> | ||
85 | </form> | ||
86 | |||
87 | <h2><a name="import"></a>{% trans "Import" %}</h2> | ||
88 | <p>{% trans "You can import your Pocket, Readability, Instapaper, Wallabag or any data in appropriate json or html format." %}</p> | ||
89 | <p>{% 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." %}</p> | ||
90 | <form method="post" action="?import" name="uploadfile" enctype="multipart/form-data"> | ||
91 | <fieldset class="w500p"> | ||
92 | <div class="row"> | ||
93 | <label class="col w150p" for="file">{% trans "File:" %}</label> | ||
94 | <input class="col" type="file" id="file" name="file" tabindex="4" required="required"> | ||
95 | </div> | ||
96 | <div class="row mts txtcenter"> | ||
97 | <button class="bouton" type="submit" tabindex="4">{% trans "Import" %}</button> | ||
98 | </div> | ||
99 | </fieldset> | ||
100 | </form> | ||
101 | <p><a href="?import">{% trans "You can click here to fetch content for articles with no content." %}</a></p> | ||
102 | <p class="more-info">{% 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)." %}</p> | ||
103 | |||
104 | <h2>{% trans "Export your wallabag data" %}</h2> | ||
105 | <p><a href="?export" target="_blank">{% trans "Export JSON" %}</a><br> | ||
106 | <span class="more-info">Data will be exported in a single JSON file.</span></p> | ||
107 | |||
108 | <h2>{% trans "Fancy an E-Book ?" %}</h2> | ||
109 | <p>{% trans "Click to get all your articles in one ebook :" %} | ||
110 | <ul> | ||
111 | <li><a href="./?epub&method=all" title="{% trans 'Generate ePub file' %}">ePub 3</a></li> | ||
112 | <li><a href="./?mobi&method=all" title="{% trans 'Generate Mobi file' %}">Mobi</a></li> | ||
113 | <li><a href="./?pdf&method=all" title="{% trans 'Generate PDF file' %}">PDF</a></li> | ||
114 | </ul> | ||
115 | |||
116 | <span class="more-info">{% trans "This can <b>take a while</b> and can <b>even fail</b> if you have too many articles, depending on your server configuration." %}</span></p> | ||
117 | |||
118 | <h2><a name="cache"></a>{% trans "Cache" %}</h2> | ||
119 | <p><a href="?empty-cache">{% trans "Delete Cache" %}</a><br> | ||
120 | <span class="more-info">Deleting the cache may help with display or other problems.</span></p> | ||
121 | |||
122 | {% if http_auth == 0 %} | ||
123 | <h2>{% trans "Change your password" %}</h2> | ||
124 | <form method="post" action="?config" name="loginform"> | ||
125 | <fieldset class="w500p"> | ||
126 | <div class="row"> | ||
127 | <label class="col w150p" for="password">{% trans "New password:" %}</label> | ||
128 | <input class="col" type="password" id="password" name="password" placeholder="{% trans "Password" %}" tabindex="2"> | ||
129 | </div> | ||
130 | <div class="row"> | ||
131 | <label class="col w150p" for="password_repeat">{% trans "Repeat your new password:" %}</label> | ||
132 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="{% trans "Password" %}" tabindex="3"> | ||
133 | </div> | ||
134 | <div class="row mts txtcenter"> | ||
135 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | ||
136 | </div> | ||
137 | </fieldset> | ||
138 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
139 | <input type="hidden" name="token" value="{{ token }}"> | ||
140 | </form> | ||
141 | {% endif %} | ||
142 | |||
143 | <h2>{% trans 'Add user' %}</h2> | ||
144 | <form method="post" action="?newuser"> | ||
145 | <fieldset class="w500p"> | ||
146 | <div class="row"> | ||
147 | <label class="col w150p" for="newusername">{% trans 'Login for new user' %}</label> | ||
148 | <input class="col" type="text" id="newusername" name="newusername" placeholder="{% trans 'Login' %}" required> | ||
149 | </div> | ||
150 | <div class="row"> | ||
151 | <label class="col w150p" for="password4newuser">{% trans "Password for new user" %}</label> | ||
152 | <input class="col" type="password" id="password4newuser" name="password4newuser" placeholder="{% trans 'Password' %}" required> | ||
153 | </div> | ||
154 | <div class="row"> | ||
155 | <label class="col w150p" for="newuseremail">{% trans 'Email for new user (not required)' %}</label> | ||
156 | <input class="col" type="email" id="newuseremail" name="newuseremail" placeholder="{% trans 'Email' %}"> | ||
157 | </div> | ||
158 | <div class="row mts txtcenter"> | ||
159 | <button type="submit">{% trans "Add user" %}</button> | ||
160 | </div> | ||
161 | </fieldset> | ||
162 | </form> | ||
163 | |||
164 | <h2>{% trans "Delete account" %}</h2> | ||
165 | {% if not only_user %}<form method="post" action="?deluser"> | ||
166 | <p>{% trans "You can delete your account by entering your password and validating." %}<br /><b>{% trans "Be careful, data will be erased forever (that is a very long time)." %}</b></p> | ||
167 | <fieldset class="w500p"> | ||
168 | <div class="row"> | ||
169 | <label class="col w150p" for="password4deletinguser">{% trans "Type here your password" %}</label> | ||
170 | <input class="col" type="password" id="password4deletinguser" name="password4deletinguser" placeholder="{% trans "Password" %}"> | ||
171 | </div> | ||
172 | <div class="row mts txtcenter"> | ||
173 | <button type="submit">{% trans "Delete account" %}</button> | ||
174 | </div> | ||
175 | </form> | ||
176 | {% else %}<p>{% trans "You are the only user, you cannot delete your own account." %}</p> | ||
177 | <p>{% trans "To completely remove wallabag, delete the wallabag folder on your web server (and eventual databases)." %}</p>{% endif %} | ||
178 | |||
179 | <h2>{% trans "Upgrading wallabag" %}</h2> | ||
180 | <ul> | ||
181 | <li>{% trans "Installed version" %}: <strong>{{ constant('WALLABAG') }}</strong></li> | ||
182 | <li>{% trans "Latest stable version" %}: {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent stable version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %} ({% trans "Last check:" %} {{ check_time_prod }})</li> | ||
183 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "Latest dev version" %}: {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent development version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %} ({% trans "Last check:" %} {{ check_time_dev }}){% endif %}</li> | ||
184 | </ul> | ||
185 | <p class="more-info">{% trans "You can clear cache to check the latest release." %}</p> | ||
186 | |||
187 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/edit-tags.twig b/src/Wallabag/CoreBundle/Resources/views/baggy/edit-tags.twig deleted file mode 100755 index 15f15560..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/edit-tags.twig +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}edit tags{% endblock %} | ||
3 | {% block menu %} | ||
4 | {% include '_menu.twig' %} | ||
5 | {% endblock %} | ||
6 | {% block content %} | ||
7 | |||
8 | <script src="{{ poche_url }}themes/_global/js/jquery-ui-1.10.4.custom.min.js"></script> | ||
9 | <script src="{{ poche_url }}themes/_global/js/autoCompleteTags.js"></script> | ||
10 | <link rel="stylesheet" href="{{ poche_url }}themes/_global/css/jquery-ui-1.10.4.custom.min.css" media="all"> | ||
11 | |||
12 | <div id="article"> | ||
13 | <h2>{{ entry.title|raw }}</21> | ||
14 | </div> | ||
15 | {% if tags is empty %} | ||
16 | <div class="notags">{% trans "no tags" %}</div> | ||
17 | {% endif %} | ||
18 | <ul> | ||
19 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} | ||
20 | </ul> | ||
21 | <form method="post" action="./?action=add_tag"> | ||
22 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> | ||
23 | <label for="value">{% trans "Add tags:" %}</label><input type="text" placeholder="{% trans "interview" %}, {% trans "editorial" %}, {% trans "video" %}" id="value" name="value" required="required" /> | ||
24 | <input type="submit" value="Tag" /> | ||
25 | <p>{% trans "Start typing for auto complete." %}<br> | ||
26 | {% trans "You can enter multiple tags, separated by commas." %}</p> | ||
27 | </form> | ||
28 | <a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> | ||
29 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/layout-login.twig b/src/Wallabag/CoreBundle/Resources/views/baggy/layout-login.twig deleted file mode 100644 index ae3f086c..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/layout-login.twig +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!--[if lte IE 6]><html class="no-js ie6 ie67 ie678" lang="{{ lang }}"><![endif]--> | ||
3 | <!--[if lte IE 7]><html class="no-js ie7 ie67 ie678" lang="{{ lang }}"><![endif]--> | ||
4 | <!--[if IE 8]><html class="no-js ie8 ie678" lang="{{ lang }}"><![endif]--> | ||
5 | <!--[if gt IE 8]><html class="no-js" lang="{{ lang }}"><![endif]--> | ||
6 | <html lang="{{ lang }}"> | ||
7 | <head> | ||
8 | <meta name="viewport" content="initial-scale=1.0"> | ||
9 | <meta charset="utf-8"> | ||
10 | <!--[if IE]> | ||
11 | <meta http-equiv="X-UA-Compatible" content="IE=10"> | ||
12 | <![endif]--> | ||
13 | <title>{% block title %}{% endblock %} - wallabag</title> | ||
14 | {% include '_head.twig' %} | ||
15 | {% include '_bookmarklet.twig' %} | ||
16 | </head> | ||
17 | <body class="login"> | ||
18 | {% include '_top.twig' %} | ||
19 | <div id="main"> | ||
20 | {% block menu %}{% endblock %} | ||
21 | {% block precontent %}{% endblock %} | ||
22 | {% block messages %} | ||
23 | {% include '_messages.twig' %} | ||
24 | {% endblock %} | ||
25 | <div id="content" class="w600p center"> | ||
26 | {% block content %}{% endblock %} | ||
27 | </div> | ||
28 | </div> | ||
29 | {% include '_footer.twig' %} | ||
30 | </body> | ||
31 | </html> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/login.twig b/src/Wallabag/CoreBundle/Resources/views/baggy/login.twig deleted file mode 100644 index d4eb46d2..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/login.twig +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | {% extends "layout-login.twig" %} | ||
2 | |||
3 | {% block title %}{% trans "login to your wallabag" %}{% endblock %} | ||
4 | {% block content %} | ||
5 | {% if http_auth == 0 %} | ||
6 | <form method="post" action="?login" name="loginform"> | ||
7 | <fieldset class="w500p center"> | ||
8 | <h2 class="mbs txtcenter">{% trans "Login to wallabag" %}</h2> | ||
9 | {% if constant('MODE_DEMO') == 1 %}<p>{% trans "you are in demo mode, some features may be disabled." %}</p>{% endif %} | ||
10 | <div class="row"> | ||
11 | <label class="col w150p" for="login">{% trans "Username" %}</label> | ||
12 | <input class="col" type="text" id="login" name="login" placeholder="{% trans "Username" %}" tabindex="1" autofocus {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} /> | ||
13 | </div> | ||
14 | |||
15 | <div class="row"> | ||
16 | <label class="col w150p" for="password">{% trans "Password" %}</label> | ||
17 | <input class="col" type="password" id="password" name="password" placeholder="{% trans "Password" %}" tabindex="2" {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} /> | ||
18 | </div> | ||
19 | <div class="row"> | ||
20 | |||
21 | <div class="col"> | ||
22 | <input type="checkbox" id="longlastingsession" name="longlastingsession" tabindex="3" /> <label for="longlastingsession">{% trans "Stay signed in" %}</label><br /> | ||
23 | <small class="inbl">{% trans "(Do not check on public computers)" %}</small> | ||
24 | </div> | ||
25 | </div> | ||
26 | <div class="row mts txtcenter"> | ||
27 | <button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button> | ||
28 | </div> | ||
29 | </fieldset> | ||
30 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
31 | <input type="hidden" name="token" value="{{ token }}"> | ||
32 | </form> | ||
33 | {% endif %} | ||
34 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/tags.twig b/src/Wallabag/CoreBundle/Resources/views/baggy/tags.twig deleted file mode 100755 index 65930eb2..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/tags.twig +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}Tags{% endblock %} | ||
3 | {% block menu %} | ||
4 | {% include '_menu.twig' %} | ||
5 | {% endblock %} | ||
6 | {% block content %} | ||
7 | <h2>{% trans "Tags" %}</h2> | ||
8 | <ul class="list-tags"> | ||
9 | {% for tag in tags %}<li>{% if token != '' %}<a class="icon icon-rss" href="?feed&type=tag&user_id={{ user_id }}&tag_id={{ tag.id }}&token={{ token }}" target="_blank"><span>rss</span></a>{% endif %} <a href="./?view=tag&id={{ tag.id }}">{{ tag.value }}</a> ({{ tag.entriescount }}) | ||
10 | </li> | ||
11 | {% endfor %} | ||
12 | </ul> | ||
13 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/theme.ini b/src/Wallabag/CoreBundle/Resources/views/baggy/theme.ini deleted file mode 100644 index 31665e18..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/theme.ini +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | name = Baggy | ||
2 | description = Responsive black and white theme especially adapted to smartphones. | ||
3 | requirements[] = default | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/base.html.twig b/src/Wallabag/CoreBundle/Resources/views/base.html.twig new file mode 100644 index 00000000..4f27f413 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/base.html.twig | |||
@@ -0,0 +1,115 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!--[if lte IE 6]><html class="no-js ie6 ie67 ie678" lang="en"><![endif]--> | ||
3 | <!--[if lte IE 7]><html class="no-js ie7 ie67 ie678" lang="en"><![endif]--> | ||
4 | <!--[if IE 8]><html class="no-js ie8 ie678" lang="en"><![endif]--> | ||
5 | <!--[if gt IE 8]><html class="no-js" lang="en"><![endif]--> | ||
6 | <html lang="fr"> | ||
7 | <head> | ||
8 | {% block head %} | ||
9 | <meta name="viewport" content="initial-scale=1.0"> | ||
10 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
11 | <!--[if IE]> | ||
12 | <meta http-equiv="X-UA-Compatible" content="IE=10"> | ||
13 | <![endif]--> | ||
14 | |||
15 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-152.png') }}" sizes="152x152"> | ||
16 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-152.png') }}" sizes="152x152"> | ||
17 | |||
18 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-144.png') }}" sizes="144x144"> | ||
19 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-144.png') }}" sizes="144x144"> | ||
20 | |||
21 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-120.png') }}" sizes="120x120"> | ||
22 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-120.png') }}" sizes="120x120"> | ||
23 | |||
24 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-114.png') }}" sizes="114x114"> | ||
25 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-114.png') }}" sizes="114x114"> | ||
26 | |||
27 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-76.png') }}" sizes="76x76"> | ||
28 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-76.png') }}" sizes="76x76"> | ||
29 | |||
30 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-72.png') }}" sizes="72x72"> | ||
31 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-72.png') }}" sizes="72x72"> | ||
32 | |||
33 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-57.png') }}" sizes="57x57"> | ||
34 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon-57.png') }}" sizes="57x57"> | ||
35 | |||
36 | <link rel="apple-touch-icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon.png') }}"> | ||
37 | <link rel="icon" type="image/png" href="{{ asset('themes/_global/img/appicon/apple-touch-icon.png') }}"> | ||
38 | |||
39 | <link rel="shortcut icon" type="image/x-icon" href="{{ asset('themes/_global/img/appicon/favicon.ico') }}"> | ||
40 | |||
41 | {% block css %}{% endblock %} | ||
42 | {% block scripts %} | ||
43 | <script src="{{ asset('themes/_global/js/jquery-2.0.3.min.js') }}"></script> | ||
44 | <script src="{{ asset('themes/_global/js/autoClose.js') }}"></script> | ||
45 | <script src="{{ asset('themes/_global/js/saveLink.js') }}"></script> | ||
46 | <script src="{{ asset('themes/_global/js/popupForm.js') }}"></script> | ||
47 | <script src="{{ asset('themes/_global/js/jquery.cookie.js') }}"></script> | ||
48 | <script src="{{ asset('themes/_global/js/bookmarklet.js') }}"></script> | ||
49 | <script src="{{ asset('themes/_global/js/closeMessage.js') }}"></script> | ||
50 | {% endblock %} | ||
51 | |||
52 | <title>{% block title %}{% endblock %} - wallabag</title> | ||
53 | {% endblock %} | ||
54 | </head> | ||
55 | |||
56 | <body class="{% block body_class %}{% endblock %}"> | ||
57 | {% block header %} | ||
58 | <header class="w600p center mbm"> | ||
59 | <h1 class="logo"> | ||
60 | {% block logo %} | ||
61 | <img width="100" height="100" src="{{ asset('themes/baggy/img/logo-w.png') }}" alt="wallabag logo" /> | ||
62 | {% endblock %} | ||
63 | </h1> | ||
64 | </header> | ||
65 | {% endblock %} | ||
66 | |||
67 | <div id="main"> | ||
68 | {% block menu %} | ||
69 | <button id="menu" class="icon icon-menu desktopHide"><span>Menu</span></button> | ||
70 | <ul id="links" class="links"> | ||
71 | <li><a href="{{ path('unread') }}">{% trans %}unread{% endtrans %}</a></li> | ||
72 | <li><a href="{{ path('starred') }}">{% trans %}favorites{% endtrans %}</a></li> | ||
73 | <li><a href="{{ path('archive') }}"}>{% trans %}archive{% endtrans %}</a></li> | ||
74 | <li><a href="?view=tags">{% trans %}tags{% endtrans %}</a></li> | ||
75 | <li><a href="{{ path('new_entry') }}">{% trans %}save a link{% endtrans %}</a></li> | ||
76 | <li style="position: relative;"><a href="javascript: void(null);" id="search">{% trans %}search{% endtrans %}</a> | ||
77 | <div id="search-form" class="messages info popup-form"> | ||
78 | <form method="get" action="index.php"> | ||
79 | <h2>{% trans %}Search{% endtrans %}</h2> | ||
80 | <a href="javascript: void(null);" id="search-form-close" class="close-button--popup close-button">×</a> | ||
81 | <input type="hidden" name="view" value="search"></input> | ||
82 | <input required placeholder="{% trans %}Enter your search here{% endtrans %}" type="text" name="search" id="searchfield"><br> | ||
83 | <input id="submit-search" type="submit" value="{% trans %}Search{% endtrans %}"></input> | ||
84 | </form> | ||
85 | </div> | ||
86 | </li> | ||
87 | <li><a href="{{ path('config') }}">{% trans %}config{% endtrans %}</a></li> | ||
88 | <li><a href="{{ path('about') }}">{% trans %}about{% endtrans %}</a></li> | ||
89 | <li><a class="icon icon-power" href="{{ path('logout') }}" title="{% trans %}logout{% endtrans %}">{% trans %}logout{% endtrans %}</a></li> | ||
90 | </ul> | ||
91 | {% endblock %} | ||
92 | |||
93 | {% block precontent %}{% endblock %} | ||
94 | |||
95 | {% block messages %} | ||
96 | {% for flashMessage in app.session.flashbag.get('notice') %} | ||
97 | <div class="messages success"> | ||
98 | <a href="#" class="closeMessage">×</a> | ||
99 | <p>{{ flashMessage }}</p> | ||
100 | </div> | ||
101 | {% endfor %} | ||
102 | {% endblock %} | ||
103 | |||
104 | <div id="content" class="w600p center"> | ||
105 | {% block content %}{% endblock %} | ||
106 | </div> | ||
107 | </div> | ||
108 | |||
109 | {% block footer %} | ||
110 | <footer class="w600p center mt3 mb3 smaller txtright"> | ||
111 | <p>{% trans %}powered by{% endtrans %} <a href="http://wallabag.org">wallabag</a></p> | ||
112 | </footer> | ||
113 | {% endblock %} | ||
114 | </body> | ||
115 | </html> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/README.md b/src/Wallabag/CoreBundle/Resources/views/dark/README.md deleted file mode 100644 index 92077994..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/README.md +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # dark theme | ||
2 | |||
3 | theme created by Nicolas LÅ“uillet aka nico_somb \ No newline at end of file | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/dark b/src/Wallabag/CoreBundle/Resources/views/dark/dark deleted file mode 120000 index 5743bc49..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/dark +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | ../../src/Wallabag/CoreBundle/Resources/views/dark \ No newline at end of file | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/css/style-dark.css b/src/Wallabag/CoreBundle/Resources/views/dark/public/css/style-dark.css deleted file mode 100644 index 41782c48..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/css/style-dark.css +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | body { | ||
2 | color: #d4d4d4; | ||
3 | background-color: #262627; | ||
4 | } | ||
5 | |||
6 | a, | ||
7 | a:hover, | ||
8 | a:visited { | ||
9 | color: #d4d4d4; | ||
10 | } | ||
11 | |||
12 | a.back span { | ||
13 | background-image: url('../img/dark/left.png'); | ||
14 | } | ||
15 | |||
16 | a.top span { | ||
17 | background-image: url('../img/dark/top.png'); | ||
18 | } | ||
19 | |||
20 | a.fav span, | ||
21 | a.fav-off span:hover { | ||
22 | background-image: url('../img/dark/star-on.png'); | ||
23 | } | ||
24 | |||
25 | a.fav span:hover, | ||
26 | a.fav-off span { | ||
27 | background-image: url('../img/dark/star-off.png'); | ||
28 | } | ||
29 | |||
30 | a.archive span, | ||
31 | a.archive-off span:hover { | ||
32 | background-image: url('../img/dark/checkmark-on.png'); | ||
33 | } | ||
34 | |||
35 | a.archive span:hover, | ||
36 | a.archive-off span { | ||
37 | background-image: url('../img/dark/checkmark-off.png'); | ||
38 | } | ||
39 | |||
40 | a.twitter span { | ||
41 | background-image: url('../img/dark/twitter.png'); | ||
42 | } | ||
43 | |||
44 | a.shaarli span { | ||
45 | background-image: url('../img/dark/shaarli.png'); | ||
46 | } | ||
47 | |||
48 | a.flattr span { | ||
49 | background-image: url('../img/dark/flattr.png'); | ||
50 | } | ||
51 | |||
52 | a.email span { | ||
53 | background-image: url('../img/dark/envelop.png'); | ||
54 | } | ||
55 | |||
56 | a.delete span { | ||
57 | background-image: url('../img/dark/remove.png'); | ||
58 | } | ||
59 | |||
60 | a.link span { | ||
61 | background-image: url('../img/dark/link.png'); | ||
62 | } | ||
63 | |||
64 | a.bad-display span { | ||
65 | background-image: url('../img/dark/bad-display.png'); | ||
66 | } | ||
67 | |||
68 | .pagination a { | ||
69 | color: #aaa; | ||
70 | } | ||
71 | |||
72 | #article_toolbar { | ||
73 | background: #262627; | ||
74 | } \ No newline at end of file | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/backtotop.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/backtotop.png deleted file mode 100644 index c885086d..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/backtotop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/bad-display.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/bad-display.png deleted file mode 100644 index 66ea2e16..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/bad-display.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/checkmark-off.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/checkmark-off.png deleted file mode 100644 index 661ea997..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/checkmark-off.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/checkmark-on.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/checkmark-on.png deleted file mode 100644 index 5ee8c8d3..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/checkmark-on.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/down.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/down.png deleted file mode 100644 index 4150e17c..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/down.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/envelop.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/envelop.png deleted file mode 100644 index 73d9b0b9..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/envelop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/flattr.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/flattr.png deleted file mode 100644 index b457d080..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/flattr.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/left.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/left.png deleted file mode 100644 index c2f7a20e..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/left.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/link.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/link.png deleted file mode 100644 index a5b8d8d2..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/link.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/remove.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/remove.png deleted file mode 100644 index 0c3dcfdf..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/remove.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/rss.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/rss.png deleted file mode 100644 index 21bad1a1..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/rss.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/shaarli.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/shaarli.png deleted file mode 100644 index e68ac8b5..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/shaarli.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/star-off.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/star-off.png deleted file mode 100644 index 8194bc2d..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/star-off.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/star-on.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/star-on.png deleted file mode 100644 index 109c3aec..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/star-on.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/top.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/top.png deleted file mode 100644 index d137bd24..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/top.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/twitter.png b/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/twitter.png deleted file mode 100644 index 6ce8a4d9..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/img/dark/twitter.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/public/public b/src/Wallabag/CoreBundle/Resources/views/dark/public/public deleted file mode 120000 index fd316b37..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/public/public +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | ../../themes/default/public \ No newline at end of file | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/screenshot.jpg b/src/Wallabag/CoreBundle/Resources/views/dark/screenshot.jpg deleted file mode 100644 index daaad6c9..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/screenshot.jpg +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dark/theme.ini b/src/Wallabag/CoreBundle/Resources/views/dark/theme.ini deleted file mode 100644 index 4b020d36..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dark/theme.ini +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | name = Dark | ||
2 | requirements[] = default | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_bookmarklet.twig b/src/Wallabag/CoreBundle/Resources/views/default/_bookmarklet.twig deleted file mode 100644 index c7e2f66e..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_bookmarklet.twig +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | <script type="text/javascript"> | ||
2 | top["bookmarklet-url@wallabag.org"]=""+"<!DOCTYPE html>"+"<html>"+"<head>"+"<title>bag it!</title>"+'<link rel="icon" href="{{poche_url}}tpl/img/favicon.ico" />'+"</head>"+"<body>"+"<script>"+"window.onload=function(){"+"window.setTimeout(function(){"+"history.back();"+"},250);"+"};"+"</scr"+"ipt>"+"</body>"+"</html>" | ||
3 | </script> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_footer.twig b/src/Wallabag/CoreBundle/Resources/views/default/_footer.twig deleted file mode 100644 index 25539f6b..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_footer.twig +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | <footer class="w600p center mt3 mb3 smaller txtright"> | ||
2 | <p>{% trans "powered by" %} <a href="http://wallabag.org">wallabag</a></p> | ||
3 | {% if constant('DEBUG_POCHE') == 1 %}<p><strong>{% trans "debug mode is on so cache is off." %} {% trans "your wallabag version:" %}{{constant('WALLABAG')}}. {% trans "storage:" %} {{constant('STORAGE')}}</strong></p>{% endif %} | ||
4 | </footer> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_head.twig b/src/Wallabag/CoreBundle/Resources/views/default/_head.twig deleted file mode 100755 index 277e3833..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_head.twig +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-152.png" sizes="152x152"> | ||
2 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-152.png" sizes="152x152"> | ||
3 | |||
4 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-144.png" sizes="144x144"> | ||
5 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-144.png" sizes="144x144"> | ||
6 | |||
7 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-120.png" sizes="120x120"> | ||
8 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-120.png" sizes="120x120"> | ||
9 | |||
10 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-114.png" sizes="114x114"> | ||
11 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-114.png" sizes="114x114"> | ||
12 | |||
13 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-76.png" sizes="76x76"> | ||
14 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-76.png" sizes="76x76"> | ||
15 | |||
16 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-72.png" sizes="72x72"> | ||
17 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-72.png" sizes="72x72"> | ||
18 | |||
19 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-57.png" sizes="57x57"> | ||
20 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-57.png" sizes="57x57"> | ||
21 | |||
22 | <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon.png"> | ||
23 | <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon.png"> | ||
24 | |||
25 | <link rel="shortcut icon" type="image/x-icon" href="{{ poche_url }}themes/_global/img/appicon/favicon.ico"> | ||
26 | |||
27 | <link rel="stylesheet" href="{{ poche_url }}themes/default/css/knacss.css" media="all"> | ||
28 | <link rel="stylesheet" href="{{ poche_url }}themes/default/css/style.css" media="all"> | ||
29 | <link rel="stylesheet" href="{{ poche_url }}themes/{{ theme }}/css/style-{{ theme }}.css" media="all" title="{{ theme }} theme"> | ||
30 | <link rel="stylesheet" href="{{ poche_url }}themes/default/css/messages.css" media="all"> | ||
31 | <link rel="stylesheet" href="{{ poche_url }}themes/default/css/print.css" media="print"> | ||
32 | <script src="{{ poche_url }}themes/_global/js/jquery-2.0.3.min.js"></script> | ||
33 | <script src="{{ poche_url }}themes/_global/js/autoClose.js"></script> | ||
34 | <script src="{{ poche_url }}themes/default/js/closeMessage.js"></script> | ||
35 | <script src="{{ poche_url }}themes/_global/js/saveLink.js"></script> | ||
36 | <script src="{{ poche_url }}themes/_global/js/popupForm.js"></script> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_highlight.twig b/src/Wallabag/CoreBundle/Resources/views/default/_highlight.twig deleted file mode 100755 index cdb7c6bf..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_highlight.twig +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | {# include excelent highlight.js library for code highligting, see http://highlightjs.org/ #} | ||
2 | <link rel="stylesheet" href="{{ poche_url }}themes/default/highlightjs/styles/github.css"> | ||
3 | <script src="{{ poche_url }}themes/default/highlightjs/highlight.pack.js"></script> | ||
4 | <script>hljs.initHighlightingOnLoad();</script> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_import.twig b/src/Wallabag/CoreBundle/Resources/views/default/_import.twig deleted file mode 100755 index 63a2d3e2..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_import.twig +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | <script type="text/javascript"> | ||
2 | <!-- | ||
3 | $(document).ready(function() { | ||
4 | $("body").css("cursor", "wait"); | ||
5 | |||
6 | setTimeout(function(){ | ||
7 | window.location = './?import'; | ||
8 | }, {{ import.delay }} ); | ||
9 | }); | ||
10 | //--> | ||
11 | </script> | ||
12 | <div class="messages warning"> | ||
13 | <p>{% trans "Download required for " %} {{ import.recordsDownloadRequired }} {% trans "records" %}.</p> | ||
14 | <p>{% trans "Downloading next " %} {{ import.recordsUnderDownload }} {% trans "articles, please wait" %}...</p> | ||
15 | </div> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_menu.twig b/src/Wallabag/CoreBundle/Resources/views/default/_menu.twig deleted file mode 100644 index 83fa3717..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_menu.twig +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | <ul id="links"> | ||
2 | <li><a href="./" {% if view == 'home' %}class="current"{% endif %}>{% trans "unread" %}</a></li> | ||
3 | <li><a href="./?view=fav" {% if view == 'fav' %}class="current"{% endif %}>{% trans "favorites" %}</a></li> | ||
4 | <li><a href="./?view=archive" {% if view == 'archive' %}class="current"{% endif %}>{% trans "archive" %}</a></li> | ||
5 | <li><a href="./?view=tags" {% if view == 'tags' %}class="current"{% endif %}>{% trans "tags" %}</a></li> | ||
6 | <li><a href="javascript: void(null);" id="bagit">{% trans "save a link" %}</a><span id="bagit-arrow"></span></li> | ||
7 | <li><a href="javascript: void(null);" id="search">{% trans "search" %}</a><span id="search-arrow"></span></li> | ||
8 | <li><a href="./?view=config" {% if view == 'config' %}class="current"{% endif %}>{% trans "config" %}</a></li> | ||
9 | <li><a href="./?view=about" {% if view == 'about' %}class="current"{% endif %}>{% trans "about" %}</a></li> | ||
10 | <li><a href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li> | ||
11 | </ul> | ||
12 | {% include '_pocheit-form.twig' %} | ||
13 | {% include '_search-form.twig' %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_messages.twig b/src/Wallabag/CoreBundle/Resources/views/default/_messages.twig deleted file mode 100644 index b8481494..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_messages.twig +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | {{ messages | raw }} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_pocheit-form.twig b/src/Wallabag/CoreBundle/Resources/views/default/_pocheit-form.twig deleted file mode 100755 index 8c982db0..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_pocheit-form.twig +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | <div id="bagit-form" class="messages info"> | ||
2 | <a href="javascript: void(null);" id="bagit-form-close"> </a> | ||
3 | <form method="get" action="index.php" id="bagit-form-form"> | ||
4 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | ||
5 | <input type="submit" value="{% trans "save link!" %}" /> | ||
6 | <div id="add-link-result"></div> | ||
7 | </form> | ||
8 | </div> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_search-form.twig b/src/Wallabag/CoreBundle/Resources/views/default/_search-form.twig deleted file mode 100755 index 70f97356..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_search-form.twig +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | <div id="search-form" class="messages info"> | ||
2 | <form method="get" action="index.php"> | ||
3 | <p> | ||
4 | <input type="hidden" name="view" value="search"></input> | ||
5 | <label>{% trans "Search" %}</label> : <input type="text" required placeholder="{% trans "Enter your search here" %}" name="search" id="searchfield" /> | ||
6 | <input type="submit" value="{% trans "Search" %} !"></input> | ||
7 | </p> | ||
8 | </form> | ||
9 | </div> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_sorting.twig b/src/Wallabag/CoreBundle/Resources/views/default/_sorting.twig deleted file mode 100755 index 3ce9b949..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_sorting.twig +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | {% if entries|length > 1 %} | ||
2 | <ul id="sort"> | ||
3 | <li><a href="./?sort=ia&view={{ view }}{% if searchterm is defined %}&search={{ searchterm }}{% endif %}&id={{ id }}"><img src="{{ poche_url }}themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&view={{ view }}{% if searchterm is defined %}&search={{ searchterm }}{% endif %}&id={{ id }}"><img src="{{ poche_url }}themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li> | ||
4 | <li><a href="./?sort=ta&view={{ view }}{% if searchterm is defined %}&search={{ searchterm }}{% endif %}&id={{ id }}"><img src="{{ poche_url }}themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&view={{ view }}{% if searchterm is defined %}&search={{ searchterm }}{% endif %}&id={{ id }}"><img src="{{ poche_url }}themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li> | ||
5 | </ul> | ||
6 | {% endif %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_top.twig b/src/Wallabag/CoreBundle/Resources/views/default/_top.twig deleted file mode 100755 index 45806f01..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/_top.twig +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | <header class="w600p center mbm"> | ||
2 | <h1> | ||
3 | {% if view == 'home' %}{% block logo %}<img width="100" height="100" src="{{ poche_url }}themes/baggy/img/logo-other_themes.png" alt="wallabag logo" />{% endblock %} | ||
4 | {% else %}<a href="./" title="{% trans "return home" %}" >{{ block('logo') }}</a> | ||
5 | {% endif %} | ||
6 | </h1> | ||
7 | </header> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/about.twig b/src/Wallabag/CoreBundle/Resources/views/default/about.twig deleted file mode 100755 index 7ddb19d6..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/about.twig +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | |||
3 | {% block title %}{% trans "About wallabag" %}{% endblock %} | ||
4 | {% block menu %} | ||
5 | {% include '_menu.twig' %} | ||
6 | {% endblock %} | ||
7 | {% block content %} | ||
8 | <h2>{% trans "About wallabag" %}</h2> | ||
9 | |||
10 | <dl> | ||
11 | <dt>{% trans "Project website" %}</dt> | ||
12 | <dd><a href="http://www.wallabag.org">http://www.wallabag.org</a></dd> | ||
13 | |||
14 | <dt>{% trans "Main developer" %}</dt> | ||
15 | <dd><a href="mailto:nicolas@loeuillet.org">Nicolas Lœuillet</a> — <a href="http://cdetc.fr">{% trans "website" %}</a></dd> | ||
16 | |||
17 | <dt>{% trans "Contributors:" %}</dt> | ||
18 | <dd><a href="https://github.com/wallabag/wallabag/graphs/contributors">{% trans "on Github" %}</a></dd> | ||
19 | |||
20 | <dt>{% trans "Bug reports" %}</dt> | ||
21 | <dd><a href="http://support.wallabag.org">{% trans "On our support website" %}</a> {% trans "or" %} <a href="https://github.com/wallabag/wallabag/issues">{% trans "on Github" %}</a></dd> | ||
22 | |||
23 | <dt>{% trans "License" %}</dt> | ||
24 | <dd><a href="http://en.wikipedia.org/wiki/MIT_License">MIT</a></dd> | ||
25 | |||
26 | <dt>{% trans "Version" %}</dt> | ||
27 | <dd>{{ constant('WALLABAG') }}</dd> | ||
28 | </dl> | ||
29 | |||
30 | <p>{% 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." %}</p> | ||
31 | |||
32 | <h2>{% trans "Helping wallabag" %}</h2> | ||
33 | |||
34 | <p>{% trans "wallabag is free and opensource. You can help us:" %}</p> | ||
35 | |||
36 | <dl> | ||
37 | <dt><a href="http://www.wallabag.org">{% trans "via Paypal" %}</a></dt> | ||
38 | |||
39 | <dt><a href="http://www.wallabag.org">{% trans "via Flattr" %}</a></dt> | ||
40 | </dl> | ||
41 | |||
42 | <h2>{% trans "Credits" %}</h2> | ||
43 | <dl> | ||
44 | <dt>PHP Readability</dt> | ||
45 | <dd><a href="https://bitbucket.org/fivefilters/php-readability">https://bitbucket.org/fivefilters/php-readability</a></dd> | ||
46 | |||
47 | <dt>Full Text RSS</dt> | ||
48 | <dd><a href="http://code.fivefilters.org/full-text-rss/src">http://code.fivefilters.org/full-text-rss/src</a></dd> | ||
49 | |||
50 | <dt>logo by Maylis Agniel</dt> | ||
51 | <dd><a href="https://github.com/wallabag/logo">https://github.com/wallabag/logo</a></dd> | ||
52 | |||
53 | <dt>icons</dt> | ||
54 | <dd><a href="http://icomoon.io">http://icomoon.io</a></dd> | ||
55 | |||
56 | <dt>PHP Simple HTML DOM Parser</dt> | ||
57 | <dd><a href="http://simplehtmldom.sourceforge.net/">http://simplehtmldom.sourceforge.net/</a></dd> | ||
58 | |||
59 | <dt>Session</dt> | ||
60 | <dd><a href="https://github.com/tontof/kriss_feed/blob/master/src/class/Session.php">https://github.com/tontof/kriss_feed/blob/master/src/class/Session.php</a></dd> | ||
61 | |||
62 | <dt>Twig</dt> | ||
63 | <dd><a href="http://twig.sensiolabs.org">http://twig.sensiolabs.org</a></dd> | ||
64 | |||
65 | <dt>Flash messages</dt> | ||
66 | <dd><a href="https://github.com/plasticbrain/PHP-Flash-Messages">https://github.com/plasticbrain/PHP-Flash-Messages</a></dd> | ||
67 | |||
68 | <dt>Pagination</dt> | ||
69 | <dd><a href="https://github.com/daveismyname/pagination">https://github.com/daveismyname/pagination</a></dd> | ||
70 | |||
71 | <dt>PHPePub</dt> | ||
72 | <dd><a href="https://github.com/Grandt/PHPePub/">https://github.com/Grandt/PHPePub/</a></dd> | ||
73 | </dl> | ||
74 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/config.twig b/src/Wallabag/CoreBundle/Resources/views/default/config.twig deleted file mode 100755 index 6769da74..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/config.twig +++ /dev/null | |||
@@ -1,188 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | |||
3 | {% block title %}{% trans "config" %}{% endblock %} | ||
4 | {% block menu %} | ||
5 | {% include '_menu.twig' %} | ||
6 | {% endblock %} | ||
7 | {% block content %} | ||
8 | <h2>{% trans "Saving articles" %}</h2> | ||
9 | <p>{% trans "There are several ways to save an article:" %} {% trans "(<a href=\"http://doc.wallabag.org/en/User_documentation/Save_your_first_article\" target=\"_blank\" title=\"Documentation\">?</a>)" %}</p> | ||
10 | <p> | ||
11 | <form method="get" action="index.php"> | ||
12 | <label class="addurl" for="config_plainurl">{% trans "By filling this field" %}:</label><br> | ||
13 | <input required placeholder="example.com/article" class="addurl" id="config_plainurl" name="plainurl" type="url" /> | ||
14 | <input type="submit" value="{% trans "bag it!" %}" /> | ||
15 | </form> | ||
16 | </p> | ||
17 | <h3>Browser Plugins</h3> | ||
18 | <ul> | ||
19 | <li><a href="https://addons.mozilla.org/firefox/addon/wallabag/" target="_blank">{% trans "Firefox Add-On" %}</a></li> | ||
20 | <li><a href="https://chrome.google.com/webstore/detail/wallabag/bepdcjnnkglfjehplaogpoonpffbdcdj" target="_blank">{% trans "Chrome Extension" %}</a></li> | ||
21 | </ul> | ||
22 | <h3>Mobile Apps</h3> | ||
23 | <ul> | ||
24 | <li>Android: <a href="https://f-droid.org/app/fr.gaulupeau.apps.InThePoche" target="_blank">{% trans "via F-Droid" %}</a> {% trans " or " %} <a href="https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche" target="_blank">{% trans "via Google Play" %}</a></li> | ||
25 | <li>iOS: <a href="https://itunes.apple.com/app/wallabag/id828331015?mt=8" target="_blank">{% trans "download the application" %}</a></li> | ||
26 | <li>Windows Phone: <a href="http://www.windowsphone.com/en-us/store/app/wallabag/ff890514-348c-4d0b-9b43-153fff3f7450" target="_blank">{% trans "download the application" %}</a></li> | ||
27 | </ul> | ||
28 | <h3>{% trans "Bookmarklet" %}</h3> | ||
29 | <p> | ||
30 | {% trans "Drag & drop this link to your bookmarks bar:" %} <a id="bookmarklet" ondragend="this.click();" href="javascript:if(top['bookmarklet-url@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "bag it!" %}</a> | ||
31 | </p> | ||
32 | |||
33 | <h2>{% trans "Feeds" %}</h2> | ||
34 | {% if token == '' %} | ||
35 | <p>{% trans "Your feed token is currently empty and must first be generated to enable feeds. Click <a href='?feed&action=generate'>here to generate it</a>." %}</p> | ||
36 | {% else %} | ||
37 | <ul> | ||
38 | <li><a href="?feed&type=home&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "Unread feed" %}</a></li> | ||
39 | <li><a href="?feed&type=fav&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "Favorites feed" %}</a></li> | ||
40 | <li><a href="?feed&type=archive&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "Archive feed" %}</a></li> | ||
41 | </ul> | ||
42 | <p class="more-info"> | ||
43 | {% trans "Your token:" %} <strong>{{token}}</strong><br> | ||
44 | {% trans "Your user id:" %} <strong>{{user_id}}</strong><br> | ||
45 | {% trans "You can regenerate your token: <a href='?feed&action=generate'>generate!</a>." %} | ||
46 | </p> | ||
47 | {% endif %} | ||
48 | |||
49 | <h2>{% trans "Change your theme" %}</h2> | ||
50 | <form method="post" action="?updatetheme" name="changethemeform"> | ||
51 | <fieldset class="w500p inline"> | ||
52 | <div class="row"> | ||
53 | <label class="col w150p" for="theme">{% trans "Theme:" %}</label> | ||
54 | <select class="col" id="theme" name="theme"> | ||
55 | {% for key, theme in themes %} | ||
56 | <option value="{{ key }}" {{ theme.current ? 'selected' : '' }}>{{ theme.name }}</option> | ||
57 | {% endfor %} | ||
58 | </select> | ||
59 | </div> | ||
60 | <div class="row mts txtcenter"> | ||
61 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | ||
62 | </div> | ||
63 | </fieldset> | ||
64 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
65 | <input type="hidden" name="token" value="{{ token }}"> | ||
66 | </form> | ||
67 | |||
68 | <h2>{% trans "Change your language" %}</h2> | ||
69 | <form method="post" action="?updatelanguage" name="changelanguageform"> | ||
70 | <fieldset class="w500p inline"> | ||
71 | <div class="row"> | ||
72 | <label class="col w150p" for="language">{% trans "Language:" %}</label> | ||
73 | <select class="col" id="language" name="language"> | ||
74 | {% for language in languages %} | ||
75 | <option value="{{ language.value }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option> | ||
76 | {% endfor %} | ||
77 | </select> | ||
78 | </div> | ||
79 | <div class="row mts txtcenter"> | ||
80 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | ||
81 | </div> | ||
82 | </fieldset> | ||
83 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
84 | <input type="hidden" name="token" value="{{ token }}"> | ||
85 | </form> | ||
86 | |||
87 | <h2><a name="import"></a>{% trans "Import" %}</h2> | ||
88 | <p>{% trans "You can import your Pocket, Readability, Instapaper, Wallabag or any data in appropriate json or html format." %}</p> | ||
89 | <p>{% 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." %}</p> | ||
90 | <form method="post" action="?import" name="uploadfile" enctype="multipart/form-data"> | ||
91 | <fieldset class="w500p"> | ||
92 | <div class="row"> | ||
93 | <label class="col w150p" for="file">{% trans "File:" %}</label> | ||
94 | <input class="col" type="file" id="file" name="file" tabindex="4" required="required"> | ||
95 | </div> | ||
96 | <div class="row mts txtcenter"> | ||
97 | <button class="bouton" type="submit" tabindex="4">{% trans "Import" %}</button> | ||
98 | </div> | ||
99 | </fieldset> | ||
100 | </form> | ||
101 | <p><a href="?import">{% trans "You can click here to fetch content for articles with no content." %}</a></p> | ||
102 | <p class="more-info">{% 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)." %}</p> | ||
103 | |||
104 | <h2>{% trans "Export your wallabag data" %}</h2> | ||
105 | <p><a href="?export" target="_blank">{% trans "Export JSON" %}</a><br> | ||
106 | <span class="more-info">Data will be exported in a single JSON file.</span></p> | ||
107 | |||
108 | <h2>{% trans "Fancy an E-Book ?" %}</h2> | ||
109 | <p>{% trans "Click to get all your articles in one ebook :" %} | ||
110 | <ul> | ||
111 | <li><a href="./?epub&method=all" title="Generate ePub file">ePub 3</a></li> | ||
112 | <li><a href="./?mobi&method=all" title="Generate Mobi file">Mobi</a></li> | ||
113 | <li><a href="./?pdf&method=all" title="Generate PDF file">PDF</a></li> | ||
114 | </ul> | ||
115 | </p> | ||
116 | |||
117 | <span class="more-info">{% trans "This can <b>take a while</b> and can <b>even fail</b> if you have too many articles, depending on your server configuration." %}</span></p> | ||
118 | |||
119 | <h2><a name="cache"></a>{% trans "Cache" %}</h2> | ||
120 | <p><a href="?empty-cache">{% trans "Delete Cache" %}</a><br> | ||
121 | <span class="more-info">Deleting the cache may help with display or other problems.</span></p> | ||
122 | |||
123 | {% if http_auth == 0 %} | ||
124 | <h2>{% trans "Change your password" %}</h2> | ||
125 | <form method="post" action="?config" name="loginform"> | ||
126 | <fieldset class="w500p"> | ||
127 | <div class="row"> | ||
128 | <label class="col w150p" for="password">{% trans "New password:" %}</label> | ||
129 | <input class="col" type="password" id="password" name="password" placeholder="{% trans "Password" %}" tabindex="2"> | ||
130 | </div> | ||
131 | <div class="row"> | ||
132 | <label class="col w150p" for="password_repeat">{% trans "Repeat your new password:" %}</label> | ||
133 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="{% trans "Password" %}" tabindex="3"> | ||
134 | </div> | ||
135 | <div class="row mts txtcenter"> | ||
136 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | ||
137 | </div> | ||
138 | </fieldset> | ||
139 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
140 | <input type="hidden" name="token" value="{{ token }}"> | ||
141 | </form> | ||
142 | {% endif %} | ||
143 | |||
144 | <h2>{% trans 'Add user' %}</h2> | ||
145 | <form method="post" action="?newuser"> | ||
146 | <fieldset class="w500p"> | ||
147 | <div class="row"> | ||
148 | <label class="col w150p" for="newusername">{% trans 'Login for new user' %}</label> | ||
149 | <input class="col" type="text" id="newusername" name="newusername" placeholder="{% trans 'Login' %}" required> | ||
150 | </div> | ||
151 | <div class="row"> | ||
152 | <label class="col w150p" for="password4newuser">{% trans "Password for new user" %}</label> | ||
153 | <input class="col" type="password" id="password4newuser" name="password4newuser" placeholder="{% trans 'Password' %}" required> | ||
154 | </div> | ||
155 | <div class="row"> | ||
156 | <label class="col w150p" for="newuseremail">{% trans 'Email for new user (not required)' %}</label> | ||
157 | <input class="col" type="email" id="newuseremail" name="newuseremail" placeholder="{% trans 'Email' %}"> | ||
158 | </div> | ||
159 | <div class="row mts txtcenter"> | ||
160 | <button type="submit">{% trans "Add user" %}</button> | ||
161 | </div> | ||
162 | </fieldset> | ||
163 | </form> | ||
164 | |||
165 | <h2>{% trans "Delete account" %}</h2> | ||
166 | {% if not only_user %}<form method="post" action="?deluser"> | ||
167 | <p>{% trans "You can delete your account by entering your password and validating." %}<br /><b>{% trans "Be careful, data will be erased forever (that is a very long time)." %}</b></p> | ||
168 | <fieldset class="w500p"> | ||
169 | <div class="row"> | ||
170 | <label class="col w150p" for="password4deletinguser">{% trans "Type here your password" %}</label> | ||
171 | <input class="col" type="password" id="password4deletinguser" name="password4deletinguser" placeholder="{% trans "Password" %}"> | ||
172 | </div> | ||
173 | <div class="row mts txtcenter"> | ||
174 | <button type="submit">{% trans "Delete account" %}</button> | ||
175 | </div> | ||
176 | </form> | ||
177 | {% else %}<p>{% trans "You are the only user, you cannot delete your own account." %}</p> | ||
178 | <p>{% trans "To completely remove wallabag, delete the wallabag folder on your web server (and eventual databases)." %}</p>{% endif %} | ||
179 | |||
180 | <h2>{% trans "Upgrading wallabag" %}</h2> | ||
181 | <ul> | ||
182 | <li>{% trans "Installed version" %}: <strong>{{ constant('WALLABAG') }}</strong></li> | ||
183 | <li>{% trans "Latest stable version" %}: {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent stable version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %} ({% trans "Last check:" %} {{ check_time_prod }})</li> | ||
184 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "Latest dev version" %}: {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent development version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %} ({% trans "Last check:" %} {{ check_time_dev }}){% endif %}</li> | ||
185 | </ul> | ||
186 | <p class="more-info">{% trans "You can clear cache to check the latest release." %}</p> | ||
187 | |||
188 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/edit-tags.twig b/src/Wallabag/CoreBundle/Resources/views/default/edit-tags.twig deleted file mode 100755 index c29427e0..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/edit-tags.twig +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}edit tags{% endblock %} | ||
3 | {% block menu %} | ||
4 | {% include '_menu.twig' %} | ||
5 | {% endblock %} | ||
6 | {% block content %} | ||
7 | |||
8 | <script src="{{ poche_url }}themes/_global/js/jquery-ui-1.10.4.custom.min.js"></script> | ||
9 | <script src="{{ poche_url }}themes/_global/js/autoCompleteTags.js"></script> | ||
10 | <link rel="stylesheet" href="{{ poche_url }}themes/_global/css/jquery-ui-1.10.4.custom.min.css" media="all"> | ||
11 | |||
12 | <div id="article"> | ||
13 | <header class="mbm"> | ||
14 | <h1>{{ entry.title|raw }}</h1> | ||
15 | </header> | ||
16 | </div> | ||
17 | |||
18 | {% if tags is empty %} | ||
19 | {% trans "no tags" %} | ||
20 | {% endif %} | ||
21 | <ul> | ||
22 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} | ||
23 | </ul> | ||
24 | <form method="post" action="./?action=add_tag" id="editTags"> | ||
25 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> | ||
26 | <label for="value">{% trans "Add tags:" %}</label> | ||
27 | <input type="text" placeholder="{% trans "interview" %}, {% trans "editorial" %}, {% trans "video" %}" id="value" name="value" required="required" /> | ||
28 | <input type="submit" value="Tag" /> | ||
29 | <p>{% trans "Start typing for auto complete." %}<br> | ||
30 | {% trans "You can enter multiple tags, separated by commas." %}</p> | ||
31 | |||
32 | </form> | ||
33 | <br> | ||
34 | <a href="./?view=view&id={{ entry_id }}">« {% trans "return to article" %}</a> | ||
35 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/error.twig b/src/Wallabag/CoreBundle/Resources/views/default/error.twig deleted file mode 100644 index 528a0985..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/error.twig +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}{% trans "plop" %}{% endblock %} | ||
3 | {% block content %} | ||
4 | <h1>Errors</h1> | ||
5 | <ol> | ||
6 | {% for message in msg %} | ||
7 | <li>{{message}}</li> | ||
8 | {% endfor %} | ||
9 | </ol> | ||
10 | <p>Don't forget <a href="http://doc.wallabag.org/">the documentation</a>.</p> | ||
11 | <p> | ||
12 | {% trans "You can <a href='wallabag_compatibility_test.php'>check your configuration here</a>." %} | ||
13 | </p> | ||
14 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/export.twig b/src/Wallabag/CoreBundle/Resources/views/default/export.twig deleted file mode 100644 index 18a98a87..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/export.twig +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | {{ export }} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/home.twig b/src/Wallabag/CoreBundle/Resources/views/default/home.twig deleted file mode 100755 index b9000559..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/home.twig +++ /dev/null | |||
@@ -1,82 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %} | ||
3 | {% if view == 'fav' %} | ||
4 | {% trans "favoris" %} | ||
5 | {% elseif view == 'archive' %} | ||
6 | {% trans "archive" %} | ||
7 | {% else %} | ||
8 | {% trans "unread" %} | ||
9 | {% endif %} | ||
10 | {% endblock %} | ||
11 | {% block menu %} | ||
12 | {% include '_menu.twig' %} | ||
13 | {% endblock %} | ||
14 | {% block precontent %} | ||
15 | |||
16 | {% include '_sorting.twig' %} | ||
17 | {% endblock %} | ||
18 | {% block content %} | ||
19 | |||
20 | {% if includeImport %} | ||
21 | {% include '_import.twig' %} | ||
22 | {% endif %} | ||
23 | |||
24 | {% if tag %} | ||
25 | <h3>{% trans "Tag" %}: <b>{{ tag.value }}</b></h3> | ||
26 | {% endif %} | ||
27 | |||
28 | {% if entries is empty %} | ||
29 | <div class="messages warning"><p>{% trans "No articles found." %}</p></div> | ||
30 | {% else %} | ||
31 | {% block pager %} | ||
32 | {% if nb_results > 1 %} | ||
33 | <div class="results"> | ||
34 | <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}</div> | ||
35 | {{ page_links | raw }} | ||
36 | </div> | ||
37 | {% elseif nb_results == 1 %} | ||
38 | {% if searchterm is defined %} | ||
39 | <div class="results"> | ||
40 | <div class="nb-results">{% trans "Only one result found for " %} « {{ searchterm }} »</div> | ||
41 | </div> | ||
42 | {% endif %} | ||
43 | {% endif %} | ||
44 | {% endblock %} | ||
45 | {% for entry in entries %} | ||
46 | <div id="entry-{{ entry.id|e }}" class="entrie"> | ||
47 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> | ||
48 | <ul class="tools"> | ||
49 | <li><a title="{% trans "Toggle mark as read" %}" class="tool {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span>{% trans "Toggle mark as read" %}</span></a></li> | ||
50 | <li><a title="{% trans "toggle favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li> | ||
51 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> | ||
52 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li> | ||
53 | <li><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="reading-time"><span>{{ entry.content| getReadingTime }} min</span></a></li> | ||
54 | </ul> | ||
55 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> | ||
56 | </div> | ||
57 | {% endfor %} | ||
58 | |||
59 | {{ block('pager') }} | ||
60 | {% if view == 'home' %}{% if nb_results > 1 %}<p><a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{% trans "Mark all the entries as read" %}</a></p>{% endif %}{% endif %} | ||
61 | {% if searchterm is defined %}<a title="{% trans "Tag these results as" %} {{ searchterm }}" href="./?action=add_tag&search={{ searchterm }}">{% trans "Tag these results as" %} {{ searchterm }}</a>{% endif %}<br /> | ||
62 | |||
63 | {% if searchterm is defined %}<a title="{% trans "Delete results matching" %} {{ searchterm }}" href="./?action=delete&search={{ searchterm }}">{% trans "Delete results matching" %} {{ searchterm }}</a>{% endif %}<br /> | ||
64 | |||
65 | {% if tag %}<a title="{% trans "Mark all articles from this tag as read" %}" href="./?action=toggle_archive&tag_id={{ tag.id }}">{% trans "Mark all articles from this tag as read" %}</a><br />{% endif %} | ||
66 | |||
67 | {% if tag %} | ||
68 | {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this tag in an epub file" %}" href="./?epub&method=tag&value={{ tag.value }}">{% trans "Download as ePub3" %}</a>{% endif %} | ||
69 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this tag in a mobi file" %}" href="./?mobi&method=tag&value={{ tag.value }}">{% trans "Download as Mobi" %}</a>{% endif %} | ||
70 | {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this tag in a pdf file" %}" href="./?pdf&method=tag&value={{ tag.value }}">{% trans "Download as PDF" %}</a>{% endif %} | ||
71 | {% elseif searchterm is defined %} | ||
72 | {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&method=search&value={{ searchterm }}">{% trans "Download as ePub3" %}</a>{% endif %} | ||
73 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this search in a mobi file" %}" href="./?mobi&method=search&value={{ searchterm }}">{% trans "Download as Mobi" %}</a>{% endif %} | ||
74 | {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this search in a pdf file" %}" href="./?pdf&method=search&value={{ searchterm }}">{% trans "Download as PDF" %}</a>{% endif %} | ||
75 | {% else %} | ||
76 | {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this category in an epub" %}" href="./?epub&method=category&value={{ view }}">{% trans "Download as ePub3" %}</a>{% endif %} | ||
77 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this category in a mobi file" %}" href="./?mobi&method=category&value={{ view }}">{% trans "Download as Mobi" %}</a>{% endif %} | ||
78 | {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this category in a pdf file" %}" href="./?pdf&method=category&value={{ view }}">{% trans "Download as PDF" %}</a>{% endif %} | ||
79 | {% endif %} | ||
80 | |||
81 | {% endif %} | ||
82 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/install.twig b/src/Wallabag/CoreBundle/Resources/views/default/install.twig deleted file mode 100644 index c89c7e47..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/install.twig +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}{% trans "installation" %}{% endblock %} | ||
3 | {% block content %} | ||
4 | <form method="post" action="?install" name="loginform"> | ||
5 | <fieldset class="w500p center"> | ||
6 | <h2 class="mbs txtcenter">{% trans "install your wallabag" %}</h2> | ||
7 | <p> | ||
8 | {% trans "wallabag is still not installed. Please fill the below form to install it. Don't hesitate to <a href='http://doc.wallabag.org/'>read the documentation on wallabag website</a>." %} | ||
9 | </p> | ||
10 | <p class="row"> | ||
11 | <label class="col w150p" for="login">{% trans "Login" %}</label> | ||
12 | <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus /> | ||
13 | </p> | ||
14 | <p class="row"> | ||
15 | <label class="col w150p" for="password">{% trans "Password" %}</label> | ||
16 | <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2"> | ||
17 | </p> | ||
18 | <p class="row"> | ||
19 | <label class="col w150p" for="password_repeat">{% trans "Repeat your password" %}</label> | ||
20 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="Password" tabindex="3"> | ||
21 | </p> | ||
22 | <p class="row mts txtcenter"> | ||
23 | <button class="bouton" type="submit" tabindex="4">{% trans "Install" %}</button> | ||
24 | </p> | ||
25 | </fieldset> | ||
26 | <input type="hidden" name="token" value="{{ token }}"> | ||
27 | </form> | ||
28 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/layout.twig b/src/Wallabag/CoreBundle/Resources/views/default/layout.twig deleted file mode 100644 index d32395a2..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/layout.twig +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!--[if lte IE 6]><html class="no-js ie6 ie67 ie678" lang="{{ lang }}"><![endif]--> | ||
3 | <!--[if lte IE 7]><html class="no-js ie7 ie67 ie678" lang="{{ lang }}"><![endif]--> | ||
4 | <!--[if IE 8]><html class="no-js ie8 ie678" lang="{{ lang }}"><![endif]--> | ||
5 | <!--[if gt IE 8]><html class="no-js" lang="{{ lang }}"><![endif]--> | ||
6 | <html lang="{{ lang }}"> | ||
7 | <head> | ||
8 | <meta name="viewport" content="initial-scale=1.0"> | ||
9 | <meta charset="utf-8"> | ||
10 | <!--[if IE]> | ||
11 | <meta http-equiv="X-UA-Compatible" content="IE=10"> | ||
12 | <![endif]--> | ||
13 | <title>{% block title %}{% endblock %} - wallabag</title> | ||
14 | {% include '_head.twig' %} | ||
15 | {% include '_bookmarklet.twig' %} | ||
16 | </head> | ||
17 | <body> | ||
18 | {% include '_top.twig' %} | ||
19 | <div id="main"> | ||
20 | {% block menu %}{% endblock %} | ||
21 | {% block precontent %}{% endblock %} | ||
22 | {% block messages %} | ||
23 | {% include '_messages.twig' %} | ||
24 | {% endblock %} | ||
25 | <div id="content" class="w600p center"> | ||
26 | {% block content %}{% endblock %} | ||
27 | </div> | ||
28 | </div> | ||
29 | {% include '_footer.twig' %} | ||
30 | </body> | ||
31 | </html> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/login.twig b/src/Wallabag/CoreBundle/Resources/views/default/login.twig deleted file mode 100644 index b9f8b497..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/login.twig +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | |||
3 | {% block title %}{% trans "login to your wallabag" %}{% endblock %} | ||
4 | {% block content %} | ||
5 | {% if http_auth == 0 %} | ||
6 | <form method="post" action="?login" name="loginform"> | ||
7 | <fieldset class="w500p center"> | ||
8 | <h2 class="mbs txtcenter">{% trans "Login to wallabag" %}</h2> | ||
9 | {% if constant('MODE_DEMO') == 1 %}<p>{% trans "you are in demo mode, some features may be disabled." %}</p>{% endif %} | ||
10 | <div class="row"> | ||
11 | <label class="col w150p" for="login">{% trans "Username" %}</label> | ||
12 | <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} /> | ||
13 | </div> | ||
14 | |||
15 | <div class="row"> | ||
16 | <label class="col w150p" for="password">{% trans "Password" %}</label> | ||
17 | <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} /> | ||
18 | </div> | ||
19 | <div class="row"> | ||
20 | <label class="col w150p" for="longlastingsession">{% trans "Stay signed in" %}</label> | ||
21 | <div class="col"> | ||
22 | <input type="checkbox" id="longlastingsession" name="longlastingsession" tabindex="3"> | ||
23 | <small class="inbl">{% trans "(Do not check on public computers)" %}</small> | ||
24 | </div> | ||
25 | </div> | ||
26 | <div class="row mts txtcenter"> | ||
27 | <button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button> | ||
28 | </div> | ||
29 | </fieldset> | ||
30 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
31 | <input type="hidden" name="token" value="{{ token }}"> | ||
32 | </form> | ||
33 | {% endif %} | ||
34 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/animated-overlay.gif b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/animated-overlay.gif deleted file mode 100644 index d441f75e..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/animated-overlay.gif +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_flat_0_aaaaaa_40x100.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100644 index 9f10cb65..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_flat_0_aaaaaa_40x100.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_flat_75_ffffff_40x100.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_flat_75_ffffff_40x100.png deleted file mode 100644 index b89b914b..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_flat_75_ffffff_40x100.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_55_fbf9ee_1x400.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_55_fbf9ee_1x400.png deleted file mode 100644 index 780d3ffd..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_55_fbf9ee_1x400.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_65_ffffff_1x400.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100644 index da53255b..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_65_ffffff_1x400.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_75_dadada_1x400.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_75_dadada_1x400.png deleted file mode 100644 index f6306608..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_75_dadada_1x400.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_75_e6e6e6_1x400.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_75_e6e6e6_1x400.png deleted file mode 100644 index 7d347065..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_75_e6e6e6_1x400.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_95_fef1ec_1x400.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_95_fef1ec_1x400.png deleted file mode 100644 index 533c4900..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_glass_95_fef1ec_1x400.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png deleted file mode 100644 index bf3a9481..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_222222_256x240.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_222222_256x240.png deleted file mode 100644 index c1cb1170..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_222222_256x240.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_2e83ff_256x240.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_2e83ff_256x240.png deleted file mode 100644 index 84b601bf..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_2e83ff_256x240.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_454545_256x240.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_454545_256x240.png deleted file mode 100644 index b6db1acd..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_454545_256x240.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_888888_256x240.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_888888_256x240.png deleted file mode 100644 index feea0e20..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_888888_256x240.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_cd0a0a_256x240.png b/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_cd0a0a_256x240.png deleted file mode 100644 index ed5b6b09..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/images/ui-icons_cd0a0a_256x240.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/messages.css b/src/Wallabag/CoreBundle/Resources/views/default/public/css/messages.css deleted file mode 100644 index 46b54795..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/messages.css +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | .messages { | ||
2 | display: block; | ||
3 | clear: both; | ||
4 | width: 400px; | ||
5 | margin: 10px auto 10px; | ||
6 | padding: 10px 0; | ||
7 | -moz-border-radius: 4px; | ||
8 | border-radius: 4px; | ||
9 | } | ||
10 | |||
11 | .messages a.closeMessage { | ||
12 | display: none; | ||
13 | float: right; | ||
14 | width: 16px; | ||
15 | height: 16px; | ||
16 | margin: -14px -8px 0 0; | ||
17 | background: url(../img/messages/close.png) no-repeat; | ||
18 | } | ||
19 | |||
20 | /*.messages:hover a.closeMessage { visibility:visible; }*/ | ||
21 | |||
22 | .messages p { | ||
23 | margin: 3px 0 3px 10px !important; | ||
24 | padding: 0 10px 0 23px !important; | ||
25 | font-size: 14px; | ||
26 | line-height: 16px; | ||
27 | } | ||
28 | |||
29 | .messages.error { | ||
30 | border: 1px solid #c42608; | ||
31 | color: #c00 !important; | ||
32 | background: #fff0ef; | ||
33 | } | ||
34 | |||
35 | .messages.error p { | ||
36 | color: #c00 !important; | ||
37 | background: url(../img/messages/cross.png) no-repeat 0 50%; | ||
38 | } | ||
39 | |||
40 | .messages.success { | ||
41 | border: 1px solid #6dc70c; | ||
42 | background: #e0fbcc; | ||
43 | } | ||
44 | |||
45 | .messages.success p { | ||
46 | color: #2b6301 !important; | ||
47 | background: url(../img/messages/tick.png) no-repeat 0 50%; | ||
48 | } | ||
49 | |||
50 | .messages.warning { | ||
51 | border: 1px solid #ebcd41; | ||
52 | color: #000; | ||
53 | background: #fffcd3; | ||
54 | } | ||
55 | |||
56 | .messages.warning p { | ||
57 | color: #5f4e01; | ||
58 | background: url(../img/messages/warning.png) no-repeat 0 50%; | ||
59 | } | ||
60 | |||
61 | .messages.information, | ||
62 | .messages.info { | ||
63 | border: 1px solid #82aee7; | ||
64 | background: #dfebfb; | ||
65 | } | ||
66 | |||
67 | .messages.information p, | ||
68 | .messages.info p { | ||
69 | color: #064393; | ||
70 | background: url(../img/messages/help.png) no-repeat 0 50%; | ||
71 | } | ||
72 | |||
73 | .messages.information a { | ||
74 | text-decoration: underline; | ||
75 | } | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/print.css b/src/Wallabag/CoreBundle/Resources/views/default/public/css/print.css deleted file mode 100644 index 625478e1..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/print.css +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | /* ### Layout ### */ | ||
2 | |||
3 | body { | ||
4 | font-family: Serif; | ||
5 | background-color: #fff; | ||
6 | } | ||
7 | |||
8 | @page { | ||
9 | margin: 1cm; | ||
10 | } | ||
11 | |||
12 | img { | ||
13 | max-width: 100% !important; | ||
14 | } | ||
15 | |||
16 | /* ### Content ### */ | ||
17 | |||
18 | /* Hide useless blocks */ | ||
19 | body > header, | ||
20 | #links, | ||
21 | #sort, | ||
22 | body > footer, | ||
23 | .top_link, | ||
24 | div.tools, | ||
25 | header div, | ||
26 | .messages, | ||
27 | .entrie + .results, | ||
28 | #article_toolbar { | ||
29 | display: none !important; | ||
30 | } | ||
31 | |||
32 | article { | ||
33 | border: none !important; | ||
34 | } | ||
35 | |||
36 | pre code { | ||
37 | line-height: 1.6em; | ||
38 | } | ||
39 | |||
40 | /* Add URL after links */ | ||
41 | .vieworiginal a:after { | ||
42 | content: " (" attr(href) ")"; | ||
43 | } | ||
44 | |||
45 | /* Add explanation after abbr */ | ||
46 | abbr[title]:after { | ||
47 | content: " (" attr(title) ")"; | ||
48 | } | ||
49 | |||
50 | /* Change border on current pager item */ | ||
51 | .pagination span.current { | ||
52 | border-style: dashed; | ||
53 | } | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/style-default.css b/src/Wallabag/CoreBundle/Resources/views/default/public/css/style-default.css deleted file mode 100755 index 4406d48f..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/style-default.css +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | a.back span { | ||
2 | background-image: url('../img/default/left.png'); | ||
3 | } | ||
4 | |||
5 | a.top span { | ||
6 | background-image: url('../img/default/top.png'); | ||
7 | } | ||
8 | |||
9 | a.fav span, | ||
10 | a.fav-off span:hover { | ||
11 | background-image: url('../img/default/star-on.png'); | ||
12 | } | ||
13 | |||
14 | a.fav span:hover, | ||
15 | a.fav-off span { | ||
16 | background-image: url('../img/default/star-off.png'); | ||
17 | } | ||
18 | |||
19 | a.archive span, | ||
20 | a.archive-off span:hover { | ||
21 | background-image: url('../img/default/checkmark-on.png'); | ||
22 | } | ||
23 | |||
24 | a.archive span:hover, | ||
25 | a.archive-off span { | ||
26 | background-image: url('../img/default/checkmark-off.png'); | ||
27 | } | ||
28 | |||
29 | a.twitter span { | ||
30 | background-image: url('../img/default/twitter.png'); | ||
31 | } | ||
32 | |||
33 | a.shaarli span { | ||
34 | background-image: url('../img/default/shaarli.png'); | ||
35 | } | ||
36 | |||
37 | a.flattr span { | ||
38 | background-image: url('../img/default/flattr.png'); | ||
39 | } | ||
40 | |||
41 | a.carrot span { | ||
42 | background-image: url('../../_global/img/icons/carrot-icon--black.png'); | ||
43 | background-size: 16px 16px; | ||
44 | } | ||
45 | |||
46 | a.diaspora span { | ||
47 | background-image: url('../../_global/img/icons/diaspora-icon--black.png'); | ||
48 | background-size: 16px 16px; | ||
49 | } | ||
50 | |||
51 | a.email span { | ||
52 | background-image: url('../img/default/envelop.png'); | ||
53 | } | ||
54 | |||
55 | a.delete span { | ||
56 | background-image: url('../img/default/remove.png'); | ||
57 | } | ||
58 | |||
59 | a.link span { | ||
60 | background-image: url('../img/default/link.png'); | ||
61 | } | ||
62 | |||
63 | a.bad-display span { | ||
64 | background-image: url('../img/default/bad-display.png'); | ||
65 | } | ||
66 | |||
67 | a.print span { | ||
68 | background-image: url('../img/default/print.png'); | ||
69 | } | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/fonts/Roboto.woff b/src/Wallabag/CoreBundle/Resources/views/default/public/fonts/Roboto.woff deleted file mode 100644 index 1440b1be..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/fonts/Roboto.woff +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/highlight.pack.js b/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/highlight.pack.js deleted file mode 100644 index 10a21c34..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/highlight.pack.js +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | var hljs=new function(){function j(v){return v.replace(/&/gm,"&").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<y[0].offset)?w:y}return y[0].event=="start"?w:y}function A(H){function G(I){return" "+I.nodeName+'="'+j(I.value)+'"'}F+="<"+t(H)+Array.prototype.map.call(H.attributes,G).join("")+">"}function E(G){F+="</"+t(G)+">"}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<V.c.length;T++){if(h(V.c[T].bR,U)){return V.c[T]}}}function z(U,T){if(h(U.eR,T)){return U}if(U.eW){return z(U.parent,T)}}function A(T,U){return !J&&h(U.iR,T)}function E(V,T){var U=M.cI?T[0].toLowerCase():T[0];return V.k.hasOwnProperty(U)&&V.k[U]}function w(Z,X,W,V){var T=V?"":b.classPrefix,U='<span class="'+T,Y=W?"":"</span>";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+="</span>"}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||"<unnamed>")+'"')}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+="</span>"}}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,"<br>")}return v}function p(z){var y=b.useBR?z.innerHTML.replace(/\n/g,"").replace(/<br>|<br [^>]*>/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:"</?",e:">"}]}]},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:/</,e:/>;/,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:/</,r:0,c:[d,{cN:"attribute",b:c,r:0},{b:"=",r:0,c:[{cN:"value",v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s\/>]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xsl","plist"],cI:true,c:[{cN:"doctype",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},{cN:"comment",b:"<!--",e:"-->",r:10},{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{title:"style"},c:[b],starts:{e:"</style>",rE:true,sL:"css"}},{cN:"tag",b:"<script(?=\\s|>|$)",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:"</?",e:"/?>",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:"</",c:[a.CLCM,a.CBCM,a.CNM,a.QSM,{cN:"string",v:[{b:'@"',e:'"',i:"\\n",c:[a.BE]},{b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"}]},{cN:"preprocessor",b:"#",e:"$",c:[{cN:"title",v:[{b:'"',e:'"'},{b:"<",e:">"}]}]},{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:"</?",e:">"},{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:"</",c:[a.CLCM,a.CBCM,a.QSM,{cN:"string",b:"'\\\\?.",e:"'",i:"."},{cN:"number",b:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},a.CNM,{cN:"preprocessor",b:"#",e:"$",k:"if else elif endif define undef warning error line pragma",c:[{b:'include\\s*[<"]',e:'[>"]',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/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/styles/default.css b/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/styles/default.css deleted file mode 100644 index e5bd2801..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/styles/default.css +++ /dev/null | |||
@@ -1,152 +0,0 @@ | |||
1 | /* | ||
2 | |||
3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #f0f0f0; | ||
12 | } | ||
13 | |||
14 | .hljs, | ||
15 | .hljs-subst, | ||
16 | .hljs-tag .hljs-title, | ||
17 | .lisp .hljs-title, | ||
18 | .clojure .hljs-built_in, | ||
19 | .nginx .hljs-title { | ||
20 | color: black; | ||
21 | } | ||
22 | |||
23 | .hljs-string, | ||
24 | .hljs-title, | ||
25 | .hljs-constant, | ||
26 | .hljs-parent, | ||
27 | .hljs-tag .hljs-value, | ||
28 | .hljs-rules .hljs-value, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-pragma, | ||
31 | .haml .hljs-symbol, | ||
32 | .ruby .hljs-symbol, | ||
33 | .ruby .hljs-symbol .hljs-string, | ||
34 | .hljs-template_tag, | ||
35 | .django .hljs-variable, | ||
36 | .smalltalk .hljs-class, | ||
37 | .hljs-addition, | ||
38 | .hljs-flow, | ||
39 | .hljs-stream, | ||
40 | .bash .hljs-variable, | ||
41 | .apache .hljs-tag, | ||
42 | .apache .hljs-cbracket, | ||
43 | .tex .hljs-command, | ||
44 | .tex .hljs-special, | ||
45 | .erlang_repl .hljs-function_or_atom, | ||
46 | .asciidoc .hljs-header, | ||
47 | .markdown .hljs-header, | ||
48 | .coffeescript .hljs-attribute { | ||
49 | color: #800; | ||
50 | } | ||
51 | |||
52 | .smartquote, | ||
53 | .hljs-comment, | ||
54 | .hljs-annotation, | ||
55 | .hljs-template_comment, | ||
56 | .diff .hljs-header, | ||
57 | .hljs-chunk, | ||
58 | .asciidoc .hljs-blockquote, | ||
59 | .markdown .hljs-blockquote { | ||
60 | color: #888; | ||
61 | } | ||
62 | |||
63 | .hljs-number, | ||
64 | .hljs-date, | ||
65 | .hljs-regexp, | ||
66 | .hljs-literal, | ||
67 | .hljs-hexcolor, | ||
68 | .smalltalk .hljs-symbol, | ||
69 | .smalltalk .hljs-char, | ||
70 | .go .hljs-constant, | ||
71 | .hljs-change, | ||
72 | .lasso .hljs-variable, | ||
73 | .makefile .hljs-variable, | ||
74 | .asciidoc .hljs-bullet, | ||
75 | .markdown .hljs-bullet, | ||
76 | .asciidoc .hljs-link_url, | ||
77 | .markdown .hljs-link_url { | ||
78 | color: #080; | ||
79 | } | ||
80 | |||
81 | .hljs-label, | ||
82 | .hljs-javadoc, | ||
83 | .ruby .hljs-string, | ||
84 | .hljs-decorator, | ||
85 | .hljs-filter .hljs-argument, | ||
86 | .hljs-localvars, | ||
87 | .hljs-array, | ||
88 | .hljs-attr_selector, | ||
89 | .hljs-important, | ||
90 | .hljs-pseudo, | ||
91 | .hljs-pi, | ||
92 | .haml .hljs-bullet, | ||
93 | .hljs-doctype, | ||
94 | .hljs-deletion, | ||
95 | .hljs-envvar, | ||
96 | .hljs-shebang, | ||
97 | .apache .hljs-sqbracket, | ||
98 | .nginx .hljs-built_in, | ||
99 | .tex .hljs-formula, | ||
100 | .erlang_repl .hljs-reserved, | ||
101 | .hljs-prompt, | ||
102 | .asciidoc .hljs-link_label, | ||
103 | .markdown .hljs-link_label, | ||
104 | .vhdl .hljs-attribute, | ||
105 | .clojure .hljs-attribute, | ||
106 | .asciidoc .hljs-attribute, | ||
107 | .lasso .hljs-attribute, | ||
108 | .coffeescript .hljs-property, | ||
109 | .hljs-phony { | ||
110 | color: #88f; | ||
111 | } | ||
112 | |||
113 | .hljs-keyword, | ||
114 | .hljs-id, | ||
115 | .hljs-title, | ||
116 | .hljs-built_in, | ||
117 | .css .hljs-tag, | ||
118 | .hljs-javadoctag, | ||
119 | .hljs-phpdoc, | ||
120 | .hljs-yardoctag, | ||
121 | .smalltalk .hljs-class, | ||
122 | .hljs-winutils, | ||
123 | .bash .hljs-variable, | ||
124 | .apache .hljs-tag, | ||
125 | .go .hljs-typename, | ||
126 | .tex .hljs-command, | ||
127 | .asciidoc .hljs-strong, | ||
128 | .markdown .hljs-strong, | ||
129 | .hljs-request, | ||
130 | .hljs-status { | ||
131 | font-weight: bold; | ||
132 | } | ||
133 | |||
134 | .asciidoc .hljs-emphasis, | ||
135 | .markdown .hljs-emphasis { | ||
136 | font-style: italic; | ||
137 | } | ||
138 | |||
139 | .nginx .hljs-built_in { | ||
140 | font-weight: normal; | ||
141 | } | ||
142 | |||
143 | .coffeescript .javascript, | ||
144 | .javascript .xml, | ||
145 | .lasso .markup, | ||
146 | .tex .hljs-formula, | ||
147 | .xml .javascript, | ||
148 | .xml .vbscript, | ||
149 | .xml .css, | ||
150 | .xml .hljs-cdata { | ||
151 | opacity: 0.5; | ||
152 | } | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/styles/github.css b/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/styles/github.css deleted file mode 100644 index 47fc2651..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/styles/github.css +++ /dev/null | |||
@@ -1,127 +0,0 @@ | |||
1 | /* | ||
2 | |||
3 | github.com style (c) Vasily Polovnyov <vast@whiteants.net> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | color: #333; | ||
12 | background: #f8f8f8; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-template_comment, | ||
17 | .diff .hljs-header, | ||
18 | .hljs-javadoc { | ||
19 | color: #998; | ||
20 | font-style: italic; | ||
21 | } | ||
22 | |||
23 | .hljs-keyword, | ||
24 | .css .rule .hljs-keyword, | ||
25 | .hljs-winutils, | ||
26 | .javascript .hljs-title, | ||
27 | .nginx .hljs-title, | ||
28 | .hljs-subst, | ||
29 | .hljs-request, | ||
30 | .hljs-status { | ||
31 | color: #333; | ||
32 | font-weight: bold; | ||
33 | } | ||
34 | |||
35 | .hljs-number, | ||
36 | .hljs-hexcolor, | ||
37 | .ruby .hljs-constant { | ||
38 | color: #099; | ||
39 | } | ||
40 | |||
41 | .hljs-string, | ||
42 | .hljs-tag .hljs-value, | ||
43 | .hljs-phpdoc, | ||
44 | .tex .hljs-formula { | ||
45 | color: #d14; | ||
46 | } | ||
47 | |||
48 | .hljs-title, | ||
49 | .hljs-id, | ||
50 | .coffeescript .hljs-params, | ||
51 | .scss .hljs-preprocessor { | ||
52 | color: #900; | ||
53 | font-weight: bold; | ||
54 | } | ||
55 | |||
56 | .javascript .hljs-title, | ||
57 | .lisp .hljs-title, | ||
58 | .clojure .hljs-title, | ||
59 | .hljs-subst { | ||
60 | font-weight: normal; | ||
61 | } | ||
62 | |||
63 | .hljs-class .hljs-title, | ||
64 | .haskell .hljs-type, | ||
65 | .vhdl .hljs-literal, | ||
66 | .tex .hljs-command { | ||
67 | color: #458; | ||
68 | font-weight: bold; | ||
69 | } | ||
70 | |||
71 | .hljs-tag, | ||
72 | .hljs-tag .hljs-title, | ||
73 | .hljs-rules .hljs-property, | ||
74 | .django .hljs-tag .hljs-keyword { | ||
75 | color: #000080; | ||
76 | font-weight: normal; | ||
77 | } | ||
78 | |||
79 | .hljs-attribute, | ||
80 | .hljs-variable, | ||
81 | .lisp .hljs-body { | ||
82 | color: #008080; | ||
83 | } | ||
84 | |||
85 | .hljs-regexp { | ||
86 | color: #009926; | ||
87 | } | ||
88 | |||
89 | .hljs-symbol, | ||
90 | .ruby .hljs-symbol .hljs-string, | ||
91 | .lisp .hljs-keyword, | ||
92 | .tex .hljs-special, | ||
93 | .hljs-prompt { | ||
94 | color: #990073; | ||
95 | } | ||
96 | |||
97 | .hljs-built_in, | ||
98 | .lisp .hljs-title, | ||
99 | .clojure .hljs-built_in { | ||
100 | color: #0086b3; | ||
101 | } | ||
102 | |||
103 | .hljs-preprocessor, | ||
104 | .hljs-pragma, | ||
105 | .hljs-pi, | ||
106 | .hljs-doctype, | ||
107 | .hljs-shebang, | ||
108 | .hljs-cdata { | ||
109 | color: #999; | ||
110 | font-weight: bold; | ||
111 | } | ||
112 | |||
113 | .hljs-deletion { | ||
114 | background: #fdd; | ||
115 | } | ||
116 | |||
117 | .hljs-addition { | ||
118 | background: #dfd; | ||
119 | } | ||
120 | |||
121 | .diff .hljs-change { | ||
122 | background: #0086b3; | ||
123 | } | ||
124 | |||
125 | .hljs-chunk { | ||
126 | color: #aaa; | ||
127 | } | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/styles/googlecode.css b/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/styles/googlecode.css deleted file mode 100644 index fd237367..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/highlightjs/styles/googlecode.css +++ /dev/null | |||
@@ -1,148 +0,0 @@ | |||
1 | /* | ||
2 | |||
3 | Google Code style (c) Aahan Krish <geekpanth3r@gmail.com> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: white; | ||
12 | color: black; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-template_comment, | ||
17 | .hljs-javadoc { | ||
18 | color: #800; | ||
19 | } | ||
20 | |||
21 | .hljs-keyword, | ||
22 | .method, | ||
23 | .hljs-list .hljs-title, | ||
24 | .clojure .hljs-built_in, | ||
25 | .nginx .hljs-title, | ||
26 | .hljs-tag .hljs-title, | ||
27 | .setting .hljs-value, | ||
28 | .hljs-winutils, | ||
29 | .tex .hljs-command, | ||
30 | .http .hljs-title, | ||
31 | .hljs-request, | ||
32 | .hljs-status { | ||
33 | color: #008; | ||
34 | } | ||
35 | |||
36 | .hljs-envvar, | ||
37 | .tex .hljs-special { | ||
38 | color: #660; | ||
39 | } | ||
40 | |||
41 | .hljs-string, | ||
42 | .hljs-tag .hljs-value, | ||
43 | .hljs-cdata, | ||
44 | .hljs-filter .hljs-argument, | ||
45 | .hljs-attr_selector, | ||
46 | .apache .hljs-cbracket, | ||
47 | .hljs-date, | ||
48 | .hljs-regexp, | ||
49 | .coffeescript .hljs-attribute { | ||
50 | color: #080; | ||
51 | } | ||
52 | |||
53 | .hljs-sub .hljs-identifier, | ||
54 | .hljs-pi, | ||
55 | .hljs-tag, | ||
56 | .hljs-tag .hljs-keyword, | ||
57 | .hljs-decorator, | ||
58 | .ini .hljs-title, | ||
59 | .hljs-shebang, | ||
60 | .hljs-prompt, | ||
61 | .hljs-hexcolor, | ||
62 | .hljs-rules .hljs-value, | ||
63 | .hljs-literal, | ||
64 | .hljs-symbol, | ||
65 | .ruby .hljs-symbol .hljs-string, | ||
66 | .hljs-number, | ||
67 | .css .hljs-function, | ||
68 | .clojure .hljs-attribute { | ||
69 | color: #066; | ||
70 | } | ||
71 | |||
72 | .hljs-class .hljs-title, | ||
73 | .haskell .hljs-type, | ||
74 | .smalltalk .hljs-class, | ||
75 | .hljs-javadoctag, | ||
76 | .hljs-yardoctag, | ||
77 | .hljs-phpdoc, | ||
78 | .hljs-typename, | ||
79 | .hljs-tag .hljs-attribute, | ||
80 | .hljs-doctype, | ||
81 | .hljs-class .hljs-id, | ||
82 | .hljs-built_in, | ||
83 | .setting, | ||
84 | .hljs-params, | ||
85 | .hljs-variable, | ||
86 | .clojure .hljs-title { | ||
87 | color: #606; | ||
88 | } | ||
89 | |||
90 | .css .hljs-tag, | ||
91 | .hljs-rules .hljs-property, | ||
92 | .hljs-pseudo, | ||
93 | .hljs-subst { | ||
94 | color: #000; | ||
95 | } | ||
96 | |||
97 | .css .hljs-class, | ||
98 | .css .hljs-id { | ||
99 | color: #9b703f; | ||
100 | } | ||
101 | |||
102 | .hljs-value .hljs-important { | ||
103 | color: #ff7700; | ||
104 | font-weight: bold; | ||
105 | } | ||
106 | |||
107 | .hljs-rules .hljs-keyword { | ||
108 | color: #c5af75; | ||
109 | } | ||
110 | |||
111 | .hljs-annotation, | ||
112 | .apache .hljs-sqbracket, | ||
113 | .nginx .hljs-built_in { | ||
114 | color: #9b859d; | ||
115 | } | ||
116 | |||
117 | .hljs-preprocessor, | ||
118 | .hljs-preprocessor *, | ||
119 | .hljs-pragma { | ||
120 | color: #444; | ||
121 | } | ||
122 | |||
123 | .tex .hljs-formula { | ||
124 | background-color: #eee; | ||
125 | font-style: italic; | ||
126 | } | ||
127 | |||
128 | .diff .hljs-header, | ||
129 | .hljs-chunk { | ||
130 | color: #808080; | ||
131 | font-weight: bold; | ||
132 | } | ||
133 | |||
134 | .diff .hljs-change { | ||
135 | background-color: #bccff9; | ||
136 | } | ||
137 | |||
138 | .hljs-addition { | ||
139 | background-color: #baeeba; | ||
140 | } | ||
141 | |||
142 | .hljs-deletion { | ||
143 | background-color: #ffc8bd; | ||
144 | } | ||
145 | |||
146 | .hljs-comment .hljs-yardoctag { | ||
147 | font-weight: bold; | ||
148 | } | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/backtotop.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/backtotop.png deleted file mode 100644 index 051238ef..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/backtotop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/bad-display.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/bad-display.png deleted file mode 100755 index 6866799f..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/bad-display.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/checkmark-off.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/checkmark-off.png deleted file mode 100644 index 3db5a06d..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/checkmark-off.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/checkmark-on.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/checkmark-on.png deleted file mode 100644 index cd3abb2c..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/checkmark-on.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/down.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/down.png deleted file mode 100644 index b9d536a7..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/down.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/envelop.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/envelop.png deleted file mode 100644 index 6be1c886..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/envelop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/flattr.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/flattr.png deleted file mode 100755 index 0404aaea..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/flattr.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/left.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/left.png deleted file mode 100644 index a0a53631..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/left.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/link.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/link.png deleted file mode 100755 index db62819d..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/link.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/print.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/print.png deleted file mode 100755 index 83d6445b..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/print.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/remove.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/remove.png deleted file mode 100644 index f8ad56a3..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/remove.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/rss.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/rss.png deleted file mode 100644 index 21bad1a1..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/rss.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/shaarli.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/shaarli.png deleted file mode 100644 index 1eb30f60..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/shaarli.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/star-off.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/star-off.png deleted file mode 100644 index 6a0133a7..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/star-off.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/star-on.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/star-on.png deleted file mode 100644 index a9f96eaa..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/star-on.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/top.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/top.png deleted file mode 100644 index 954a8c0a..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/top.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/twitter.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/twitter.png deleted file mode 100644 index cfcfe419..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/default/twitter.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/logo.svg b/src/Wallabag/CoreBundle/Resources/views/default/public/img/logo.svg deleted file mode 100644 index 865da440..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/logo.svg +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="64" height="64"> | ||
3 | <circle cx="32" cy="32" r="29.5" style="fill:#000" /> | ||
4 | <path d="m 16,18 33,0 0,26 -16.5,6 -16.5,-6 z" fill="#fff" /> | ||
5 | <rect width="9" height="2.5" x="17.5" y="24.5" fill="#000" /> | ||
6 | <rect width="9" height="2.5" x="28" y="24.5" fill="#000" /> | ||
7 | <rect width="9" height="2.5" x="38.5" y="24.5" fill="#000" /> | ||
8 | </svg> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/close.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/close.png deleted file mode 100644 index 731aa018..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/close.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/cross.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/cross.png deleted file mode 100644 index 1514d51a..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/cross.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/help.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/help.png deleted file mode 100644 index 5c870176..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/help.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/tick.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/tick.png deleted file mode 100644 index a9925a06..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/tick.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/warning.png b/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/warning.png deleted file mode 100644 index 628cf2da..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/img/messages/warning.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/js/closeMessage.js b/src/Wallabag/CoreBundle/Resources/views/default/public/js/closeMessage.js deleted file mode 100644 index b57fe4a8..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/js/closeMessage.js +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | $(function(){ | ||
2 | //--------------------------------------------------------------------------- | ||
3 | // Show the close icon when the user hover over a message | ||
4 | //--------------------------------------------------------------------------- | ||
5 | $('.messages').on('mouseenter', function(){ | ||
6 | $(this).find('a.closeMessage').stop(true, true).show(); | ||
7 | }).on('mouseleave', function(){ | ||
8 | $(this).find('a.closeMessage').stop(true, true).hide(); | ||
9 | }); | ||
10 | //--------------------------------------------------------------------------- | ||
11 | // Close the message box when the user clicks the close icon | ||
12 | //--------------------------------------------------------------------------- | ||
13 | $('a.closeMessage').on('click', function(){ | ||
14 | $(this).parents('div.messages').slideUp(300, function(){ $(this).remove(); }); | ||
15 | return false; | ||
16 | }); | ||
17 | }); \ No newline at end of file | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/tags.twig b/src/Wallabag/CoreBundle/Resources/views/default/tags.twig deleted file mode 100755 index 47359ed1..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/tags.twig +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}tags{% endblock %} | ||
3 | {% block menu %} | ||
4 | {% include '_menu.twig' %} | ||
5 | {% endblock %} | ||
6 | {% block content %} | ||
7 | <div class="two-column"> | ||
8 | {% for tag in tags %} | ||
9 | <a href="./?view=tag&id={{ tag.id }}">{{ tag.value }}</a> ({{ tag.entriescount }}) {% if token != '' %}<a href="?feed&type=tag&user_id={{ user_id }}&tag_id={{ tag.id }}&token={{ token }}" target="_blank"><img src="{{ poche_url }}themes/{{ theme }}/img/{{ theme }}/rss.png" /></a>{% endif %} | ||
10 | <br> | ||
11 | |||
12 | {% if loop.index == '%d'|format(loop.length/2 + 0.5) %} | ||
13 | </div><div class="two-column"> | ||
14 | {% endif %} | ||
15 | |||
16 | {% endfor %} | ||
17 | </div> | ||
18 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/theme.ini b/src/Wallabag/CoreBundle/Resources/views/default/theme.ini deleted file mode 100644 index 9f3cfb6a..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/theme.ini +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | name = Default \ No newline at end of file | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/view.twig b/src/Wallabag/CoreBundle/Resources/views/default/view.twig deleted file mode 100755 index 154de1e4..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/default/view.twig +++ /dev/null | |||
@@ -1,124 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}{{ entry.title|raw }} ({{ entry.url | e | getDomain }}){% endblock %} | ||
3 | {% block content %} | ||
4 | {% include '_highlight.twig' %} | ||
5 | {% include '_pocheit-form.twig' %} | ||
6 | <div id="article_toolbar"> | ||
7 | <ul> | ||
8 | <li><a href="./" title="{% trans "Return home" %}" class="tool back"><span>{% trans "Return home" %}</span></a></li> | ||
9 | <li><a href="#top" title="{% trans "Back to top" %}" class="tool top"><span>{% trans "Back to top" %}</span></a></li> | ||
10 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li> | ||
11 | <li><a title="{% trans "Mark as read" %}" class="tool {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="javascript: void(null);" id="markAsRead"><span>{% trans "Toggle mark as read" %}</span></a></li> | ||
12 | <li><a title="{% trans "Favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="javascript: void(null);" id="setFav"><span>{% trans "Toggle favorite" %}</span></a></li> | ||
13 | <li><a title="{% trans "Delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "Delete" %}</span></a></li> | ||
14 | {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title|url_encode}}%20{{ entry.url|url_encode }}%20via%20@wallabagapp" target="_blank" class="tool twitter" title="{% trans "Tweet" %}"><span>{% trans "Tweet" %}</span></a></li>{% endif %} | ||
15 | {% if constant('SHARE_MAIL') == 1 %}<li><a href="mailto:?subject={{ entry.title|url_encode }}&body={{ entry.url|url_encode }}%20via%20@wallabagapp" class="tool email" title="{% trans "Email" %}"><span>{% trans "Email" %}</span></a></li>{% endif %} | ||
16 | {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %} | ||
17 | {% if constant('SHARE_DIASPORA') == 1 %}<li><a href="{{ constant('DIASPORA_URL') }}/bookmarklet?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}¬es=&v=1&noui=1&jump=doclose" target="_blank" class="tool diaspora" title="{% trans "diaspora" %}"><span>{% trans "diaspora" %}</span></a></li>{% endif %} | ||
18 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span>{{ flattr.numFlattrs }}</a></li>{% endif %}{% endif %} | ||
19 | {% if constant('CARROT') == 1 %}<li><a href="https://secure.carrot.org/GiveAndGetBack.do?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" class="tool carrot icon" target="_blank" title="{% trans "carrot" %}"><span>{% trans "carrot" %}</span></a></li>{% endif %} | ||
20 | {% if constant('SHOW_PRINTLINK') == 1 %}<li><a title="{% trans "Print" %}" class="tool print" href="javascript: window.print();"><span>{% trans "Print" %}</span></a></li>{% endif %} | ||
21 | {% if constant('EPUB') == 1 %}<li><a href="./?epub&method=id&value={{ entry.id|e }}" title="Generate ePub file">EPUB</a></li>{% endif %} | ||
22 | {% if constant('MOBI') == 1 %}<li><a href="./?mobi&method=id&value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %} | ||
23 | {% if constant('PDF') == 1 %}<li><a href="./?pdf&method=id&value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %} | ||
24 | <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans "Does this article appear wrong?" %}" class="tool bad-display"><span>{% trans "Does this article appear wrong?" %}</span></a></li> | ||
25 | {% if constant('SHOW_READPERCENT') == 1 %}<li><div id="readLeftPercent">0%</div></li>{% endif %} | ||
26 | </ul> | ||
27 | </div> | ||
28 | <div id="article"> | ||
29 | <header class="mbm"> | ||
30 | <h1>{{ entry.title|raw }}</h1> | ||
31 | </header> | ||
32 | {% block tags %} | ||
33 | <aside class="tags"> | ||
34 | {% trans "tags:" %} {% for tag in tags %}<a href="./?view=tag&id={{ tag.id }}">{{ tag.value }}</a> {% endfor %}<a href="./?view=edit-tags&id={{ entry.id|e }}" title="{% trans "Edit tags" %}">✎</a> | ||
35 | </aside> | ||
36 | {% endblock %} | ||
37 | <article> | ||
38 | {{ content | raw }} | ||
39 | </article> | ||
40 | {{ block('tags') }} | ||
41 | </div> | ||
42 | <script src="{{ poche_url }}themes/_global/js/restoreScroll.js"></script> | ||
43 | <script type="text/javascript"> | ||
44 | $(document).ready(function() { | ||
45 | |||
46 | // toggle read property of current article | ||
47 | $('#markAsRead').click(function(){ | ||
48 | $("body").css("cursor", "wait"); | ||
49 | $.ajax( { url: './?action=toggle_archive&id={{ entry.id|e }}' }).done( | ||
50 | function( data ) { | ||
51 | if ( data == '1' ) { | ||
52 | if ( $('#markAsRead').hasClass("archive-off") ) { | ||
53 | $('#markAsRead').removeClass("archive-off"); | ||
54 | $('#markAsRead').addClass("archive"); | ||
55 | } | ||
56 | else { | ||
57 | $('#markAsRead').removeClass("archive"); | ||
58 | $('#markAsRead').addClass("archive-off"); | ||
59 | } | ||
60 | } | ||
61 | else { | ||
62 | alert('Error! Pls check if you are logged in.'); | ||
63 | } | ||
64 | }); | ||
65 | $("body").css("cursor", "auto"); | ||
66 | }); | ||
67 | |||
68 | // toggle favorite property of current article | ||
69 | $('#setFav').click(function(){ | ||
70 | $("body").css("cursor", "wait"); | ||
71 | $.ajax( { url: './?action=toggle_fav&id={{ entry.id|e }}' }).done( | ||
72 | function( data ) { | ||
73 | if ( data == '1' ) { | ||
74 | if ( $('#setFav').hasClass("fav-off") ) { | ||
75 | $('#setFav').removeClass("fav-off"); | ||
76 | $('#setFav').addClass("fav"); | ||
77 | } | ||
78 | else { | ||
79 | $('#setFav').removeClass("fav"); | ||
80 | $('#setFav').addClass("fav-off"); | ||
81 | } | ||
82 | } | ||
83 | else { | ||
84 | alert('Error! Pls check if you are logged in.'); | ||
85 | } | ||
86 | }); | ||
87 | $("body").css("cursor", "auto"); | ||
88 | }); | ||
89 | |||
90 | // set percent of read on startup | ||
91 | if ( $(document).height() <= $(window).innerHeight() ) { | ||
92 | pp = 100; | ||
93 | } | ||
94 | else { | ||
95 | pp = 0; | ||
96 | } | ||
97 | $('#readLeftPercent').text( pp + '%' ); | ||
98 | |||
99 | |||
100 | $(window).scroll(function(e){ | ||
101 | var scrollTop = $(window).scrollTop(); | ||
102 | var docHeight = $(document).height(); | ||
103 | var scrollPercent = (scrollTop) / (docHeight); | ||
104 | var scrollPercentRounded = Math.round(scrollPercent*100)/100; | ||
105 | savePercent({{ entry.id|e }}, scrollPercentRounded); | ||
106 | |||
107 | // change percent of read on scroll | ||
108 | pp = Math.round(scrollTop * 100 / ( docHeight - $(window).innerHeight() )); | ||
109 | $('#readLeftPercent').text( pp + '%' ); | ||
110 | }); | ||
111 | |||
112 | retrievePercent({{ entry.id|e }}); | ||
113 | |||
114 | $(window).resize(function(){ | ||
115 | retrievePercent({{ entry.id|e }}); | ||
116 | }); | ||
117 | |||
118 | // Hide useless "back to top" link when there is no scrollbar | ||
119 | if ($("body").height() <= $(window).height()) { | ||
120 | $('#article_toolbar .tool.top').parent().hide(); | ||
121 | } | ||
122 | }); | ||
123 | </script> | ||
124 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/README.md b/src/Wallabag/CoreBundle/Resources/views/dmagenta/README.md deleted file mode 100644 index 6abc37e3..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/README.md +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # dmagenta (dark magenta) theme | ||
2 | |||
3 | theme created by Nicolas LÅ“uillet aka nico_somb \ No newline at end of file | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/css/style-dmagenta.css b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/css/style-dmagenta.css deleted file mode 100644 index 4dc592d2..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/css/style-dmagenta.css +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
1 | body { | ||
2 | color: #d4d4d4; | ||
3 | background-color: #372d37; | ||
4 | } | ||
5 | |||
6 | a, | ||
7 | a:hover, | ||
8 | a:visited { | ||
9 | color: #8d748d; | ||
10 | } | ||
11 | |||
12 | a.back span { | ||
13 | background-image: url('../img/dmagenta/left.png'); | ||
14 | } | ||
15 | |||
16 | a.top span { | ||
17 | background-image: url('../img/dmagenta/top.png'); | ||
18 | } | ||
19 | |||
20 | a.fav span, | ||
21 | a.fav-off span:hover { | ||
22 | background-image: url('../img/dmagenta/star-on.png'); | ||
23 | } | ||
24 | |||
25 | a.fav span:hover, | ||
26 | a.fav-off span { | ||
27 | background-image: url('../img/dmagenta/star-off.png'); | ||
28 | } | ||
29 | |||
30 | a.archive span, | ||
31 | a.archive-off span:hover { | ||
32 | background-image: url('../img/dmagenta/checkmark-on.png'); | ||
33 | } | ||
34 | |||
35 | a.archive span:hover, | ||
36 | a.archive-off span { | ||
37 | background-image: url('../img/dmagenta/checkmark-off.png'); | ||
38 | } | ||
39 | |||
40 | a.twitter span { | ||
41 | background-image: url('../img/dmagenta/twitter.png'); | ||
42 | } | ||
43 | |||
44 | a.flattr span { | ||
45 | background-image: url('../img/dmagenta/flattr.png'); | ||
46 | } | ||
47 | |||
48 | a.shaarli span { | ||
49 | background-image: url('../img/dmagenta/shaarli.png'); | ||
50 | } | ||
51 | |||
52 | a.email span { | ||
53 | background-image: url('../img/dmagenta/envelop.png'); | ||
54 | } | ||
55 | |||
56 | a.delete span { | ||
57 | background-image: url('../img/dmagenta/remove.png'); | ||
58 | } | ||
59 | |||
60 | a.link span { | ||
61 | background-image: url('../img/dmagenta/link.png'); | ||
62 | } | ||
63 | |||
64 | a.bad-display span { | ||
65 | background-image: url('../img/dmagenta/bad-display.png'); | ||
66 | } | ||
67 | |||
68 | .pagination a { | ||
69 | color: #aaa; | ||
70 | } | ||
71 | |||
72 | #main #links li .current { | ||
73 | background-color: #2d372d; | ||
74 | } | ||
75 | |||
76 | #article_toolbar { | ||
77 | background: #372d37; | ||
78 | } \ No newline at end of file | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/backtotop.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/backtotop.png deleted file mode 100755 index 051238ef..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/backtotop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/bad-display.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/bad-display.png deleted file mode 100755 index 6866799f..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/bad-display.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/checkmark-off.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/checkmark-off.png deleted file mode 100644 index 3db5a06d..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/checkmark-off.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/checkmark-on.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/checkmark-on.png deleted file mode 100644 index cd3abb2c..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/checkmark-on.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/down.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/down.png deleted file mode 100644 index b9d536a7..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/down.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/envelop.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/envelop.png deleted file mode 100644 index 6be1c886..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/envelop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/flattr.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/flattr.png deleted file mode 100755 index 0404aaea..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/flattr.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/left.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/left.png deleted file mode 100644 index a0a53631..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/left.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/link.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/link.png deleted file mode 100755 index db62819d..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/link.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/remove.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/remove.png deleted file mode 100644 index f8ad56a3..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/remove.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/rss.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/rss.png deleted file mode 100644 index 21bad1a1..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/rss.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/shaarli.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/shaarli.png deleted file mode 100644 index 1eb30f60..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/shaarli.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/star-off.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/star-off.png deleted file mode 100644 index 6a0133a7..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/star-off.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/star-on.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/star-on.png deleted file mode 100644 index a9f96eaa..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/star-on.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/top.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/top.png deleted file mode 100644 index 954a8c0a..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/top.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/twitter.png b/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/twitter.png deleted file mode 100644 index cfcfe419..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/public/img/dmagenta/twitter.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/screenshot.jpg b/src/Wallabag/CoreBundle/Resources/views/dmagenta/screenshot.jpg deleted file mode 100644 index ab8f1ec2..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/screenshot.jpg +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/dmagenta/theme.ini b/src/Wallabag/CoreBundle/Resources/views/dmagenta/theme.ini deleted file mode 100644 index 78fa3a9c..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/dmagenta/theme.ini +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | name = Dmagenta | ||
2 | requirements[] = default | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/layout-login.html.twig b/src/Wallabag/CoreBundle/Resources/views/layout-login.html.twig deleted file mode 100644 index d1aacc47..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/layout-login.html.twig +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!--[if lte IE 6]><html class="no-js ie6 ie67 ie678" lang="en"><![endif]--> | ||
3 | <!--[if lte IE 7]><html class="no-js ie7 ie67 ie678" lang="en"><![endif]--> | ||
4 | <!--[if IE 8]><html class="no-js ie8 ie678" lang="en"><![endif]--> | ||
5 | <!--[if gt IE 8]><html class="no-js" lang="en"><![endif]--> | ||
6 | <html lang="en"> | ||
7 | <head> | ||
8 | <meta name="viewport" content="initial-scale=1.0"> | ||
9 | <meta charset="utf-8"> | ||
10 | <!--[if IE]> | ||
11 | <meta http-equiv="X-UA-Compatible" content="IE=10"> | ||
12 | <![endif]--> | ||
13 | <title>{% block title %}{% endblock %} - wallabag</title> | ||
14 | {% include "WallabagCoreBundle::_head.html.twig" %} | ||
15 | </head> | ||
16 | <body class="login"> | ||
17 | {% include "WallabagCoreBundle::_top.html.twig" %} | ||
18 | <div id="main"> | ||
19 | {% block menu %}{% endblock %} | ||
20 | <div id="content" class="w600p center"> | ||
21 | {% block content %}{% endblock %} | ||
22 | </div> | ||
23 | </div> | ||
24 | {% include "WallabagCoreBundle::_footer.html.twig" %} | ||
25 | </body> | ||
26 | </html> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/layout.html.twig deleted file mode 100644 index e9ccc58c..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/layout.html.twig +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!--[if lte IE 6]><html class="no-js ie6 ie67 ie678" lang="en"><![endif]--> | ||
3 | <!--[if lte IE 7]><html class="no-js ie7 ie67 ie678" lang="en"><![endif]--> | ||
4 | <!--[if IE 8]><html class="no-js ie8 ie678" lang="en"><![endif]--> | ||
5 | <!--[if gt IE 8]><html class="no-js" lang="en"><![endif]--> | ||
6 | <html lang="en"> | ||
7 | <head> | ||
8 | <meta name="viewport" content="initial-scale=1.0"> | ||
9 | <meta charset="utf-8"> | ||
10 | <!--[if IE]> | ||
11 | <meta http-equiv="X-UA-Compatible" content="IE=10"> | ||
12 | <![endif]--> | ||
13 | <title>{% block title %}{% endblock %} - wallabag</title> | ||
14 | {% include "WallabagCoreBundle::_head.html.twig" %} | ||
15 | </head> | ||
16 | <body> | ||
17 | {% include "WallabagCoreBundle::_top.html.twig" %} | ||
18 | <div id="main"> | ||
19 | {% block menu %}{% endblock %} | ||
20 | {% block precontent %}{% endblock %} | ||
21 | {% for flashMessage in app.session.flashbag.get('notice') %} | ||
22 | <div class="flash-notice"> | ||
23 | {{ flashMessage }} | ||
24 | </div> | ||
25 | {% endfor %} | ||
26 | <div id="content" class="w600p center"> | ||
27 | {% block content %}{% endblock %} | ||
28 | </div> | ||
29 | </div> | ||
30 | {% include "WallabagCoreBundle::_footer.html.twig" %} | ||
31 | </body> | ||
32 | </html> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/README.md b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/README.md deleted file mode 100644 index 81be1f8c..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/README.md +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | # solarized-dark (Solarized Dark) theme | ||
2 | |||
3 | |||
4 | Theme created by NumEricR | ||
5 | |||
6 | http://github.com/NumEricR/poche-themes | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/Solarized-LICENSE.txt b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/Solarized-LICENSE.txt deleted file mode 100644 index a842f663..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/Solarized-LICENSE.txt +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | Copyright (c) 2011 Ethan Schoonover | ||
2 | |||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
4 | of this software and associated documentation files (the "Software"), to deal | ||
5 | in the Software without restriction, including without limitation the rights | ||
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
7 | copies of the Software, and to permit persons to whom the Software is | ||
8 | furnished to do so, subject to the following conditions: | ||
9 | |||
10 | The above copyright notice and this permission notice shall be included in | ||
11 | all copies or substantial portions of the Software. | ||
12 | |||
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
19 | THE SOFTWARE | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/css/style-solarized-dark.css b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/css/style-solarized-dark.css deleted file mode 100644 index 77a97d38..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/css/style-solarized-dark.css +++ /dev/null | |||
@@ -1,232 +0,0 @@ | |||
1 | /* | ||
2 | * Solarized Dark - by NumEricR | ||
3 | * http://github.com/NumEricR/poche-themes | ||
4 | * ================================================== | ||
5 | * | ||
6 | * Based on Solarized's palette - (c) 2011 Ethan Schoonover | ||
7 | * See http://ethanschoonover.com/solarized#usage-development | ||
8 | * See http://ethanschoonover.com/solarized#the-values | ||
9 | * | ||
10 | * Background: #002b36 base 03 | ||
11 | * Highlight: #073642 base 02 | ||
12 | * Primary content: #839496 base 0 | ||
13 | * Intermediate: #657b83 base 00 | ||
14 | * Emphasized content: #93a1a1 base 1 | ||
15 | * Secondary content: #586e75 base 01 | ||
16 | * Green: #859900 | ||
17 | * Orange: #cb4b16 | ||
18 | * Red: #dc322f | ||
19 | * Blue: #268bd2 | ||
20 | * | ||
21 | * ================================================== */ | ||
22 | |||
23 | /* Background */ | ||
24 | |||
25 | body, | ||
26 | #article_toolbar { | ||
27 | background-color: #002b36; | ||
28 | } | ||
29 | |||
30 | /* Highlight */ | ||
31 | /* 2 different selectors for selection pseudo-elmt */ | ||
32 | /* See https://developer.mozilla.org/en-US/docs/Web/CSS/::selection */ | ||
33 | ::-moz-selection { | ||
34 | background-color: #073642; | ||
35 | } | ||
36 | ::selection { | ||
37 | background-color: #073642; | ||
38 | } | ||
39 | |||
40 | /* Primary content */ | ||
41 | |||
42 | body, | ||
43 | a, | ||
44 | a:hover, | ||
45 | a:visited, | ||
46 | td { | ||
47 | color: #839496; | ||
48 | } | ||
49 | |||
50 | /* Secondary content */ | ||
51 | |||
52 | .tools p, | ||
53 | .vieworiginal a, | ||
54 | .vieworiginal a:hover, | ||
55 | .vieworiginal a:visited { | ||
56 | color: #586e75; | ||
57 | } | ||
58 | |||
59 | #main #content .entrie, | ||
60 | #article header, | ||
61 | #article article { | ||
62 | border-bottom-color: #586e75; | ||
63 | } | ||
64 | |||
65 | /* Emphasized content */ | ||
66 | |||
67 | .entrie h2 a:hover, | ||
68 | footer, | ||
69 | footer a { | ||
70 | color: #93a1a1; | ||
71 | } | ||
72 | |||
73 | /* Colored content */ | ||
74 | |||
75 | #main .messages.success, | ||
76 | #main .messages.warning, | ||
77 | #main .messages.error, | ||
78 | #main .messages.information, | ||
79 | #main .messages.info { | ||
80 | background-color: #073642; | ||
81 | } | ||
82 | |||
83 | #main .messages.success { | ||
84 | border-color: #859900; | ||
85 | } | ||
86 | |||
87 | #main .messages.success p { | ||
88 | color: #859900 !important; /* Overwrites !important used on messages.css */ | ||
89 | } | ||
90 | |||
91 | #main .messages.warning { | ||
92 | border-color: #cb4b16; | ||
93 | } | ||
94 | |||
95 | #main .messages.warning p { | ||
96 | color: #cb4b16; | ||
97 | } | ||
98 | |||
99 | #main .messages.error { | ||
100 | border-color: #dc322f; | ||
101 | } | ||
102 | |||
103 | #main .messages.error p { | ||
104 | color: #dc322f !important; /* Overwrites !important used on messages.css */ | ||
105 | } | ||
106 | |||
107 | #main .messages.information, | ||
108 | #main .messages.info { | ||
109 | border-color: #268bd2; | ||
110 | } | ||
111 | |||
112 | #main .messages.information p, | ||
113 | #main .messages.info p { | ||
114 | color: #268bd2; | ||
115 | } | ||
116 | |||
117 | /* Miscellaneous */ | ||
118 | |||
119 | .bouton, | ||
120 | .bouton:hover, | ||
121 | #main #links li a.current, | ||
122 | #links a:hover, | ||
123 | .pagination span.current, | ||
124 | .pagination a:hover, | ||
125 | .pagination a:active { | ||
126 | color: #002b36; | ||
127 | background-color: #586e75; | ||
128 | } | ||
129 | |||
130 | .bouton:hover { | ||
131 | background-color: #657b83; | ||
132 | } | ||
133 | |||
134 | #login, | ||
135 | #password, | ||
136 | #password_repeat, | ||
137 | #bookmarklet, | ||
138 | .top_link { | ||
139 | background-color: #073642; | ||
140 | } | ||
141 | |||
142 | #login, | ||
143 | #password, | ||
144 | #password_repeat, | ||
145 | #bookmarklet { | ||
146 | padding: 5px; | ||
147 | border: 1px solid #586e75; | ||
148 | color: #839496; | ||
149 | } | ||
150 | |||
151 | #bookmarklet { | ||
152 | border-style: dashed; | ||
153 | } | ||
154 | |||
155 | .pagination a { | ||
156 | border-color: #586e75; | ||
157 | color: #586e75; | ||
158 | } | ||
159 | |||
160 | .pagination span.current { | ||
161 | border-color: #073642; | ||
162 | } | ||
163 | |||
164 | /* Images */ | ||
165 | |||
166 | a.back span { | ||
167 | background-image: url('../img/solarized-dark/left.png'); | ||
168 | } | ||
169 | |||
170 | a.top span { | ||
171 | background-image: url('../img/solarized-dark/top.png'); | ||
172 | } | ||
173 | |||
174 | a.fav span, | ||
175 | a.fav-off span:hover { | ||
176 | background-image: url('../img/solarized-dark/star-on.png'); | ||
177 | } | ||
178 | |||
179 | a.fav span:hover, | ||
180 | a.fav-off span { | ||
181 | background-image: url('../img/solarized-dark/star-off.png'); | ||
182 | } | ||
183 | |||
184 | a.archive span, | ||
185 | a.archive-off span:hover { | ||
186 | background-image: url('../img/solarized-dark/checkmark-on.png'); | ||
187 | } | ||
188 | |||
189 | a.archive span:hover, | ||
190 | a.archive-off span { | ||
191 | background-image: url('../img/solarized-dark/checkmark-off.png'); | ||
192 | } | ||
193 | |||
194 | a.twitter span { | ||
195 | background-image: url('../img/solarized-dark/twitter.png'); | ||
196 | } | ||
197 | |||
198 | a.flattr span { | ||
199 | background-image: url('../img/solarized-dark/flattr.png'); | ||
200 | } | ||
201 | |||
202 | a.shaarli span { | ||
203 | background-image: url('../img/solarized-dark/shaarli.png'); | ||
204 | } | ||
205 | |||
206 | a.email span { | ||
207 | background-image: url('../img/solarized-dark/envelop.png'); | ||
208 | } | ||
209 | |||
210 | a.delete span { | ||
211 | background-image: url('../img/solarized-dark/remove.png'); | ||
212 | } | ||
213 | |||
214 | a.link span { | ||
215 | background-image: url('../img/solarized-dark/link.png'); | ||
216 | } | ||
217 | |||
218 | a.bad-display span { | ||
219 | background-image: url('../img/solarized-dark/bad-display.png'); | ||
220 | } | ||
221 | |||
222 | .arrow-down { | ||
223 | width: 0px; | ||
224 | height: 0px; | ||
225 | border-style: solid; | ||
226 | border-width: 10px 10px 0 10px; | ||
227 | border-color: #586E75 transparent transparent transparent; | ||
228 | |||
229 | position: absolute; | ||
230 | margin-top: 1.5em; | ||
231 | margin-left: -30px; | ||
232 | } \ No newline at end of file | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/backtotop.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/backtotop.png deleted file mode 100644 index 1501c2a5..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/backtotop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/bad-display.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/bad-display.png deleted file mode 100644 index b2c3ca17..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/bad-display.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-off.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-off.png deleted file mode 100644 index fd7d92fa..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-off.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-on.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-on.png deleted file mode 100644 index 592965dd..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/checkmark-on.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/down.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/down.png deleted file mode 100644 index 5de30315..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/down.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/envelop.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/envelop.png deleted file mode 100644 index d3468885..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/envelop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/flattr.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/flattr.png deleted file mode 100644 index 73e3f421..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/flattr.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/left.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/left.png deleted file mode 100644 index a953d831..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/left.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/link.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/link.png deleted file mode 100644 index 5e859a0e..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/link.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/remove.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/remove.png deleted file mode 100644 index 66a5c1ab..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/remove.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/rss.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/rss.png deleted file mode 100644 index 21bad1a1..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/rss.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/shaarli.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/shaarli.png deleted file mode 100644 index 1eb30f60..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/shaarli.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/star-off.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/star-off.png deleted file mode 100644 index 1c603ecc..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/star-off.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/star-on.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/star-on.png deleted file mode 100644 index bc37772a..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/star-on.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/top.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/top.png deleted file mode 100644 index b3f44f31..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/top.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/twitter.png b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/twitter.png deleted file mode 100644 index c4a25334..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/public/img/solarized-dark/twitter.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/screenshot.jpg b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/screenshot.jpg deleted file mode 100644 index 2ad87943..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/screenshot.jpg +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/theme.ini b/src/Wallabag/CoreBundle/Resources/views/solarized-dark/theme.ini deleted file mode 100644 index c9948146..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized-dark/theme.ini +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | name = Solarized Dark | ||
2 | requirements[] = default | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/README.md b/src/Wallabag/CoreBundle/Resources/views/solarized/README.md deleted file mode 100644 index 255e3cdd..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/README.md +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | # solarized (Solarized) theme | ||
2 | |||
3 | |||
4 | Theme created by NumEricR | ||
5 | |||
6 | http://github.com/NumEricR/poche-themes | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/Solarized-LICENSE.txt b/src/Wallabag/CoreBundle/Resources/views/solarized/Solarized-LICENSE.txt deleted file mode 100644 index a842f663..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/Solarized-LICENSE.txt +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | Copyright (c) 2011 Ethan Schoonover | ||
2 | |||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
4 | of this software and associated documentation files (the "Software"), to deal | ||
5 | in the Software without restriction, including without limitation the rights | ||
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
7 | copies of the Software, and to permit persons to whom the Software is | ||
8 | furnished to do so, subject to the following conditions: | ||
9 | |||
10 | The above copyright notice and this permission notice shall be included in | ||
11 | all copies or substantial portions of the Software. | ||
12 | |||
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
19 | THE SOFTWARE | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/css/style-solarized.css b/src/Wallabag/CoreBundle/Resources/views/solarized/public/css/style-solarized.css deleted file mode 100644 index cf16338f..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/css/style-solarized.css +++ /dev/null | |||
@@ -1,232 +0,0 @@ | |||
1 | /* | ||
2 | * Solarized - by NumEricR | ||
3 | * http://github.com/NumEricR/poche-themes | ||
4 | * ================================================== | ||
5 | * | ||
6 | * Based on Solarized's palette - (c) 2011 Ethan Schoonover | ||
7 | * See http://ethanschoonover.com/solarized#usage-development | ||
8 | * See http://ethanschoonover.com/solarized#the-values | ||
9 | * | ||
10 | * Background: #fdf6e3 base 3 | ||
11 | * Highlight: #eee8d5 base 2 | ||
12 | * Primary content: #657b83 base 00 | ||
13 | * Intermediate: #839496 base 0 | ||
14 | * Emphasized content: #586e75 base 01 | ||
15 | * Secondary content: #93a1a1 base 1 | ||
16 | * Green: #859900 | ||
17 | * Orange: #cb4b16 | ||
18 | * Red: #dc322f | ||
19 | * Blue: #268bd2 | ||
20 | * | ||
21 | * ================================================== */ | ||
22 | |||
23 | /* Background */ | ||
24 | |||
25 | body, | ||
26 | #article_toolbar { | ||
27 | background-color: #fdf6e3; | ||
28 | } | ||
29 | |||
30 | /* Highlight */ | ||
31 | /* 2 different selectors for selection pseudo-elmt */ | ||
32 | /* See https://developer.mozilla.org/en-US/docs/Web/CSS/::selection */ | ||
33 | ::-moz-selection { | ||
34 | background-color: #eee8d5; | ||
35 | } | ||
36 | ::selection { | ||
37 | background-color: #eee8d5; | ||
38 | } | ||
39 | |||
40 | /* Primary content */ | ||
41 | |||
42 | body, | ||
43 | a, | ||
44 | a:hover, | ||
45 | a:visited, | ||
46 | td { | ||
47 | color: #657b83; | ||
48 | } | ||
49 | |||
50 | /* Secondary content */ | ||
51 | |||
52 | .tools p, | ||
53 | .vieworiginal a, | ||
54 | .vieworiginal a:hover, | ||
55 | .vieworiginal a:visited { | ||
56 | color: #93a1a1; | ||
57 | } | ||
58 | |||
59 | #main #content .entrie, | ||
60 | #article header, | ||
61 | #article article { | ||
62 | border-bottom-color: #93a1a1; | ||
63 | } | ||
64 | |||
65 | /* Emphasized content */ | ||
66 | |||
67 | .entrie h2 a:hover, | ||
68 | footer, | ||
69 | footer a { | ||
70 | color: #586e75; | ||
71 | } | ||
72 | |||
73 | /* Colored content */ | ||
74 | |||
75 | #main .messages.success, | ||
76 | #main .messages.warning, | ||
77 | #main .messages.error, | ||
78 | #main .messages.information, | ||
79 | #main .messages.info { | ||
80 | background-color: #eee8d5; | ||
81 | } | ||
82 | |||
83 | #main .messages.success { | ||
84 | border-color: #859900; | ||
85 | } | ||
86 | |||
87 | #main .messages.success p { | ||
88 | color: #859900 !important; /* Overwrites !important used on messages.css */ | ||
89 | } | ||
90 | |||
91 | #main .messages.warning { | ||
92 | border-color: #cb4b16; | ||
93 | } | ||
94 | |||
95 | #main .messages.warning p { | ||
96 | color: #cb4b16; | ||
97 | } | ||
98 | |||
99 | #main .messages.error { | ||
100 | border-color: #dc322f; | ||
101 | } | ||
102 | |||
103 | #main .messages.error p { | ||
104 | color: #dc322f !important; /* Overwrites !important used on messages.css */ | ||
105 | } | ||
106 | |||
107 | #main .messages.information, | ||
108 | #main .messages.info { | ||
109 | border-color: #268bd2; | ||
110 | } | ||
111 | |||
112 | #main .messages.information p, | ||
113 | #main .messages.info p { | ||
114 | color: #268bd2; | ||
115 | } | ||
116 | |||
117 | /* Miscellaneous */ | ||
118 | |||
119 | .bouton, | ||
120 | .bouton:hover, | ||
121 | #main #links li a.current, | ||
122 | #links a:hover, | ||
123 | .pagination span.current, | ||
124 | .pagination a:hover, | ||
125 | .pagination a:active { | ||
126 | color: #fdf6e3; | ||
127 | background-color: #93a1a1; | ||
128 | } | ||
129 | |||
130 | .bouton:hover { | ||
131 | background-color: #657b83; | ||
132 | } | ||
133 | |||
134 | #login, | ||
135 | #password, | ||
136 | #password_repeat, | ||
137 | #bookmarklet, | ||
138 | .top_link { | ||
139 | background-color: #eee8d5; | ||
140 | } | ||
141 | |||
142 | #login, | ||
143 | #password, | ||
144 | #password_repeat, | ||
145 | #bookmarklet { | ||
146 | padding: 5px; | ||
147 | border: 1px solid #93a1a1; | ||
148 | color: #657b83; | ||
149 | } | ||
150 | |||
151 | #bookmarklet { | ||
152 | border-style: dashed; | ||
153 | } | ||
154 | |||
155 | .pagination a { | ||
156 | border-color: #93a1a1; | ||
157 | color: #93a1a1; | ||
158 | } | ||
159 | |||
160 | .pagination span.current { | ||
161 | border-color: #eee8d5; | ||
162 | } | ||
163 | |||
164 | /* Images */ | ||
165 | |||
166 | a.back span { | ||
167 | background-image: url('../img/solarized/left.png'); | ||
168 | } | ||
169 | |||
170 | a.top span { | ||
171 | background-image: url('../img/solarized/top.png'); | ||
172 | } | ||
173 | |||
174 | a.fav span, | ||
175 | a.fav-off span:hover { | ||
176 | background-image: url('../img/solarized/star-on.png'); | ||
177 | } | ||
178 | |||
179 | a.fav span:hover, | ||
180 | a.fav-off span { | ||
181 | background-image: url('../img/solarized/star-off.png'); | ||
182 | } | ||
183 | |||
184 | a.archive span, | ||
185 | a.archive-off span:hover { | ||
186 | background-image: url('../img/solarized/checkmark-on.png'); | ||
187 | } | ||
188 | |||
189 | a.archive span:hover, | ||
190 | a.archive-off span { | ||
191 | background-image: url('../img/solarized/checkmark-off.png'); | ||
192 | } | ||
193 | |||
194 | a.twitter span { | ||
195 | background-image: url('../img/solarized/twitter.png'); | ||
196 | } | ||
197 | |||
198 | a.shaarli span { | ||
199 | background-image: url('../img/solarized/shaarli.png'); | ||
200 | } | ||
201 | |||
202 | a.flattr span { | ||
203 | background-image: url('../img/solarized/flattr.png'); | ||
204 | } | ||
205 | |||
206 | a.email span { | ||
207 | background-image: url('../img/solarized/envelop.png'); | ||
208 | } | ||
209 | |||
210 | a.delete span { | ||
211 | background-image: url('../img/solarized/remove.png'); | ||
212 | } | ||
213 | |||
214 | a.link span { | ||
215 | background-image: url('../img/solarized/link.png'); | ||
216 | } | ||
217 | |||
218 | a.bad-display span { | ||
219 | background-image: url('../img/solarized/bad-display.png'); | ||
220 | } | ||
221 | |||
222 | .arrow-down { | ||
223 | width: 0px; | ||
224 | height: 0px; | ||
225 | border-style: solid; | ||
226 | border-width: 10px 10px 0 10px; | ||
227 | border-color: #93A1A1 transparent transparent transparent; | ||
228 | |||
229 | position: absolute; | ||
230 | margin-top: 1.5em; | ||
231 | margin-left: -30px; | ||
232 | } \ No newline at end of file | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/backtotop.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/backtotop.png deleted file mode 100644 index a3e52318..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/backtotop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/bad-display.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/bad-display.png deleted file mode 100644 index ae99ab37..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/bad-display.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/checkmark-off.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/checkmark-off.png deleted file mode 100644 index 20cd26b3..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/checkmark-off.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/checkmark-on.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/checkmark-on.png deleted file mode 100644 index 87a2b799..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/checkmark-on.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/down.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/down.png deleted file mode 100644 index 622ff87b..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/down.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/envelop.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/envelop.png deleted file mode 100644 index 1caf7d43..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/envelop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/flattr.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/flattr.png deleted file mode 100644 index 18e00f86..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/flattr.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/left.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/left.png deleted file mode 100644 index 9780faee..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/left.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/link.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/link.png deleted file mode 100644 index d0e12862..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/link.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/remove.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/remove.png deleted file mode 100644 index d5113d17..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/remove.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/rss.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/rss.png deleted file mode 100644 index 21bad1a1..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/rss.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/shaarli.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/shaarli.png deleted file mode 100644 index 1eb30f60..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/shaarli.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/star-off.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/star-off.png deleted file mode 100644 index afd7d80c..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/star-off.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/star-on.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/star-on.png deleted file mode 100644 index 3a772512..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/star-on.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/top.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/top.png deleted file mode 100644 index d20001a4..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/top.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/twitter.png b/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/twitter.png deleted file mode 100644 index 109d7151..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/public/img/solarized/twitter.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/screenshot.jpg b/src/Wallabag/CoreBundle/Resources/views/solarized/screenshot.jpg deleted file mode 100644 index 07d402e3..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/screenshot.jpg +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/solarized/theme.ini b/src/Wallabag/CoreBundle/Resources/views/solarized/theme.ini deleted file mode 100644 index 703997b9..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/solarized/theme.ini +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | name = Solarized | ||
2 | requirements[] = default | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/css/jquery-ui-1.10.4.custom.css b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/css/jquery-ui-1.10.4.custom.css index 5690172f..5690172f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/css/jquery-ui-1.10.4.custom.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/css/jquery-ui-1.10.4.custom.css | |||
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/themes/_global/public/css/jquery-ui-1.10.4.custom.min.css index 4dba92a8..4dba92a8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/css/jquery-ui-1.10.4.custom.min.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/css/jquery-ui-1.10.4.custom.min.css | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/knacss.css b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/css/knacss.css index ca0696b7..9e68300a 100644 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/knacss.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/css/knacss.css | |||
@@ -1 +1 @@ | |||
html{font-size:62.5%}body{font-family:"Century Gothic",helvetica,arial,sans-serif;font-size:1.4em;line-height:1.5;color:#000;background-color:#FFF}p,ul,ol,dl,blockquote,pre,td,th,label,textarea,caption,details,figure,hgroup{margin:.75em 0 0;font-size:1em;line-height:1.5}h1,.h1-like{margin:.8077em 0 0 0;font-size:1.8571em;font-weight:normal;line-height:1.6154em}h2,.h2-like{margin:.875em 0 0 0;font-size:1.7143em;font-weight:normal;line-height:1.75em}h3,.h3-like{margin:.9545em 0 0 0;font-size:1.5714em;font-weight:normal;line-height:1.909em}h4,.h4-like{margin:1.05em 0 0 0;font-size:1.4286em;font-weight:normal;line-height:1.05em}h5,.h5-like{margin:1.1667em 0 0 0;font-size:1.2857em;font-weight:normal;line-height:1.1667em}h6,.h6-like{margin:1.3125em 0 0 0;font-size:1.1429em;font-weight:normal;line-height:1.3125em}.smaller{font-size:.7143em}.small{font-size:.8571em}.big{font-size:1.1429em}.bigger{font-size:1.2857em}.biggest{font-size:1.4286em}html,body,textarea,figure,label{margin:0;padding:0}ul,ol{padding-left:2em}code,pre,samp,kbd{font-family:consolas,'DejaVu Sans Mono',courier,monospace;line-height:1em;white-space:pre-wrap}code,kbd,mark{border-radius:2px}em{font-style:italic}strong{font-weight:bold}kbd{padding:0 2px;border:1px solid #999}code{padding:2px 4px;color:#B11;background:rgba(0,0,0,.04)}mark{padding:2px 4px;background:#FF0}table{margin-bottom:1.5em}p:first-child,ul:first-child,ol:first-child,dl:first-child,blockquote:first-child,pre:first-child,h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child{margin-top:0}li p,li ul,li ol{margin-top:0;margin-bottom:0}img,table,td,blockquote,code,pre,textarea,input,video{max-width:100%}div,textarea,table,td,th,code,pre,samp{word-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;-o-hyphens:auto;hyphens:auto}img{height:auto;vertical-align:middle}#map_canvas img,.gmnoprint img{max-width:none}a img{border:0}body > script{display:none !important}.skip-links{position:absolute}.skip-links a{position:absolute;left:-7000px;padding:.5em;text-decoration:none;color:#FFF;background:#000}.skip-links a:focus{position:static}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mod,.item{overflow:hidden}.row{display:table;width:100%;table-layout:fixed}.row > *,.col{display:table-cell;vertical-align:top}.clear,.line,.row{clear:both}.clearfix:after,.line:after,.mod:after{content:"";display:table;clear:both}.left{float:left}img.left{margin-right:1em}.right{float:right}img.right{margin-left:1em}img.left,img.right{margin-bottom:5px}.center{margin-right:auto;margin-left:auto}.txtleft{text-align:left}.txtright{text-align:right}.txtcenter{text-align:center}.inbl{display:inline-block;margin-right:-.25em;vertical-align:top}.w10{width:10%}.w20{width:20%}.w25{width:25%}.w30{width:30%}.w33{width:33.333%}.w40{width:40%}.w50{width:50%}.w60{width:60%}.w66{width:66.666%}.w70{width:70%}.w75{width:75%}.w80{width:80%}.w90{width:90%}.w100{width:100%}.w50p{width:50px}.w100p{width:100px}.w150p{width:150px}.w200p{width:200px}.w300p{width:300px}.w400p{width:400px}.w500p{width:500px}.w600p{width:600px}.w700p{width:700px}.w800p{width:800px}.w960p{width:960px}.mw960p{max-width:960px}.m-reset,.ma0{margin:0 !important}.p-reset,.pa0{padding:0 !important}.ma1,.mas{margin:10px !important}.ma2,.mam{margin:20px !important}.ma3,.mal{margin:30px !important}.pa1,.pas{padding:10px}.pa2,.pam{padding:20px}.pa3,.pal{padding:30px}.mt0,.mtn{margin-top:0 !important}.mt1,.mts{margin-top:10px !important}.mt2,.mtm{margin-top:20px !important}.mt3,.mtl{margin-top:30px !important}.mr0,.mrn{margin-right:0}.mr1,.mrs{margin-right:10px}.mr2,.mrm{margin-right:20px}.mr3,.mrl{margin-right:30px}.mb0,.mbn{margin-bottom:0 !important}.mb1,.mbs{margin-bottom:10px !important}.mb2,.mbm{margin-bottom:20px !important}.mb3,.mbl{margin-bottom:30px !important}.ml0,.mln{margin-left:0}.ml1,.mls{margin-left:10px}.ml2,.mlm{margin-left:20px}.ml3,.mll{margin-left:30px}.pt0,.ptn{padding-top:0}.pt1,.pts{padding-top:10px}.pt2,.ptm{padding-top:20px}.pt3,.ptl{padding-top:30px}.pr0,.prn{padding-right:0}.pr1,.prs{padding-right:10px}.pr2,.prm{padding-right:20px}.pr3,.prl{padding-right:30px}.pb0,.pbn{padding-bottom:0}.pb1,.pbs{padding-bottom:10px}.pb2,.pbm{padding-bottom:20px}.pb3,.pbl{padding-bottom:30px}.pl0,.pln{padding-left:0}.pl1,.pls{padding-left:10px}.pl2,.plm{padding-left:20px}.pl3,.pll{padding-left:30px}.visually-hidden{position:absolute;left:-7000px;overflow:hidden}[dir=rtl] .visually-hidden{right:-7000px;left:auto}.desktop-hidden{display:none}form,fieldset{border:none}input,button,select,label,.btn{font-family:inherit;vertical-align:middle}textarea{font-family:inherit;resize:vertical}.ie67 .clearfix,.ie67 .line,.ie67 .mod,.ie67 .row,.ie67 .col{zoom:1}.ie67 .btn,.ie67 .col,.ie67 .inbl{display:inline;zoom:1}.ie8 img{width:auto}@media print{p,blockquote{orphans:2;widows:2}blockquote,ul,ol{page-break-inside:avoid}h1,h2,h3,caption{page-break-after:avoid}}@media(orientation:landscape)and(max-device-width:768px){html,body{-webkit-text-size-adjust:100%}}[class*=grid] > *{float:left}[class*=grid] > * + *{margin-left:2%}.grid2 > *{width:49%}.grid3 > *{width:32%}.grid4 > *{width:23.5%}.grid5 > *{width:18.4%}.grid6 > *{width:15%}.grid2-1 > *:first-child,.grid1-2 > * + *{width:66%}.grid1-2 > *:first-child,.grid2-1 > * + *{width:32%}.grid1-3 > *:first-child,.grid3-1 > * + *{width:23.5%}.grid3-1 > *:first-child,.grid1-3 > * + *{width:74.5%}table,.table{max-width:100%;border-collapse:collapse;table-layout:fixed;vertical-align:top}table{width:100%}.table{display:table}caption{padding:10px;font-style:italic;color:#555}table{border:1px solid #CCC}tr > * + *{border-left:1px solid #CCC}th,td{padding:.3em .8em;border-bottom:1px solid #CCC;text-align:left}td{color:#333}.alternate{border:0}.alternate tbody{border:1px solid #CCC}.alternate thead tr > * + *{border-left:0}.alternate tbody tr > * + *{border-left:1px solid #CCC}.alternate-vert{border:0;border-right:1px solid #CCC}.alternate-vert tr >:first-child{border-bottom:0}.alternate-vert tr > * + *{border-top:1px solid #CCC}.striped tbody tr:nth-child(odd){background:#EEE;background:rgba(0,0,0,.05)}.striped-vert tr >:first-child{background:#EEE;background:rgba(0,0,0,.05)}.btn{display:inline-block}label{display:inline-block;vertical-align:middle;cursor:pointer}legend{border:0;white-space:normal}button,input,select{margin:0;font-family:"Century Gothic",helvetica,arial,sans-serif;font-size:100%;vertical-align:middle}textarea{min-height:5em;overflow:auto;font-size:1.75em;vertical-align:top;resize:vertical}}ol.styled{counter-reset:styled}ol.styled > li{counter-increment:styled;margin-bottom:.3em;list-style-type:none}ol.styled > li:before{content:counter(styled);display:inline-block;width:1em;height:1em;margin-right:.4em;padding:2px;border-radius:50%;text-align:center;text-indent:-.1em;font-size:.9em;line-height:1;vertical-align:middle;color:#FFF;background:rgba(0,0,0,.5)}@media(min-width:1280px){.large-hidden,.tablet-hidden{display:none !important}.large-visible{display:block !important}.large-no-float{float:none}.large-inbl{display:inline-block;float:none;vertical-align:top}.large-row{display:table;width:100% !important;table-layout:fixed}.large-col{display:table-cell;vertical-align:top}.large-w25{width:25% !important}.large-w33{width:33.3333% !important}.large-w50{width:50% !important}.large-w66{width:66.6666% !important}.large-w75{width:75% !important}.large-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.large-ma0,.large-man{margin:0 !important}}@media(max-width:768px){.w60,.w66,.w70,.w75,.w80,.w90,.w100,.w600p,.w700p,.w800p,.w960p,.mw960p,.medium-wauto{width:auto}.medium-hidden,.tablet-hidden{display:none !important}.medium-visible{display:block !important}.medium-no-float{float:none}.medium-inbl{display:inline-block;float:none;vertical-align:top}.medium-row{display:table;width:100% !important;table-layout:fixed}.medium-col{display:table-cell;vertical-align:top}.medium-w25{width:25% !important}.medium-w33{width:33.3333% !important}.medium-w50{width:50% !important}.medium-w66{width:66.6666% !important}.medium-w75{width:75% !important}.medium-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.medium-ma0,.medium-man{margin:0 !important}.grid4 > *{width:49% !important}.grid4 >:first-child + * + *{margin-left:0 !important}.grid6 > *{width:32% !important}.grid6 >:first-child + * + * + *{margin-left:0 !important}}@media(max-width:640px){.mod,.item,.col,fieldset{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.w30,.w33,.w40,.w50,.w300p,.w400p,.w500p{width:auto}.row{display:block !important;width:100% !important}.tiny-hidden,.phone-hidden{display:none !important}.tiny-visible{display:block !important}.tiny-no-float{float:none}.tiny-inbl{display:inline-block;float:none;vertical-align:top}.tiny-row{display:table;width:100% !important;table-layout:fixed}.tiny-col{display:table-cell;vertical-align:top}th,td{display:block !important;width:auto !important;text-align:left !important}thead{display:none}.tiny-w25{width:25% !important}.tiny-w33{width:33.3333% !important}.tiny-w50{width:50% !important}.tiny-w66{width:66.6666% !important}.tiny-w75{width:75% !important}.tiny-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.tiny-ma0,.tiny-man{margin:0 !important}} \ No newline at end of file | html{font-size:62.5%}body{font-family:"Century Gothic",helvetica,arial,sans-serif;font-size:1.4em;line-height:1.5;color:#000;background-color:#FFF}p,ul,ol,dl,blockquote,pre,td,th,label,textarea,caption,details,figure,hgroup{margin:.75em 0 0;font-size:1em;line-height:1.5}h1,.h1-like{margin:.8077em 0 0 0;font-size:1.8571em;font-weight:normal;line-height:1.6154em}h2,.h2-like{margin:.875em 0 0 0;font-size:1.7143em;font-weight:normal;line-height:1.75em}h3,.h3-like{margin:.9545em 0 0 0;font-size:1.5714em;font-weight:normal;line-height:1.909em}h4,.h4-like{margin:1.05em 0 0 0;font-size:1.4286em;font-weight:normal;line-height:1.05em}h5,.h5-like{margin:1.1667em 0 0 0;font-size:1.2857em;font-weight:normal;line-height:1.1667em}h6,.h6-like{margin:1.3125em 0 0 0;font-size:1.1429em;font-weight:normal;line-height:1.3125em}.smaller{font-size:.7143em}.small{font-size:.8571em}.big{font-size:1.1429em}.bigger{font-size:1.2857em}.biggest{font-size:1.4286em}html,body,textarea,figure,label{margin:0;padding:0}ul,ol{padding-left:2em}code,pre,samp,kbd{font-family:consolas,'DejaVu Sans Mono',courier,monospace;line-height:1em;white-space:pre-wrap}code,kbd,mark{border-radius:2px}em{font-style:italic}strong{font-weight:bold}kbd{padding:0 2px;border:1px solid #999}code{padding:2px 4px;color:#B11;background:rgba(0,0,0,.04)}mark{padding:2px 4px;background:#FF0}table{margin-bottom:1.5em}p:first-child,ul:first-child,ol:first-child,dl:first-child,blockquote:first-child,pre:first-child,h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child{margin-top:0}li p,li ul,li ol{margin-top:0;margin-bottom:0}img,table,td,blockquote,code,pre,textarea,input,video{max-width:100%}div,textarea,table,td,th,code,pre,samp{word-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;-o-hyphens:auto;hyphens:auto}img{height:auto;vertical-align:middle}#map_canvas img,.gmnoprint img{max-width:none}a img{border:0}body > script{display:none !important}.skip-links{position:absolute}.skip-links a{position:absolute;left:-7000px;padding:.5em;text-decoration:none;color:#FFF;background:#000}.skip-links a:focus{position:static}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mod,.item{overflow:hidden}.row{display:table;width:100%;table-layout:fixed}.row > *,.col{display:table-cell;vertical-align:top}.clear,.line,.row{clear:both}.clearfix:after,.line:after,.mod:after{content:"";display:table;clear:both}.left{float:left}img.left{margin-right:1em}.right{float:right}img.right{margin-left:1em}img.left,img.right{margin-bottom:5px}.center{margin-right:auto;margin-left:auto}.txtleft{text-align:left}.txtright{text-align:right}.txtcenter{text-align:center}.inbl{display:inline-block;margin-right:-.25em;vertical-align:top}.w10{width:10%}.w20{width:20%}.w25{width:25%}.w30{width:30%}.w33{width:33.333%}.w40{width:40%}.w50{width:50%}.w60{width:60%}.w66{width:66.666%}.w70{width:70%}.w75{width:75%}.w80{width:80%}.w90{width:90%}.w100{width:100%}.w50p{width:50px}.w100p{width:100px}.w150p{width:150px}.w200p{width:200px}.w300p{width:300px}.w400p{width:400px}.w500p{width:500px}.w600p{width:600px}.w700p{width:700px}.w800p{width:800px}.w960p{width:960px}.mw960p{max-width:960px}.m-reset,.ma0{margin:0 !important}.p-reset,.pa0{padding:0 !important}.ma1,.mas{margin:10px !important}.ma2,.mam{margin:20px !important}.ma3,.mal{margin:30px !important}.pa1,.pas{padding:10px}.pa2,.pam{padding:20px}.pa3,.pal{padding:30px}.mt0,.mtn{margin-top:0 !important}.mt1,.mts{margin-top:10px !important}.mt2,.mtm{margin-top:20px !important}.mt3,.mtl{margin-top:30px !important}.mr0,.mrn{margin-right:0}.mr1,.mrs{margin-right:10px}.mr2,.mrm{margin-right:20px}.mr3,.mrl{margin-right:30px}.mb0,.mbn{margin-bottom:0 !important}.mb1,.mbs{margin-bottom:10px !important}.mb2,.mbm{margin-bottom:20px !important}.mb3,.mbl{margin-bottom:30px !important}.ml0,.mln{margin-left:0}.ml1,.mls{margin-left:10px}.ml2,.mlm{margin-left:20px}.ml3,.mll{margin-left:30px}.pt0,.ptn{padding-top:0}.pt1,.pts{padding-top:10px}.pt2,.ptm{padding-top:20px}.pt3,.ptl{padding-top:30px}.pr0,.prn{padding-right:0}.pr1,.prs{padding-right:10px}.pr2,.prm{padding-right:20px}.pr3,.prl{padding-right:30px}.pb0,.pbn{padding-bottom:0}.pb1,.pbs{padding-bottom:10px}.pb2,.pbm{padding-bottom:20px}.pb3,.pbl{padding-bottom:30px}.pl0,.pln{padding-left:0}.pl1,.pls{padding-left:10px}.pl2,.plm{padding-left:20px}.pl3,.pll{padding-left:30px}.visually-hidden{position:absolute;left:-7000px;overflow:hidden}[dir=rtl] .visually-hidden{right:-7000px;left:auto}.desktop-hidden{display:none}form,fieldset{border:none}input,button,select,label,.btn{font-family:inherit;vertical-align:middle}textarea{font-family:inherit;resize:vertical}.ie67 .clearfix,.ie67 .line,.ie67 .mod,.ie67 .row,.ie67 .col{zoom:1}.ie67 .btn,.ie67 .col,.ie67 .inbl{display:inline;zoom:1}.ie8 img{width:auto}@media print{p,blockquote{orphans:2;widows:2}blockquote,ul,ol{page-break-inside:avoid}h1,h2,h3,caption{page-break-after:avoid}}@media(orientation:landscape)and(max-device-width:768px){html,body{-webkit-text-size-adjust:100%}}[class*=grid] > *{float:left}[class*=grid] > * + *{margin-left:2%}.grid2 > *{width:49%}.grid3 > *{width:32%}.grid4 > *{width:23.5%}.grid5 > *{width:18.4%}.grid6 > *{width:15%}.grid2-1 > *:first-child,.grid1-2 > * + *{width:66%}.grid1-2 > *:first-child,.grid2-1 > * + *{width:32%}.grid1-3 > *:first-child,.grid3-1 > * + *{width:23.5%}.grid3-1 > *:first-child,.grid1-3 > * + *{width:74.5%}table,.table{max-width:100%;border-collapse:collapse;table-layout:fixed;vertical-align:top}table{width:100%}.table{display:table}caption{padding:10px;font-style:italic;color:#555}table{border:1px solid #CCC}tr > * + *{border-left:1px solid #CCC}th,td{padding:.3em .8em;border-bottom:1px solid #CCC;text-align:left}td{color:#333}.alternate{border:0}.alternate tbody{border:1px solid #CCC}.alternate thead tr > * + *{border-left:0}.alternate tbody tr > * + *{border-left:1px solid #CCC}.alternate-vert{border:0;border-right:1px solid #CCC}.alternate-vert tr >:first-child{border-bottom:0}.alternate-vert tr > * + *{border-top:1px solid #CCC}.striped tbody tr:nth-child(odd){background:#EEE;background:rgba(0,0,0,.05)}.striped-vert tr >:first-child{background:#EEE;background:rgba(0,0,0,.05)}.btn{display:inline-block}label{display:inline-block;vertical-align:middle;cursor:pointer}legend{border:0;white-space:normal}button,input,select{margin:0;font-family:"Century Gothic",helvetica,arial,sans-serif;font-size:100%;vertical-align:middle}textarea{min-height:5em;overflow:auto;font-size:1.75em;vertical-align:top;resize:vertical}}ol.styled{counter-reset:styled}ol.styled > li{counter-increment:styled;margin-bottom:.3em;list-style-type:none}ol.styled > li:before{content:counter(styled);display:inline-block;width:1em;height:1em;margin-right:.4em;padding:2px;border-radius:50%;text-align:center;text-indent:-.1em;font-size:.9em;line-height:1;vertical-align:middle;color:#FFF;background:rgba(0,0,0,.5)}@media(min-width:1280px){.large-hidden,.tablet-hidden{display:none !important}.large-visible{display:block !important}.large-no-float{float:none}.large-inbl{display:inline-block;float:none;vertical-align:top}.large-row{display:table;width:100% !important;table-layout:fixed}.large-col{display:table-cell;vertical-align:top}.large-w25{width:25% !important}.large-w33{width:33.3333% !important}.large-w50{width:50% !important}.large-w66{width:66.6666% !important}.large-w75{width:75% !important}.large-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.large-ma0,.large-man{margin:0 !important}}@media(max-width:768px){.w60,.w66,.w70,.w75,.w80,.w90,.w100,.w600p,.w700p,.w800p,.w960p,.mw960p,.medium-wauto{width:auto}.medium-hidden,.tablet-hidden{display:none !important}.medium-visible{display:block !important}.medium-no-float{float:none}.medium-inbl{display:inline-block;float:none;vertical-align:top}.medium-row{display:table;width:100% !important;table-layout:fixed}.medium-col{display:table-cell;vertical-align:top}.medium-w25{width:25% !important}.medium-w33{width:33.3333% !important}.medium-w50{width:50% !important}.medium-w66{width:66.6666% !important}.medium-w75{width:75% !important}.medium-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.medium-ma0,.medium-man{margin:0 !important}.grid4 > *{width:49% !important}.grid4 >:first-child + * + *{margin-left:0 !important}.grid6 > *{width:32% !important}.grid6 >:first-child + * + * + *{margin-left:0 !important}}@media(max-width:640px){.mod,.item,.col,fieldset{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.w30,.w33,.w40,.w50,.w300p,.w400p,.w500p{width:auto}.row{display:block !important;width:100% !important}.tiny-hidden,.phone-hidden{display:none !important}.tiny-visible{display:block !important}.tiny-no-float{float:none}.tiny-inbl{display:inline-block;float:none;vertical-align:top}.tiny-row{display:table;width:100% !important;table-layout:fixed}.tiny-col{display:table-cell;vertical-align:top}th,td{display:block !important;width:auto !important;text-align:left !important}thead{display:none}.tiny-w25{width:25% !important}.tiny-w33{width:33.3333% !important}.tiny-w50{width:50% !important}.tiny-w66{width:66.6666% !important}.tiny-w75{width:75% !important}.tiny-w100{display:block !important;float:none !important;clear:none !important;width:auto !important;margin-right:0 !important;margin-left:0 !important;border:0}.tiny-ma0,.tiny-man{margin:0 !important}} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/public/css/style.css b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/css/style.css index b25373d6..e3069b86 100755..100644 --- a/src/Wallabag/CoreBundle/Resources/views/default/public/css/style.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/css/style.css | |||
@@ -358,8 +358,8 @@ a.print span { | |||
358 | 358 | ||
359 | 359 | ||
360 | /* ========================================================================== | 360 | /* ========================================================================== |
361 | "save a link" popup div related styles | 361 | "save a link" popup div related styles |
362 | ========================================================================== */ | 362 | ========================================================================== */ |
363 | 363 | ||
364 | #bagit-form { | 364 | #bagit-form { |
365 | display: none; | 365 | display: none; |
@@ -384,8 +384,8 @@ a#bagit-form-close { | |||
384 | background-color: #000; | 384 | background-color: #000; |
385 | color: #fff; | 385 | color: #fff; |
386 | padding: 0 4px 1px 3px; | 386 | padding: 0 4px 1px 3px; |
387 | font-weight: bold; | 387 | font-weight: bold; |
388 | font-size: 0.7em; | 388 | font-size: 0.7em; |
389 | border-radius: 4px; | 389 | border-radius: 4px; |
390 | } | 390 | } |
391 | .add-to-wallabag-link-after:hover, .add-to-wallabag-link-after:active { | 391 | .add-to-wallabag-link-after:hover, .add-to-wallabag-link-after:active { |
@@ -418,8 +418,8 @@ a.add-to-wallabag-link-after:after { | |||
418 | } | 418 | } |
419 | 419 | ||
420 | /* ========================================================================== | 420 | /* ========================================================================== |
421 | "Search" popup div related styles | 421 | "Search" popup div related styles |
422 | ========================================================================== */ | 422 | ========================================================================== */ |
423 | 423 | ||
424 | /* Search form message needs a little more width, depending on translations */ | 424 | /* Search form message needs a little more width, depending on translations */ |
425 | #search-form { | 425 | #search-form { |
@@ -431,17 +431,17 @@ a.add-to-wallabag-link-after:after { | |||
431 | } | 431 | } |
432 | 432 | ||
433 | #readLeftPercent { | 433 | #readLeftPercent { |
434 | display: inline-block; | 434 | display: inline-block; |
435 | /* Show textual content */ | 435 | /* Show textual content */ |
436 | overflow: visible; | 436 | overflow: visible; |
437 | text-align: left; | 437 | text-align: left; |
438 | text-indent: 0; | 438 | text-indent: 0; |
439 | color: black; | 439 | color: black; |
440 | width: 50px; | 440 | width: 50px; |
441 | } | 441 | } |
442 | 442 | ||
443 | pre code { | 443 | pre code { |
444 | font-family: "Courier New", Courier, monospace; | 444 | font-family: "Courier New", Courier, monospace; |
445 | border: 1px solid #ddd; | 445 | border: 1px solid #ddd; |
446 | font-size: 0.96em; | 446 | font-size: 0.96em; |
447 | } | 447 | } |
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-114.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-114.png index 0e96edd5..0e96edd5 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-114.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-114.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-120.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-120.png index dc5aab1c..dc5aab1c 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-120.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-120.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-144.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-144.png index 1d005db6..1d005db6 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-144.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-144.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-152.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-152.png index f915231f..f915231f 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-152.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-152.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-57.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-57.png index 5aa19ed9..5aa19ed9 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-57.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-57.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-72.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-72.png index b8b48e1b..b8b48e1b 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-72.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-72.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-76.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-76.png index 9f9dba27..9f9dba27 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon-76.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon-76.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon.png index 9cf29e2b..9cf29e2b 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/apple-touch-icon.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/apple-touch-icon.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/favicon.ico b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/favicon.ico index 0346558b..0346558b 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/appicon/favicon.ico +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/appicon/favicon.ico | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/carrot-icon--black.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/icons/carrot-icon--black.png index 6da7925b..6da7925b 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/carrot-icon--black.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/icons/carrot-icon--black.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/carrot-icon--white.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/icons/carrot-icon--white.png index a70044b6..a70044b6 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/carrot-icon--white.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/icons/carrot-icon--white.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/diaspora-icon--black.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/icons/diaspora-icon--black.png index 32bca194..32bca194 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/diaspora-icon--black.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/icons/diaspora-icon--black.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/diaspora-icon--white.png b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/icons/diaspora-icon--white.png index fc48d47c..fc48d47c 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/img/icons/diaspora-icon--white.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/img/icons/diaspora-icon--white.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/autoClose.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/autoClose.js index e9145b7e..e9145b7e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/autoClose.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/autoClose.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/autoCompleteTags.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/autoCompleteTags.js index 90bc982c..90bc982c 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/autoCompleteTags.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/autoCompleteTags.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/public/js/bookmarklet.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/bookmarklet.js index 2afdfc3c..2afdfc3c 100644 --- a/src/Wallabag/CoreBundle/Resources/public/js/bookmarklet.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/bookmarklet.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/js/closeMessage.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/closeMessage.js index 527719d5..527719d5 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/js/closeMessage.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/closeMessage.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/jquery-2.0.3.min.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/jquery-2.0.3.min.js index a4dd0a2f..a4dd0a2f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/jquery-2.0.3.min.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/jquery-2.0.3.min.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/jquery-ui-1.10.4.custom.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/jquery-ui-1.10.4.custom.js index 6f599fca..6f599fca 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/jquery-ui-1.10.4.custom.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/jquery-ui-1.10.4.custom.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/jquery-ui-1.10.4.custom.min.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/jquery-ui-1.10.4.custom.min.js index 31635026..31635026 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/jquery-ui-1.10.4.custom.min.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/jquery-ui-1.10.4.custom.min.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/js/jquery.cookie.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/jquery.cookie.js index 92719000..92719000 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/js/jquery.cookie.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/jquery.cookie.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/popupForm.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/popupForm.js index d233e600..d233e600 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/popupForm.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/popupForm.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/restoreScroll.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/restoreScroll.js index 331c9e19..331c9e19 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/restoreScroll.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/restoreScroll.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/saveLink.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/saveLink.js index a7acd84c..a7acd84c 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_global/public/js/saveLink.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/saveLink.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/README.md b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/README.md index 1f0054a4..1f0054a4 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/README.md +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/README.md | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig new file mode 100644 index 00000000..dffea036 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig | |||
@@ -0,0 +1,17 @@ | |||
1 | {% extends "WallabagCoreBundle::base.html.twig" %} | ||
2 | |||
3 | {% block css %} | ||
4 | {{ parent() }} | ||
5 | |||
6 | <link rel="stylesheet" href="{{ asset('themes/baggy/css/ratatouille.css') }}" media="all"> | ||
7 | <link rel="stylesheet" href="{{ asset('themes/baggy/css/font.css') }}" media="all"> | ||
8 | <link rel="stylesheet" href="{{ asset('themes/baggy/css/main.css') }}" media="all"> | ||
9 | <link rel="stylesheet" href="{{ asset('themes/baggy/css/messages.css') }}" media="all"> | ||
10 | <link rel="stylesheet" href="{{ asset('themes/baggy/css/print.css') }}" media="print"> | ||
11 | {% endblock %} | ||
12 | |||
13 | {% block scripts %} | ||
14 | {{ parent() }} | ||
15 | |||
16 | <script src="{{ asset('themes/baggy/js/init.js') }}"></script> | ||
17 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/css/font.css b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/css/font.css index 7c02a16f..7c02a16f 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/css/font.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/css/font.css | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/css/main.css b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/css/main.css index 1df82910..1df82910 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/css/main.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/css/main.css | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/css/messages.css b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/css/messages.css index 42da70b3..42da70b3 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/css/messages.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/css/messages.css | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/css/print.css b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/css/print.css index 9dd6d295..9dd6d295 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/css/print.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/css/print.css | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/css/ratatouille.css b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/css/ratatouille.css index b203cbb8..b203cbb8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/css/ratatouille.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/css/ratatouille.css | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/fonts/icomoon.eot b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/fonts/icomoon.eot index 56323516..56323516 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/fonts/icomoon.eot +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/fonts/icomoon.eot | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/fonts/icomoon.svg b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/fonts/icomoon.svg index b4586136..b4586136 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/fonts/icomoon.svg +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/fonts/icomoon.svg | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/fonts/icomoon.ttf b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/fonts/icomoon.ttf index bb1f21f8..bb1f21f8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/fonts/icomoon.ttf +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/fonts/icomoon.ttf | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/fonts/icomoon.woff b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/fonts/icomoon.woff index bab13779..bab13779 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/fonts/icomoon.woff +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/fonts/icomoon.woff | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/fonts/ptsans.woff b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/fonts/ptsans.woff index cf7c62e1..cf7c62e1 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/fonts/ptsans.woff +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/fonts/ptsans.woff | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/baggy/blank.png b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/baggy/blank.png index 63e09844..63e09844 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/baggy/blank.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/baggy/blank.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/baggy/down.png b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/baggy/down.png index b9d536a7..b9d536a7 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/baggy/down.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/baggy/down.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/baggy/list.png b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/baggy/list.png index bd5aff5a..bd5aff5a 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/baggy/list.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/baggy/list.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/baggy/table.png b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/baggy/table.png index 859c4cd8..859c4cd8 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/baggy/table.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/baggy/table.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/baggy/top.png b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/baggy/top.png index 954a8c0a..954a8c0a 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/baggy/top.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/baggy/top.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/bg-select.png b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/bg-select.png index 95120441..95120441 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/bg-select.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/bg-select.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/logo-other_themes.png b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/logo-other_themes.png index 32543a44..32543a44 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/logo-other_themes.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/logo-other_themes.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/logo-w.png b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/logo-w.png index 65dc607b..65dc607b 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/logo-w.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/logo-w.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/logo-wallabag.svg b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/logo-wallabag.svg index 40193e1c..40193e1c 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/logo-wallabag.svg +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/logo-wallabag.svg | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/logo.png b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/logo.png index 5305c77d..5305c77d 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/logo.png +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/logo.png | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/logo.svg b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/logo.svg index 865da440..865da440 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/img/logo.svg +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/img/logo.svg | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/js/init.js b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/js/init.js index 74cbae68..74cbae68 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/js/init.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/js/init.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/public/js/restoreScroll.js b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/js/restoreScroll.js index 331c9e19..331c9e19 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/public/js/restoreScroll.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/public/js/restoreScroll.js | |||
diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/screenshot.jpg b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/screenshot.jpg index 19cd24bb..19cd24bb 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/screenshot.jpg +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/screenshot.jpg | |||
Binary files differ | |||
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php index 9b1a0986..d7d341aa 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php | |||
@@ -53,7 +53,7 @@ class ConfigControllerTest extends WallabagTestCase | |||
53 | 53 | ||
54 | $crawler = $client->followRedirect(); | 54 | $crawler = $client->followRedirect(); |
55 | 55 | ||
56 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.flash-notice')->extract(array('_text'))); | 56 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); |
57 | $this->assertContains('Config saved', $alert[0]); | 57 | $this->assertContains('Config saved', $alert[0]); |
58 | } | 58 | } |
59 | 59 | ||
@@ -178,7 +178,7 @@ class ConfigControllerTest extends WallabagTestCase | |||
178 | 178 | ||
179 | $crawler = $client->followRedirect(); | 179 | $crawler = $client->followRedirect(); |
180 | 180 | ||
181 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.flash-notice')->extract(array('_text'))); | 181 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); |
182 | $this->assertContains('Password updated', $alert[0]); | 182 | $this->assertContains('Password updated', $alert[0]); |
183 | } | 183 | } |
184 | 184 | ||
@@ -257,7 +257,7 @@ class ConfigControllerTest extends WallabagTestCase | |||
257 | 257 | ||
258 | $crawler = $client->followRedirect(); | 258 | $crawler = $client->followRedirect(); |
259 | 259 | ||
260 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.flash-notice')->extract(array('_text'))); | 260 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); |
261 | $this->assertContains('Information updated', $alert[0]); | 261 | $this->assertContains('Information updated', $alert[0]); |
262 | } | 262 | } |
263 | 263 | ||
@@ -344,7 +344,7 @@ class ConfigControllerTest extends WallabagTestCase | |||
344 | 344 | ||
345 | $crawler = $client->followRedirect(); | 345 | $crawler = $client->followRedirect(); |
346 | 346 | ||
347 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.flash-notice')->extract(array('_text'))); | 347 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); |
348 | $this->assertContains('User "wallace" added', $alert[0]); | 348 | $this->assertContains('User "wallace" added', $alert[0]); |
349 | } | 349 | } |
350 | } | 350 | } |