diff options
Diffstat (limited to 'assets/templates/components/trail.twig')
-rw-r--r-- | assets/templates/components/trail.twig | 81 |
1 files changed, 42 insertions, 39 deletions
diff --git a/assets/templates/components/trail.twig b/assets/templates/components/trail.twig index 90530259..6353f92f 100644 --- a/assets/templates/components/trail.twig +++ b/assets/templates/components/trail.twig @@ -1,49 +1,52 @@ <div class="trail" data-controller="{{controller_name}}"> - <table style="float:left" class="trail_table"> - <tbody> - <tr> - {% for crumb in crumbs %} + <table style="float:left" class="trail_table"> + <tbody> + <tr> + {% for crumb in crumbs %} - <td class="crumb"> - <a href="{{crumb.url}}"> - <span class="icon"> - <img src="{{crumb.icon}}" alt="{{crumb.iconalt}}"> - </span> - <span class="label">{{crumb.text}}</span> - </a> {% if crumb.helpurl %} - <a class="help" href="{{crumb.helpurl}}" title="{{lang.strhelp}}" target="phppgadminhelp">{{lang.strhelpicon}}</a> {% endif %} {{lang.strseparator}} - </td> - {% endfor %} - </tr> - </tbody> - </table> - {% if search_paths %} - <table style="float:right" class="search_path"> - <tbody> - <tr> - <td class="crumb" style=" vertical-align: inherit;"> - {{lang.strsearchpath}} - </td> - {% for crumb in search_paths %} - - <td class="crumb"> - | - <a href="{{crumb.url}}"> + <td class="crumb"> + <a href="{{crumb.url}}"> <span class="icon"> <img src="{{crumb.icon}}" alt="{{crumb.iconalt}}"> </span> <span class="label">{{crumb.text}}</span> </a> + {% if crumb.helpurl %} + <a class="help" href="{{crumb.helpurl}}" title="{{lang.strhelp}}" target="phppgadminhelp">{{lang.strhelpicon}}</a> + {% endif %} + {{lang.strseparator}} + </td> + {% endfor %} + </tr> + </tbody> + </table> + {% if search_paths %} + <table class="searchpath"> + <tbody> + <tr> + <td class="crumb" style=" vertical-align: inherit;"> + {{lang.strsearchpath}} + </td> + {% for crumb in search_paths %} + + <td class="crumb"> + | + <a href="{{crumb.url}}"> + <span class="icon"> + <img src="{{crumb.icon}}" alt="{{crumb.iconalt}}"> + </span> + <span class="label">{{crumb.text}}</span> + </a> - </td> - {% endfor %} - <td> - - </td> - </tr> - </tbody> - </table> - {% endif %} + </td> + {% endfor %} + <td> + + </td> + </tr> + </tbody> + </table> + {% endif %} -</div>
\ No newline at end of file +</div> |