This repository has been archived by the owner on Dec 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathabout.html
104 lines (98 loc) · 3.69 KB
/
about.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Share to diaspora*</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% asset about.css %}
{% asset about.js %}
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/about.html">Advanced Sharer for diaspora*</a>
</div>
</div>
</nav>
<div class="jumbotron">
<div class="container">
<img src="{% asset about_header.png @path %}" alt="" class="img-responsive">
<h3 class="text-center">Share all teh internetz!</h3>
</div>
</div>
<div class="container">
<div class="row col-xs-12">
<p>
Welcome! You found the website of our little cross-pod sharing application. This allows
you to use it as a dedicated "share to diaspora*" button in your favorite website or
just add it as a bookmarklet to your browser.
</p>
</div>
</div>
<div class="container" id="preferences">
<div class="row col-xs-12">
<h2>Reset preferences</h2>
<p>
It looks like you have used the widget before and stored settings. Use the button below to
reset all preferences.
</p>
<p>
<a class="btn btn-danger" id="delPrefs">Reset preferences</a>
</p>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-12">
<h2>Bookmarklet</h2>
<p>
Instead of using several bookmarklets for several pods, you can just drag this one:
<a href="javascript:(function(){f='{{site.root_url}}/?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title)+'¬es='+encodeURIComponent(''+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text))+'&v=1&';a=function(){if(!window.open(f+'noui=1&jump=doclose','diasporav1','location=yes,links=no,scrollbars=yes,toolbar=no,width=620,height=550'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()">Share on diaspora*</a> to your bookmarks bar.
</p>
</div>
</div>
</div>
<div class="container">
<div class="row col-xs-12">
<h2>Share buttons</h2>
</div>
<div class="row">
<div class="col-md-6">
<h3>Without JavaScript</h3>
{% include snippet.html name="without_js" %}
</div>
<div class="col-md-6">
<h3>With JavaScript</h3>
{% include snippet.html name="with_js" %}
</div>
</div>
<div class="row">
<div class="col-md-6">
<h3>Without JavaScript, with text</h3>
{% include snippet.html name="without_js_with_text" %}
</div>
<div class="col-md-6">
<h3>With JavaScript and text</h3>
{% include snippet.html name="with_js_and_text" %}
</div>
</div>
</div>
<hr>
<footer>
<div class="container">
<div class="row col-xs-12">
<p>
This project was created by <a href="{{site.root_url}}/humans.txt">Awesome Contributors</a> and is
licensed under the <a target="_blank" href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL</a>.
Want to help or fork the project? The source code is available at
<a href="https://github.com/diaspora/sharetodiaspora">Github</a>. Check the Github repository for
information on how to contribute.
</p>
</div>
</div>
</footer>
</body>
</html>