tweak ui: form, quick link to edit a model in the popup menu
This commit is contained in:
parent
fa7e4c24d8
commit
587d383ac5
@ -12,6 +12,7 @@
|
||||
- each_content_type_menu_item do |content_type|
|
||||
.header
|
||||
%p= link_to t('admin.contents.index.new'), new_admin_content_url(content_type.slug)
|
||||
%p.edit= link_to t('admin.contents.index.edit'), edit_admin_content_type_url(content_type)
|
||||
.inner
|
||||
%h2!= t('admin.contents.index.lastest_items')
|
||||
%ul
|
||||
|
4
doc/TODO
4
doc/TODO
@ -24,7 +24,9 @@ x bushido changes in the master
|
||||
x SEO: support and support/ should be 2 different pages. Remove trailing slash
|
||||
x issue #91: httparty
|
||||
x issue #90: seo metadata
|
||||
- issue #57: seo page title
|
||||
x issue #57: seo page title
|
||||
x issue #56
|
||||
x tweak ui: form, quick link to edit a model in the popup menu
|
||||
- Has_one => group by in the select
|
||||
- convert existing templates (the 2 of the themes section)
|
||||
- better hints:
|
||||
|
@ -80,7 +80,7 @@ form.formtastic fieldset.inputs ol {
|
||||
|
||||
form.formtastic fieldset ol li { width: 100%; position: relative; margin-bottom: 1.3em; }
|
||||
|
||||
form.formtastic fieldset ol li label { text-align: left; padding: 0.3em 2em 0 20px; font-size: 0.8em; color: #17171b; width: 15%; }
|
||||
form.formtastic fieldset ol li label { text-align: left; padding: 0.4em 2em 0 20px; font-size: 0.8em; width: 15%; color: #585a69; text-shadow: #fff 0px 1px; }
|
||||
|
||||
form.formtastic fieldset ol li.string input,
|
||||
form.formtastic fieldset ol li.password input,
|
||||
@ -88,12 +88,16 @@ form.formtastic fieldset ol li.numeric input,
|
||||
form.formtastic fieldset ol li.text textarea,
|
||||
form.formtastic fieldset ol li code textarea,
|
||||
form.formtastic fieldset ol li input[type=password] {
|
||||
padding: 4px;
|
||||
padding: 4px 5px;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
width: 45%;
|
||||
color: #787a89;
|
||||
color: #17171b;
|
||||
background: white url(/images/admin/form/field.png) repeat-x 0 0;
|
||||
border: 1px solid #a6a8b8;
|
||||
-webkit-box-shadow: #f1f1f1 0px 1px;
|
||||
-moz-box-shadow: #f1f1f1 0px 1px;
|
||||
box-shadow: #f1f1f1 0px 1px;
|
||||
}
|
||||
|
||||
form.formtastic fieldset ol li.text textarea.html {
|
||||
|
@ -170,6 +170,10 @@
|
||||
font-size: 0.8em;
|
||||
background: transparent url(/images/admin/menu/popup/add.png) no-repeat left 4px;
|
||||
padding-left: 12px; }
|
||||
#submenu .popup p.edit {
|
||||
padding-top: 0px; }
|
||||
#submenu .popup p.edit a {
|
||||
background: transparent url(/images/admin/menu/popup/bullet.png) no-repeat left 5px; }
|
||||
#submenu .popup ul {
|
||||
list-style-image: url(/images/admin/menu/popup/bullet.png);
|
||||
margin: 0px 0px 0 15px; }
|
||||
|
@ -184,6 +184,14 @@
|
||||
background: transparent url(/images/admin/menu/popup/add.png) no-repeat left 4px;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
&.edit {
|
||||
padding-top: 0px;
|
||||
|
||||
a {
|
||||
background: transparent url(/images/admin/menu/popup/bullet.png) no-repeat left 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
|
Loading…
Reference in New Issue
Block a user