adjust styling of missing dependencies in apps management
This commit is contained in:
parent
5a03e0a5cf
commit
95fc5addec
2 changed files with 9 additions and 4 deletions
|
@ -200,6 +200,11 @@ span.version { margin-left:1em; margin-right:1em; color:#555; }
|
|||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
|
||||
.app-dependencies {
|
||||
margin-top: 10px;
|
||||
color: #c33;
|
||||
}
|
||||
|
||||
.missing-dependencies {
|
||||
list-style: initial;
|
||||
list-style-type: initial;
|
||||
|
|
|
@ -52,12 +52,14 @@
|
|||
</p>
|
||||
{{/if}}
|
||||
{{#unless canInstall}}
|
||||
<div><?php p($l->t('This app cannot be installed because the following dependencies are not fulfilled:')); ?></div>
|
||||
<div class="app-dependencies">
|
||||
<p><?php p($l->t('This app cannot be installed because the following dependencies are not fulfilled:')); ?></p>
|
||||
<ul class="missing-dependencies">
|
||||
{{#each missingDependencies}}
|
||||
<li>{{this}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
||||
{{#if update}}
|
||||
|
@ -70,9 +72,7 @@
|
|||
<br />
|
||||
<input type="hidden" id="group_select" title="<?php p($l->t('All')); ?>" style="width: 200px">
|
||||
{{else}}
|
||||
{{#if canInstall}}
|
||||
<input class="enable" type="submit" data-appid="{{id}}" data-active="false" value="<?php p($l->t("Enable"));?>"/>
|
||||
{{/if}}
|
||||
<input class="enable" type="submit" data-appid="{{id}}" data-active="false" {{#unless canInstall}}disabled="disabled"{{/unless}} value="<?php p($l->t("Enable"));?>"/>
|
||||
{{/if}}
|
||||
{{#if canUnInstall}}
|
||||
<input class="uninstall" type="submit" value="<?php p($l->t('Uninstall App')); ?>" data-appid="{{id}}" />
|
||||
|
|
Loading…
Reference in a new issue