diff options
| author | 2018-02-08 16:01:20 +0000 | |
|---|---|---|
| committer | 2018-02-08 16:01:20 +0000 | |
| commit | 428eb9a6afb85fca51e87f6d16a1044a5fa24bf8 (patch) | |
| tree | ee991943fd2bb05a574d8ae035fb6fc5be3f8c52 /templates | |
| parent | Pffft (diff) | |
| parent | Travis deploy on master (#5) (diff) | |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/.gitkeep | 0 | ||||
| -rw-r--r-- | templates/base.html | 17 | ||||
| -rw-r--r-- | templates/index.html | 9 | ||||
| -rw-r--r-- | templates/navigation.html | 19 | 
4 files changed, 45 insertions, 0 deletions
diff --git a/templates/.gitkeep b/templates/.gitkeep deleted file mode 100644 index e69de29b..00000000 --- a/templates/.gitkeep +++ /dev/null diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 00000000..9e00af20 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +    {% block head %} +    <title>Python | {% block title %}{% endblock %}</title> +    <meta charset="UTF-8"> +    <meta name="viewport" content="width=device-width, initial-scale=1"> +    <script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script> +    <script defer src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.39/js/uikit.min.js"></script> +    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-beta.39/css/uikit.min.css" /> +    {% endblock %} +</head> +<body> +{% include "navigation.html" %} +{% block content %}{% endblock %} +</body> +</html>
\ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 00000000..418347d2 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{% block title %}Home{% endblock %} +{% block content %} +    <div class="uk-container uk-section"> +    <h1 class="uk-title uk-text-center"> +        Coming soon :tm: +    </h1> +    </div> +{% endblock %}
\ No newline at end of file diff --git a/templates/navigation.html b/templates/navigation.html new file mode 100644 index 00000000..cbd6a36a --- /dev/null +++ b/templates/navigation.html @@ -0,0 +1,19 @@ +<div class="uk-container uk-container-expand uk-section-secondary"> +    <nav data-uk-navbar class="uk-navbar-container uk-navbar-transparent"> +        <div class="uk-navbar-left"> +            <a href="/" class="uk-navbar-item uk-logo"> +                <img src="/static/logos/logo_banner.png" style="height: 50px;"/> +            </a> +        </div> +        <div class="uk-navbar-right"> +            <ul class="uk-navbar-nav"> +                {% if current_page == "index" %} +                    <li class="uk-active"><a href="/"><i class="uk-icon fas fa-home"></i>  Home</a></li> +                {% else %} +                    <li><a href="/"><i class="uk-icon fas fa-home"></i>  Home</a></li> +                {% endif %} +                <li><a href="/invite"><i class="uk-icon fab fa-discord"></i>  Discord</a></li> +            </ul> +        </div> +    </nav> +</div>
\ No newline at end of file  |