Skip to content
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

Fix some bootstrap/layout issues on account pages #1113

Merged
merged 5 commits into from Feb 25, 2014

Conversation

omega
Copy link
Contributor

@omega omega commented Feb 25, 2014

4 commits with increasing "invasiveness". The last one is by far the biggest change. I think they can be cherry-picked if people don't want to go "all in".

I think the new stuff looks better, but I realize that not everyone might agree.

The fifth commit is another small fix, but it won't work well without the others (I'm too lazy to rebase it earlier in the order)

The buttons used some custom styles to make them equal width and some strange pads.

Change to use `btn-block` from bootstrap to get block level buttons, which gives
them equal width, and remove `btn-large` as they are plenty easy to hit without
being large, and with there being so many of them in a row, this makes it a bit less
in your face.
Collect related styles in one place, and reduce style.css, win-win!
The motivation was "remove check", which looked like one link to me. Now it
is clearly two buttons, and one is red.

I opted to not add `btn-danger` to the remove buttons that are on distinctive lines,
as opposed to the profile where there are two buttons on each line.
The old conversion didn't really convert to bootstrap, only add form-horizontal class

Here I convert all inputs to bootstrap markup, the buttons get converted to
`input-append`, and I clean up a bit on the mobile version.

I also convert all the profile icons to CSS from <img> tags, because I think they
are layout, not content.

I combined the LAt/Long into one line, because that makes more sense in my head :P
For email and url fields that is. Should make keyboards better on mobile devices
@oalders
Copy link
Member

oalders commented Feb 25, 2014

@omega could you attach a few screenshots to illustrate what the changes are? Just the "after" shots would be fine.

@omega
Copy link
Contributor Author

omega commented Feb 25, 2014

General new layout

General new layout on mobile

Location new layout

Location new layout mobile

Profiles new layout

Profiles new layout mobile

@omega
Copy link
Contributor Author

omega commented Feb 25, 2014

Identities buttons

@omega
Copy link
Contributor Author

omega commented Feb 25, 2014

The identities page can still use some work on mobile I noticed now, damn hard coded table widths etc..

@oalders
Copy link
Member

oalders commented Feb 25, 2014

Looks great!

oalders added a commit that referenced this pull request Feb 25, 2014
Fix some bootstrap/layout issues on account pages
@oalders oalders merged commit f10001a into metacpan:master Feb 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants