Add animated fontawesome icon in RM download button

guclusat

Tanınmış Üye
Süper Moderatör
CropperCapture.Gif
First steps ( to add animation function to fontawesome )
1. Open admin panel --> appearance --> templates -->page_container
2. insert the following code just after <head>

Kod:
<link rel="stylesheet" href="font-awesome-animation.min.css">

Second steps ( to add animated icon to download button )
1. Open admin panel --> appearance --> templates -->resource_view_header
2. Search for the following code

Kod:
<li><label class="downloadButton {xen:if '!{$resource.canDownload}', downloadDisabled}">

3. Just after it exactly insert the following code

Kod:
<i class="fa fa-life-ring fa-spin" style="font-size:16px;color:#fff;margin-top:4px"></i>

* (font-size:16px) : change to your desired size
* (fa-life-ring): change to your fontawesome icon you want
* (color:#fff): change to what icon color you want [ i use white ]
 

Eklentiler

  • CropperCapture.zip
    79,2 KB · Görüntüleme: 0
Geri
Yukarı