mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	template/instance: correct placement of options tab panel div, should be after xmledit div
This commit is contained in:
		
							parent
							
								
									e1b4fdf5de
								
							
						
					
					
						commit
						679f84f117
					
				
					 1 changed files with 28 additions and 28 deletions
				
			
		|  | @ -690,34 +690,6 @@ | |||
|                                                     </form> | ||||
|                                                     <div class="clearfix"></div> | ||||
|                                                 </div> | ||||
|                                                 <div role="tabpanel" class="tab-pane tab-pane-bordered" id="options"> | ||||
|                                                     <form class="form-horizontal" action="" method="post" role="form">{% csrf_token %} | ||||
|                                                         <div class="form-group"> | ||||
|                                                             <label class="col-sm-3 control-label">{% trans "Title" %}</label> | ||||
|                                                             <div class="col-sm-6"> | ||||
|                                                                 <input type="text" name="title" class="form-control" value="{{ title }}"> | ||||
|                                                             </div> | ||||
|                                                         </div> | ||||
|                                                         <div class="form-group"> | ||||
|                                                             <label class="col-sm-3 control-label">{% trans "Description" %}</label> | ||||
|                                                             <div class="col-sm-6"> | ||||
|                                                                 <textarea name="description" class="form-control">{{ description }}</textarea> | ||||
|                                                             </div> | ||||
|                                                         </div> | ||||
|                                                         <div class="form-group"> | ||||
|                                                             <label class="col-sm-3 control-label">{% trans "Is template" %}</label> | ||||
|                                                             <div class="col-sm-6"> | ||||
|                                                                 <input type="checkbox" name="is_template" value="true" id="is_template" {% if instance.is_template %}checked{% endif %}> | ||||
|                                                             </div> | ||||
|                                                         </div> | ||||
|                                                         {% ifequal status 5 %} | ||||
|                                                             <button type="submit" class="btn btn-lg btn-success pull-right" name="change_options">{% trans "Change" %}</button> | ||||
|                                                         {% else %} | ||||
|                                                             <button class="btn btn-lg btn-success pull-right disabled" name="change_options">{% trans "Change" %}</button> | ||||
|                                                         {% endifequal %} | ||||
|                                                     </form> | ||||
|                                                     <div class="clearfix"></div> | ||||
|                                                 </div> | ||||
|                                                 <div role="tabpanel" class="tab-pane tab-pane-bordered" id="clone"> | ||||
|                                                     <p style="font-weight:bold;">{% trans "Create a clone" %}</p> | ||||
|                                                     <form class="form-horizontal" action="" method="post" role="form">{% csrf_token %} | ||||
|  | @ -833,6 +805,34 @@ | |||
|                                                     </form> | ||||
|                                                     <div class="clearfix"></div> | ||||
|                                                 </div> | ||||
|                                                 <div role="tabpanel" class="tab-pane tab-pane-bordered" id="options"> | ||||
|                                                     <form class="form-horizontal" action="" method="post" role="form">{% csrf_token %} | ||||
|                                                         <div class="form-group"> | ||||
|                                                             <label class="col-sm-3 control-label">{% trans "Title" %}</label> | ||||
|                                                             <div class="col-sm-6"> | ||||
|                                                                 <input type="text" name="title" class="form-control" value="{{ title }}"> | ||||
|                                                             </div> | ||||
|                                                         </div> | ||||
|                                                         <div class="form-group"> | ||||
|                                                             <label class="col-sm-3 control-label">{% trans "Description" %}</label> | ||||
|                                                             <div class="col-sm-6"> | ||||
|                                                                 <textarea name="description" class="form-control">{{ description }}</textarea> | ||||
|                                                             </div> | ||||
|                                                         </div> | ||||
|                                                         <div class="form-group"> | ||||
|                                                             <label class="col-sm-3 control-label">{% trans "Is template" %}</label> | ||||
|                                                             <div class="col-sm-6"> | ||||
|                                                                 <input type="checkbox" name="is_template" value="true" id="is_template" {% if instance.is_template %}checked{% endif %}> | ||||
|                                                             </div> | ||||
|                                                         </div> | ||||
|                                                         {% ifequal status 5 %} | ||||
|                                                             <button type="submit" class="btn btn-lg btn-success pull-right" name="change_options">{% trans "Change" %}</button> | ||||
|                                                         {% else %} | ||||
|                                                             <button class="btn btn-lg btn-success pull-right disabled" name="change_options">{% trans "Change" %}</button> | ||||
|                                                         {% endifequal %} | ||||
|                                                     </form> | ||||
|                                                     <div class="clearfix"></div> | ||||
|                                                 </div> | ||||
|                                             {% endif %} | ||||
|                                         </div> | ||||
|                                     </div> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue