File size: 3,651 Bytes
6491927 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | <!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>
|