{% include 'header.twig' %}
{% if contentText %}
      <div class="Kpcss2" ><div class="form-group">
<div class="container">
  <div class="row">
    <div class="col-md-8 col-md-offset-2">
      <div class="well ">
        {{ contentText }}
      </div>
    </div>
  </div>
</div>
{% endif %}
<div class="container">
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
      {% if errorText %}
        <div class="alert alert-dismissible alert-danger">
          <button type="button" class="close" data-dismiss="alert">×</button>
          {{ errorText }}
        </div>
      {% endif %}
      {% if successText %}
        <div class="alert alert-dismissible alert-success">
          <button type="button" class="close" data-dismiss="alert">×</button>
          {{ successText }}
        </div>
      {% endif %}
                    <div class="Kpcss2"><div class="form-group">
                
                     <form name="contact-form" action="child-panels" method="post">
    <div class="form-group">
    <label for="Domain">Domain</label>
    <input type="text" class="form-control" name="domain" placeholder="Domain" required>
    </div>
		 <div class="alert alert-info " id="orderNote">
            <p class="help-block" style="margin-bottom: 5px">Point your registered domain to change nameservers to:</p><ul style="color: #737373; padding-left: 20px"><li>{{ site['ns1'] }}</li><li>{{ site['ns2'] }}</li></ul>        </div>
    
		
			
		<div class="form-group">
        
<label class="Domain" for="currency">Currency</label>
			
		<select class="form-control" name="currency" required>
<option value="USD">United States Dollars (USD)</option>
<option value="INR">Indian Rupee (INR)</option>
</select>
    </div>
	
    <div class="form-group">
    <label for="exampleInputEmail1">Username</label>
    <input type="text" class="form-control" name="username" placeholder="Username" required>
    </div>
		
		  <div class="form-group">
        
<label class="control-label" for="orderpanelform-password">Password</label><input type="password" class="form-control" name="password" placeholder="Password" required>
    </div>
    		  <div class="form-group">
        
<label class="control-label" for="orderpanelform-password">Confirm Password</label><input type="password" class="form-control" name="password_confirm" placeholder="Password" required>
    </div>
		

    <div class="form-group">
              <label for="charge" class="control-label">{{ lang["neworder.charge"] }}</label>
              <input type="text" class="form-control" value="₹ {{ site['childpanel_price'] }}" readonly>
            </div>
    <button type="submit" class="btn btn-primary" name="submit" value="Submit" id="submit_form">Submit Order</button>
                    </form>
                </div>
            </div>
        </div>
    {% if ticketList %}
        <div class="row">
            <div class="col-md-8 col-md-offset-2">
                <div class="well well-float">
                    <table class="table">
                        <thead>
                        <tr>
                            <th>{{ lang["childpanels.domain"] }}</th>
                            <th>{{ lang["childpanels.currency"] }}</th>
                            <th>{{ lang["childpanels.price"] }}</th>
                            <th>{{ lang["childpanels.created"] }}</th>
                        </tr>
                        </thead>
                        <tbody>
              {% for panel in ticketList %}
                <tr>
                  <td>{{ panel['panel_domain'] }}</td>
                  <td>{{ panel['panel_currency'] }}</td>
                  <td>{{ panel['panel_price'] }}</td>
                  <td><span class="nowrap">{{ panel['panel_created'] }}</span></td>
                </tr>
              {% endfor %}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    {% endif %}   
</div>
{% include 'footer.twig' %}