Compare commits

..

No commits in common. "050ebba03b283ae81404a44e63335b8f698ebcd0" and "7da9aa5fe34c7c2e74d5908235a1c2456b7acdb7" have entirely different histories.

3 changed files with 21 additions and 9 deletions

View file

@ -74,11 +74,11 @@ img{background:white;}
.oprava:hover{ .box:hover{
border-width:3px; border-width:3px;
margin: 0px; margin: 0px;
} }
.oprava { .box {
margin: 1px; margin: 1px;
background-color: white; background-color: white;
width:300px; width:300px;
@ -121,15 +121,27 @@ form {
} }
.oprava button, .box button,
.oprava img { .box img,
.box-done button,
.box-done img,
.box-ready button,
.box-ready img,
.box-wontfix button,
.box-wontfix img{
border: 1px solid white; border: 1px solid white;
background-color:transparent; background-color:transparent;
margin:0; margin:0;
padding: 1px; padding: 1px;
} }
.oprava button:hover, .box button:hover,
.oprava img:hover { .box img:hover,
.box-done img:hover,
.box-done button:hover,
.box-ready img:hover,
.box-ready button:hover,
.box-wontfix img:hover,
.box-wontfix button:hover{
border: 1px solid black; border: 1px solid black;
} }

View file

@ -109,10 +109,10 @@ function comment(op)
// show comment form when 'update-comment' button pressed // show comment form when 'update-comment' button pressed
function update_comment(oid,ktid) function update_comment(oid,ktid)
{ {
var op = document.getElementById(oid); var divbox = document.getElementById(oid);
var text = document.getElementById(ktid).textContent; var text = document.getElementById(ktid).textContent;
return show_form(op.img_id, op.x, op.y, ktid.substring(2), text, 'update-comment'); return show_form(divbox.img_id, divbox.x, divbox.y, ktid.substring(2), text, 'update-comment');
} }
function oprava_onmouseover(op) function oprava_onmouseover(op)

View file

@ -7,7 +7,7 @@
> >
</div> </div>
<div name='op{{o.id}}' id='op{{o.id}}' <div name='op{{o.id}}' id='op{{o.id}}'
class='oprava' class='box'
data-opravastatus="{{o.status}}" data-opravastatus="{{o.status}}"
data-opravazobrazit="true" data-opravazobrazit="true"
data-opid="{{o.id}}" data-opid="{{o.id}}"