Commit 4cd5161605697b46eb094242687121bb02c9c9fd
1 parent
a79644a4
Exists in
master
and in
29 other branches
ActionItem220: design editor ok!
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1571 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
6 changed files
with
12 additions
and
2 deletions
Show diff stats
app/views/layouts/application.rhtml
... | ... | @@ -172,5 +172,11 @@ |
172 | 172 | </div> |
173 | 173 | <%= javascript_include_tag 'better-browser-promotion' %> |
174 | 174 | |
175 | + <script type="text/javascript"> | |
176 | + // the onload will run only after all related documents load. | |
177 | + // by that we need to cal this here: | |
178 | + if ( window.addEventListener ) resizePrincipalTemplateBox() | |
179 | + </script> | |
180 | + | |
175 | 181 | </body> |
176 | 182 | </html> | ... | ... |
public/designs/icons/default/cancel-fat-HC.gif
130 Bytes
public/designs/icons/default/style.css
... | ... | @@ -9,7 +9,7 @@ |
9 | 9 | .icon-cancel { background-image: url(cancel-HC.gif) } |
10 | 10 | .icon-person { background-image: url(user_icon.png) } |
11 | 11 | .icon-product { background-image: url(gnome-other.png) } |
12 | -.icon-delete { background-image: url(gtk-delete.png) } | |
12 | +.icon-delete { background-image: url(cancel-HC.gif) } | |
13 | 13 | .icon-find { background-image: url(noosfero-find.png) } |
14 | 14 | .icon-back { background-image: url(go-back-HC.gif) } |
15 | 15 | .icon-next { background-image: url(gtk-media-next-ltr.png) } | ... | ... |
168 Bytes
public/designs/templates/default/stylesheets/style.css
public/javascripts/application.js
... | ... | @@ -28,7 +28,7 @@ function focus_first_field() { |
28 | 28 | /* * * Template Box Size Help * * */ |
29 | 29 | function resizePrincipalTemplateBox() { |
30 | 30 | var box1 = $$( "div.box-1" )[0]; |
31 | - var otherBoxSum = 0; | |
31 | + var otherBoxSum = 10; | |
32 | 32 | var i = 2; |
33 | 33 | var b = $$( "div.box-" + i++ )[0]; |
34 | 34 | while ( b.nodeName ) { | ... | ... |