Fix styling

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-04-25 20:32:33 +02:00
parent 0428254ed6
commit da67264a23
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
3 changed files with 8 additions and 1 deletions

View File

@ -370,6 +370,7 @@ class AppSettingsController extends Controller {
if($app['id'] === $identifier) {
if($newCategory) {
$app['newCategory'] = true;
$app['bundleId'] = $bundle->getIdentifier();
$app['categoryName'] = $bundle->getName();
}
$newCategory = false;

View File

@ -518,6 +518,12 @@ input.userFilter {width: 200px;}
/* APPS */
#apps-list > h2 {
display: block;
width: 100%;
margin-top: 50px;
padding-left: 30px;
}
#app-content > svg.app-filter {
float: left;

View File

@ -74,7 +74,7 @@ script(
<script id="app-template" type="text/x-handlebars">
{{#if newCategory}}
<br/><h2>{{categoryName}}</h2>
<h2>{{categoryName}} <input class="enable" type="submit" data-bundleid="{{bundleId}}" data-active="true" value="<?php p($l->t('Enable all'));?>"/></h2>
{{/if}}
<div class="section" id="app-{{id}}">
{{#if preview}}