Showing configuration file content in settings tab

This commit is contained in:
Jesús Ángel González 2018-07-09 10:41:52 +02:00 committed by Javier Castro
parent 4c73bed290
commit fb01dfbc7d
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<div layout="column" layout-align="start stretch" ng-if="tab === 'config' && !load">
<md-card flex="50" class="wz-md-card">
<md-card-content>
<i class="fa fa-fw fa-file-o" aria-hidden="true"></i>
<span class="wz-headline-title">config.yml content</span>
<md-divider class="wz-margin-top-10"></md-divider>
<div layout="row" class="wz-padding-top-10" ng-repeat="(key,value) in configuration">
<span flex="25">{{key}}</span>
<span class="wz-text-right color-grey">{{value}}</span>
</div>
</md-card-content>
</md-card>
</div>

View File

@ -34,6 +34,7 @@
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('api')" name="api">API</md-nav-item>
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('extensions')" name="extensions">Extensions</md-nav-item>
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('pattern')" name="pattern">Pattern</md-nav-item>
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('config')" name="about">Configuration</md-nav-item>
<md-nav-item class="wz-nav-item" md-nav-click="switchTab('about')" name="about">About</md-nav-item>
</md-nav-bar>
<!-- End navigation bar -->

View File

@ -4,5 +4,6 @@ include ./settings-api-down.html
include ./settings-api.html
include ./settings-extensions.html
include ./settings-pattern.html
include ./settings-configuration.html
include ./settings-about.html
include ../footer.foot