mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	add cdrom to instance errors fixed. make cdrom readonly, disable cache.
This commit is contained in:
		
							parent
							
								
									9198615076
								
							
						
					
					
						commit
						57665c2ab9
					
				
					 3 changed files with 8 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -767,15 +767,13 @@
 | 
			
		|||
                                    <form class="form-horizontal" action="" method="post" role="form">{% csrf_token %}
 | 
			
		||||
                                        <p style="font-weight:bold;">
 | 
			
		||||
                                            {% trans "Instance Media" %}
 | 
			
		||||
                                            {% if status == 5 %}
 | 
			
		||||
                                                <button type="submit" name="add_cdrom" type="button" class="btn btn-success pull-right" title="Add CD-ROM">
 | 
			
		||||
                                                    <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
 | 
			
		||||
                                                </button>
 | 
			
		||||
                                        {% else %}
 | 
			
		||||
                                            <button type="submit" type="button" class="btn btn-success disabled pull-right" title="Add CD-ROM" disabled>
 | 
			
		||||
 | 
			
		||||
                                            <button type="submit" name="add_cdrom" type="button" class="btn btn-success pull-right"
 | 
			
		||||
                                                    title="Add CD-ROM"
 | 
			
		||||
                                                    {% if status != 5 %} disabled {% endif %} >
 | 
			
		||||
                                                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
 | 
			
		||||
                                            </button>
 | 
			
		||||
                                        {% endif %}
 | 
			
		||||
 | 
			
		||||
                                        </p>
 | 
			
		||||
                                    </form>
 | 
			
		||||
                                        {% for cd in media %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue