Hello, I want to propose some changes on generating code from oil g admin command. BTW, forgive me for the long explanation here šš»āāļø
Commit c5c57f1
Current style is using margin instead of margin-top. This creates unnecessary space when viewed on phones.
Process
Open the page with Responsive Design Mode
Select any phone display
Current result
Proposed result
Commit 7684d58
There are some code which look like activating dropdown functionality on navbar. But, when I tried to remove it, I still can use dropdown functionality on navbar. So, I think it is best to remove it.
Commit 20be5dc
The dropdown menu is aligned to left while it is on the most right side of navbar. I think it is better to aligned to right.
Current result
Proposed result
Commit e4800cf
The form inputs and labels are overflowed from container width. I think it was caused by form element using form-horizontal class.
Current result
Proposed result
Commit 573f6fd
The form is always full width on any screen display. I think it will be better if we only use half of the page width for the form in large screen display.
Current result
Proposed result
Commit 5423309
I think it would be better if the Back and View button are relocated on the right of Save button instead of on the below of Save button.
Current result
Proposed result
Commit 6e5de83
Action buttons (View, Edit and Delete) is too compact. I think adding a little space for larger clickable area would be better
Current result
Proposed result
Commit 87ca140
Responsive table is common nowadays. So, I want to implement it here too.
Current result
Proposed result
Commit a241632
On phone screen, the dropdown menu width for log out is not displayed properly.
Current result
Proposed result
Commit 9738920
Add recommended meta tags for responsiveness based on Bootstrap example
Commit 84fdb22
Move script tags on the bottom of body for better web page rendering speed
Hello, I want to propose some changes on generating code from
oil g admin
command. BTW, forgive me for the long explanation here šš»āāļøCommit c5c57f1
Current style is using
margin
instead ofmargin-top
. This creates unnecessary space when viewed on phones.Process
Current result
Proposed result
Commit 7684d58
There are some code which look like activating dropdown functionality on navbar. But, when I tried to remove it, I still can use dropdown functionality on navbar. So, I think it is best to remove it.
Commit 20be5dc
The dropdown menu is aligned to left while it is on the most right side of navbar. I think it is better to aligned to right.
Current result
Proposed result
Commit e4800cf
The form inputs and labels are overflowed from container width. I think it was caused by
form
element usingform-horizontal
class.Current result
Proposed result
Commit 573f6fd
The form is always full width on any screen display. I think it will be better if we only use half of the page width for the form in large screen display.
Current result
Proposed result
Commit 5423309
I think it would be better if the Back and View button are relocated on the right of Save button instead of on the below of Save button.
Current result
Proposed result
Commit 6e5de83
Action buttons (View, Edit and Delete) is too compact. I think adding a little space for larger clickable area would be better
Current result
Proposed result
Commit 87ca140
Responsive table is common nowadays. So, I want to implement it here too.
Current result
Proposed result
Commit a241632
On phone screen, the dropdown menu width for log out is not displayed properly.
Current result
Proposed result
Commit 9738920
Add recommended meta tags for responsiveness based on Bootstrap example
Commit 84fdb22
Move
script
tags on the bottom ofbody
for better web page rendering speedCommit 11e9616
Tidying template file for admin
Commit b6c5dfb
Tidying generate code for index page
Current result
Proposed result
Commit bb53a75
Tidying output code for add and edit form
Current result
Commit f567db4
Beautify view details page using
dl
styleCurrent result
Proposed result