You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html.erb 696B

123456789101112131415161718192021
  1. <div id="tls_check" class="container">
  2. <div class="row">
  3. <div class="col-sm-12">
  4. <h1><%= t 'Check your TLS server' %></h1>
  5. <%= form_tag root_path do %>
  6. <div class="form-group">
  7. <div class="col-sm-8">
  8. <%= text_field_tag :host, nil, class: %i(form-control input-lg), placeholder: 'your-site.com' %>
  9. </div>
  10. <div class="col-sm-2">
  11. <%= text_field_tag :port, nil, class: %i(form-control input-lg), placeholder: 'port' %>
  12. </div>
  13. <div class="col-sm-2">
  14. <%= hidden_field_tag :type, :tls %>
  15. <%= submit_tag t('Test me!'), class: %i(form-control btn btn-primary input-lg pull-right) %>
  16. </div>
  17. </div>
  18. <% end %>
  19. </div>
  20. </div>
  21. </div>