-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathposse.html
117 lines (106 loc) · 4.3 KB
/
posse.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
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<HTML>
<HEAD>
<META CHARSET="utf-8">
<META NAME="viewport" CONTENT="width=device-width, initial-scale=1">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<TITLE>{{appName}} has a Posse</TITLE>
<LINK REL="stylesheet" HREF="posse.css">
<SCRIPT SRC="//code.jquery.com/jquery-2.1.3.min.js"></SCRIPT>
</HEAD>
<BODY>
{{#demo}}
<H1>Sparkle has a Posse: Demo Mode</H1>
<P>
Welcome to <A HREF="https://habilis.net/sparkle-posse/">Sparkle Posse</A>
- the <A HREF="https://sparkle-project.org/">Sparkle</A> Mac profile visualizer.
Visit the <A HREF="https://habilis.net/sparkle-posse/">Sparkle Posse</A> page for download and more information.
<P>
This demo mode displays fake profile data consisting of all Mac models, OSs, languages, and random IPs.
Models link to <A HREF="https://everymac.com">EveryMac</A> and OSs link to Wikipedia release histories.
GeoIP info is fetched from <A HREF="https://ipapi.co/api/">ipapi</A>.
Be sure to mouse over everything to see tooltip details.
</P>
<P>
If you just installed Sparkle-Posse on your site, get started by copying
<CODE><A HREF="template-source.php">config-template.php</A></CODE> to <CODE>conf.php</CODE>
and setting up the path to your web logs.
</P>
{{/demo}}
{{^demo}}
{{#regulars}} <H1>{{appName}} "Regulars" over the last 30 days</H1> {{/regulars}}
{{^regulars}} <H1>{{appName}} users over the last Week</H1> {{/regulars}}
<!-- <P>(A "regular" is defined as 2+ identical weekly profiles collected in last 30 days)</P> -->
<UL>
<!--
<LI><A HREF="?mode=weekly">Weekly</A></LI>
<LI><A HREF="?mode=regulars">Regulars</A></LI>
-->
<LI><A HREF="?template=table">Table View</A></LI>
</UL>
{{/demo}}
<DIV ID="grid">
{{#appIcon}}
<svg class="logo double-size" viewBox="0 0 605 640">
<defs>
<filter id="pictureFilter">
<feTurbulence type="fractalNoise" baseFrequency="0.15" numOctaves="2"
result="turbulence_3" dataHfilterId="3" />
<feDisplacementMap xChannelSelector="R" yChannelSelector="G" in="SourceGraphic" in2="turbulence_3" scale="20" />
<feColorMatrix type="luminanceToAlpha" />
<feConvolveMatrix order="3" kernelMatrix="-1 -1 -1 0 0 0 1 2 1" />
<feConvolveMatrix order="3" kernelMatrix="-1 -1 -1 0 0 0 1 2 1" />
</filter>
</defs>
<desc>{{appName}} has a Posse</desc>
<image xlink:href="{{appIcon}}" x="170" y="150" height="500px" width="500px" filter="url(#pictureFilter)"
transform="rotate(-15 420 400)"/>
<image xlink:href="posse-frame.png" x="0" y="0" height="640px" width="605px"/>
<g font-family="Piedra, sans-serif">
<text x="42" y="105" font-size="60px">
<tspan style="font-weight: bold; text-transform: uppercase;">{{ringName.0}}</tspan>
<tspan x="42" dy="1em">{{ringName.1}}</tspan>
<tspan x="42" dy="1em">{{ringName.2}}</tspan>
</text>
<text x="365" y="97" font-size="40px">
48,<tspan dx="-6" font-size="30px" baseline-shift="super">px</tspan> 11.5 MB
</text>
</g>
</svg>
{{/appIcon}}
{{#members}}
<DIV CLASS="member">
<!-- <A HREF="https://cortex.bcybernetics.com/websvn/log.php?repname=bc&path=%2FXynk%2F&isdir=1&showchanges=1&sr=<?= $appVersion ?>&er=1&max=40&search="> -->
<A HREF="">
<DIV CLASS="version" TITLE="{{appName}} {{displayVersion}}">{{displayVersion}}</DIV>
</A>
<A HREF="https://everymac.com/ultimate-mac-lookup/?search_keywords={{model}}">
<IMG CLASS="mac" SRC="{{modelImage}}" TITLE="{{modelInfo.desc}}">
</A>
<A HREF="{{osInfo.link}}">
<IMG CLASS="os" SRC="{{osImage}}" TITLE="{{osVersion}} - {{osInfo.codeName}}">
</A>
{{#modelInfo.retina}}<IMG CLASS="retina" SRC="retina-icon.png" TITLE="Retina Display">{{/modelInfo.retina}}
<DIV CLASS="language" TITLE="{{langName}}">{{langName}}</DIV>
<DIV CLASS="info">
{{modelInfo.proc}} {{ncpu}}-CPU, {{ramGB}} GB <BR>
{{^geo}}<SPAN CLASS="address">{{ip}}</SPAN>{{/geo}}
{{#geo}}<SPAN TITLE="{{summary}}
City: {{city}}
Region: {{regionName}}
Country: {{country}}
Post Code: {{zip}}
Lat/Long: {{lat}}, {{lon}}
Timezone: {{timezone}}";
">{{summary}}</SPAN>{{/geo}}
</DIV>
</DIV>
{{/members}}
</DIV>
<HR STYLE="clear: both">
<P>
<STRONG>Explanation:</STRONG> The Sparkle Update framework sends detailed profile information at most once a week, even if the app is launched more frequently. Therefore, each profile received in any 7 day stretch represents a unique user/install of the app.
</P>
<SCRIPT SRC="posse.js"></SCRIPT>
</BODY>
</HTML>