Test / app /templates /reflectiveandunderstand.html
adarshadda's picture
initial commit
b0dd51d
raw
history blame
2.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Music Player</title>
<!-- Load FontAwesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
<!-- Load the custom CSS style file -->
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<div class="content">
<div class="left-content">
<h1 id="emotion-info"></h1>
<p class="perfect-size typing-effect-1"><strong>Predicted Text:</strong> {{ text }}</p>
<p class="perfect-size typing-effect-2"><strong>Predicted Emotion:</strong> {{ emotion }}</p>
<br>
</div>
<div class="middle-content">
<div class="player">
<div class="middle-content"> <!-- Replacing details with middle-content -->
<div class="now-playing">PLAYING x OF y</div>
<div class="track-art"></div>
<div class="track-name">Track Name</div>
<div class="track-artist">Track Artist</div>
</div>
<div class="buttons">
<div class="prev-track" onclick="prevTrack()"><i class="fa fa-step-backward fa-2x"></i></div>
<div class="playpause-track" onclick="playpauseTrack()"><i class="fa fa-play-circle fa-5x"></i></div>
<div class="next-track" onclick="nextTrack()"><i class="fa fa-step-forward fa-2x"></i></div>
</div>
<div class="slider_container">
<div class="current-time">00:00</div>
<input type="range" min="1" max="100" value="0" class="seek_slider" onchange="seekTo()">
<div class="total-duration">00:00</div>
</div>
<div class="slider_container">
<i class="fa fa-volume-down"></i>
<input type="range" min="1" max="100" value="99" class="volume_slider" onchange="setVolume()">
<i class="fa fa-volume-up"></i>
</div>
</div>
</div>
<div class="right-content">
<h1 class="emotion-heading typing-animation">{{ emotionInfo.heading }}</h1>
<p class="typing-animation">{{ emotionInfo.info }}</p>
</div>
</div>
<!-- Load the main script for the player -->
<script src="{{ url_for('static', filename='reflective.js') }}"></script>
</body>
</html>