Port server/plugins/section_links template to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
This commit is contained in:
parent
3eabc98b59
commit
8225cb36e0
@ -1,8 +0,0 @@
|
||||
<div id="sectionlinks">
|
||||
<?php foreach ($plugins as $plugin_type => $plugin_list): ?>
|
||||
<a href="#plugins-<?= preg_replace('/[^a-z]/', '', mb_strtolower($plugin_type)); ?>">
|
||||
<?= htmlspecialchars($plugin_type); ?>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<br />
|
||||
7
templates/server/plugins/section_links.twig
Normal file
7
templates/server/plugins/section_links.twig
Normal file
@ -0,0 +1,7 @@
|
||||
<div id="sectionlinks">
|
||||
{% for plugin_type in plugins|keys %}
|
||||
<a href="#plugins-{{ preg_replace('/[^a-z]/', '', plugin_type|lower) }}">
|
||||
{{ plugin_type }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@ -1101,6 +1101,15 @@ div#logTable table {
|
||||
|
||||
/* end serverstatus */
|
||||
|
||||
#sectionlinks {
|
||||
margin-bottom: 15px;
|
||||
padding: 10px;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
#sectionlinks a {
|
||||
margin-<?php echo $right; ?>: 7px;
|
||||
}
|
||||
|
||||
/* server variables */
|
||||
#serverVariables {
|
||||
width: 100%;
|
||||
|
||||
@ -1568,6 +1568,7 @@ div#profilingchart {
|
||||
font-size: 1.7em;
|
||||
}
|
||||
#sectionlinks {
|
||||
margin-bottom: 15px;
|
||||
padding: 16px;
|
||||
background: #f3f3f3;
|
||||
border: 1px solid #aaa;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user