summaryrefslogblamecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/templates/bootentry-list.html
blob: c4018befdc513fbc20c8d54879d1e5565e6fa92f (plain) (tree)
1
2
3
4
5
6





                               






                                                                   
                                                       
                                                        




                                                                                                     




                                   
                                          

                                           


                                          






                                          
                                         
                                                                                                                                   
                                         





                                                                                                                                                      
                                      




                                                                                                                                             
                                      















                                                                                                                                       
                        





                                                                                         

      
                            
<h2>{{lang_bootentryHead}}</h2>

<p>
	{{lang_bootentryIntro}}
</p>

<form method="post" action="?do=serversetup">
	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="action" value="deleteBootentry">
	<table class="table">
		<thead>
		<tr>
			<th>{{lang_entryId}}</th>
			<th>{{lang_bootentryType}}</th>
			<th>{{lang_bootentryTitle}}</th>
			<th class="small">{{lang_hotkey}}</th>
			<th class="small slx-smallcol">{{lang_refCount}}</th>
			<th class="small slx-smallcol">{{lang_edit}}</th>
			{{#allowEdit}}<th class="small slx-smallcol">{{lang_copy}}</th>{{/allowEdit}}
			<th class="small slx-smallcol">{{lang_delete}}</th>
		</tr>
		</thead>
		<tbody>
		{{#bootentryTable}}
		<tr>
			<td class="small">
				{{entryid}}
			</td>
			<td class="small">
				{{module}}
			</td>
			<td>
				{{title}}
			</td>
			<td>
				{{hotkey}}
			</td>
			<td align="right">
				{{#refs}}
				<span class="badge" data-toggle="tooltip" data-placement="top" title="{{menuname}}">{{refs}}</span>
				{{/refs}}
			</td>
			<td align="center">
				<a href="?do=serversetup&amp;show=editbootentry&amp;id={{entryid}}" class="btn btn-xs btn-default">
					<span class="glyphicon glyphicon-{{#allowEdit}}edit{{/allowEdit}}{{^allowEdit}}eye-open{{/allowEdit}}"></span>
				</a>
			</td>
			{{#allowEdit}}
			<td align="center">
				<a href="?do=serversetup&amp;show=editbootentry&amp;id={{entryid}}&copy=true" class="btn btn-xs btn-default">
					<span class="glyphicon glyphicon-duplicate"></span>
				</a>
			</td>
			{{/allowEdit}}
			<td align="center">
				{{#allowEdit}}
					{{^builtin}}
						<button type="submit" name="deleteid" value="{{entryid}}" class="btn btn-xs btn-danger"
								  data-confirm="#confirm-delete" data-title="{{title}}">
							<span class="glyphicon glyphicon-trash"></span>
						</button>
					{{/builtin}}
				{{/allowEdit}}
			</td>
		</tr>
		{{/bootentryTable}}
		</tbody>
	</table>
</form>
<div class="hidden" id="confirm-delete">{{lang_bootentryDeleteConfirm}}</div>
<div class="pull-right">
	{{#allowEdit}}
		<a href="?do=serversetup&amp;show=editbootentry" class="btn btn-success">
			<span class="glyphicon glyphicon-plus"></span>
			{{lang_addBootentry}}
		</a>
	{{/allowEdit}}
</div>

<div class="clearfix"></div>