Fix #1597: first draft to create new client for the API

This commit is contained in:
Nicolas Lœuillet
2016-02-15 22:12:50 +01:00
parent 8808b79230
commit 24152cdb5e
4 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{% extends "WallabagCoreBundle::layout.html.twig" %}
{% block title %}{% trans %}New client{% endtrans %}{% endblock %}
{% block content %}
Client ID: {{ client_id }}
{% endblock %}

View File

@ -0,0 +1,9 @@
{% extends "WallabagCoreBundle::layout.html.twig" %}
{% block title %}{% trans %}Developer{% endtrans %}{% endblock %}
{% block content %}
<a href="{{ path('create_client') }}">Create a new client</a>
{% endblock %}

View File

@ -116,6 +116,7 @@
<div class="container">
<p>{% trans %}powered by{% endtrans %} <a target="_blank" href="https://wallabag.org" class="grey-text text-lighten-4">wallabag</a></p>
<a class="grey-text text-lighten-4 right" href="{{ path('about') }}">{% trans %}About{% endtrans %}</a>
<a class="grey-text text-lighten-4 right" href="{{ path('developer') }}">{% trans %}Developer{% endtrans %}
</div>
</div>
</footer>