Barvy a preskrtnuti v seznamu korektur.
This commit is contained in:
		
							parent
							
								
									4ea24e673a
								
							
						
					
					
						commit
						c9754b98e3
					
				
					 2 changed files with 19 additions and 1 deletions
				
			
		
							
								
								
									
										13
									
								
								korektury/static/korektury/opraf-list.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								korektury/static/korektury/opraf-list.css
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| .adding-text{ | ||||
| 	color: black; | ||||
| } | ||||
| .comitting-text | ||||
| { | ||||
|     color: yellow; | ||||
| } | ||||
| .deprecated-text { | ||||
|     color: red; | ||||
|     text-decoration: line-through; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
|  | @ -1,4 +1,9 @@ | |||
| {% extends "korektury/base.html" %} | ||||
| {% load staticfiles %} | ||||
| 
 | ||||
| {% block script%} | ||||
|   <link rel="stylesheet" type="text/css" media="screen, projection" href="{% static "korektury/opraf-list.css" %}" /> | ||||
| {% endblock %} | ||||
| 
 | ||||
| {% block content %} | ||||
| 
 | ||||
|  | @ -12,7 +17,7 @@ | |||
| 
 | ||||
| <ul> | ||||
|   {% for pdf in object_list  %} | ||||
| 	  <li> <b>{{ pdf.nazev }}</b> <i>{{pdf.komentar}}</i> <a href="/korektury/{{pdf.id}}">{{pdf.pdf.name}}</a> </li> | ||||
| 	  <li><span {% if pdf.status = 'zanaseni'%} class="comitting-text" {% elif pdf.status = 'zastarale' %} class="deprecated-text" {% endif %}> <b>{{ pdf.nazev }}</b> <i>{{pdf.komentar}}</i> <a href="/korektury/{{pdf.id}}">{{pdf.pdf.name}}</a> </span> </li> | ||||
|   {% empty %} | ||||
|     <li> Nejsou žádné dokumenty ke korekturování. | ||||
|   {% endfor %} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue