Added icons on mkdir/rmdir links
authorJean-Michel Vourgère <jvourger@greenpeace.org>
Fri, 10 Mar 2017 14:45:15 +0000 (14:45 +0000)
committerJean-Michel Vourgère <jvourger@greenpeace.org>
Fri, 10 Mar 2017 15:24:46 +0000 (15:24 +0000)
templates/index.tpl
webroot/css/squasher.css

index daa4691d92b7861293b8a112d90ff0a488043a38..20026d1d23f56c2e7e0f2765b8f9d7c643afcc80 100644 (file)
@@ -50,7 +50,7 @@
        {if $user_level > 99 AND count($base)>1 }
                <form name=rmdir method=post>
                <input type=hidden name=tools value=rmdir>
-               <a href="javascript:deleteFolder{if count($squashed)>0 || count($subfolders)>0}NotEmpty{/if}('{$currentfolder|escape:'javascript'|escape}');" class=tool>delete this folder</a>
+               <a href="javascript:deleteFolder{if count($squashed)>0 || count($subfolders)>0}NotEmpty{/if}('{$currentfolder|escape:'javascript'|escape}');" class="tool delete">delete this folder</a>
                </form>
        {/if}
 </div>
@@ -61,7 +61,7 @@
                <form name=mkdir method=post>
                <input type=hidden name=tools value=mkdir>
                <input type=hidden name=newname>
-               <a href="javascript:createFolder();" class=tool>new subfolder</a>
+               <a href="javascript:createFolder();" class="tool add">new subfolder</a>
                </form>
        {/if}
 </div>
index f3ea2717bcd2bc39c2de1fb7cebaf7f66d7084b4..f3602908e42313c41f4f83ee64aa45f2a47e2331 100644 (file)
@@ -126,7 +126,7 @@ a.edit {
        padding-left: 14px;
 }
 a.delete {
-       background: url(../img/icon_deletelink.gif) 0 50% no-repeat;
+       background: url(../img/icon_deletelink.gif) 0 50% no-repeat !important;
        padding-left: 14px;
 }
 a.add {