diff options
Diffstat (limited to 'lib/lsg_web/templates')
-rw-r--r-- | lib/lsg_web/templates/layout/app.html.eex | 35 | ||||
-rw-r--r-- | lib/lsg_web/templates/page/index.html.eex | 36 | ||||
-rw-r--r-- | lib/lsg_web/templates/page/widget.html.eex | 11 |
3 files changed, 82 insertions, 0 deletions
diff --git a/lib/lsg_web/templates/layout/app.html.eex b/lib/lsg_web/templates/layout/app.html.eex new file mode 100644 index 0000000..0d91f12 --- /dev/null +++ b/lib/lsg_web/templates/layout/app.html.eex @@ -0,0 +1,35 @@ +<!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"> + <meta name="description" content=""> + <meta name="author" content=""> + + <title>Hello LSG!</title> + <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>"> + </head> + + <body> + <div class="container"> + <header class="header"> + <nav role="navigation"> + <ul class="nav nav-pills pull-right"> + <li><a href="http://www.phoenixframework.org/docs">Get Started</a></li> + </ul> + </nav> + <span class="logo"></span> + </header> + + <p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p> + <p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p> + + <main role="main"> + <%= render @view_module, @view_template, assigns %> + </main> + + </div> <!-- /container --> + <script src="<%= static_path(@conn, "/js/app.js") %>"></script> + </body> +</html> diff --git a/lib/lsg_web/templates/page/index.html.eex b/lib/lsg_web/templates/page/index.html.eex new file mode 100644 index 0000000..0988ea5 --- /dev/null +++ b/lib/lsg_web/templates/page/index.html.eex @@ -0,0 +1,36 @@ +<div class="jumbotron"> + <h2><%= gettext "Welcome to %{name}!", name: "Phoenix" %></h2> + <p class="lead">A productive web framework that<br />does not compromise speed and maintainability.</p> +</div> + +<div class="row marketing"> + <div class="col-lg-6"> + <h4>Resources</h4> + <ul> + <li> + <a href="http://phoenixframework.org/docs/overview">Guides</a> + </li> + <li> + <a href="https://hexdocs.pm/phoenix">Docs</a> + </li> + <li> + <a href="https://github.com/phoenixframework/phoenix">Source</a> + </li> + </ul> + </div> + + <div class="col-lg-6"> + <h4>Help</h4> + <ul> + <li> + <a href="http://groups.google.com/group/phoenix-talk">Mailing list</a> + </li> + <li> + <a href="http://webchat.freenode.net/?channels=elixir-lang">#elixir-lang on freenode IRC</a> + </li> + <li> + <a href="https://twitter.com/elixirphoenix">@elixirphoenix</a> + </li> + </ul> + </div> +</div> diff --git a/lib/lsg_web/templates/page/widget.html.eex b/lib/lsg_web/templates/page/widget.html.eex new file mode 100644 index 0000000..efa382f --- /dev/null +++ b/lib/lsg_web/templates/page/widget.html.eex @@ -0,0 +1,11 @@ +<!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"> +<link rel="stylesheet" href="<%= static_path(@conn, "/assets/css/widget.css") %>"> +<script src="<%= static_path(@conn, "/assets/js/widget.js") %>"></script> +</head> +<body></body> +</html> |