Initial commit
This commit is contained in:
67
views/support-dashboard-widget.php
Normal file
67
views/support-dashboard-widget.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/**
|
||||
* 1984 Hosting Support Plugin
|
||||
*
|
||||
* Provides a widget to easily access 1984 Hosting services.
|
||||
*
|
||||
* @package 1984-hosting-support
|
||||
* @license https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html GNU General Public License v2.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="hosting-support-1984-support-links">
|
||||
<ul id="hosting-support-1984-main-links">
|
||||
<li class="hosting-support-1984-li">
|
||||
<a href="https://management.1984.hosting/accounts/settings/" target="_blank">
|
||||
<div>
|
||||
<img class="hosting-support-1984-icon" src="<?php echo plugins_url( 'icons/profile.svg', A1984_HOSTING_SUPPORT_BASE_FILE ); ?>">
|
||||
</div>
|
||||
<div class="hosting-support-1984-text">
|
||||
<?php esc_html_e(
|
||||
'My Profile',
|
||||
'hostingsupport1984'
|
||||
); ?>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="hosting-support-1984-li">
|
||||
<a href="https://management.1984.hosting/dashboard/" target="_blank">
|
||||
<div><img class="hosting-support-1984-icon" src="<?php echo plugins_url( 'icons/sites.svg', A1984_HOSTING_SUPPORT_BASE_FILE ); ?>"></div>
|
||||
<div class="hosting-support-1984-text">
|
||||
<?php esc_html_e(
|
||||
'My Sites, Domains & VPSs',
|
||||
'hostingsupport1984'
|
||||
); ?>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="hosting-support-1984-li">
|
||||
<a href="<?php echo get_bloginfo('language') == 'is' ? 'https://kb.1984.is/doku.php?id=start' : 'https://kb.1984hosting.com/doku.php?id=start'; ?>" target="_blank">
|
||||
<div><img class="hosting-support-1984-icon" src="<?php echo plugins_url( 'icons/knowledge-base.svg', A1984_HOSTING_SUPPORT_BASE_FILE ); ?>"></div>
|
||||
<div class="hosting-support-1984-text">
|
||||
<?php esc_html_e(
|
||||
'Knowledge Base',
|
||||
'hostingsupport1984'
|
||||
); ?>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="hosting-support-1984-li">
|
||||
<a href="mailto:1984@1984.is" target="_blank">
|
||||
<div><img class="hosting-support-1984-icon" src="<?php echo plugins_url( 'icons/contact-support.svg', A1984_HOSTING_SUPPORT_BASE_FILE ); ?>"></div>
|
||||
<div class="hosting-support-1984-text">
|
||||
<?php esc_html_e(
|
||||
'Contact Support',
|
||||
'hostingsupport1984'
|
||||
); ?>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div id="hosting-support-1984-logo">
|
||||
<a href="<?php echo get_bloginfo('language') == 'is' ? 'https://1984.is' : 'https://1984.hosting'; ?>" target="_blank"><img src="<?php echo plugins_url( 'icons/1984-hosting-logo.webp', A1984_HOSTING_SUPPORT_BASE_FILE ); ?>"></a>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user