diff --git a/__pycache__/dashboard.cpython-310.pyc b/__pycache__/dashboard.cpython-310.pyc index 85375b1..8420058 100644 Binary files a/__pycache__/dashboard.cpython-310.pyc and b/__pycache__/dashboard.cpython-310.pyc differ diff --git a/dashboard_static/index.html b/dashboard_static/index.html index c87c293..6366f2b 100644 --- a/dashboard_static/index.html +++ b/dashboard_static/index.html @@ -113,6 +113,7 @@ arrow_downward + pause
diff --git a/dashboard_static/js/events.js b/dashboard_static/js/events.js index 8c5f63e..38d19c0 100644 --- a/dashboard_static/js/events.js +++ b/dashboard_static/js/events.js @@ -126,4 +126,12 @@ function updateSort(sort){ filters.sorted = sort; $(window).trigger("filter"); showFeeds() -} \ No newline at end of file +} + +$(".pause-btn").on("click", function() { + if($(".pause-btn").html() == "pause") { // Unpaused to paused + $(".pause-btn").html("play_arrow") + } else { // Paused to unpaused + $(".pause-btn").html("pause") + } +}) \ No newline at end of file diff --git a/dashboard_static/style/style.css b/dashboard_static/style/style.css index af837df..b17f7e1 100644 --- a/dashboard_static/style/style.css +++ b/dashboard_static/style/style.css @@ -325,3 +325,9 @@ body { .current-sort { line-height: 36px; } + +.material-symbols-outlined.pause-btn { + line-height: 52px; + font-weight: 600; + user-select: none; +} \ No newline at end of file