~ihabunek/triglav

ref: 3a62b8feb3be418cf9f3fb176ac6c84a36e66a2f triglav/lib/triglav_web/templates/layout/app.html.eex -rw-r--r-- 1.2 KiB
3a62b8feIvan Habunek Validate tags on platforms 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title><%= @view_module.title(@view_template, assigns) %> - Triglav</title>
    <link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
    <script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
  </head>
  <body>
    <header>
      <nav class="topnav">
        <div class="container">
          <div class="topnav-title">
            <a href="/">Triglav</a>
          </div>
          <div class="topnav-links">
            <a href="/zet/routes">Routes</a>
          </div>
          <div class="topnav-links">
            <a href="/zet/stops">Stops</a>
          </div>
          <div class="topnav-links">
            <a href="/zet/errors/history">Errors</a>
          </div>
        </div>
      </nav>
    </header>

    <section>
      <p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
      <p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
    </section>

    <%= @inner_content %>
  </body>
</html>