[FIX] app config panel

This commit is contained in:
Kay0u 2020-01-16 01:23:21 +07:00
parent 1e4c86df89
commit 4eb58d36dd
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -1,8 +1,8 @@
<div class="btn-breadcrumb"> <div class="btn-breadcrumb">
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a> <a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
<a href="#/apps">{{t 'applications'}}</a> <a href="#/apps">{{t 'applications'}}</a>
<a href="#/apps/{{app_id}}">{{app_name}}</a> <a href="#/apps/{{app}}">{{app_name}}</a>
<a href="#/apps/{{app_id}}/config-panel">{{t 'config-panel'}}</a> <a href="#/apps/{{app}}/config-panel">{{t 'config-panel'}}</a>
</div> </div>
<div class="separator"></div> <div class="separator"></div>
@ -16,7 +16,7 @@
{{#config_panel}} {{#config_panel}}
<h2>{{../app_name}} configuration panel</h2> <h2>{{../app_name}} configuration panel</h2>
<hr> <hr>
<form class="form-horizontal" action="#/apps/{{../app_id}}/config" method="POST"> <form class="form-horizontal" action="#/apps/{{../app}}/config" method="POST">
{{#panel}} {{#panel}}
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading-{{ @index }}"> <div class="panel-heading" role="tab" id="heading-{{ @index }}">