Commit 89ce7492 authored by kushalpandya's avatar kushalpandya

Update start EE trial form styles and layout

parent 51c48e04
.trial-form-container {
.start-trial-header,
.start-trial-body {
margin-top: 30px;
}
.start-trial-header {
.trial-description {
color: $gl-gray-light;
}
}
}
.start-trial-body {
.section-body.ee-features {
border: 1px solid $border-color;
border-radius: 5px;
padding: 20px 40px;
}
}
.start-trial-body {
.section-body.trial-form {
.form-group label {
font-weight: normal;
}
}
}
.start-trial-body {
.feature-list li {
margin-top: 35px;
svg {
display: block;
margin: auto;
}
.feature-item-description {
h4 {
margin-top: 0;
}
p {
color: $gl-gray-light;
}
}
}
}
@media (max-width: $screen-md-min) {
.start-trial-body {
.feature-item-description {
margin-top: 15px;
h4,
p {
text-align: center;
}
}
.trial-form {
margin-top: 25px;
}
}
}
\ No newline at end of file
- page_title 'Trial license' - page_title 'Trial license'
%h3.page-title Trial License .container-fluid.trial-form-container
.row.text-center.start-trial-header
%h2 Free Trial of GitLab Enterprise Edition
%p.lead.trial-description No credit card required. 30 days free trial of all premium features.
%main{ :role => "main" } .row.start-trial-body
.actions .col-md-6
= form_tag admin_trials_path, method: :post do .section-body.ee-features
.form-group %ul.list-unstyled.feature-list
= label_tag :first_name %li.row
= text_field_tag :first_name, params[:first_name], class: "form-control", required: true .col-md-4
.form-group = custom_icon("ee_ldap_sync")
= label_tag :last_name .col-md-8.feature-item-description
= text_field_tag :last_name, params[:last_name], class: "form-control", required: true %h4 LDAP Group Sync
.form-group %p
= label_tag :work_email Automatically sync groups and manage SSH-keys, permissions,
= text_field_tag :work_email, params[:work_email], class: "form-control", required: true and authentication.
.form-group %li.row
= label_tag :company_name .col-md-4
= text_field_tag :company_name, params[:company_name], class: "form-control", required: true = custom_icon("ee_mr_approvals")
.form-group .col-md-8.feature-item-description
= label_tag :phone_number %h4 Merge Request Approval
= text_field_tag :phone_number, params[:phone_number], class: "form-control", required: true %p
.form-group Make sure every merge request is approved by one or more people.
= label_tag :number_of_developers %li.row
= text_field_tag :number_of_developers, params[:number_of_developers], class: "form-control", required: true .col-md-4
.form-group = custom_icon("ee_audit_events")
= label_tag :number_of_users .col-md-8.feature-item-description
= text_field_tag :number_of_users, params[:number_of_users], class: "form-control", required: true %h4 Project Audit Events
.form-group %p
= label_tag :country View any modifications made within the GitLab server in an
= select_tag :country, options_for_select(CountryCodes.for_select, params[:country]), prompt: '- Select One -', class: "form-control", required: true advanced audit log system.
.form-group %li.row
= submit_tag 'Start your free trial', class: "btn btn-default" .col-md-4
= custom_icon("ee_file_locking")
.col-md-8.feature-item-description
%h4 File Locking
%p
Scan or modify the code to meet your security and development needs.
%hr
%p.text-center
= link_to 'More premium features', '#'
.col-md-6
.section-body.trial-form
= form_tag admin_trials_path, method: :post do
.form-group
= label_tag :first_name
= text_field_tag :first_name, params[:first_name], class: "form-control", required: true
.form-group
= label_tag :last_name
= text_field_tag :last_name, params[:last_name], class: "form-control", required: true
.form-group
= label_tag :work_email
= text_field_tag :work_email, params[:work_email], class: "form-control", required: true
.form-group
= label_tag :company_name
= text_field_tag :company_name, params[:company_name], class: "form-control", required: true
.form-group
= label_tag :phone_number
= text_field_tag :phone_number, params[:phone_number], class: "form-control", required: true
%hr
.form-group
= label_tag :number_of_developers
= text_field_tag :number_of_developers, params[:number_of_developers], class: "form-control", required: true
.form-group
= label_tag :number_of_users
= text_field_tag :number_of_users, params[:number_of_users], class: "form-control", required: true
.form-group
= label_tag :country
= select_tag :country, options_for_select(CountryCodes.for_select, params[:country]), prompt: '- Select One -', class: "form-control", required: true
.form-group
= submit_tag 'Start your free trial', class: "btn btn-primary"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment