Made some initial site layout
This commit is contained in:
@@ -6,7 +6,7 @@ def create_app():
|
|||||||
app = Flask(
|
app = Flask(
|
||||||
'Muspah',
|
'Muspah',
|
||||||
template_folder=os.path.join(os.path.dirname(__file__), 'templates'),
|
template_folder=os.path.join(os.path.dirname(__file__), 'templates'),
|
||||||
static_folder=os.path.join(os.path.dirname(__file__), 'static'),
|
static_folder=os.path.join(os.path.dirname(__file__), '..', 'static'),
|
||||||
instance_relative_config=True
|
instance_relative_config=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -2,14 +2,12 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{% block title %}{% endblock %} | Muspah</title>
|
<title>{% block title %}{% endblock %} | Muspah</title>
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
|
||||||
|
<link rel="stylesheet" href="/static/css/zaros.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<div id="main-wrapper" class="container">
|
||||||
<h1>Muspah</h1>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main>
|
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</main>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -3,5 +3,13 @@
|
|||||||
{% block title %}Dashboard{% endblock %}
|
{% block title %}Dashboard{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<p>Welcome to the Muspah dashboard!</p>
|
<div class="row">
|
||||||
|
<div class="twelve columns">
|
||||||
|
<header>
|
||||||
|
<h1>Muspah</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<p>Welcome to the Muspah dashboard!</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
13
static/css/zaros.css
Normal file
13
static/css/zaros.css
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
body{
|
||||||
|
background: #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container.fluid{
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main-wrapper{
|
||||||
|
background: white;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user