app.html.eex 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <title>Hello Web!</title>
  10. <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
  11. </head>
  12. <body>
  13. <div class="container">
  14. <header class="header">
  15. <nav role="navigation">
  16. <ul class="nav nav-pills pull-right">
  17. <li><a href="http://www.phoenixframework.org/docs">Get Started</a></li>
  18. </ul>
  19. </nav>
  20. <span class="logo"></span>
  21. </header>
  22. <p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
  23. <p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
  24. <main role="main">
  25. <%= render @view_module, @view_template, assigns %>
  26. </main>
  27. </div> <!-- /container -->
  28. <script src="<%= static_path(@conn, "/js/app.js") %>"></script>
  29. </body>
  30. </html>