rascunho

commit fe0d8170a6a7d61230e0789ffe47fa73838e6099

Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>

Throw main layout and the index

 core/templates/index.html | 19 +++++++++++++++++++
 core/templates/layout.html | 16 ++++++++++++++++


diff --git a/core/templates/index.html b/core/templates/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..3239468672ecd0fbd8eb26353199ced1a4f952bc
--- /dev/null
+++ b/core/templates/index.html
@@ -0,0 +1,19 @@
+{% extends 'layout.html' %}
+
+{% block body %}
+	<div class="row">
+		<div class="col-xs">
+			<h1> Yo :) </h1>
+		</div>
+	</div>
+
+	<div class="row">
+		<div class="col-xs">
+			<form method="POST" action="/">
+				<textarea name="text" cols="72" rows="30"></textarea>
+				<br />
+				<button type="submit">Enviar</button>
+			</form>
+		</div>
+	</div>
+{% endblock %}




diff --git a/core/templates/layout.html b/core/templates/layout.html
new file mode 100644
index 0000000000000000000000000000000000000000..3dde2e29bfa0862af1532ef66aedb8941053d8ba
--- /dev/null
+++ b/core/templates/layout.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+	<head>
+		<title>Rascunho - Markdown Previewer</title>
+		<meta name="viewport" content="width=device-width, initial-scale=1" />
+		<link href="/static/umbo.min.css" rel="stylesheet" />
+	</head>
+
+	<body>
+		<div class="container">
+			{% block body %}
+			{% endblock %}
+		</div>
+	</body>
+</html>
+