aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/generic_addon_settings.tpl
blob: 685099807af4a7bd97f101fe022257f2af754101 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                 

                                                                                    
                                                                                                                                                                                 
                                                                  
                                            
                                        
                                                                       
                                       


                            
                                                                                                                                                                   

                                                           
                                       


                                                                                                                                                                            
                               


                      
<div class="panel" id="settings">
	<div class="section-subtitle-wrapper" role="tab" id="{{$addon.0}}-settings">
		<h3>
			<a title="{{$addon.2}}" data-bs-toggle="collapse" data-bs-target="#{{$addon.0}}-settings-content" href="#" aria-controls="{{$addon.0}}-settings-content">
				{{if $addon.1|substr:0:1 === '<'}}
				{{$addon.1}}
				{{else}}
				<i class="bi fa-gear"></i> {{$addon.1}}
				{{/if}}
			</a>
		</h3>
	</div>
	<div id="{{$addon.0}}-settings-content" class="panel-collapse collapse" role="tabpanel" aria-labelledby="{{$addon.0}}-settings" data-bs-parent="#settings">
		<div class="section-content-tools-wrapper">
			{{$content}}
			{{if $addon.0}}
			<div class="settings-submit-wrapper" >
				<button id="{{$addon.0}}-submit" type="submit" name="{{$addon.0}}-submit" class="btn btn-primary" value="{{$addon.3}}">{{$addon.3}}</button>
			</div>
			{{/if}}
		</div>
	</div>
</div>