box -> oprava

This commit is contained in:
Jonas Havelka 2025-01-21 10:05:27 +01:00
parent 7da9aa5fe3
commit 443a226943
3 changed files with 9 additions and 9 deletions

View file

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

View file

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

View file

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