From 9ff3e59193a9e300860c58ae1e65a4c55b0d21b0 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 25 May 2014 22:23:51 -0700 Subject: removes top nav bar from design. new logo. adds a mechanism to add the post interface to your home screen. --- views/add-to-home.php | 6 +++ views/auth_callback.php | 5 +++ views/auth_error.php | 8 +++- views/auth_start.php | 4 ++ views/creating-a-micropub-endpoint.php | 6 ++- views/dashboard.php | 5 ++- views/docs.php | 41 ++++++++++++--------- views/index.php | 24 ++++++++---- views/layout.php | 67 ++++++++++++++-------------------- views/partials/header.php | 4 ++ views/signin.php | 10 ----- 11 files changed, 101 insertions(+), 79 deletions(-) create mode 100644 views/add-to-home.php create mode 100644 views/partials/header.php delete mode 100644 views/signin.php (limited to 'views') diff --git a/views/add-to-home.php b/views/add-to-home.php new file mode 100644 index 0000000..857e959 --- /dev/null +++ b/views/add-to-home.php @@ -0,0 +1,6 @@ +
+ + +
Add this page to your home screen!

The next time you visit it, you will be signed in.
+ +
\ No newline at end of file diff --git a/views/auth_callback.php b/views/auth_callback.php index 44c2daa..7274cd7 100644 --- a/views/auth_callback.php +++ b/views/auth_callback.php @@ -1,3 +1,6 @@ +
+ + tokenEndpoint): ?> auth): ?> @@ -66,3 +69,5 @@ + +
\ No newline at end of file diff --git a/views/auth_error.php b/views/auth_error.php index 818ded4..58728b5 100644 --- a/views/auth_error.php +++ b/views/auth_error.php @@ -1,4 +1,8 @@ -

error ?>

+
+ -

errorDescription ?>

+

error ?>

+

errorDescription ?>

+ + \ No newline at end of file diff --git a/views/auth_start.php b/views/auth_start.php index 819fd65..70dc83d 100644 --- a/views/auth_start.php +++ b/views/auth_start.php @@ -1,3 +1,6 @@ +
+ +

Authorization Endpoint

@@ -52,3 +55,4 @@ +
\ No newline at end of file diff --git a/views/creating-a-micropub-endpoint.php b/views/creating-a-micropub-endpoint.php index 617b52f..d911ce6 100644 --- a/views/creating-a-micropub-endpoint.php +++ b/views/creating-a-micropub-endpoint.php @@ -1,5 +1,8 @@ +
+ + -## The Micropub Endpoint +## Creating a Micropub Endpoint After a client has obtained an access token and discovered the user's Micropub endpoint it is ready to make requests to create posts. @@ -88,3 +91,4 @@ and optionally an HTML or other body with more information. Below is a list of p +
\ No newline at end of file diff --git a/views/dashboard.php b/views/dashboard.php index 120d0bf..ff3d897 100644 --- a/views/dashboard.php +++ b/views/dashboard.php @@ -1,6 +1,7 @@ +
+ -
-
+
diff --git a/views/docs.php b/views/docs.php index f9d5384..48fd0d8 100644 --- a/views/docs.php +++ b/views/docs.php @@ -1,26 +1,31 @@ -

Introduction

+
+ -
- -
+

Introduction

-

This is a simple Micropub client for - creating text posts on your own website. To use it, you will need to turn your website - into an OAuth provider, and implement a Micropub endpoint that this app will send - requests to.

+
+ +
-

Once you've signed in, you'll see an interface like the one shown which you can use to - write a post. Clicking "post" will make a Micropub request to your endpoint.

+

This is a simple Micropub client for + creating text posts on your own website. To use it, you will need to turn your website + into an OAuth provider, and implement a Micropub endpoint that this app will send + requests to.

-

Configuring Endpoints

+

Once you've signed in, you'll see an interface like the one shown which you can use to + write a post. Clicking "post" will make a Micropub request to your endpoint.

-

Authorization Endpoint

- +

Configuring Endpoints

-

Token Endpoint

- +

Authorization Endpoint

+ -

Micropub Endpoint

- +

Token Endpoint

+ -

The Creating a Micropub Endpoint tutorial will walk you through how to handle incoming POST requests from apps like this.

+

Micropub Endpoint

+ + +

The Creating a Micropub Endpoint tutorial will walk you through how to handle incoming POST requests from apps like this.

+ +
\ No newline at end of file diff --git a/views/index.php b/views/index.php index 9232f8e..f653de7 100644 --- a/views/index.php +++ b/views/index.php @@ -1,9 +1,19 @@ +
+
-

Quill

-

How does it work?

-
    -
  1. Sign in with your domain
  2. -
  3. Post a note!
  4. -
-

Get Started »

+

Quill

+ +

Quill is a simple app for posting text notes to your website.

+ +

To use Quill, sign in with your domain. Your website will need to support Micropub for creating new posts.

+ + + + + + + +
+ +
\ No newline at end of file diff --git a/views/layout.php b/views/layout.php index 24f5df3..a70f99a 100644 --- a/views/layout.php +++ b/views/layout.php @@ -12,6 +12,11 @@ + + + + + @@ -30,56 +35,40 @@ -