Add a base template
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>{% block title %}{% endblock title %} ⋅ Plume</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{% block content %}
|
||||||
|
{% endblock content %}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
+11
-12
@@ -1,16 +1,15 @@
|
|||||||
<!DOCTYPE html>
|
{% extends "base" %}
|
||||||
<html>
|
|
||||||
<head>
|
{% block title %}
|
||||||
<meta charset="utf-8">
|
New blog
|
||||||
<title>New blog</title>
|
{% endblock title %}
|
||||||
</head>
|
|
||||||
<body>
|
{% block content %}
|
||||||
<h1>Create a blog</h1>
|
<h1>Create a blog</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<label for="title">Title</label>
|
<label for="title">Title</label>
|
||||||
<input name="title">
|
<input name="title">
|
||||||
|
|
||||||
<input type="submit" value="Create blog"/>
|
<input type="submit" value="Create blog"/>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
{% endblock content %}
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -1,16 +1,15 @@
|
|||||||
<!DOCTYPE html>
|
{% extends "base" %}
|
||||||
<html>
|
|
||||||
<head>
|
{% block title %}
|
||||||
<meta charset="utf-8">
|
Configuration
|
||||||
<title>Configuration</title>
|
{% endblock title %}
|
||||||
</head>
|
|
||||||
<body>
|
{% block content %}
|
||||||
<h1>Configure your instance</h1>
|
<h1>Configure your instance</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<label for="name">Name</label>
|
<label for="name">Name</label>
|
||||||
<input name="name">
|
<input name="name">
|
||||||
|
|
||||||
<input type="submit" value="Let's go!"/>
|
<input type="submit" value="Let's go!"/>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
{% endblock content %}
|
||||||
</html>
|
|
||||||
|
|||||||
+11
-12
@@ -1,12 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
{% extends "base" %}
|
||||||
<html>
|
|
||||||
<head>
|
{% block title %}
|
||||||
<meta charset="utf-8">
|
New post
|
||||||
<title>New post</title>
|
{% endblock title %}
|
||||||
</head>
|
|
||||||
<body>
|
{% block content %}
|
||||||
<h1>Create a post</h1>
|
<h1>Create a post</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<label for="title">Title</label>
|
<label for="title">Title</label>
|
||||||
<input name="title">
|
<input name="title">
|
||||||
|
|
||||||
@@ -17,6 +17,5 @@
|
|||||||
<input name="license">
|
<input name="license">
|
||||||
|
|
||||||
<input type="submit" value="Publish"/>
|
<input type="submit" value="Publish"/>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
{% endblock content %}
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
{% extends "base" %}
|
||||||
<html>
|
|
||||||
<head>
|
{% block title %}
|
||||||
<meta charset="utf-8">
|
Login
|
||||||
<title>Login</title>
|
{% endblock title %}
|
||||||
</head>
|
|
||||||
<body>
|
{% block content %}
|
||||||
<h1>Login</h1>
|
<h1>Login</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<label for="email_or_name">Username or email</label>
|
<label for="email_or_name">Username or email</label>
|
||||||
<input name="email_or_name">
|
<input name="email_or_name">
|
||||||
|
|
||||||
@@ -14,6 +14,5 @@
|
|||||||
<input type="password" name="password">
|
<input type="password" name="password">
|
||||||
|
|
||||||
<input type="submit" value="Login"/>
|
<input type="submit" value="Login"/>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
{% endblock content %}
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
{% extends "base" %}
|
||||||
<html>
|
|
||||||
<head>
|
{% block title %}
|
||||||
<meta charset="utf-8">
|
{{ user.display_name }}
|
||||||
<title>{{ user.display_name }}</title>
|
{% endblock title %}
|
||||||
</head>
|
|
||||||
<body>
|
{% block content %}
|
||||||
<h1>{{ user.display_name }}</h1>
|
<h1>{{ user.display_name }}</h1>
|
||||||
<div>
|
<div>
|
||||||
{{ user.summary | safe }}
|
{{ user.summary | safe }}
|
||||||
</div>
|
</div>
|
||||||
</body>
|
{% endblock content %}
|
||||||
</html>
|
|
||||||
|
|||||||
+11
-12
@@ -1,12 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
{% extends "base" %}
|
||||||
<html>
|
|
||||||
<head>
|
{% block title %}
|
||||||
<meta charset="utf-8">
|
New Account
|
||||||
<title>New account</title>
|
{% endblock title %}
|
||||||
</head>
|
|
||||||
<body>
|
{% block content %}
|
||||||
<h1>Create an account</h1>
|
<h1>Create an account</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<label for="username">Username</label>
|
<label for="username">Username</label>
|
||||||
<input name="username">
|
<input name="username">
|
||||||
|
|
||||||
@@ -20,6 +20,5 @@
|
|||||||
<input type="password" name="password_confirmation">
|
<input type="password" name="password_confirmation">
|
||||||
|
|
||||||
<input type="submit" value="Create account"/>
|
<input type="submit" value="Create account"/>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
{% endblock content %}
|
||||||
</html>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user