aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig
blob: fbd2755a3c616cebf0510d3b9a1b3a4dae8bf867 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{% extends "WallabagCoreBundle::layout.html.twig" %}

{% block title %}{{ 'howto.page_title'|trans }}{% endblock %}

{% block content %}

    <div class="row">
        <div class="col s12">
            <div class="card-panel settings">

                <div class="row">
                    <div class="div_tabs col s12">
                        <ul class="tabs">
                            <li class="tab col s12 m6 l3"><a class="active" href="#set1">{{ 'howto.tab_menu.add_link'|trans }}</a></li>
                            <li class="tab col s12 m6 l3"><a href="#set2">{{ 'howto.tab_menu.shortcuts'|trans }}</a></li>
                        </ul>
                    </div>

                    <div id="set1" class="col s12">
                        <p>{{ 'howto.page_description'|trans }}</p>

                        <div class="row">

                            <div class="col s12">
                                <a href="{{ path('new') }}">{{ 'howto.form.description'|trans }}</a>
                            </div>

                            <div class="col s12">
                                <h5>{{ 'howto.top_menu.browser_addons'|trans }}</h5>
                                <ul>
                                    <li><a href="{{ addonsUrl.firefox }}" target="_blank" rel="noopener">{{ 'howto.browser_addons.firefox'|trans }}</a></li>
                                    <li><a href="{{ addonsUrl.chrome }}" target="_blank" rel="noopener">{{ 'howto.browser_addons.chrome'|trans }}</a></li>
                                    <li><a href="{{ addonsUrl.opera }}" target="_blank" rel="noopener">{{ 'howto.browser_addons.opera'|trans }}</a></li>
                                </ul>
                            </div>

                            <div class="col s12">
                                <h5>{{ 'howto.top_menu.mobile_apps'|trans }}</h5>
                                <ul>
                                    <li>Android: <a href="{{ addonsUrl.f_droid }}" target="_blank" rel="noopener">{{ 'howto.mobile_apps.android.via_f_droid'|trans }}</a> / <a href="{{ addonsUrl.google_play }}" target="_blank" rel="noopener">{{ 'howto.mobile_apps.android.via_google_play'|trans }}</a></li>
                                    <li>iOS: <a href="{{ addonsUrl.ios }}" target="_blank">{{ 'howto.mobile_apps.ios'|trans }}</a></li>
                                    <li>Windows Phone: <a href="{{ addonsUrl.windows }}" target="_blank" rel="noopener">{{ 'howto.mobile_apps.windows'|trans }}</a></li>
                                </ul>
                            </div>

                            <div class="col s12">
                                <h5>{{ 'howto.top_menu.bookmarklet'|trans }}</h5>
                                {{ 'howto.bookmarklet.description'|trans }}
                                {% include '@WallabagCore/themes/common/Static/_bookmarklet.html.twig' %}
                            </div>

                        </div>
                    </div>

                    <div id="set2" class="col s12">
                        <p>{{ 'howto.shortcuts.page_description'|trans }}</p>

                        <h5>{{ 'howto.shortcuts.all_pages_title'|trans }}</h5>

                        <table class="bordered">
                            <thead>
                                <tr>
                                    <th>{{ 'howto.shortcuts.shortcut'|trans }}</th>
                                    <th>{{ 'howto.shortcuts.action'|trans }}</th>
                                </tr>
                            </thead>

                            <tbody>
                                <tr>
                                    <td><code>g u</code></td>
                                    <td>{{ 'howto.shortcuts.go_unread'|trans }}</td>
                                </tr>
                                <tr>
                                    <td><code>g s</code></td>
                                    <td>{{ 'howto.shortcuts.go_starred'|trans }}</td>
                                </tr>
                                <tr>
                                    <td><code>g r</code></td>
                                    <td>{{ 'howto.shortcuts.go_archive'|trans }}</td>
                                </tr>
                                <tr>
                                    <td><code>g a</code></td>
                                    <td>{{ 'howto.shortcuts.go_all'|trans }}</td>
                                </tr>
                                <tr>
                                    <td><code>g t</code></td>
                                    <td>{{ 'howto.shortcuts.go_tags'|trans }}</td>
                                </tr>
                                <tr>
                                    <td><code>g c</code></td>
                                    <td>{{ 'howto.shortcuts.go_config'|trans }}</td>
                                </tr>
                                <tr>
                                    <td><code>g i</code></td>
                                    <td>{{ 'howto.shortcuts.go_import'|trans }}</td>
                                </tr>
                                <tr>
                                    <td><code>g d</code></td>
                                    <td>{{ 'howto.shortcuts.go_developers'|trans }}</td>
                                </tr>
                                <tr>
                                    <td><code>?</code></td>
                                    <td>{{ 'howto.shortcuts.go_howto'|trans }}</td>
                                </tr>
                                <tr>
                                    <td><code>g l</code></td>
                                    <td>{{ 'howto.shortcuts.go_logout'|trans }}</td>
                                </tr>
                            </tbody>
                        </table>

                        <h5>{{ 'howto.shortcuts.list_title'|trans }}</h5>

                        <table class="bordered">
                            <thead>
                            <tr>
                                <th>{{ 'howto.shortcuts.shortcut'|trans }}</th>
                                <th>{{ 'howto.shortcuts.action'|trans }}</th>
                            </tr>
                            </thead>

                            <tbody>
                            <tr>
                                <td><code>s</code></td>
                                <td>{{ 'howto.shortcuts.search'|trans }}</td>
                            </tr>
                            </tbody>
                        </table>

                        <h5>{{ 'howto.shortcuts.article_title'|trans }}</h5>

                        <table class="bordered">
                            <thead>
                            <tr>
                                <th>{{ 'howto.shortcuts.shortcut'|trans }}</th>
                                <th>{{ 'howto.shortcuts.action'|trans }}</th>
                            </tr>
                            </thead>

                            <tbody>
                            <tr>
                                <td><code>o</code></td>
                                <td>{{ 'howto.shortcuts.open_original'|trans }}</td>
                            </tr>
                            <tr>
                                <td><code>f</code></td>
                                <td>{{ 'howto.shortcuts.toggle_favorite'|trans }}</td>
                            </tr>
                            <tr>
                                <td><code>a</code></td>
                                <td>{{ 'howto.shortcuts.toggle_archive'|trans }}</td>
                            </tr>
                            <tr>
                                <td><code>del</code></td>
                                <td>{{ 'howto.shortcuts.delete'|trans }}</td>
                            </tr>
                            </tbody>
                        </table>

                        <h5>{{ 'howto.shortcuts.material_title'|trans }}</h5>

                        <table class="bordered">
                            <thead>
                            <tr>
                                <th>{{ 'howto.shortcuts.shortcut'|trans }}</th>
                                <th>{{ 'howto.shortcuts.action'|trans }}</th>
                            </tr>
                            </thead>

                            <tbody>
                            <tr>
                                <td><code>g n</code></td>
                                <td>{{ 'howto.shortcuts.add_link'|trans }}</td>
                            </tr>
                            <tr>
                                <td><code>esc</code></td>
                                <td>{{ 'howto.shortcuts.hide_form'|trans }}</td>
                            </tr>
                            <tr>
                                <td><code>← →</code></td>
                                <td>{{ 'howto.shortcuts.arrows_navigation'|trans }}</td>
                            </tr>
                            <tr>
                                <td><code>enter</code></td>
                                <td>{{ 'howto.shortcuts.open_article'|trans }}</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>

            </div>
        </div>
    </div>
{% endblock %}