Browse Source

Fix styling

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
pull/4454/head
Lukas Reschke 9 years ago
parent
commit
da67264a23
No known key found for this signature in database GPG Key ID: B9F6980CF6E759B1
  1. 1
      settings/Controller/AppSettingsController.php
  2. 6
      settings/css/settings.css
  3. 2
      settings/templates/apps.php

1
settings/Controller/AppSettingsController.php

@ -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;

6
settings/css/settings.css

@ -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;

2
settings/templates/apps.php

@ -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}}

Loading…
Cancel
Save