1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00

link to openAPI documentation in front interface

This commit is contained in:
Sylvain 2016-06-27 17:23:05 +02:00
parent 8c90eab8ac
commit f6f539d2fc
4 changed files with 17 additions and 1 deletions

View File

@ -335,6 +335,11 @@ p, .widget p {
}
}
.exponent {
font-size: 0.7em;
vertical-align: super
}
@media screen and (min-width: $screen-lg-min) {
.b-r-lg {border-right: 1px solid $border-color; }
}

View File

@ -5,12 +5,21 @@
<a href="#" ng-click="backPrevLocation($event)"><i class="fa fa-long-arrow-left "></i></a>
</section>
</div>
<div class="col-xs-10 col-sm-10 col-md-8 b-l">
<div class="col-xs-10 col-sm-10 col-md-7 b-l b-r-md">
<section class="heading-title">
<h1 translate>{{ 'open_api_clients' }}</h1>
</section>
</div>
<div class="col-xs-12 col-sm-12 col-md-4 b-t hide-b-md">
<section class="heading-actions wrapper">
<a href="/open_api/doc/v1" target="_blank" class="btn btn-info b-2x rounded m-t-sm">
<i class="fa fa-book" aria-hidden="true"></i>&nbsp;
<span translate>{{ 'api_documentation' }}</span>&nbsp;
<span class="exponent"><i class="fa fa-external-link" aria-hidden="true"></i></span>
</a>
</section>
</div>
</div>
</section>

View File

@ -471,6 +471,7 @@ en:
open_api_clients:
add_new_client: "Create new API client"
api_documentation: "API documentation"
open_api_clients: "OpenAPI clients"
calls_count: "calls count"
created_at: "Creation date"

View File

@ -471,6 +471,7 @@ fr:
open_api_clients:
add_new_client: "Créer un compte client"
api_documentation: "Documentation de l'API"
open_api_clients: "Clients OpenAPI"
calls_count: "Nombre d'appels"
created_at: "Date de création"