client_management/app/views/client_managements/addsite.html.erb

49 lines
2.6 KiB
Plaintext
Raw Permalink Normal View History

2017-03-07 09:37:28 +00:00
<% content_for :page_menu do %>
<ul class="list-sidebar">
<li class="item-sidebar"><a class="btn-sidebar" href="/cpanel/sites"><i class="fa fa-home" aria-hidden="true"></i><%= t("client_management.my_sites") %></a></li>
<li class="item-sidebar"><a class="btn-sidebar" href="<%= cpanel_myprofile_path %>"><i class="fa fa-address-card" aria-hidden="true"></i><%= t("client_management.profile") %></a></li>
<li class="item-sidebar"><a class="btn-sidebar" href="<%= cpanel_myhistory_path %>"><i class="fa fa-history" aria-hidden="true"></i><%= t("client_management.history") %></a></li>
2017-03-07 09:37:28 +00:00
<li class="item-sidebar"><a class="btn-sidebar" href="#"><i class="fa fa-question-circle-o" aria-hidden="true"></i><%= t("client_management.help_and_faq") %></a></li>
<li class="item-sidebar"><a class="btn-sidebar" href="#"><i class="fa fa-user-circle-o" aria-hidden="true"></i><%= t("client_management.get_in_contact") %></a></li>
</ul>
<% end %>
<section class="cp-content col-md-10">
<h2 class="cp-page-title">
Add site
</h2>
<% if @noticemsg %>
<div class="alert alert-success text-center" role="alert"><strong>Thank You!!!</strong><br> We have accepted your request. Our customer service will get in touch with you soon.<br>Your request ID is : <strong><%= @uid %></strong></div>
<div class="sp-text text-center"><a href="/cpanel/sites">My Sites</a></div>
<% else %>
<div class="cp-addsite-step0">
<a href="<%= cpanel_add_new_site_path %>" class="add-new">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
<span>Add / Upgrade / Update Site</span>
<i class="fa fa-sp fa-plus-circle" aria-hidden="true"></i>
</a>
<a href="#" class="add-yours">
<i class="fa fa-sitemap" aria-hidden="true"></i>
<span>Add Sites to your account</span>
<i class="fa fa-sitemap fa-sp" aria-hidden="true"></i>
</a>
2017-03-07 09:37:28 +00:00
<div class="box-add-yours">
<form action="/cpanel/addsitestouser" method="post">
<label for="add-info">Site URL(s)</label>
<textarea name="urls" id="add-info" cols="30" rows="10" class="form-control text-add-info"></textarea>
<div class="line-add">
<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token %>">
<button class="btn btn-success">Submit</button>
<span class="notice-text">Please mention all the URL(s) seperated by "<strong>;</strong>".<br><strong>Example:</strong> www.example.com;w2.example.com</span>
</div>
</form>
</div>
</div>
<% end %>
</section>
<script type="text/javascript">
$('.add-yours').click(function(){
$('.box-add-yours').slideToggle();
return false;
})
</script>