box -> oprava
This commit is contained in:
		
							parent
							
								
									7da9aa5fe3
								
							
						
					
					
						commit
						443a226943
					
				
					 3 changed files with 9 additions and 9 deletions
				
			
		|  | @ -74,11 +74,11 @@ img{background:white;} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| .box:hover{ | .oprava:hover{ | ||||||
| 	border-width:3px; | 	border-width:3px; | ||||||
| 	margin: 0px; | 	margin: 0px; | ||||||
| } | } | ||||||
| .box { | .oprava { | ||||||
| 	margin: 1px; | 	margin: 1px; | ||||||
| 	background-color: white; | 	background-color: white; | ||||||
| 	width:300px; | 	width:300px; | ||||||
|  | @ -121,8 +121,8 @@ form { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| .box button, | .oprava button, | ||||||
| .box img, | .oprava img, | ||||||
| .box-done button, | .box-done button, | ||||||
| .box-done img, | .box-done img, | ||||||
| .box-ready button, | .box-ready button, | ||||||
|  | @ -134,8 +134,8 @@ form { | ||||||
| 	margin:0; | 	margin:0; | ||||||
| 	padding: 1px; | 	padding: 1px; | ||||||
| } | } | ||||||
| .box button:hover, | .oprava button:hover, | ||||||
| .box img:hover, | .oprava img:hover, | ||||||
| .box-done img:hover, | .box-done img:hover, | ||||||
| .box-done button:hover, | .box-done button:hover, | ||||||
| .box-ready img:hover, | .box-ready img:hover, | ||||||
|  |  | ||||||
|  | @ -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 divbox = document.getElementById(oid); |     var op = document.getElementById(oid); | ||||||
| 	var text = document.getElementById(ktid).textContent; | 	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) | function oprava_onmouseover(op) | ||||||
|  |  | ||||||
|  | @ -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='box' |      class='oprava' | ||||||
|      data-opravastatus="{{o.status}}" |      data-opravastatus="{{o.status}}" | ||||||
|      data-opravazobrazit="true" |      data-opravazobrazit="true" | ||||||
|      data-opid="{{o.id}}" |      data-opid="{{o.id}}" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue