06d6715c47
Added the grid_stat_head CSS class to Panel Debug. Added the panel_plugin_meta CSS class to the Plugin Manager. Added some missing panel_right_button classes to the buttons for the rows in the Plugin Manager. Added some missing the_form CSS classes for Nox. Added a missing phrase for an update button in panel_themes_menus_items. Replaced a legacy float: right; in the User Manager with to_right. Removed some superfluous legacy inline CSS in the User Manager. Tweaked the amount of padding for the title in the Account Manager for Nox. Tweaked the amount of padding for the title in the Control Panel for Nox. Tweaked the padding for panel_right_button for Nox. Fixed the UI for the Plugin Manager in Nox. Tweaked the padding for the grid heads in Panel Debug for Nox. Began work on a nicer looking User Manager in Nox.
31 lines
1.7 KiB
HTML
31 lines
1.7 KiB
HTML
{{template "header.html" . }}
|
|
<div class="colstack panel_stack">
|
|
|
|
{{template "panel_menu.html" . }}
|
|
<main class="colstack_right">
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><h1>{{lang "panel_plugins_head"}}</h1></div>
|
|
</div>
|
|
<div id="panel_plugins" class="colstack_item complex_rowlist">
|
|
{{range .ItemList}}
|
|
<div class="rowitem editable_parent">
|
|
<span class="panel_plugin_meta">
|
|
<a {{if .URL}}href="{{.URL}}" {{end}}class="editable_block" class="panel_upshift">{{.Name}}</a><br />
|
|
<small style="margin-left: 2px;">{{lang "panel_plugins_author_prefix"}}{{.Author}}</small>
|
|
</span>
|
|
<span class="to_right">
|
|
{{if .Settings}}<a href="/panel/settings/" class="panel_tag panel_plugin_settings panel_right_button">{{lang "panel_plugins_settings"}}</a>{{end}}
|
|
{{if .Active}}<a href="/panel/plugins/deactivate/{{.UName}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_plugin_deactivate panel_right_button">{{lang "panel_plugins_deactivate"}}</a>
|
|
{{else if .Installable}}
|
|
{{/** TODO: Write a custom template interpreter to fix this nonsense **/}}
|
|
{{if .Installed}}<a href="/panel/plugins/activate/{{.UName}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_plugin_activate panel_right_button">{{lang "panel_plugins_activate"}}</a>{{else}}<a href="/panel/plugins/install/{{.UName}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_plugin_install panel_right_button">{{lang "panel_plugins_install"}}</a>{{end}}
|
|
{{else}}<a href="/panel/plugins/activate/{{.UName}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_plugin_activate panel_right_button">{{lang "panel_plugins_activate"}}</a>{{end}}
|
|
</span>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</main>
|
|
|
|
</div>
|
|
{{template "footer.html" . }}
|