new Power+ (dev) website
diff --git a/www/index.html b/www/index.html
index 7bfaa0c..ee8f8b1 100644
--- a/www/index.html
+++ b/www/index.html
@@ -28,7 +28,7 @@
<style>
/* Header */
- #header {
+ #header, #devHeader {
color: var(--elementText);
padding: 100px;
padding-bottom: 120px;
@@ -36,7 +36,7 @@
text-align: center;
}
- #header h1 {
+ #header h1, #devHeader h1 {
display: inline-block;
vertical-align: middle;
}
@@ -47,10 +47,14 @@
margin-right: 22px;
}
- #header .title {
+ #header .title, #devHeader .title {
margin-bottom: 40px;
}
+ #devHeader {
+ margin-bottom: 0px;
+ }
+
/* Content Blocks */
.block {
overflow: hidden;
@@ -125,8 +129,9 @@
$("#dtpsInstallBtn").attr("onclick", "window.location.href = 'https://powerplus.app/firefox.xpi';");
}
}
- if (window.location.host == "dev.dtps.jottocraft.com") {
- $("#devContainer").show();
+ if ((window.location.host == "dev.dtps.jottocraft.com") || (window.location.host == "localhost:2750")) {
+ $("#devContainer, #devHeader").show();
+ $("#header").hide();
}
})
</script>
@@ -149,30 +154,41 @@
</div>
</div>
+ <div id="devHeader" style="display: none;">
+ <div class="content">
+ <div class="title">
+ <img src="/icon.svg" />
+ <h1>Power+ (dev)</h1>
+ </div>
+ <div class="row">
+ <button
+ onclick="fluid.alert('Send Feedback', 'Email [email protected] to send feedback about Power+ (dev)', 'email')"
+ class="btn"><i class="material-icons">feedback</i> Send Feedback</button>
+ <button
+ onclick="window.location.href = 'https://github.com/jottocraft/dtps/issues/new';"
+ class="btn"><i class="material-icons">bug_report</i> Report a bug</button>
+ <button
+ onclick="window.location.href = '/docs';"
+ class="btn outline"><i class="material-icons">article</i> Documentation</button>
+ <button class="btn outline" onclick="window.location.href = 'https://github.com/jottocraft/dtps/tree/dev';"><i
+ class="material-icons">code</i> Source code</button>
+ </div>
+ </div>
+ </div>
+
<div class="container">
<div id="devContainer" style="display: none;">
- <div style="background: var(--elements); padding: 40px; border-radius: var(--cardRadius);" class="block left">
+ <div style="background: var(--elements); padding: 40px; border-radius: var(--cardRadius);"
+ class="block left">
<img src="assets/dev.svg" />
<div class="description">
- <h3>Power+ (dev)</h3>
- <p>This website contains the latest development version of Power+ before it is released. The dev
- version
- of Power+ is often untested and can contain major bugs. Follow the steps below to get started
- with
- Power+ (dev).</p>
- <ol>
- <li>Open Power+ and navigate to Settings -> About -> Advanced Options, then click on "Test
- prerelease versions"</li>
- <li>Once prerelease versions have been enabled, go to Settings -> Prerelease testing and select
- "Dev"</li>
- <li>Reload Power+ to load the dev version. You'll see a banner near the top of the screen
- warning
- you about using an unstable version of Power+.
- <br /><br />
- You can switch back to the stable version of Power+ at any time by going to Settings ->
- Prerelease testing and selecting "Production".
- </li>
- </ol>
+ <h3>Development Status</h3>
+ <p>Active feature development - v3.1.0 (scheduled for stable release in January 2021)</p>
+ <span>To start using the dev version of Power+, visit Settings -> About -> Advanced Options and
+ select "Test prerelease versions". Then, navigate to Settings -> Prerelease testing and select
+ "Dev". Once you've done that, just reload Power+ to load the dev version. Keep in mind that the
+ dev version uses the latest, often untested, code and can completely break. Use the dev version
+ at your own risk.</span>
</div>
</div>
</div>
@@ -203,7 +219,7 @@
<li>Power+ does not collect any personal information</li>
<li>Power+ gets data directly from Canvas to your computer without being processed by a Power+
server or a 3rd party</li>
- <li>Grades are calculated on-device</li>
+ <li>CBL Grades are calculated on-device</li>
<li>Prefrences and grade history are stored on-device</li>
<li>Power+'s code is open-source and hosted directly from <a
href="https://github.com/jottocraft/dtps">GitHub</a></li>