|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>{{ model_name }}</title> |
|
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.1.3/css/bootstrap.min.css"> |
|
|
|
<style> |
|
body { |
|
background-color: #f8f9fa; |
|
font-family: 'Arial', sans-serif; |
|
} |
|
.container { |
|
max-width: 1200px; |
|
margin: auto; |
|
padding: 20px; |
|
background: #fff; |
|
border-radius: 8px; |
|
box-shadow: 0 4px 8px rgba(0,0,0,0.1); |
|
} |
|
h1 { |
|
color: #333; |
|
text-align: center; |
|
} |
|
.model-name { |
|
font-size: 24px; |
|
font-weight: bold; |
|
text-align: center; |
|
margin-top: 40px; |
|
margin-bottom: 40px; |
|
padding: 20px; |
|
background-color: #610b5d; |
|
color: #fff; |
|
border-radius: 15px; |
|
} |
|
.back-button { |
|
text-align: center; |
|
margin-top: 20px; |
|
} |
|
.image-section { |
|
text-align: center; |
|
margin-top: 40px; |
|
} |
|
.image-section h2 { |
|
font-size: 30px; |
|
margin-bottom: 20px; |
|
} |
|
.image-container { |
|
width: 100%; |
|
margin-bottom: 40px; |
|
} |
|
.image-container img { |
|
max-width: 100%; |
|
height: auto; |
|
display: block; |
|
margin: auto; |
|
border: 1px solid #dee2e6; |
|
border-radius: 8px; |
|
box-shadow: 0 4px 8px rgba(0,0,0,0.1); |
|
} |
|
.custom-button { |
|
background-color: #610b5d; |
|
color: #fff; |
|
border-radius: 15px; |
|
padding: 10px 20px; |
|
font-size: 18px; |
|
text-decoration: none; |
|
} |
|
.custom-button:hover { |
|
background-color: #812b7d; |
|
color: #fff; |
|
} |
|
</style> |
|
</head> |
|
<body> |
|
<div class="container"> |
|
<h1 class="mt-5">Stick To Your Role! Leaderboard</h1> |
|
<div class="model-name">{{ model_name }}</div> |
|
<div class="image-section"> |
|
<h2>Structure</h2> |
|
<p>This image shows .....</p> |
|
<div class="image-container"> |
|
<a href="{{ url_for('static', filename='figures/' + model_name + '/structure.svg') }}" target="_blank"> |
|
<img src="{{ url_for('static', filename='figures/' + model_name + '/structure.svg') }}" alt="Structure"> |
|
</a> |
|
</div> |
|
</div> |
|
<div class="image-section"> |
|
<h2>Ranks</h2> |
|
<p>This image shows .....</p> |
|
<div class="image-container"> |
|
<a href="{{ url_for('static', filename='figures/' + model_name + '/ranks.svg') }}" target="_blank"> |
|
<img src="{{ url_for('static', filename='figures/' + model_name + '/ranks.svg') }}" alt="Ranks"> |
|
</a> |
|
</div> |
|
</div> |
|
<div class="back-button"> |
|
<a href="{{ url_for('index') }}" class="custom-button mt-3">Back</a> |
|
</div> |
|
</div> |
|
|
|
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.1.3/js/bootstrap.bundle.min.js"></script> |
|
</body> |
|
</html> |
|
|