feat(navigation): hard-switch to Zibll navigation and Font Awesome 5
This commit is contained in:
1 parent
3c3ddac8be
commit
a0b84977a2
630 files changed
+101647
-11293
No files matched your search
@@ -47,7 +47,7 @@ if (!$has_any && !$has_demo && !$has_downloads) return;
|
||||
<?php if (!empty($meta['version'])) : ?>
|
||||
<div class="resource-meta-box__row">
|
||||
<dt class="resource-meta-box__key">
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('version') : 'fas fa-code-branch'); ?>" aria-hidden="true"></i>
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('version') : 'fa fas fa-code-branch'); ?>" aria-hidden="true"></i>
|
||||
<?php echo esc_html($rows['version']); ?>
|
||||
</dt>
|
||||
<dd class="resource-meta-box__val"><?php echo esc_html((string) $meta['version']); ?></dd>
|
||||
@@ -57,7 +57,7 @@ if (!$has_any && !$has_demo && !$has_downloads) return;
|
||||
<?php if (!empty($meta['size'])) : ?>
|
||||
<div class="resource-meta-box__row">
|
||||
<dt class="resource-meta-box__key">
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('size') : 'fas fa-hdd'); ?>" aria-hidden="true"></i>
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('size') : 'fa fas fa-hdd'); ?>" aria-hidden="true"></i>
|
||||
<?php echo esc_html($rows['size']); ?>
|
||||
</dt>
|
||||
<dd class="resource-meta-box__val"><?php echo esc_html((string) $meta['size']); ?></dd>
|
||||
@@ -67,7 +67,7 @@ if (!$has_any && !$has_demo && !$has_downloads) return;
|
||||
<?php if (!empty($meta['compat'])) : ?>
|
||||
<div class="resource-meta-box__row">
|
||||
<dt class="resource-meta-box__key">
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('compat') : 'fas fa-laptop'); ?>" aria-hidden="true"></i>
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('compat') : 'fa fas fa-laptop'); ?>" aria-hidden="true"></i>
|
||||
<?php echo esc_html($rows['compat']); ?>
|
||||
</dt>
|
||||
<dd class="resource-meta-box__val"><?php echo esc_html((string) $meta['compat']); ?></dd>
|
||||
@@ -77,13 +77,13 @@ if (!$has_any && !$has_demo && !$has_downloads) return;
|
||||
<?php if ($has_demo) : ?>
|
||||
<div class="resource-meta-box__row">
|
||||
<dt class="resource-meta-box__key">
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('demo_url') : 'fas fa-external-link-alt'); ?>" aria-hidden="true"></i>
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('demo_url') : 'fa fas fa-external-link-alt'); ?>" aria-hidden="true"></i>
|
||||
<?php esc_html_e('演示地址', 'aksrt'); ?>
|
||||
</dt>
|
||||
<dd class="resource-meta-box__val">
|
||||
<a class="resource-meta-box__demo-link" href="<?php echo esc_url($meta['demo_url']); ?>" target="_blank" rel="noopener noreferrer">
|
||||
<?php esc_html_e('打开演示', 'aksrt'); ?>
|
||||
<i class="fas fa-external-link-alt" aria-hidden="true"></i>
|
||||
<i class="fa fas fa-external-link-alt" aria-hidden="true"></i>
|
||||
</a>
|
||||
</dd>
|
||||
</div>
|
||||
@@ -92,7 +92,7 @@ if (!$has_any && !$has_demo && !$has_downloads) return;
|
||||
<?php if (!empty($meta['license'])) : ?>
|
||||
<div class="resource-meta-box__row">
|
||||
<dt class="resource-meta-box__key">
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('license') : 'fas fa-shield-alt'); ?>" aria-hidden="true"></i>
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('license') : 'fa fas fa-shield-alt'); ?>" aria-hidden="true"></i>
|
||||
<?php echo esc_html($rows['license']); ?>
|
||||
</dt>
|
||||
<dd class="resource-meta-box__val"><?php echo esc_html((string) $meta['license']); ?></dd>
|
||||
@@ -102,7 +102,7 @@ if (!$has_any && !$has_demo && !$has_downloads) return;
|
||||
<?php if ($has_downloads) : ?>
|
||||
<div class="resource-meta-box__row">
|
||||
<dt class="resource-meta-box__key">
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('download') : 'fas fa-download'); ?>" aria-hidden="true"></i>
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('download') : 'fa fas fa-download'); ?>" aria-hidden="true"></i>
|
||||
<?php esc_html_e('下载次数', 'aksrt'); ?>
|
||||
</dt>
|
||||
<dd class="resource-meta-box__val"><?php echo esc_html(number_format_i18n((int) $meta['download_count'])); ?></dd>
|
||||
@@ -112,7 +112,7 @@ if (!$has_any && !$has_demo && !$has_downloads) return;
|
||||
<?php if (($meta['view_count'] ?? 0) > 0) : ?>
|
||||
<div class="resource-meta-box__row">
|
||||
<dt class="resource-meta-box__key">
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('views') : 'fas fa-eye'); ?>" aria-hidden="true"></i>
|
||||
<i class="<?php echo esc_attr(function_exists('aksrt_resource_meta_icon') ? aksrt_resource_meta_icon('views') : 'fa fas fa-eye'); ?>" aria-hidden="true"></i>
|
||||
<?php esc_html_e('浏览次数', 'aksrt'); ?>
|
||||
</dt>
|
||||
<dd class="resource-meta-box__val"><?php echo esc_html(number_format_i18n((int) $meta['view_count'])); ?></dd>
|
||||
|
||||
Reference in new issue
Block a user