From 2ff9991a1dfac0d3463662b96f529aac70c66f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 30 Sep 2016 09:38:08 +0200 Subject: Removed duplicated templates files --- .../themes/material/Developer/client.html.twig | 37 ---- .../material/Developer/client_parameters.html.twig | 23 --- .../themes/material/Developer/howto_app.html.twig | 63 ------- .../themes/material/Developer/index.html.twig | 69 -------- .../views/themes/material/Entry/entries.html.twig | 2 +- .../views/themes/material/Entry/entries.xml.twig | 26 --- .../views/themes/material/Static/about.html.twig | 186 --------------------- .../views/themes/material/Static/howto.html.twig | 46 ----- .../themes/material/Static/quickstart.html.twig | 77 --------- 9 files changed, 1 insertion(+), 528 deletions(-) delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/client.html.twig delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/client_parameters.html.twig delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/howto_app.html.twig delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/index.html.twig delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.xml.twig delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Static/about.html.twig delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig delete mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/Static/quickstart.html.twig (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/client.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/client.html.twig deleted file mode 100644 index 8a5da71a..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/client.html.twig +++ /dev/null @@ -1,37 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{{ 'developer.client.page_title'|trans }}{% endblock %} - -{% block content %} -
-
-
- -
-

{{ 'developer.client.page_description'|trans }}

- {{ form_start(form) }} - {{ form_errors(form) }} - -
- {{ form_label(form.name) }} - {{ form_errors(form.name) }} - {{ form_widget(form.name) }} -
- -
- {{ form_label(form.redirect_uris) }} - {{ form_errors(form.redirect_uris) }} - {{ form_widget(form.redirect_uris) }} -
- - {{ 'developer.client.action_back'|trans }} - {{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} - - {{ form_rest(form) }} -
- -
-
-
- -{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/client_parameters.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/client_parameters.html.twig deleted file mode 100644 index b498cceb..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/client_parameters.html.twig +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{{ 'developer.client_parameter.page_title'|trans }}{% endblock %} - -{% block content %} -
-
-
-
-

{{ 'developer.client_parameter.page_description'|trans }}

-
    -
  • {{ 'developer.client_parameter.field_name'|trans }}:
    {{ client_name }}
  • -
  • {{ 'developer.client_parameter.field_id'|trans }}:
    {{ client_id }}
  • -
  • {{ 'developer.client_parameter.field_secret'|trans }}:
    {{ client_secret }}
  • -
- - {{ 'developer.client_parameter.back'|trans }} - {{ 'developer.client_parameter.read_howto'|trans }} -
-
-
-
-{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/howto_app.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/howto_app.html.twig deleted file mode 100644 index acbc2c88..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/howto_app.html.twig +++ /dev/null @@ -1,63 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{{ 'developer.howto.page_title'|trans }}{% endblock %} - -{% block css %} - {{ parent() }} - -{% endblock %} - -{% block content %} -
-
-
- -
-

{{ 'developer.howto.description.paragraph_1'|trans|raw }}

-

{{ 'developer.howto.description.paragraph_2'|trans }}

-

{{ 'developer.howto.description.paragraph_3'|trans({'%link%': path('developer_create_client')})|raw }}

-

{{ 'developer.howto.description.paragraph_4'|trans }}

-

-

http POST http://v2.wallabag.org/oauth/v2/token \
-    grant_type=password \
-    client_id=12_5um6nz50ceg4088c0840wwc0kgg44g00kk84og044ggkscso0k \
-    client_secret=3qd12zpeaxes8cwg8c0404g888co4wo8kc4gcw0occww8cgw4k \
-    username=yourUsername \
-    password=yourPassw0rd
-

-

{{ 'developer.howto.description.paragraph_5'|trans }}

-

-

HTTP/1.1 200 OK
-Cache-Control: no-store, private
-Connection: close
-Content-Type: application/json
-Date: Tue, 06 Oct 2015 18:24:03 GMT
-Host: localhost:8000
-Pragma: no-cache
-X-Debug-Token: be00a1
-X-Debug-Token-Link: /profiler/be00a1
-X-Powered-By: PHP/5.5.9-1ubuntu4.13
-{
-    "access_token": "ZWFjNjA3ZWMwYWVmYzRkYTBlMmQ3NTllYmVhOGJiZDE0ZTg1NjE4MjczOTVlNzM0ZTRlMWQ0MmRlMmYwNTk5Mw",
-    "expires_in": 3600,
-    "refresh_token": "ODBjODU1NWUwNmUzZTBkNDQ5YWVlZTVlMjQ2Y2I0OWM2NTM1ZGM2M2Y3MDhjMTViM2U2MzYxYzRkMDk5ODRlZg",
-    "scope": null,
-    "token_type": "bearer"
-}
-

-

{{ 'developer.howto.description.paragraph_6'|trans }}

-

-

http GET http://v2.wallabag.org/api/entries.json \
-    "Authorization:Bearer ZWFjNjA3ZWMwYWVmYzRkYTBlMmQ3NTllYmVhOGJiZDE0ZTg1NjE4MjczOTVlNzM0ZTRlMWQ0MmRlMmYwNTk5Mw"
-

-

{{ 'developer.howto.description.paragraph_7'|trans }}

-

{{ 'developer.howto.description.paragraph_8'|trans({'%link%': path('nelmio_api_doc_index')})|raw }}

-

{{ 'developer.howto.back'|trans }}

-
- -
-
-
- - -{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/index.html.twig deleted file mode 100644 index 3430c0d4..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/index.html.twig +++ /dev/null @@ -1,69 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{{ 'developer.page_title'|trans }}{% endblock %} - -{% block content %} -
-
-
- -
-

{{ 'developer.welcome_message'|trans }}

- -

{{ 'developer.documentation'|trans }}

- - - -

{{ 'developer.clients.title'|trans }}

- - -

{{ 'developer.existing_clients.title'|trans }}

- {% if clients %} -
    - {% for client in clients %} -
  • -
    {{ client.name }} - #{{ client.id }}
    -
    - - - - - - - - - - - - - - - - - -
    {{ 'developer.existing_clients.field_id'|trans }}{{ client.id }}_{{ client.randomId }}
    {{ 'developer.existing_clients.field_secret'|trans }}{{ client.secret }}
    {{ 'developer.existing_clients.field_uris'|trans }}{{ client.redirectUris|json_encode() }}
    {{ 'developer.existing_clients.field_grant_types'|trans }}{{ client.allowedGrantTypes|json_encode() }}
    -

    - {{ 'developer.remove.warn_message_1'|trans({'%name%': client.name }) }}
    - {{ 'developer.remove.warn_message_2'|trans({'%name%': client.name }) }}
    - {{ 'developer.remove.action'|trans({'%name%': client.name }) }} -

    -
    -
  • - {% endfor %} -
- {% else %} - {{ 'developer.existing_clients.no_client'|trans }} - {% endif %} -
- -
-
-
- -{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 806a4eef..e889dea8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -1,7 +1,7 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} {% block title %} - {% include "@WallabagCore/themes/_title.html.twig" %} + {% include "@WallabagCore/themes/common/Entry/_title.html.twig" %} {% endblock %} {% block content %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.xml.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.xml.twig deleted file mode 100644 index 288bb54f..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.xml.twig +++ /dev/null @@ -1,26 +0,0 @@ - - - - wallabag — {{type}} feed - {{ url('unread') }} - {{ "now"|date('D, d M Y H:i:s') }} - wallabag - wallabag {{type}} elements - - {% for entry in entries %} - - - <![CDATA[{{ entry.title }}]]> - wallabag - {{ entry.url }} - {{ entry.url }} - {{ entry.createdAt|date('D, d M Y H:i:s') }} - - 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]> - - - - {% endfor %} - - - diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/about.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/about.html.twig deleted file mode 100644 index d0b94279..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/about.html.twig +++ /dev/null @@ -1,186 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{{ 'about.page_title'|trans }}{% endblock %} - -{% block content %} - -
-
-
- -
- - -
-
{{ 'about.who_behind_wallabag.developped_by'|trans }}
-
Nicolas Lœuillet{{ 'about.who_behind_wallabag.website'|trans }}
-
Thomas Citharel — {{ 'about.who_behind_wallabag.website'|trans }}
-
Jérémy Benoist — {{ 'about.who_behind_wallabag.website'|trans }}
-
{{ 'about.who_behind_wallabag.many_contributors'|trans|raw }}
-
{{ 'about.who_behind_wallabag.project_website'|trans }}
-
https://www.wallabag.org
-
{{ 'about.who_behind_wallabag.license'|trans }}: MIT
-
{{ 'about.who_behind_wallabag.version'|trans }}: {{ version }}
-
- -
-
-
{{ 'about.getting_help.documentation'|trans }}
-
english
-
français
- -
{{ 'about.getting_help.bug_reports'|trans }}
-
{{ 'about.getting_help.support'|trans|raw }}
-
-
- -
-
-
{{ 'about.helping.description'|trans }}
-
{{ 'about.helping.by_contributing_2'|trans }} {{ 'about.helping.by_contributing'|trans }}
-
{{ 'about.helping.by_paypal'|trans }}
-
-
- - - -
-

{{ 'about.third_party.description'|trans }}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ 'about.third_party.package'|trans }}{{ 'about.third_party.license'|trans }}
behat/transliteratorArtistic 1.0
CraueConfigBundleMIT
doctrine/annotationsMIT
doctrine/cacheMIT
doctrine/collectionsMIT
doctrine/commonMIT
doctrine/dbalMIT
doctrine/doctrine-bundleMIT
doctrine/doctrine-cache-bundleMIT
doctrine/doctrine-migrations-bundleMIT
doctrine/inflectorMIT
doctrine/instantiatorMIT
doctrine/lexerMIT
doctrine/migrationsLGPL-2.1
doctrine/ormMIT
friendsofsymfony/oauth-server-bundleMIT
friendsofsymfony/oauth2-phpMIT
friendsofsymfony/rest-bundleMIT
friendsofsymfony/user-bundleMIT
gedmo/doctrine-extensionsMIT
grandt/binstringLGPL-2.1
grandt/phpepubLGPL-2.1
grandt/phpresizegifLGPL-2.1
grandt/phpzipmergeLGPL-2.1
grandt/relativepathLGPL-2.1
guzzlehttp/guzzleMIT
guzzlehttp/ringphpMIT
guzzlehttp/streamsMIT
hoa/compilerBSD-3-Clause
hoa/consistencyBSD-3-Clause
hoa/eventBSD-3-Clause
hoa/exceptionBSD-3-Clause
hoa/fileBSD-3-Clause
hoa/iteratorBSD-3-Clause
hoa/mathBSD-3-Clause
hoa/protocolBSD-3-Clause
hoa/regexBSD-3-Clause
hoa/rulerBSD-3-Clausev -
hoa/streamBSD-3-Clause
hoa/ustringBSD-3-Clause
hoa/visitorBSD-3-Clause
hoa/zformatBSD-3-Clause
htmlawed/htmlawedGPL-2.0+ or LGPL-3.0
incenteev/composer-parameter-handlerMIT
j0k3r/grabyAGPL-3.0
j0k3r/graby-site-configAGPL-3.0
j0k3r/php-readabilityApache-2.0
j0k3r/safecurlMIT
jdorn/sql-formatterMIT
jms/metadataApache
jms/parser-libApache2
jms/serializerApache2
jms/serializer-bundleApache2
kphoen/rulerzMIT
kphoen/rulerz-bundleMIT
kriswallsmith/asseticMIT
lexik/form-filter-bundleMIT
liip/theme-bundleMIT
mgargano/simplehtmldomMIT
michelf/php-markdownBSD-3-Clause
monolog/monologMIT
neitanod/forceutf8BSD-3-Clause
nelmio/api-doc-bundleMIT
nelmio/cors-bundleMIT
ocramius/proxy-managerMIT
pagerfanta/pagerfantaMIT
paragonie/random_compatMIT
phpcollection/phpcollectionApache2
phpoption/phpoptionApache2
phpzip/phpzipLGPL-2.1
psr/logMIT
react/promiseMIT
scheb/two-factor-bundleMIT
sensio/distribution-bundleMIT
sensio/framework-extra-bundleMIT
sensiolabs/security-checkerMIT
simplepie/simplepieBSD-3-Clause
smalot/pdfparserGPL-3.0
sonata-project/google-authenticatorMIT
stof/doctrine-extensions-bundleMIT
swiftmailer/swiftmailerMIT
symfony/assetic-bundleMIT
symfony/monolog-bundleMIT
All of SymfonyMIT-licenced
tecnickcom/tcpdfLGPLv3
twig/extensionsMIT
twig/twigBSD-3-Clause
wallabag/php-mobiApache-2.0
willdurand/hateoasMIT
willdurand/hateoas-bundleMIT
willdurand/jsonp-callback-validatorMIT
willdurand/negotiationMIT
zendframework/zend-codeBSD-3-Clause
zendframework/zend-eventmanagerBSD-3-Clause
doctrine/data-fixturesMIT
doctrine/doctrine-fixtures-bundleMIT
phpdocumentor/reflection-docblockMIT
phpspec/prophecyMIT
phpunit/php-code-coverageBSD-3-Clause
phpunit/php-file-iteratorBSD-3-Clause
phpunit/php-text-templateBSD-3-Clause
phpunit/php-timerBSD-3-Clause
phpunit/php-token-streamBSD-3-Clause
phpunit/phpunitBSD-3-Clause
phpunit/phpunit-mock-objectsBSD-3-Clause
sebastian/comparatorBSD-3-Clause
sebastian/diffBSD-3-Clause
sebastian/environmentBSD-3-Clause
sebastian/exporterBSD-3-Clause
sebastian/global-stateBSD-3-Clause
sebastian/recursion-contextBSD-3-Clause
sebastian/versionBSD-3-Clause
sensio/generator-bundleMIT
symfony/phpunit-bridgeMIT
-
-
- -
-
-
- -{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig deleted file mode 100644 index 6a177d6b..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig +++ /dev/null @@ -1,46 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{{ 'howto.page_title'|trans }}{% endblock %} - -{% block content %} - -
-
-
-

{{ 'howto.page_description'|trans }}

- -
- - - -
-
{{ 'howto.top_menu.browser_addons'|trans }}
- -
- - - -
-
{{ 'howto.top_menu.bookmarklet'|trans }}
- {{ 'howto.bookmarklet.description'|trans }} - {% include 'WallabagCoreBundle::_bookmarklet.html.twig' %} -
- -
- -
-
-
-{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/quickstart.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/quickstart.html.twig deleted file mode 100644 index 8cbf4ab4..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/quickstart.html.twig +++ /dev/null @@ -1,77 +0,0 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} - -{% block title %}{{ 'quickstart.page_title'|trans }}{% endblock %} - -{% block content %} - -
-
-
- -
-

{{ 'quickstart.intro.title'|trans }}

-

{{ 'quickstart.intro.paragraph_1'|trans }}

-

{{ 'quickstart.intro.paragraph_2'|trans }}

- -

{{ 'quickstart.configure.title'|trans }}

- - - {% if is_granted('ROLE_SUPER_ADMIN') %} -

{{ 'quickstart.admin.title'|trans }}

-

{{ 'quickstart.admin.description'|trans }}

- - {% endif %} - -

{{ 'quickstart.first_steps.title'|trans }}

- - -

{{ 'quickstart.migrate.title'|trans }}

-

{{ 'quickstart.migrate.description'|trans }}

- - -

{{ 'quickstart.developer.title'|trans }}

- - -

{{ 'quickstart.docs.title'|trans }}

- - -

{{ 'quickstart.support.title'|trans }}

-

{{ 'quickstart.support.description'|trans }}

- -
- -
-
-
- -{% endblock %} -- cgit v1.2.3