blob: e264ee4087c8c3970138c9fa6d11a71a128872f1 [file] [log] [blame]
jb75035f2018-12-22 10:08:06 -08001<!DOCTYPE html>
jc2f417a2019-02-16 20:02:51 -08002<html lang="en">
j4a05c882019-11-14 18:55:54 -08003
jb75035f2018-12-22 10:08:06 -08004<head>
jc2f417a2019-02-16 20:02:51 -08005
j1f5841d2020-04-17 17:23:42 -07006 <link rel="shortcut icon" href="https://powerplus.app/favicon.png" type="image/png">
7
8 <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Extended" rel="stylesheet">
9 <link type="text/css" rel="stylesheet" href="https://cdn.jottocraft.com/fluid/v4.min.css"
10 media="screen,projection" />
11
12 <!--OpenGraph -->
13 <meta property="og:url" content="https://powerplus.app" />
14 <meta property="og:title" content="Power+" />
15 <meta property="og:description" content="A better UI for Canvas LMS" />
16 <meta property="og:image" content="https://powerplus.app/icon.png" />
17
18 <title>Power+</title>
19
20 <meta charset="utf-8">
21 <meta name="description" content="A better UI for Canvas LMS">
22 <meta name="author" content="jottocraft">
23 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
24
25 <script async src="https://cdn.jottocraft.com/fluid/assets/tinycolor.js"></script>
26 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
27 <script src="https://cdn.jottocraft.com/fluid/v4.min.js"></script>
28 <script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.8.6/showdown.min.js"></script>
29
30 <style>
31 /* Header */
32 #header {
33 color: var(--elementText);
34 padding: 100px;
35 padding-bottom: 120px;
36 margin-bottom: 125px;
37 text-align: center;
38 }
39
40 #header h1 {
41 display: inline-block;
42 vertical-align: middle;
43 }
44
45 .title img {
46 height: 98px;
47 vertical-align: middle;
48 margin-right: 22px;
49 }
50
51 #header .title {
52 margin-bottom: 40px;
53 }
54
55 /* Content Blocks */
56 .block {
57 overflow: hidden;
58 margin-bottom: 200px;
59 }
60
61 .container .block .description>*:nth-child(1) {
62 margin-top: 0px;
63 }
64
65 .container .block .description>*:nth-last-child(1) {
66 margin-bottom: 0px;
67 }
68
69 .container .block .description p {
70 font-size: 20px;
71 color: var(--lightText);
72 }
73
74 /* Large content blocks */
75 .container .block:not(.small)>img {
76 width: 28%;
77 max-width: 250px;
78 }
79
80 .container .block:not(.small)>.description {
81 overflow: hidden;
82 }
83
84 .container .block:not(.small):nth-child(odd)>img,
85 .container .block.left:not(.small):nth-child(even)>img {
86 float: left;
87 margin-right: 48px;
88 margin-left: 0;
89 }
90
91 .container .block:not(.small):nth-child(even)>img,
92 .container .block.right:not(.small):nth-child(odd)>img {
93 float: right;
94 margin-left: 48px;
95 margin-right: 0;
96 }
97
98 .container .block:not(.small) .description h3 {
99 font-size: 2.6rem;
100 }
101
102 /* Small content blocks */
103 .container .block.small .description h3 {
104 font-size: 2.2rem;
105 }
106
107 .container .block.small {
108 text-align: center;
109 display: inline-block;
110 }
111
112 .container .block.small img {
113 height: 150px;
114 margin-bottom: 20px;
115 }
116 </style>
jb75035f2018-12-22 10:08:06 -0800117</head>
jc2f417a2019-02-16 20:02:51 -0800118
j4a05c882019-11-14 18:55:54 -0800119
j1f5841d2020-04-17 17:23:42 -0700120<body>
j4a05c882019-11-14 18:55:54 -0800121
j1f5841d2020-04-17 17:23:42 -0700122 <script>
123 var markdown = new showdown.Converter();
124 jQuery.getJSON("https://api.github.com/repos/jottocraft/dtps/releases/latest", function (data) {
125 var log = data.body;
126 log = log.split("\n").slice(1).join("\n"); //remove first (title) line
127 log = log.replace(/^.*What's new in Power\+.*$/mg, "").replace(/^.*Thanks for using Power\+.*$/mg, ""); //try removing title line again for good measure and also remove footer
128 jQuery("#changelog").html(markdown.makeHtml(log));
129 }).error(function () {
130 jQuery("#changelog").html(`<p>An error occured when trying to get the latest Power+ updates. Try again later.</p>`);
131 });
132 </script>
j4a05c882019-11-14 18:55:54 -0800133
j1f5841d2020-04-17 17:23:42 -0700134 <div id="header">
135 <div class="content">
136 <div class="title">
137 <img src="https://powerplus.app/outline.png" />
138 <h1>Power+</h1>
j4a05c882019-11-14 18:55:54 -0800139 </div>
j1f5841d2020-04-17 17:23:42 -0700140 <div class="row">
141 <button id="dtpsInstallBtn"
142 onclick="window.location.href = 'https://chrome.google.com/webstore/detail/power%20/pakgdifknldaiglefmpkkgfjndemfapo';"
143 class="btn"><i class="material-icons">extension</i> Add the extension</button>
144 <button class="btn outline"
145 onclick="window.location.href = 'https://github.com/jottocraft/dtps/releases';"><i
146 class="material-icons">update</i> Releases</button>
147 <button class="btn outline" onclick="window.location.href = 'https://github.com/jottocraft/dtps';"><i
148 class="material-icons">code</i> Source code</button>
j4a05c882019-11-14 18:55:54 -0800149 </div>
j4a05c882019-11-14 18:55:54 -0800150 </div>
j1f5841d2020-04-17 17:23:42 -0700151 </div>
j4a05c882019-11-14 18:55:54 -0800152
j1f5841d2020-04-17 17:23:42 -0700153 <div class="container">
154 <div class="row">
155 <div class="block small six columns">
156 <img src="assets/todo.svg" />
157 <div class="description">
158 <h3>Manage your coursework</h3>
159 <p>Power+ shows you upcoming assignments, a calendar, and updates at a glance</p>
160 </div>
j4a05c882019-11-14 18:55:54 -0800161 </div>
j4a05c882019-11-14 18:55:54 -0800162
j1f5841d2020-04-17 17:23:42 -0700163 <div class="block small six columns">
164 <img src="assets/calculator.svg" />
165 <div class="description">
166 <h3>Grade Calculation</h3>
167 <p>Power+ calculates your CBL class grades and lets you test what-if grades</p>
168 </div>
j4a05c882019-11-14 18:55:54 -0800169 </div>
j1f5841d2020-04-17 17:23:42 -0700170 </div>
171
172 <div class="block left">
173 <img src="assets/server.svg" />
174 <div class="description">
175 <h3>Privacy</h3>
176 <ul>
177 <li>Power+ does not collect any personal information</li>
178 <li>Power+ gets data directly from Canvas to your computer without being processed by a Power+
179 server or a 3rd party</li>
180 <li>Grades are calculated on-device</li>
181 <li>Prefrences and grade history are stored on-device</li>
182 <li>Power+'s code is open-source and hosted directly from <a
183 href="https://github.com/jottocraft/dtps">GitHub</a></li>
184 </ul>
j4a05c882019-11-14 18:55:54 -0800185 </div>
j4a05c882019-11-14 18:55:54 -0800186 </div>
187
j1f5841d2020-04-17 17:23:42 -0700188 <div class="block left">
189 <img src="assets/content.svg" />
190 <div class="description">
191 <h3>What's new in Power+</h3>
192 <div id="changelog">
193 <p>Getting the latest changes...</p>
194 </div>
195 </div>
j4a05c882019-11-14 18:55:54 -0800196 </div>
j4a05c882019-11-14 18:55:54 -0800197 </div>
198
j1f5841d2020-04-17 17:23:42 -0700199 <br /><br /><br /><br />
200 <div style="text-align: center; padding: 50px 0px;">
201 <img style="height: 45px; margin-right: 20px; vertical-align: middle;"
202 src="https://cdn.jottocraft.com/images/footerImage.png" />
203 <h5 style="display: inline-block; vertical-align: middle;">jottocraft</h5>
204 <p>(c) jottocraft 2018-2020. All rights reserved.&nbsp;&nbsp;<a href="https://github.com/jottocraft/dtps">source
205 code</a>&nbsp;&nbsp;<a href="https://github.com/jottocraft/dtps/blob/master/LICENSE">license</a></p>
j4a05c882019-11-14 18:55:54 -0800206 </div>
j4a05c882019-11-14 18:55:54 -0800207
jb75035f2018-12-22 10:08:06 -0800208</body>
j4a05c882019-11-14 18:55:54 -0800209
j1f5841d2020-04-17 17:23:42 -0700210</html>