diff --git a/app.rb b/app.rb index b4c6118..c4c07b6 100644 --- a/app.rb +++ b/app.rb @@ -265,7 +265,7 @@ helpers do body = res.body || '' if res['Content-Type']&.include?('text/html') - body = body.sub(/(]*>)/i) { "#{Regexp.last_match(1)}\n#{erb(:_navbar, layout: false)}" } + body = body.sub(/(]*>)/i) { "#{Regexp.last_match(1)}\n#{erb(:_brother_bar, layout: false)}" } # The navbar's icons, brother_ql_web has no MDI font of its own body = body.sub(%r{}i) { %(\n) } end diff --git a/views/_brother_bar.erb b/views/_brother_bar.erb new file mode 100644 index 0000000..39c8f19 --- /dev/null +++ b/views/_brother_bar.erb @@ -0,0 +1,19 @@ +<%# 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) %> + + diff --git a/views/_navbar.erb b/views/_navbar.erb index e3441d2..2a9743f 100644 --- a/views/_navbar.erb +++ b/views/_navbar.erb @@ -1,4 +1,4 @@ -