-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/workout #17
base: master
Are you sure you want to change the base?
Feature/workout #17
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
.center_text { text-align: center} | ||
rajgurung marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.txt_color_grey { color: grey } | ||
rajgurung marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.display_design { margin-bottom: 15px } | ||
|
||
.workout_image { float:left;display:block;background-color:grey;padding:4px } | ||
|
||
.workout_name { float:left;margin-left:15px } | ||
|
||
.grey-background { background-color: grey } | ||
.grey-background { background-color: grey } | ||
|
||
rajgurung marked this conversation as resolved.
Show resolved
Hide resolved
|
||
.user_workout_input { font-family:'Roboto';font-weight:900;font-size:70px;line-height:75px;width:80%; } | ||
|
||
rajgurung marked this conversation as resolved.
Show resolved
Hide resolved
|
||
.user_workout_save { font-family:'Roboto';font-weight:900;font-size:45px;line-height:75px; } | ||
|
||
input, | ||
rajgurung marked this conversation as resolved.
Show resolved
Hide resolved
|
||
input::-webkit-input-placeholder { font-size:30px;line-height:75px; } |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,15 +11,20 @@ | |
- @user_workout.errors.full_messages.each do |msg| | ||
%li= msg | ||
|
||
.row | ||
.col-xs-4 | ||
.row.form-group | ||
.col-xs-3{:style => "text-align:center;"} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do not use inline style attributes |
||
%span#load_image | ||
.col-xs-4 | ||
%b SETS | ||
%h2 3 | ||
.col-xs-4 | ||
%b REPS | ||
%h2 12 | ||
.col-xs-2.center_text | ||
-#%h2.user_workout_input 30 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Comment should have a space after the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Comment should have a space after the |
||
= f.number_field :weight, class: 'user_workout_input center_text', placeholder: 'wts' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line is too long. [91/80] There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line is too long. [91/80] |
||
.col-xs-2.center_text | ||
-#%h2.user_workout_input 3 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Comment should have a space after the |
||
= f.number_field :set, class: 'user_workout_input center_text', placeholder: 'sets' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line is too long. [89/80] |
||
.col-xs-2.center_text | ||
-#%h2.user_workout_input 12 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Comment should have a space after the |
||
= f.number_field :rep, class: 'user_workout_input center_text', placeholder: 'reps' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line is too long. [89/80] |
||
.col-xs-3{:style => "text-align:center;bottom:0"} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do not use inline style attributes |
||
= f.submit 'save', class: 'user_workout_save txt_color_grey' | ||
|
||
-#.form-group | ||
-# = f.label :set, class: 'col-sm-2 control-label' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds maximum allowed length. Length is 122, max is 80.