diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-02-15 22:12:50 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-02-29 21:28:25 +0100 |
commit | 24152cdb5e48edc5128082b285736b06ebda3c82 (patch) | |
tree | c1b1ab19b3e6e29b6e18aac56f85c8bb7461ddaa /src/Wallabag/CoreBundle/Resources | |
parent | 8808b79230130d2b985748954833a80e57fffd6c (diff) | |
download | wallabag-24152cdb5e48edc5128082b285736b06ebda3c82.tar.gz wallabag-24152cdb5e48edc5128082b285736b06ebda3c82.tar.zst wallabag-24152cdb5e48edc5128082b285736b06ebda3c82.zip |
Fix #1597: first draft to create new client for the API
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources')
3 files changed, 19 insertions, 0 deletions
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 new file mode 100644 index 00000000..edebc7ee --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/client.html.twig | |||
@@ -0,0 +1,9 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | ||
2 | |||
3 | {% block title %}{% trans %}New client{% endtrans %}{% endblock %} | ||
4 | |||
5 | {% block content %} | ||
6 | |||
7 | Client ID: {{ client_id }} | ||
8 | |||
9 | {% 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 new file mode 100644 index 00000000..9e06005f --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Developer/index.html.twig | |||
@@ -0,0 +1,9 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | ||
2 | |||
3 | {% block title %}{% trans %}Developer{% endtrans %}{% endblock %} | ||
4 | |||
5 | {% block content %} | ||
6 | |||
7 | <a href="{{ path('create_client') }}">Create a new client</a> | ||
8 | |||
9 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index d7bfa7ae..46aab5dc 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | |||
@@ -116,6 +116,7 @@ | |||
116 | <div class="container"> | 116 | <div class="container"> |
117 | <p>{% trans %}powered by{% endtrans %} <a target="_blank" href="https://wallabag.org" class="grey-text text-lighten-4">wallabag</a></p> | 117 | <p>{% trans %}powered by{% endtrans %} <a target="_blank" href="https://wallabag.org" class="grey-text text-lighten-4">wallabag</a></p> |
118 | <a class="grey-text text-lighten-4 right" href="{{ path('about') }}">{% trans %}About{% endtrans %}</a> | 118 | <a class="grey-text text-lighten-4 right" href="{{ path('about') }}">{% trans %}About{% endtrans %}</a> |
119 | <a class="grey-text text-lighten-4 right" href="{{ path('developer') }}">{% trans %}Developer{% endtrans %} | ||
119 | </div> | 120 | </div> |
120 | </div> | 121 | </div> |
121 | </footer> | 122 | </footer> |