Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/API/templates/listAllAPI.twig')
-rw-r--r--plugins/API/templates/listAllAPI.twig33
1 files changed, 16 insertions, 17 deletions
diff --git a/plugins/API/templates/listAllAPI.twig b/plugins/API/templates/listAllAPI.twig
index c42d313fcf..c84488b1ec 100644
--- a/plugins/API/templates/listAllAPI.twig
+++ b/plugins/API/templates/listAllAPI.twig
@@ -10,22 +10,21 @@
{% block content %}
<div class="api-list">
-
- <h2>{{ title }}</h2>
-
- <p>{{ 'API_PluginDescription'|translate }}</p>
-
- <p>
- {{ 'API_MoreInformation'|translate("<a target='_blank' href='?module=Proxy&action=redirect&url=http://piwik.org/docs/analytics-api'>","</a>","<a target='_blank' href='?module=Proxy&action=redirect&url=http://piwik.org/docs/analytics-api/reference'>","</a>")|raw }}
- </p>
-
- <h2>{{ 'API_UserAuthentication'|translate }}</h2>
-
- <p>
- {{ 'API_UsingTokenAuth'|translate('','',"")|raw }}<br/>
- <span id='token_auth'>&amp;token_auth=<strong>{{ token_auth }}</strong></span><br/>
- {{ 'API_KeepTokenSecret'|translate('<b>','</b>')|raw }}
- {{ list_api_methods_with_links|raw }}
- <br/>
+ <div piwik-content-block content-title="{{ title|e('html_attr') }}" rate="true">
+ <p>{{ 'API_PluginDescription'|translate }}</p>
+
+ <p>
+ {{ 'API_MoreInformation'|translate("<a target='_blank' href='?module=Proxy&action=redirect&url=http://piwik.org/docs/analytics-api'>","</a>","<a target='_blank' href='?module=Proxy&action=redirect&url=http://piwik.org/docs/analytics-api/reference'>","</a>")|raw }}
+ </p>
+ </div>
+ <div piwik-content-block content-title="{{ 'API_UserAuthentication'|translate|e('html_attr') }}">
+ <p>
+ {{ 'API_UsingTokenAuth'|translate('','',"")|raw }}<br/>
+ <pre piwik-select-on-focus id='token_auth'>&amp;token_auth=<strong>{{ token_auth }}</strong></pre><br/>
+ {{ 'API_KeepTokenSecret'|translate('<b>','</b>')|raw }}
+ </p>
+ </div>
+ {{ list_api_methods_with_links|raw }}
+ <br/>
</div>
{% endblock %} \ No newline at end of file