| 1 |
<?php |
| 2 |
if (!defined('ABSPATH')) |
| 3 |
exit; |
| 4 |
|
| 5 |
?> |
| 6 |
<div class="imh-6310"> |
| 7 |
<div class="imh-6310-row imh-6310-row-plugins imh-6310-row-plugins-video"> |
| 8 |
<h1 class="imh-6310-imhart-all-plugins">Plugins Reference Video</h1> |
| 9 |
</div> |
| 10 |
</div> |
| 11 |
|
| 12 |
<script> |
| 13 |
jQuery.getJSON('https://demo.tcsesoft.com/plugins/imh.php', function(data) { |
| 14 |
let htmlCode = ''; |
| 15 |
for(let i = 0; i < data.length; i++) { |
| 16 |
htmlCode += ` |
| 17 |
<div class="imh-6310-help-section"> |
| 18 |
<div class="imh-6310-imhart-plugins-video"> |
| 19 |
<i class="fas fa-film"></i><a href="${data[i].url}" target="_blank">${data[i].title}</a> |
| 20 |
</div> |
| 21 |
</div>`; |
| 22 |
} |
| 23 |
jQuery('.imh-6310-imhart-all-plugins').after(htmlCode); |
| 24 |
}); |
| 25 |
</script> |
| 26 |
<style> |
| 27 |
.imh-6310-row-plugins-video{ |
| 28 |
background: #ffffff; |
| 29 |
padding: 10px; |
| 30 |
width: calc(100% - 20px) !important; |
| 31 |
} |
| 32 |
h1.imh-6310-imhart-all-plugins { |
| 33 |
color: chocolate !important; |
| 34 |
margin-left: 30px; |
| 35 |
} |
| 36 |
.imh-6310-help-section{ |
| 37 |
width: 100%; |
| 38 |
display: inline; |
| 39 |
float: left; |
| 40 |
margin: 8px 30px; |
| 41 |
font-size: 14px; |
| 42 |
} |
| 43 |
.imh-6310-imhart-plugins-video{ |
| 44 |
background-color: transparent; |
| 45 |
} |
| 46 |
.imh-6310-imhart-plugins-video i{ |
| 47 |
float: left; |
| 48 |
padding-right: 5px; |
| 49 |
font-size: 21px; |
| 50 |
color: #009097; |
| 51 |
} |
| 52 |
.imh-6310-imhart-plugins-video a { |
| 53 |
text-decoration: none; |
| 54 |
float: left; |
| 55 |
margin: 0; |
| 56 |
padding: 0; |
| 57 |
color: #2c2e1d94; |
| 58 |
font-weight: 600; |
| 59 |
|
| 60 |
} |
| 61 |
.imh-6310-imhart-plugins-video a:hover { |
| 62 |
color: #027f85; |
| 63 |
} |
| 64 |
|
| 65 |
</style> |