Skip to content

Commit

Permalink
feat(header): removed custom bbb header
Browse files Browse the repository at this point in the history
* removed fade from error partial
  • Loading branch information
matheus-lagreca committed Jan 17, 2024
1 parent 78985fd commit e1ecb55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
15 changes: 0 additions & 15 deletions app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,4 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. %>
<body lang="<%= I18n.locale %>"
data-controller="<%= params[:controller] %>"
data-action="<%= params[:action] %>">

<div class="header">
<div class="container">
<div class="d-flex bd-highlight mb3">
<div class="mr-auto p-2 bd-highlight">
<%= link_to root_path do%>
<%= image_tag("bbb_logo.png", class: "bbb-logo") %>
<% end %>
</div>
<div class="p-2 bd-highlight">
<%= link_to "Config", root_path, :class => "btn btn-outline-primary mx-2 config-button" %>
</div>
</div>
</div>
</div>
</body>
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. %>
<%= favicon_link_tag asset_path('favicon.ico') %>
<%= yield %>
</div>
<%= render "layouts/footer" %>
<%= render "layouts/footer" %>
4 changes: 2 additions & 2 deletions app/views/shared/_error.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="alert alert-danger fade in">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<div class="alert alert-danger">
<%# <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> %>
<h4><strong><%= key %></strong>: <%= message %></h4>
<p>
<% if suggestion %>
Expand Down

0 comments on commit e1ecb55

Please sign in to comment.