Neroml / Templates /layout.html
deedrop1140's picture
Upload 69 files
6491927 verified
<!DOCTYPE html>
<html>
<head>
<title>NeuroML</title>
<style>
/* Apply border-box globally for consistent box model behavior */
*, *::before, *::after {
box-sizing: border-box;
}
/* Ensure html and body take full viewport height and prevent horizontal overflow */
html, body {
margin: 0;
font-family: Arial;
height: 100%; /* Make html and body take full height */
overflow-x: hidden; /* Prevent horizontal scrollbar if content slightly overflows */
}
.sidebar {
width: 200px;
background-color: #1e1e2f;
color: white;
padding: 20px;
height: 100vh; /* Use viewport height */
position: fixed;
left: 0;
top: 0;
z-index: 1000;
overflow-y: auto; /* Make it scrollable */
}
.sidebar h2 {
margin-top: 0; /* Remove default top margin for heading */
margin-bottom: 20px;
color: #7B68EE; /* A nice purple for the heading */
}
.sidebar a {
display: block;
color: white;
padding: 10px 0;
text-decoration: none;
border-radius: 5px; /* Slightly rounded links */
padding-left: 10px; /* Indent link text for visual appeal */
transition: background-color 0.3s ease; /* Smooth hover transition */
}
.sidebar a:hover {
background-color: #5757a3;
}
.main {
/* This margin creates space for the fixed sidebar.
200px (sidebar width) + 20px (desired gap) = 220px */
margin-left: 220px;
padding: 20px;
/* Flex-grow not strictly needed without display: flex on body,
but good to keep if you reintroduce flex for other reasons. */
flex-grow: 1;
/* Ensures main content takes up remaining width without causing horizontal scroll */
width: calc(100% - 220px);
}
</style>
</head>
<body>
<div class="sidebar">
<h2>NeuroML</h2>
<a href="/">๐Ÿ  Home</a>
<a href="/supervised">๐Ÿ“ˆ Supervised</a>
<a href="/polynomial" class="block px-6 py-2 hover:bg-blue-100">๐Ÿ”ธ Polynomial Regression</a>
<a href="/random_forest" class="hover:text-green-700">๐ŸŒฒ Random Forest Regressor</a>
<a href="/lasso" class="hover:text-blue-600">๐Ÿชข Lasso Regression</a>
<a href="/ridge" class="text-blue-600 font-medium hover:underline">
๐Ÿงฎ Ridge Regression
</a>
<a href="/svr" class="text-blue-600 font-medium hover:underline">
โš™๏ธ Support Vector Regression
</a>
<a href="/logistic" class="text-yellow-600 font-medium hover:underline">
๐Ÿ“จ Logistic Regression
</a>
<a href="/knn" class="text-indigo-600 font-medium hover:underline">
๐Ÿ”ข KNN Digit Classifier
</a>
<a href="/rfc" class="block px-4 py-2 text-sm font-medium text-green-700 hover:bg-green-100 rounded">
๐ŸŒฒ Random Forest Classifier
</a>
<a href="/svm" class="block px-4 py-2 text-sm font-medium text-purple-700 hover:bg-purple-100 rounded">
โš–๏ธ Support Vector Machine (SVM)
</a>
<a href="/decision_tree" class="block px-4 py-2 text-sm font-medium text-purple-700 hover:bg-purple-100 rounded">
Decision Tree
</a>
<a href="/naive_bayes" class="block px-4 py-2 text-sm font-medium text-purple-700 hover:bg-purple-100 rounded">
Naive Bayes
</a>
<a href="/kmeans-clustering">๐Ÿ‘ฅ Kmeans-Clustering</a>
<a href="/DBscan" class="block px-4 py-2 text-sm font-medium text-purple-700 hover:bg-purple-100 rounded">
DBSCAN Clustering
</a>
</div>
<div class="main">
{% block content %}{% endblock %}
</div>
</body>
</html>