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/addserver.html

[%USE O%][%USE this.plugin%]
<script>
var VAR1 = {};
</script>
</style>

[% IF listServerGroup.size == 0  %]
<div class="bgbody">
	<form name="addservergroup" method="post" action="index.cgi?/rvlogin/rvlogin/action/doaddservergroup" onsubmit="return validateAddServerGroup()">
		<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">Add Server Group</h1>
		<div class="rvclear">&nbsp;</div>
	    <div class="databox">
	    		[% IF listServerGroup.size == 0 %]
					<div class="infodata_msg">Please add the first Server Group name for your server list.</div>
				[% ELSE %]
					<div class="infodata_msg">Create a new Server Group to list your servers</div>
				[% END %]
	    </div>
		<div class="rvclear">&nbsp;</div>
		    
		<div>
	    	<div class="form_txtname">Server Group name:<span>*</span></div>
	        <div class="form_inputbox"><input type="text" name="serverGroupName" id="serverGroupName" value="" /></div>
	        <div class="rvclear"></div>
			<div style="display:none;" id="group_name_error">
				<div class="form_txtname"></div>
		        <div class="form_inputbox"><span style="color:red">Group is the required field.</span></div>
		    </div>
	    </div>
		<div class="rvclear spacing"></div>	
	
		<div>
	    	<div class="form_txtname">Description:</div>
	        <div class="form_inputbox"><input type="text" name="serverGroupDesc" value="" /></div>
	    </div>
		<div class="rvclear spacing"></div>
	    <div class="form_description">
	    	<div class="fleft">
	    		<input type="submit" name="submit" id="addServerBtn" value="Add" class="btn fleft" />
	    	</div>
	    </div>
	  </form>
	  <div class="fleft">
	  <form action="index.cgi?/rvlogin/rvlogin/" method="post">
	          <input type="submit" name="" id="" value="Cancel" class="btn" /></div>
	  </form>
</div>    
[% ELSE %]
<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">Add Server</h1>
	[% IF resp.complete == 1 AND resp.warning == 1 %]
	<div class="warningbox">
    	<div class="validation_warning">&nbsp;</div>
    	<div class="infodata">[% resp.message %]</div>
    </div>
	[% END %]
	
	[% IF resp.complete == 1 AND resp.warning == 0 %]
	<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>
   	 	<div class="fleft">
	   	 	<form action="index.cgi?/rvlogin/rvlogin/" method="post">
	        	<input type="submit" name="" value="Back to Server" class="btn fleft" />&nbsp;
	      	</form>
      	</div>
      	
      	<form action="index.cgi?/rvlogin/rvlogin/action/addserver" method="post">
      		<input type="submit" name="" value="Back to Add Server" class="btn fleft" />
      	</form>
    </div>
    	
    <div class="rvclear">&nbsp;</div>
	
[% ELSE %]
	
 <form name="addserver" method="post" action="index.cgi?/rvlogin/rvlogin/action/doaddserver" onsubmit="return validateForm();">
	<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">Add Server</h1>
	<div class="rvclear">&nbsp;</div>
    <div class="databox">
    	<div class="infodata_msg">The "PermissRootLogin" in the destination server must be "Yes", in order to make this setting effective.</div>
    </div>
	<div class="rvclear">&nbsp;</div>
	<div class="warningbox" id="addserverwarning" style="display:none;">
    	<div class="validation_warning">&nbsp;</div>
    	<div class="infodata">Please insert data to the required fields.!</div>
    </div>
   	<div class="rvclear">&nbsp;</div>
   	
   	<div>
    	<div class="form_txtname">Select Panel:<span>*</span></div>
        <div class="form_inputbox">
        	<select id="panelname" name="panelname">
        		<option value="cpanel" >cPanel</option>
        		<option value="ensim" >Parallels Pro</option>
        		<option value="plesk" >Parallels Plesk</option>
        		<option value="da" >Direct Admin </option>
        		<option value="webmin" >Webmin </option>
        		[% IF rv2faoption != 'none2fa' %]
        		<option value="none" >None</option>
        		[% END %]
        	</select>
        </div>
        <div class="rvclear"></div>
		<div style="display:none;" id="panel_name_error">
			<div class="form_txtname"></div>
	        <div class="form_inputbox"><span style="color:red">Group is the required field.</span></div>
	    </div>
    </div>
	<div class="rvclear spacing"></div>
	
	
	
	
	
	<div id="daadmin" style="">
		<div>
	    	<div class="form_txtname"><span class="panelName"></span> Admin User:<span class="txtred">*</span></div>
	    	<div class="form_inputbox"><input type="text" name="admin_user" id="admin_user" value="" /></div>
	    	<div class="rvclear"></div>
	    	<div class="form_txtname"></div>
	    	<div style="display:none;" id="admin_user_error">
				<div><span style="color:red">Admin User is the required field.</span></div>
			</div>
	    	<div class="rvclear">&nbsp;</div>
	    </div>
	    
	    <div>
		    <div class="form_txtname"><span class="panelName"></span> Admin Password:<span class="txtred">*</span></div>	
		   	<div class="form_inputbox"><input type="text" name="admin_pass" id="admin_pass" value="" /></div>
		    <div class="rvclear"></div>
		    <div class="form_txtname"></div>
			<div style="display:none;" id="admin_pass_error">
				<div><span style="color:red">Admin Password is the required field.</span></div>
	        </div>    
	        <div class="rvclear">&nbsp;</div>
	    </div>
	    
		<div>
		    <div class="form_txtname">Protocol:</div>	
		   	<div class="form_inputbox">
		   			<select name="protocol" id="protocol">
						<option value="https" selected>https://</option>
						<option value="http">http://</option>
					</select>
		   	</div>
		    <div class="rvclear">&nbsp;</div>
		</div>	
		    
		<div>
		    <div class="form_txtname">Protocol Port:</div>	
		   	<div class="form_inputbox"><input type="text" name="protocol_port" id="protocol_port" value="" placeholder=""/></div>
		    <div class="rvclear"></div>	
		    <div style="display:none;" id="protocol_port_error">
				<div class="form_txtname"></div>
		        <div class="form_inputbox"><span style="color:red">Invalid Protocol Port Number</span></div>
	    	</div> 
			<div class="rvclear spacing">&nbsp;</div>
		</div>
	</div>
	<div class="rvclear spacing"></div>
   	
    <div>
    	<div class="form_txtname">Hostname:<span>*</span></div>
        <div class="form_inputbox"><input type="text" name="hostname" id="hostname" value="" /></div>
        <div class="fleft" style="padding:6px 0 0 7px;">
			<img src="themes/default/images/bx_loader.gif" id="img-loader-testconnection" style="display:none">
			<img src="themes/default/images/icon_ok.png" id="img-ok-testconnection" style="display:none">
		    <img src="themes/default/images/RVlogin-icon-N.png" id="img-error-testconnection" style="display:none">
			<!-- <input type="button" id="testConnectHost" class="btn" value="TestConnecttion"> -->
			<input type="hidden" name="hostname_pass" id="hostname_pass" value="0" />
		</div>
		<div class="rvclear"></div>
		<div style="display:none;" id="hostname_error">
			<div class="form_txtname"></div>
	        <div class="form_inputbox"><span style="color:red">Hostname is the required field.</span></div>
        </div>
    </div>
    <div class="rvclear spacing"></div>
    
	<div>
    	<div class="form_txtname">IP Address:<span>*</span></div>
        <div class="form_inputbox"><input type="text" name="host_ip" id="host_ip" value="" /></div>
        <div class="fleft" style="padding:6px 0 0 7px;">
			<img src="themes/default/images/bx_loader.gif" id="img-loader-checkip" style="display:none">
			<img src="themes/default/images/icon_ok.png" id="img-ok-checkip" style="display:none">
		    <img src="themes/default/images/RVlogin-icon-N.png" id="img-error-checkip" style="display:none">
			<!-- <input type="button" id="testConnectHost" class="btn" value="TestConnecttion"> -->
			<input type="hidden" name="host_ip_pass" id="host_ip_pass" value="0" />
		</div>
		<div class="rvclear"></div>
		<div style="display:none;" id="ip_error">
			<div class="form_txtname"></div>
	        <div class="form_inputbox"><span style="color:red">IP is the required field.</span></div>
        </div>
	</div>
    <div class="rvclear spacing"></div>

	<div>
    	<div class="form_txtname">Root Password:<span>*</span></div>
        <div class="form_inputbox"><input type="text" name="password" id="password" value="" /></div>
	    <div class="rvclear"></div>
		<div style="display:none;" id="pass_error">
			<div class="form_txtname"></div>
	        <div class="form_inputbox"><span style="color:red">Root Password is the required field.</span></div>
	    </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">
        	<input type="text" name="ssh_user" id="ssh_user" value="root" style="background-color: #e1e1e1;" disabled />
        	<input type="hidden" name="ssh_user" id="ssh_user" value="root">
        </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"><input type="text" name="ssh_port" id="ssh_port" value="" placeholder="22"/></div>
        <div class="rvclear"></div>
		<div style="display:none;" id="ssh_port_error">
			<div class="form_txtname"></div>
	        <div class="form_inputbox"><span style="color:red">Invalid SSH Port Number</span></div>
	    </div>
    </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; min-height:auto; max-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" /> [% listServerGroup.$serverGroupID.name %] ([% listServerGroup.$serverGroupID.count %])</div>
		        	[% END %]
		    	</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" name="serverdesc" value="" border="0" id="serverdesc" class="areabox"></textarea></div>
        
    </div>
	<div class="rvclear spacing"></div>
    
    <div class="form_description">
    	<div class="fleft">
    		<input type="submit" name="submit" id="addServerBtn" value="Add" 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" />
	  </form>
  	</div>
[% END %]
</div>

[% END %]

<div class="spacebottom"></div>

Copyright 2K16 - 2K18 Indonesian Hacker Rulez