Top Level Namespace

Defined Under Namespace

Modules: BFormat

Constant Summary collapse

APPLICATION_HTML_BOOT_BODY =
"<%= render partial: '_header.html.erb' %>\n<% if flash[:notice] %>\n  <div class=\"alert alert-success\">\n    <%= flash[:notice] %>\n  </div>\n<% end %>\n<div class=\"container min-height\">\n  <%= yield %>\n</div>\n<%= render partial: \"_footer.html.erb\" %>\n"
APPLICATION_HTML_BOOT_HEADER =
"<nav class=\"navbar navbar-default navbar-static-top\">\n  <div class=\"container\">\n    <div class=\"navbar-header\">\n      <button type=\"button\" class=\"navbar-toggle collapsed\" data-toggle=\"collapse\" data-target=\"#navbar\" aria-expanded=\"false\" aria-controls=\"navbar\">\n        <span class=\"sr-only\">Toggle navigation</span>\n        <span class=\"icon-bar\"></span>\n        <span class=\"icon-bar\"></span>\n        <span class=\"icon-bar\"></span>\n      </button>\n      <a class=\"navbar-brand\" href=\"#\">Your Site Title !</a>\n    </div>\n    <div id=\"navbar\" class=\"navbar-collapse collapse\">\n      <ul class=\"nav navbar-nav\">\n        <li><a href=\"#\">Home</a></li>\n        <li><a href=\"#\">Contact</a></li>\n      </ul>\n      <ul class=\"nav navbar-nav navbar-right\">\n        <% unless session[:user_id] %>\n          <li><a href=\"#\">Log in</a></li>\n          <li><a href=\"#\">Create Account</a></li>\n        <% else %>\n          <li><a href=\"#\">MyPage</a></li>\n          <li><%= link_to \"Logout\", \"#\"%></li>\n        <% end %>\n      </ul>\n    </div><!--/.nav-collapse -->\n  </div>\n</nav>\n"
"<footer class=\"footer\">\n  <div class=\"container\">\n    <p class=\"text-muted\">Your Site Title</p>\n  </div>\n</footer>\n"