aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCiaran Gallagher <[email protected]>2020-03-26 17:09:06 +0000
committerCiaran Gallagher <[email protected]>2020-03-26 17:09:06 +0000
commit5b7c52981e4c19603f74131e6ae88c2a98d3bc2c (patch)
treeaca985bda1a0b4aaedc76deceb55bff2e11925a2
parent6c071ebc2640cfb701d2104164858924835f064f (diff)
downloadpasta-5b7c52981e4c19603f74131e6ae88c2a98d3bc2c.tar.gz
pasta-5b7c52981e4c19603f74131e6ae88c2a98d3bc2c.zip
minor changes and tooltips
-rw-r--r--index.html6
-rw-r--r--js/main.js3
2 files changed, 6 insertions, 3 deletions
diff --git a/index.html b/index.html
index 281914a..47a14d5 100644
--- a/index.html
+++ b/index.html
@@ -48,10 +48,10 @@
<!-- Navigation -->
<nav class="titleNavBar navbar navbar-expand-lg navbar-dark static-top">
<div class="container">
- <a class="navbar-brand" href="javascript:window.location.reload()">
+ <a id="titleLogo" class="navbar-brand" href="javascript:window.location.reload()" data-toggle="tooltip" data-placement="bottom" title="Home">
<img class="titleImage" src="images/Logo_Title_Large.png">
</a>
- <a href="javascript:void(0)" onclick="$('#aboutModal').modal();">
+ <a id="helpAboutIcon" href="javascript:void(0)" onclick="$('#aboutModal').modal();" data-toggle="tooltip" data-placement="bottom" title="Help & About">
<i class="far fa-question-circle" style="color: #e5a00d; font-size: 1.5em"></i>
</a>
</div>
@@ -72,7 +72,7 @@
<h3>What is PASTA?</h3>
<p>Do you watch TV Shows with multiple languages and subtitles and wish you could change them for the
entire show, rather than needing to do it for <em>every. single. episode</em>?
- Or maybe you aren't sure what the difference is between those 2 <strong>Enlish (SRT)</strong> and
+ Or maybe you aren't sure what the difference is between those 2 <strong>English (SRT)</strong> and
<strong>English (SRT)</strong> subtitle files. Then PASTA is for you!
<br>PASTA allows you to connect to your Plex server and view more details about the audio tracks and
subtitles, as well as set the tracks and subtitles
diff --git a/js/main.js b/js/main.js
index 16e0492..ff9185e 100644
--- a/js/main.js
+++ b/js/main.js
@@ -7,6 +7,9 @@ var seasonId = ""; // Store the Id of the most recently clicked season
var episodeId = ""; // Stores the Id of the most recently clicked episode
$(document).ready(() => {
+ // Enable Tooltips
+ $('#helpAboutIcon, #titleLogo').tooltip();
+
// Check if the page was loaded locally or over http and warn them about the value of https
if ((location.protocol == "http:") || (location.protocol == "file:")) {
$("#insecureWarning").show();