blob: 7e42bc6bf7264240d414e332d47de3709464b064 (
plain) (
tree)
|
|
<table class="table table-striped">
<tr>
<th class="slx-smallcol">{{lang_version}}</th>
<th class="slx-smallcol">{{lang_releaseDate}}</th>
<th>{{lang_title}}</th>
<th class="slx-smallcol">{{lang_usedBy}}</th>
<th class="slx-smallcol"></th>
<th class="slx-smallcol" style="width:100px">{{lang_default}}</th>
<th class="slx-smallcol" style="width:150px">{{lang_download}}</th>
</tr>
{{#versions}}
<tr id="{{versionid_dash}}">
<td class="text-nowrap">
<a name="{{versionid}}"></a>
<a href="#" class="version-link" data-version="{{versionid}}" {{#downloading}}data-autoclick="true"{{/downloading}}>
{{versionid}}
<b class="caret"></b>
</a>
</td>
<td class="text-nowrap">
{{#desclen}}
<div style="float:right;margin-right:-6px">
<span class="glyphicon glyphicon-list-alt"></span>
</div>
{{/desclen}}
{{dateline_s}}
</td>
<td>{{title}}</td>
<td class="text-nowrap">
{{#usage.entryids.0}}
<div class="dropdown">
<button class="btn btn-default btn-xs dropdown-toggle" type="button" data-toggle="dropdown">
{{usage.entryCount}} / {{usage.menuCount}} / {{usage.locationCount}}
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li role="separator" class="dropdown-header slx-bold">{{lang_menuEntries}}</li>
{{#usage.entryids}}
<li><a href="?do=serversetup&show=editbootentry&id={{.}}">{{.}}</a></li>
{{/usage.entryids}}
{{#usage.menus.0}}
<li role="separator" class="dropdown-header slx-bold">{{lang_menus}}</li>
{{/usage.menus.0}}
{{#usage.menus}}
<li><a href="?do=serversetup&show=editmenu&id={{menuid}}">{{menuname}}</a></li>
{{/usage.menus}}
{{#usage.locations.0}}
<li role="separator" class="dropdown-header slx-bold">{{lang_locations}}</li>
{{/usage.locations.0}}
{{#usage.locations}}
<li class="disabled"><a href="#">{{locationname}}</a></li>
{{/usage.locations}}
</ul>
</div>
{{/usage.entryids.0}}
</td>
<td class="text-nowrap">
{{#orphan}}
<span class="label label-danger" title="{{lang_orphanedVersionToolTip}}">{{lang_orphanedVersion}}</span>
{{/orphan}}
</td>
<td class="text-nowrap text-center {{default_class}}">
{{#showsetdefault}}
<form method="post" action="?do=minilinux" style="margin:0;padding:0;display:inline">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="version" value="{{versionid}}">
<button type="submit" name="show" value="setdefault" class="btn btn-xs btn-info" title="{{lang_setGlobalDefault}}">
<span class="glyphicon glyphicon-flag"></span>
</button>
</form>
{{/showsetdefault}}
{{#isdefault}}
<span class="glyphicon glyphicon-ok" title="{{lang_isGlobalDefault}}"></span>
{{/isdefault}}
</td>
<td class="text-nowrap text-right">
{{#installed}}
<span class="label label-info">{{lang_installed}}</span>
{{/installed}}
{{^installed}}
{{^orphan}}
{{^downloading}}
<button type="button" class="btn btn-xs btn-success btn-download" data-version="{{versionid}}">
<span class="glyphicon glyphicon-download"></span>
{{lang_download}}
</button>
{{/downloading}}
{{/orphan}}
{{/installed}}
</td>
</tr>
<tr>
<td colspan="7" class="version-container collapse" data-version="{{versionid}}"></td>
</tr>
{{/versions}}
</table>
|