]> littlesong.place Git - littlesongplace.git/commitdiff
Update image names to prevent using old cached versions
authorChris Fulljames <christianfulljames@gmail.com>
Sat, 1 Feb 2025 15:28:41 +0000 (10:28 -0500)
committerChris Fulljames <christianfulljames@gmail.com>
Sat, 1 Feb 2025 15:29:58 +0000 (10:29 -0500)
12 files changed:
static/littlesongplace02.gif [moved from static/littlesongplace01.gif with 100% similarity]
static/lsp_btn_delete02.gif [moved from static/lsp_btn_delete.gif with 100% similarity]
static/lsp_btn_edit02.gif [moved from static/lsp_btn_edit.gif with 100% similarity]
static/lsp_btn_hide02.gif [moved from static/lsp_btn_hide.gif with 100% similarity]
static/lsp_btn_next02.gif [moved from static/lsp_btn_next.gif with 100% similarity]
static/lsp_btn_pause02.gif [moved from static/lsp_btn_pause.gif with 100% similarity]
static/lsp_btn_play02.gif [moved from static/lsp_btn_play.gif with 100% similarity]
static/lsp_btn_prev02.gif [moved from static/lsp_btn_prev.gif with 100% similarity]
static/lsp_btn_show02.gif [moved from static/lsp_btn_show.gif with 100% similarity]
static/player.js
templates/base.html
templates/song-list.html

index f34db0b354338590e9730dc1456a11264db8f1c8..81e2d0ed38eb6cfaae3586b82d3457cad6f5ea8b 100644 (file)
@@ -181,12 +181,12 @@ document.addEventListener("DOMContentLoaded", (event) => {
     // Show pause button when audio is playing
     var button = document.getElementById("play-pause-button");
     audio.addEventListener("play", (event) => {
-        button.src = "/static/lsp_btn_pause.gif";
+        button.src = "/static/lsp_btn_pause02.gif";
     })
 
     // Show play button when audio is paused
     audio.addEventListener("pause", (event) => {
-        button.src = "/static/lsp_btn_play.gif";
+        button.src = "/static/lsp_btn_play02.gif";
     })
 
     // Audio position scrubbing
index 33c51ad4a82950be22b39e2c49af6ac59a17911e..070fa60a1deefedbb80931a4afa82657a11be572 100644 (file)
@@ -14,7 +14,7 @@
 
         <div class="page-header">
             <div style="text-align: center;">
-                <img src="/static/littlesongplace01.gif" class="title-image">
+                <img src="/static/littlesongplace02.gif" class="title-image">
             </div>
             <!-- Navbar -->
             <div class="navbar">
                 </div>
                 <div class="player-controls">
                     <button onclick="songPrevious()" class="player-button">
-                        <img src="/static/lsp_btn_prev.gif" alt="Previous">
+                        <img src="/static/lsp_btn_prev02.gif" alt="Previous">
                     </button>
                     <button onclick="songPlayPause()" class="player-button">
-                        <img src="/static/lsp_btn_pause.gif" alt="Play" id="play-pause-button">
+                        <img src="/static/lsp_btn_pause02.gif" alt="Play" id="play-pause-button">
                     </button>
                     <button onclick="songNext()" class="player-button">
-                        <img src="/static/lsp_btn_next.gif" alt="Next">
+                        <img src="/static/lsp_btn_next02.gif" alt="Next">
                     </button>
                     <div id="player-position">
                         <span id="player-position-bar"></span>
index 6b6b98c039b792aca88a7600188275f0993221b8..12867ac66b9ee7f8a6da51571b07c5f8dd9e5d70 100644 (file)
                 <!-- Owner-Specific Buttons (Edit/Delete) -->
                 {% if session["userid"] == song.userid %}
                 <a href="/edit-song?songid={{ song.songid }}" class="song-list-button">
-                    <img src="/static/lsp_btn_edit.gif" alt="Edit">
+                    <img src="/static/lsp_btn_edit02.gif" alt="Edit">
                 </a>
                 <a href="/delete-song/{{ song.songid }}" onclick="return confirm(&#34;Are you sure you want to delete this song?&#34;)" class="song-list-button">
-                    <img src="/static/lsp_btn_delete.gif" alt="Delete">
+                    <img src="/static/lsp_btn_delete02.gif" alt="Delete">
                 </a>
                 {% endif %}
 
                 <!-- Details Button -->
                 <button onclick="return showDetails(event)" class="song-list-button">
-                    <img src="/static/lsp_btn_show.gif" alt="Show Details">
+                    <img src="/static/lsp_btn_show02.gif" alt="Show Details">
                 </button>
 
                 <!-- Play Button -->
                 <button onclick="return play(event)" class="song-list-button">
-                    <img src="/static/lsp_btn_play.gif" alt="Play">
+                    <img src="/static/lsp_btn_play02.gif" alt="Play">
                 </button>
             </div>
         </div>
@@ -156,13 +156,13 @@ function showDetails(event) {
                 // Show details
                 child.hidden = false;
                 event.target.alt = "Hide Details";
-                event.target.src = "/static/lsp_btn_hide.gif";
+                event.target.src = "/static/lsp_btn_hide02.gif";
             }
             else {
                 // Hide details
                 child.hidden = true;
                 event.target.alt = "Show Details";
-                event.target.src = "/static/lsp_btn_show.gif";
+                event.target.src = "/static/lsp_btn_show02.gif";
             }
         }
     }