File manager - Edit - /usr/local/cpanel/whostmgr/docroot/templates/wp_dashboard/index.html.tt
Back
[% USE Whostmgr; SET page_title = locale.maketext('[asis,WebPros Dashboard]'); SET dashboard_url = 'https://dashboard.webpros.com'; -%] [% WRAPPER 'master_templates/master.tmpl' theme = 'bootstrap' header = page_title app_key = 'whm-wp-dashboard' -%] <div id="page"> <div class="page-header"> <h2>[% locale.maketext('[asis,WebPros Dashboard]') %]</h2> <p>[% locale.maketext('Connect this server to the [asis,WebPros Dashboard] to monitor your servers and websites in real time, receive alerts when issues arise, and access tools like blocklist monitoring and public status pages. [output,url,_1,Learn more,_2,_3].', 'https://go.cpanel.net/webpros-dashboard-get-started', 'target', '_blank') %]</p> </div> [% IF error_message %] <div class="alert alert-danger" role="alert"> [% error_message | html %] </div> [% END %] [% IF notice_message %] <div class="alert alert-success" role="alert"> [% notice_message | html %] </div> [% END %] <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">[% locale.maketext('Server Identity') %]</h3> </div> <div class="panel-body"> <dl class="dl-horizontal"> [% IF connected && server_guid %] <dt>[% locale.maketext('Dashboard Server [asis,ID]') %]</dt> <dd> <code>[% server_guid | html %]</code> </dd> [% END %] <dt>[% locale.maketext('Connection Status') %]</dt> <dd> [% IF connected && state_unreadable %] <span class="label label-warning">[% locale.maketext('Unknown') %]</span> [% ELSIF connected %] <span class="label label-success">[% locale.maketext('Connected') %]</span> [% IF connected_at %] <small class="text-muted"> [% locale.maketext('since [datetime,_1]', connected_at) %] </small> [% END %] [% ELSE %] <span class="label label-default">[% locale.maketext('Not Connected') %]</span> [% END %] </dd> </dl> </div> </div> [% IF connected %] <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">[% locale.maketext('Disconnect') %]</h3> </div> <div class="panel-body"> <p>[% locale.maketext('Disconnecting revokes the [asis,WebPros Dashboard] [asis,WHM API] token. To remove this server from your [asis,WebPros Dashboard] inventory, use the [asis,WebPros Dashboard] interface.') %]</p> <form method="post" action="[% cp_security_token | html %]/cgi/wp_dashboard/index.cgi"> <input type="hidden" name="action" value="disconnect"> <button type="submit" class="btn btn-danger"> [% locale.maketext('Disconnect from [asis,WebPros Dashboard]') %] </button> </form> </div> </div> [% ELSE %] <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">[% locale.maketext('Connect to [asis,WebPros Dashboard]') %]</h3> </div> <div class="panel-body"> <p>[% locale.maketext('When you click the button below, your browser will open to your [asis,WebPros Dashboard] account for authentication. After you complete authentication, your [asis,WebPros Dashboard] account will automatically link to your server.') %]</p> <form method="post" action="[% cp_security_token | html %]/cgi/wp_dashboard/index.cgi" target="_blank" rel="noopener noreferrer"> <input type="hidden" name="action" value="generate-link"> <button type="submit" class="btn btn-primary"> [% locale.maketext('Connect to [asis,WebPros Dashboard]') %] </button> </form> <p class="help-block" style="margin-top:10px"> [% locale.maketext('After connecting to your [asis,WebPros Dashboard] account, return to this page to confirm the connection status.') %] </p> </div> </div> [% END %] </div> [% END %]
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings