| j | b75035f | 2018-12-22 10:08:06 -0800 | [diff] [blame] | 1 | <!DOCTYPE html> |
| j | c2f417a | 2019-02-16 20:02:51 -0800 | [diff] [blame] | 2 | <html lang="en"> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 3 | |
| j | b75035f | 2018-12-22 10:08:06 -0800 | [diff] [blame] | 4 | <head> |
| j | c2f417a | 2019-02-16 20:02:51 -0800 | [diff] [blame] | 5 | |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 6 | <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> |
| j | b75035f | 2018-12-22 10:08:06 -0800 | [diff] [blame] | 117 | </head> |
| j | c2f417a | 2019-02-16 20:02:51 -0800 | [diff] [blame] | 118 | |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 119 | |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 120 | <body> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 121 | |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 122 | <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> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 133 | |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 134 | <div id="header"> |
| 135 | <div class="content"> |
| 136 | <div class="title"> |
| 137 | <img src="https://powerplus.app/outline.png" /> |
| 138 | <h1>Power+</h1> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 139 | </div> |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 140 | <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> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 149 | </div> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 150 | </div> |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 151 | </div> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 152 | |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 153 | <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> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 161 | </div> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 162 | |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 163 | <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> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 169 | </div> |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 170 | </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> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 185 | </div> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 186 | </div> |
| 187 | |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 188 | <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> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 196 | </div> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 197 | </div> |
| 198 | |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 199 | <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. <a href="https://github.com/jottocraft/dtps">source |
| 205 | code</a> <a href="https://github.com/jottocraft/dtps/blob/master/LICENSE">license</a></p> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 206 | </div> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 207 | |
| j | b75035f | 2018-12-22 10:08:06 -0800 | [diff] [blame] | 208 | </body> |
| j | 4a05c88 | 2019-11-14 18:55:54 -0800 | [diff] [blame] | 209 | |
| j | 1f5841d | 2020-04-17 17:23:42 -0700 | [diff] [blame] | 210 | </html> |