Redmind_GPT_API / sidepane.html
Redmind's picture
Upload sidepane.html
f66fc5e verified
raw
history blame
4.41 kB
<!-- sidepane.html -->
<!-- This file represents the sidepane component of a web application. It contains the navigation menu and sidebar. -->
<nav class="main-header navbar navbar-expand navbar-white navbar-light" style="text-align: center;margin-left: 100px;">
<div class="container-fluid d-flex justify-content-center align-items-center">
<img src="/static/img/redmindlogo3.jpg" alt="Logo" style="width: 80px; height: auto; margin-right: 10px;">
<h3 style="text-align: center; margin-bottom: 0;">Redmind GPT - {{title}}</h3>
<button class="btn btn-primary" style="position: absolute; top: 30px;right:10px;" onclick="logout()">Logout</button>
</div>
<!-- Left navbar links -->
<!-- <ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
</li>
</ul> -->
</nav>
<!-- Main Sidebar Container -->
<aside class="main-sidebar sidebar-dark-primary elevation-4" style="width: 200px; position: fixed; top: 0; left: 0; height: 100vh; overflow: hidden;">
<!-- Sidebar -->
<div class="sidebar">
<!-- Sidebar Menu -->
<nav class="mt-2">
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
<!-- Navigation Links -->
<li class="nav-item">
<a href="{{url_for('dashboard')}}" class="nav-link">
<i class="nav-icon fas fa-home"></i>
<p>Dashboard</p>
</a>
</li>
<li class="nav-item">
<a href="{{ url_for('company_profile') }}" class="nav-link">
<i class="nav-icon fas fa-users"></i>
<p>Company Profile</p>
</a>
</li>
<li class="nav-item">
<a href="{{ url_for('knowledgebase') }}" class="nav-link">
<i class="nav-icon fas fa-cogs"></i>
<p>KnowledgeBase</p>
</a>
</li>
<li class="nav-item">
<a href="{{ url_for('data_connectors') }}" class="nav-link">
<i class="nav-icon fas fa-cogs"></i>
<p>Data Connectors</p>
</a>
</li>
<li class="nav-item">
<a href="{{ url_for('API_connectors') }}" class="nav-link">
<i class="nav-icon fas fa-cogs"></i>
<p>API Connectors</p>
</a>
</li>
<li class="nav-item">
<a href="{{url_for('prompt_template')}}" class="nav-link">
<i class="nav-icon fas fa-cogs"></i>
<p>Prompt Templates</p>
</a>
</li>
<!--<li class="nav-item">
<a href="#" class="nav-link">
<i class="nav-icon fas fa-cogs"></i>
<p>LLM Settings</p>
</a>
<ul class="nav nav-treeview">
<li class="nav-item">
<a href="#" class="nav-link">
<i class="far fa-circle nav-icon"></i>
<p>Sublink 1</p>
</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">
<i class="far fa-circle nav-icon"></i>
<p>Sublink 2</p>
</a>
</li>
</ul>
</li> -->
<!-- Add more navigation links here -->
</ul>
</nav>
<!-- /.sidebar-menu -->
</div>
<!-- /.sidebar -->
</aside>
<!-- AdminLTE JS -->
<script >
function logout() {
// Clear session storage
sessionStorage.clear();
// Redirect to the login page
window.location.href = '/';
}
</script>