From d06f9e8ea6cefcfae1ad28bb203a7e4e562820a8 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 2 May 2014 17:42:34 +0200 Subject: basic web+fork handling --- data/templates/display-head.htm | 12 +++++++++- data/templates/help.htm | 49 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 data/templates/help.htm (limited to 'data/templates') diff --git a/data/templates/display-head.htm b/data/templates/display-head.htm index 78c32a5..ba699bf 100644 --- a/data/templates/display-head.htm +++ b/data/templates/display-head.htm @@ -5,7 +5,17 @@
- +
diff --git a/data/templates/help.htm b/data/templates/help.htm new file mode 100644 index 0000000..555a738 --- /dev/null +++ b/data/templates/help.htm @@ -0,0 +1,49 @@ +{% extends "base.htm" %} +{% block title %}phorkie help{% endblock %} + +{% block content %} +

Help on phorkie

+ +

Remote forking

+ + +
+
+

+ Phorkie allows cloning/forking of pastes on other servers + - other phorkie instances, github gists or simply any remote + git repository. +

+

+ You can go to fork-remote and enter the + URL of the paste on the other server. +

+

+ It's way easier to simply click a "fork" button that automatically + takes you to this phorkie's remote paste page, prefilled with + the correct git URL. +

+

+ To make this work, click the register button on the right. + It will register a "protocol handler" for "web+fork:"-URLs, + making phorkie chime in whenever a web+fork URL is clicked. +

+
+ +
+{% endblock %} -- cgit v1.2.3