CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/root/usr/local/rvglobalsoft/rvsitebuilder7/modules/rvadmintools/templates/
Upload File :
Current File : //proc/2/root/usr/local/rvglobalsoft/rvsitebuilder7/modules/rvadmintools/templates/editserver.html

[%USE O%][%USE this.plugin%]
<script>
var VAR1 = {};
</script>
<div class="bgbody">
[% IF action2 != ''%]
	<div><a href="index.cgi?/rvlogin/rvlogin" class="linkback"><img src="./themes/default/images/spacer.gif" alt="" width="54" height="54" border="0" /></a></div>
	<h1 class="title">Edit Server</h1>
	<div class="rvclear">&nbsp;</div>
	[% IF resp.warning == 1 %]
	<div class="warningbox">
    	<div class="validation_warning">&nbsp;</div>
    	<div class="infodata">[% resp.message %]</div>
    </div>
	[% END %]
	
	[% IF resp.complete == 1 %]
	<div class="successbox">
    	<div class="validation_success">&nbsp;</div>
    	<div class="infodata">[% resp.message %]</div>
    </div>
	[% END %]
	
	[% IF resp.complete == 0 %]
	<div class="errorbox">
    	<div class="validation_error">&nbsp;</div>
    	<div class="infodata">[% resp.message %]</div>
    </div>
	[% END %]
	
	<div class="rvclear">&nbsp;</div>
	<div>
   	 	<form action="index.cgi?/rvlogin/rvlogin/" method="post">
        	<input type="submit" name="" value="Back to Server" class="btn" />&nbsp;
      	</form>
    </div>
    	
    <div class="rvclear">&nbsp;</div>
[% ELSE %]
 <form name="editserver" method="post" action="index.cgi?/rvlogin/rvlogin/action/doeditserver" onsubmit="return validateEdit()">
	<div><a href="index.cgi?/rvlogin/rvlogin" class="linkback"><img src="./themes/default/images/spacer.gif" alt="" width="54" height="54" border="0" /></a></div>
	<h1 class="title">Edit Server</h1>
	<div class="rvclear">&nbsp;</div>
    <div class="databox">
    	<div class="infodata_msg">If you have this server IP changed, password updated, renamed, etc. You can update the server info here. Make sure the "PermissRootLogin" in this server is "Yes", to make this settings effective.</div>
    </div>
	<div class="rvclear">&nbsp;</div>
	
	<div class="warningbox" id="noupdatedata" style="display:none;">
    	<div class="validation_warning">&nbsp;</div>
    	<div class="infodata">There's no new Server information to be updated. Please check again.</div>
    </div>
    <div class="rvclear">&nbsp;</div>
	
	<div>
    	<div class="form_txtname">Panel Name:</div>
        <div class="form_inputbox" style="padding:5px;"><label name="panelname" id="panelname">[% panelName %]</label></div>
    </div>
    <div class="rvclear spacing"></div>
    
    [% IF data.panelname != 'cpanel' %] 
    [% IF data.panelname != 'none' %]
    <div>
    	<div class="form_txtname">Admin User:<span>*</span></div>
        <div class="form_inputbox"><input type="text" name="edit_adminuser" id="edit_adminuser" value="[% data.admin_user %]" /></div>
        <input type="hidden" id="edit_adminuser_old" value="[% data.admin_user %]" />
    </div>
    <div class="rvclear spacing"></div>
    
    <div>
    	<div class="form_txtname">Admin Password:<span>*</span></div>
        <div class="form_inputbox"><input type="text" name="edit_adminpass" id="edit_adminpass" value="[% data.admin_pass %]" /></div>
        <input type="hidden" id="edit_adminpass_old" value="[% data.admin_pass %]" />
    </div>
    <div class="rvclear spacing"></div>
    
    
    <div>
    	<div class="form_txtname">Protocol:<span>*</span></div>
        <div class="form_inputbox">
        	<select name="edit_protocol" id="edit_protocol">
				<option value="https" [% IF data.protocol == 'https' %]selected[% END %]>https://</option>
				<option value="http" [% IF data.protocol == 'http' %]selected[% END %]>http://</option>
			</select>
			<input type="hidden" id="edit_protocol_old" value="[% data.protocol %]">
    </div>
    <div class="rvclear spacing"></div>
    
    
    <div>
    	<div class="form_txtname">Protocol Port:<span>*</span></div>
        <div class="form_inputbox"><input type="text" name="edit_protocol_port" id="edit_protocol_port" value="[% data.protocol_port %]" /></div>
        <input type="hidden" id="edit_protocol_port_old" value="[% data.protocol_port %]">
        <div class="rvclear"></div>        
		<div style="display:none;" id="edit_protocol_port_error">
			<div class="form_txtname"></div>
	        <div class="form_inputbox"><span style="color:red">Invalid Protocol Port.</span></div>
       	</div>
    </div>
    <div class="rvclear spacing"></div>
    [% END %]
    [% END %]
    <div>
    	<div class="form_txtname">Hostname:<span>*</span></div>
        <div class="form_inputbox"><input type="text" name="edit_hostname" id="edit_hostname" value="[% data.host_name %]" /></div>
        <input type="hidden" name="edit_hostname_old" id="edit_hostname_old" value="[% data.host_name %]" />
    </div>
    <div class="rvclear spacing"></div>
    
	<div>
    	<div class="form_txtname">IP Address:<span>*</span></div>
        <div class="form_inputbox_dis"><input type="text" name="host_ip" value="[% data.ip %]" disabled/></div>
        <input type="hidden" name="edit_host_ip" id="edit_host_ip" value="[% data.ip %]">  
	</div>
    <div class="rvclear spacing"></div>

	<div>
    	<div class="form_txtname">Password:<span>*</span></div>
        <div class="form_inputbox"><input type="text" id="edit_password" name="edit_password" value="" /></div>
	</div>
    <div class="rvclear spacing"></div>
    
    <div>
    	<div class="form_description">Root password will be used for temporary logging in to the server in order to add public key for 
SSH access, and single sign-on only. The root password will be kept in the path /root/rvlogin/access.conf of your local server. We DO NOT disclose it to the public.</div>
    </div>
    <div class="rvclear spacing"></div>
    
    <div>
    	<div class="form_txtname">SSH User:<span>*</span></div>
        <div class="form_inputbox_dis"><input type="text" name="edit_ssh_user" id="edit_ssh_user" value="root" disabled /></div>
    </div>
    <div class="rvclear spacing"></div>
    
    <div>
        <div class="form_description">(Must be &quot;root&quot; only)</div>
    </div>
	<div class="rvclear spacing"></div>

	<div>
    	<div class="form_txtname">SSH Port</div>
        <div class="form_inputbox_dis"><input type="text" name="edit_ssh_port" id="edit_ssh_port" value="[% data.ssh_port %]" disabled></div>
        <!-- <input type="hidden" id="edit_ssh_port_old" value="[% data.ssh_port %]"> -->
    </div>
	<div class="rvclear spacing"></div>
	
	<div>
    	<div class="form_txtname">Server Group:<span>*</span></div>
    	<div>
    		<div style="margin:10px 0 0 160px; width:250px; height:180px; overflow-y:auto;">
		        <div class="lineheight25">
		        	[% FOREACH serverGroupID IN listServerGroup.keys.nsort %]
		        	<div><input type="checkbox" class="selectServerGroup" id="servergroup_[% serverGroupID %]" name="servergroup" value="[% serverGroupID %]" class="chkbox" 
		        	[% IF serverGroup.$serverGroupID.server_group_id == serverGroupID %] checked [% END %]/> [% listServerGroup.$serverGroupID.name %]</div>
		        	[% END %]
		        	<input type="hidden" id="change_server_group" value="0">
		    	</div>
				<div class="rvclear"></div>
				<div style="display:none;" id="group_error">
			        <div><span style="color:red">Group is the required field.</span></div>
			    </div>
		    </div>
    	</div>
    </div>
	<div class="rvclear spacing"></div>
	
	<div>
    	<div class="form_txtname">Description:</div>
        <div class="form_inputbox"><textarea type="text" id="edit_serverdesc" name="edit_serverdesc" border="0" id="edit_serverdesc" class="areabox">[% data.description %]</textarea></div>
        <input type="hidden" id="edit_serverdesc_old" value="[% data.description %]">
    </div>
	<div class="rvclear spacing"></div>
    
    <div class="form_description">
	    <div class="fleft">
	    	<input type="submit" name="submit" id="editServer" value="Save" class="btn fleft" />
	    </div>
	</div>
  </form>
	  
	<div class="fleft">
		  <form action="index.cgi?/rvlogin/rvlogin/" method="post">
		  		<input type="submit" name="" id="cancelAddServer" value="Cancel" class="btn" /></div>
		   </form>
	</div>
[% END %]
</div>

Copyright 2K16 - 2K18 Indonesian Hacker Rulez