change compress icon

archive-videos
Moe 2022-08-17 13:12:32 -07:00
parent fcbd5e94d0
commit 8fe56bbed5
2 changed files with 2 additions and 2 deletions

View File

@ -607,7 +607,7 @@ $(document).ready(function(){
title: lang["Compress"] + ' : ' + video.filename,
body: `${lang.CompressVideoMsg}<br><br><div class="row"><video class="video_video" autoplay loop controls><source src="${videoEndpoint}" type="video/${ext}"></video></div>`,
clickOptions: {
title: '<i class="fa fa-square"></i> ' + lang.Compress,
title: '<i class="fa fa-compress"></i> ' + lang.Compress,
class: 'btn-primary btn-sm'
},
clickCallback: function(){

View File

@ -170,7 +170,7 @@ $(document).ready(function(e){
<a class="btn btn-sm btn-primary preview-video" href="${href}" title="${lang.Play}"><i class="fa fa-play"></i></a>
<a class="btn btn-sm btn-default open-video" href="${href}" title="${lang.Play}"><i class="fa fa-play"></i></a>
${permissionCheck('video_delete',file.mid) ? `<a class="btn btn-sm btn-danger delete-video" href="${href}" title="${lang.Delete}"><i class="fa fa-trash-o"></i></a>` : ''}
${permissionCheck('video_delete',file.mid) ? `<a class="btn btn-sm btn-danger compress-video" href="${href}" title="${lang.Compress}"><i class="fa fa-square"></i></a>` : ''}
${permissionCheck('video_delete',file.mid) ? `<a class="btn btn-sm btn-danger compress-video" href="${href}" title="${lang.Compress}"><i class="fa fa-compress"></i></a>` : ''}
</div>
`,
}