mirror of
https://github.com/unraid/webgui.git
synced 2026-05-13 15:50:00 -05:00
remove 'My Servers' skeleton page
present CA-signed certificate subject as a link
This commit is contained in:
@@ -1,52 +0,0 @@
|
||||
Menu="ManagementAccess:100"
|
||||
Title="My Servers"
|
||||
Icon="icon-u-globe"
|
||||
Tag="globe"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2005-2018, Lime Technology
|
||||
* Copyright 2012-2018, Bergware International.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License version 2,
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*/
|
||||
?>
|
||||
<script>
|
||||
$('body').on('change keyup', '#UnraidNetSettings', function(data) {
|
||||
$(this).find('.applyBtn').removeAttr('disabled');
|
||||
});
|
||||
|
||||
function applyCrashInfoSetting(button) {
|
||||
$(button).prop("disabled", true).html("_(Applying)_ <i class=\"fa fa-spinner fa-spin\" aria-hidden=\"true\"></i>");
|
||||
var oldlabel = $.trim($(button).text());
|
||||
$.post( "ajax/test.html", function( data ) {
|
||||
$( ".result" ).html( data );
|
||||
});
|
||||
$.post('/webGui/include/Dispatcher.php',{
|
||||
"#cfg": "/boot/config/plugins/dynamix.my.servers/myservers.cfg",
|
||||
"remote_sendCrashInfo": $('#sendCrashInfo').val(),
|
||||
}, function() {
|
||||
$(button).html(oldlabel);
|
||||
}).fail(function() {
|
||||
$(button).prop("disabled", false).html(oldlabel).after( "<p>_(Sorry, an error occurred)_</p>" );
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<form id="UnraidNetSettings" markdown="1" name="UnraidNetSettings" method="POST" action="/update.htm" target="progressFrame">
|
||||
_(Unraid.net account status)_:
|
||||
: <unraid-authed prop-registered="<? echo $isRegistered ?>"></unraid-authed>
|
||||
|
||||
_(Send crash information to Unraid developers)_:
|
||||
: <select id="sendCrashInfo" size="1">
|
||||
<?=mk_option($remote['sendCrashInfo'], "no", _("No"))?>
|
||||
<?=mk_option($remote['sendCrashInfo'], "yes", _("Yes"))?>
|
||||
</select>
|
||||
|
||||
|
||||
: <button class="applyBtn" type="button" onclick="applyCrashInfoSetting(this)" disabled="disabled">_(Apply)_</button>
|
||||
</form>
|
||||
@@ -250,7 +250,7 @@ _(CA-signed certificate file)_:
|
||||
: <?=$certFile?>
|
||||
|
||||
_(Certificate subject)_:
|
||||
: <?=$certSubject?>
|
||||
: [<?=$certSubject?>](https://<?=$certSubject?>:<?=$var['PORTSSL']?>)
|
||||
|
||||
_(Certificate issuer)_:
|
||||
: <?=shell_exec("/usr/bin/openssl x509 -text -noout -in $certFile | sed -n -e 's/^.*Issuer: //p'")?>
|
||||
@@ -270,10 +270,6 @@ _(Certificate expiration)_:
|
||||
|
||||
: _(DNS Propagation is PENDING)_
|
||||
|
||||
<?else:?>
|
||||
|
||||
: [link](https://<?=$certSubject?>:<?=$var['PORTSSL']?>)
|
||||
|
||||
<?endif;?>
|
||||
<?else:?>
|
||||
_(CA-signed certificate file)_:
|
||||
@@ -286,3 +282,11 @@ _(CA-signed certificate file)_:
|
||||
:mgmt_certificate_expiration_help:
|
||||
|
||||
</form>
|
||||
<?if (!is_link("/usr/local/sbin/unraid-api")):?>
|
||||
<div style="height:24px"></div>
|
||||
<form id="UnraidNetSettings" markdown="1" name="UnraidNetSettings" method="POST" action="/update.htm" target="progressFrame">
|
||||
_(Unraid.net account status)_:
|
||||
: <unraid-authed prop-registered="<? echo $isRegistered ?>"></unraid-authed>
|
||||
|
||||
</form>
|
||||
<?endif;?>
|
||||
|
||||
Reference in New Issue
Block a user