Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
89ce7492
Commit
89ce7492
authored
Jul 03, 2017
by
kushalpandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update start EE trial form styles and layout
parent
51c48e04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
139 additions
and
30 deletions
+139
-30
app/assets/stylesheets/pages/start_ee_trial.scss
app/assets/stylesheets/pages/start_ee_trial.scss
+67
-0
app/views/admin/trials/new.html.haml
app/views/admin/trials/new.html.haml
+72
-30
No files found.
app/assets/stylesheets/pages/start_ee_trial.scss
0 → 100644
View file @
89ce7492
.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
app/views/admin/trials/new.html.haml
View file @
89ce7492
-
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"
}
.actions
=
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
.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-default"
.row.start-trial-body
.col-md-6
.section-body.ee-features
%ul
.list-unstyled.feature-list
%li
.row
.col-md-4
=
custom_icon
(
"ee_ldap_sync"
)
.col-md-8.feature-item-description
%h4
LDAP Group Sync
%p
Automatically sync groups and manage SSH-keys, permissions,
and authentication.
%li
.row
.col-md-4
=
custom_icon
(
"ee_mr_approvals"
)
.col-md-8.feature-item-description
%h4
Merge Request Approval
%p
Make sure every merge request is approved by one or more people.
%li
.row
.col-md-4
=
custom_icon
(
"ee_audit_events"
)
.col-md-8.feature-item-description
%h4
Project Audit Events
%p
View any modifications made within the GitLab server in an
advanced audit log system.
%li
.row
.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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment