diff options
Diffstat (limited to 'modules-available/minilinux/templates/versionlist.html')
-rw-r--r-- | modules-available/minilinux/templates/versionlist.html | 44 |
1 files changed, 41 insertions, 3 deletions
diff --git a/modules-available/minilinux/templates/versionlist.html b/modules-available/minilinux/templates/versionlist.html index 0acfecac..e66960b2 100644 --- a/modules-available/minilinux/templates/versionlist.html +++ b/modules-available/minilinux/templates/versionlist.html @@ -3,6 +3,7 @@ <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> @@ -15,9 +16,44 @@ <b class="caret"></b> </a> </td> - <td class="text-nowrap">{{dateline_s}}</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}} @@ -36,22 +72,24 @@ <span class="glyphicon glyphicon-ok" title="{{lang_isGlobalDefault}}"></span> {{/isdefault}} </td> - <td class="text-nowrap text-center"> + <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="6" class="version-container collapse" data-version="{{versionid}}"></td> + <td colspan="7" class="version-container collapse" data-version="{{versionid}}"></td> </tr> {{/versions}} </table>
\ No newline at end of file |