Make svgs more fluid and consistent remove action, instead of 'remove app'
Signed-off-by: Felix A. Epp <work@felixepp.de>
This commit is contained in:
parent
a04413fd75
commit
47d9bffc53
|
@ -271,7 +271,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
|
|||
imageUrl : function (url, appfromstore) {
|
||||
var img;
|
||||
if (appfromstore) {
|
||||
img = '<svg width="250" height="250" viewBox="0 0 72 72">';
|
||||
img = '<svg viewBox="0 0 72 72">';
|
||||
img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" xlink:href="' + url + '" class="app-icon" /></svg>';
|
||||
} else {
|
||||
img = '<svg width="32" height="32" viewBox="0 0 32 32">';
|
||||
|
|
|
@ -178,7 +178,7 @@ script(
|
|||
<input class="enable{{#if needsDownload}} needs-download{{/if}}" 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('Remove app')); ?>" data-appid="{{id}}" />
|
||||
<input class="uninstall" type="submit" value="<?php p($l->t('Remove')); ?>" data-appid="{{id}}" />
|
||||
{{/if}}
|
||||
|
||||
<div class="warning hidden"></div>
|
||||
|
|
Loading…
Reference in New Issue