remove cert button

This commit is contained in:
Derek Macias 2016-01-07 12:49:19 -07:00
parent 54e0683bfb
commit 693b338dd1
3 changed files with 8 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<!DOCTYPE PLUGIN [ <!DOCTYPE PLUGIN [
<!ENTITY name "shellinabox-plugin"> <!ENTITY name "shellinabox-plugin">
<!ENTITY author "dmacias72"> <!ENTITY author "dmacias72">
<!ENTITY version "2016.01.07a"> <!ENTITY version "2016.01.07b">
<!ENTITY launch "Settings/Shellinabox"> <!ENTITY launch "Settings/Shellinabox">
<!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master"> <!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master">
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg"> <!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
@ -20,6 +20,8 @@ This Plugin installs and controls shellinabox for unRaid 6.1 All dependencies a
--> -->
<CHANGES> <CHANGES>
###2016.01.07b
- remove install cert button for now
###2016.01.07a ###2016.01.07a
- fix cert link - fix cert link
###2016.01.07 ###2016.01.07

View File

@ -13,6 +13,8 @@ Shell In A Box implements a web server that can export arbitrary command line to
<Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/shellinabox-plugin.png</Icon> <Icon>https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/shellinabox-plugin.png</Icon>
<Date>2016-01-07</Date> <Date>2016-01-07</Date>
<Changes> <Changes>
###2016.01.07b
- remove install cert button for now
###2016.01.07a ###2016.01.07a
- fix cert link - fix cert link
###2016.01.07 ###2016.01.07

View File

@ -45,7 +45,7 @@ Run as User:
<input type="hidden" name="RUNAS" style="width:222px" maxlength="40" value=<?=$shellinabox_runas;?> > <input type="hidden" name="RUNAS" style="width:222px" maxlength="40" value=<?=$shellinabox_runas;?> >
<input id="DEFAULT" class="stopped" type="submit" value="Default" onClick="resetDATA(this.form)"> <input id="DEFAULT" class="stopped" type="submit" value="Default" onClick="resetDATA(this.form)">
: <input id="btnApply" type="submit" value="Apply" onClick="verifyDATA(this.form)"><input type="button" value="Done" onClick="done()"><button id="btnCert" type="button" onclick="window.location.href='http://<?=$shellinabox_host;?>/boot/config/plugins/shellinabox-plugin/<?=$shellinabox_cert;?>'"> Install Cert </button> : <input id="btnApply" type="submit" value="Apply" onClick="verifyDATA(this.form)"><input type="button" value="Done" onClick="done()"><!--<button id="btnCert" type="button" onclick="window.location.href='http://<?=$shellinabox_host;?>/boot/config/plugins/shellinabox-plugin/<?=$shellinabox_cert;?>'"> Download Cert </button>-->
</form> </form>
<script type="text/javascript"> <script type="text/javascript">
@ -67,10 +67,10 @@ function checkRUNNING(form) {
{ {
$(".stopped").prop("disabled", true); $(".stopped").prop("disabled", true);
form.btnApply.disabled = true; form.btnApply.disabled = true;
form.btnCert.disabled = false; //form.btnCert.disabled = false;
}else{ }else{
$(".stopped").prop("disabled", false); $(".stopped").prop("disabled", false);
form.btnCert.disabled = true; //form.btnCert.disabled = true;
} }
if (form.SERVICE.value == "enable") if (form.SERVICE.value == "enable")