This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
labelprint/views/_brother_bar.erb
T
randy d5db7ded9e
deploy / deploy (push) Successful in 5s
Own bar above the new brother_ql_web label designer, which has no Bootstrap
The Bootstrap navbar was injected without Bootstrap and took the first row of
the designer's page grid, its top bar was stretched to the height of the page.
2026-11-04 12:32:37 +01:00

20 lines
1.1 KiB
ERB

<%# Above brother_ql_web's label designer, which has no Bootstrap: styled here,
and a row of the designer's page grid (its top bar and view follow) %>
<style>
body { grid-template-rows: auto 58px 1fr !important; }
.lp-bar { display: flex; align-items: center; gap: .2rem; padding: 0 .8rem; height: 36px; background: #212529; font: 14px/1 system-ui, sans-serif; overflow-x: auto; }
.lp-bar a { color: rgba(255, 255, 255, .65); text-decoration: none; padding: .45rem .6rem; white-space: nowrap; }
.lp-bar a:hover, .lp-bar a.active { color: #fff; }
.lp-bar .brand { color: #fff; font-size: 16px; margin-right: .6rem; display: inline-flex; align-items: center; gap: .3rem; }
.lp-bar i { display: inline-block; line-height: 1; }
.lp-bar .sep { border-left: 1px solid rgba(255, 255, 255, .25); }
</style>
<nav class="lp-bar">
<a class="brand" href="/"><i class="mdi mdi-printer"></i> Print server</a>
<a href="/">Home</a>
<a class="sep active" href="/brother">Brother</a>
<a href="/upload">Shipping labels</a>
<a href="/epson">Receipts</a>
<a class="sep" href="/repository">Labels</a>
</nav>