{% load static %}
<!DOCTYPE HTML>
<!--
	Stellar by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
	<head>
		<title>HubStation | Accueil</title>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
		<link rel="stylesheet" href="{% static 'hub/main/assets/css/main.css' %}" />
		<link rel="stylesheet" href="{% static 'hub/main/assets/css/bootstrap.min.css' %}">
		<link rel="icon" href="/static/hub/img/okira_logo.png" sizes="32x32" type="image/png">
		<noscript><link rel="stylesheet" href="{% static 'hub/main/assets/css/noscript.css' %}" /></noscript>
		<link rel="preconnect" href="https://fonts.googleapis.com">
		<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
		<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
		<style>
			body *{
				font-family:Poppins,Ubuntu,Corbel,sans-serif;
			}
		</style>
	</head>
	<body class="is-preload">
	
	<div class="py-3" style="position:absolute;">
		<div class="d-md-flex d-none px-2">
			<div style="border-radius:100%;width:50px;height:50px;" class="bg-light pt-3 text-center">
				<i class="fa-2xs fas fa-book text-primary"></i>
			</div>
			<div class="p-3 text-white">
				<span> Documentation </span>
			</div>
		</div>
		<div class="d-md-none d-flex px-2">
			<div style="border-radius:100%;width:40px;height:40px;" class="text-center">
				<i class="fa-2x fas fa-book text-white"></i>
			</div>
			<div class="pt-1 pl-1 text-white"> <small> Documentation </small> </div>
		</div>
	</div>

		<!-- Wrapper -->
			<div id="wrapper">

				<!-- Header -->
					<header style='height:100vh;' id="header" class="alt d-flex flex-column justify-content-center">
						<span class="logo"><img src="{% static 'hub/main/images/fuseum.gif' %}" style="width:100px;height:100px;border-radius:100%;" alt="" /></span>
						{% if SERVER_IP != "127.0.0.1" %}
						<h2 class="text-white">Vous êtes connecté au réseau</h2>
						{% else %}
						<h2 class="text-white">Vous tournez sur votre propre machine</h2>						
						{% endif %}
						<div class="text-center py-2">
							<a href="/station/" style="min-width: 250px;" class="p-3 btn border-light text-light border-primary"> mon Espace de Données </a>
							<!-- <a class="btn text-light"> Eteindre le Serveur </a> -->
						</div>
						
						<div class="text-center py-2">
							<a href="/lm/" style="min-width: 250px;" class="p-3 btn border-light text-light border-primary"> mon IA : HubStation LM </a>
							<!-- <a class="btn text-light"> Eteindre le Serveur </a> -->
						</div>

						<div class='d-flex justify-content-center py-3'>
							<div class='col-lg-6'>
								<div class="card" style="background:none;border:none;">
									<div class="card-content">
										<div class="card-body">
											<table class="table">
												<tr>
													<th> Reseau </th>
													{% if NETWORK_NAME != "" and NETWORK_NAME != None %}
													<td class='text-left text-white'> <b>{{NETWORK_NAME}}</b> </td>
													{% else %}
													<td class='text-left text-white'> <b>Aucun Reseau Selectionné</b> </td>
													{% endif %}
												</tr>
												
												<!--
												<tr>
													<th> Port </th>
													<td class='text-left text-white'> 8000 </td>
												</tr>
												-->
											</table>
										</div>
									</div>
								</div>
							</div>
						</div>
						
						{% if SERVER_IP == "127.0.0.1" %}
						<div class="text-white"> <i class="fas fa-exclamation-triangle"></i> Aucune autre machine ne pourra avoir acces au Reseau </div>
						
						{% endif %}
						
					</header>

				<!-- Nav -->
				<!--
					<nav id="nav">
						<ul>
							<li><a href="#intro" class="active">Introduction</a></li>
							<li><a href="#first">First Section</a></li>
							<li><a href="#second">Second Section</a></li>
							<li><a href="#cta">Get Started</a></li>
						</ul>
					</nav>
				-->
				<!-- Main -->
					<div id="main" class="d-none p-3">

						<!-- Introduction -->
							<section id="intro" class="main">
								<div class="spotlight">
									<div class="content">
										<header class="major">
											<h2>Ipsum sed adipiscing</h2>
										</header>
										<p>Sed lorem ipsum dolor sit amet nullam consequat feugiat consequat magna
										adipiscing magna etiam amet veroeros. Lorem ipsum dolor tempus sit cursus.
										Tempus nisl et nullam lorem ipsum dolor sit amet aliquam.</p>
										<ul class="actions">
											<li><a href="generic.html" class="button">Learn More</a></li>
										</ul>
									</div>
									<span class="image"><img src="images/pic01.jpg" alt="" /></span>
								</div>
							</section>

						<!-- First Section -->
							<section id="first" class="main special">
								<header class="major">
									<h2>Magna veroeros</h2>
								</header>
								<ul class="features">
									<li>
										<span class="icon solid major style1 fa-code"></span>
										<h3>Ipsum consequat</h3>
										<p>Sed lorem amet ipsum dolor et amet nullam consequat a feugiat consequat tempus veroeros sed consequat.</p>
									</li>
									<li>
										<span class="icon major style3 fa-copy"></span>
										<h3>Amed sed feugiat</h3>
										<p>Sed lorem amet ipsum dolor et amet nullam consequat a feugiat consequat tempus veroeros sed consequat.</p>
									</li>
									<li>
										<span class="icon major style5 fa-gem"></span>
										<h3>Dolor nullam</h3>
										<p>Sed lorem amet ipsum dolor et amet nullam consequat a feugiat consequat tempus veroeros sed consequat.</p>
									</li>
								</ul>
								<footer class="major">
									<ul class="actions special">
										<li><a href="generic.html" class="button">Learn More</a></li>
									</ul>
								</footer>
							</section>

						<!-- Second Section -->
							<section id="second" class="main special">
								<header class="major">
									<h2>Ipsum consequat</h2>
									<p>Donec imperdiet consequat consequat. Suspendisse feugiat congue<br />
									posuere. Nulla massa urna, fermentum eget quam aliquet.</p>
								</header>
								<ul class="statistics">
									<li class="style1">
										<span class="icon solid fa-code-branch"></span>
										<strong>5,120</strong> Etiam
									</li>
									<li class="style2">
										<span class="icon fa-folder-open"></span>
										<strong>8,192</strong> Magna
									</li>
									<li class="style3">
										<span class="icon solid fa-signal"></span>
										<strong>2,048</strong> Tempus
									</li>
									<li class="style4">
										<span class="icon solid fa-laptop"></span>
										<strong>4,096</strong> Aliquam
									</li>
									<li class="style5">
										<span class="icon fa-gem"></span>
										<strong>1,024</strong> Nullam
									</li>
								</ul>
								<p class="content">Nam elementum nisl et mi a commodo porttitor. Morbi sit amet nisl eu arcu faucibus hendrerit vel a risus. Nam a orci mi, elementum ac arcu sit amet, fermentum pellentesque et purus. Integer maximus varius lorem, sed convallis diam accumsan sed. Etiam porttitor placerat sapien, sed eleifend a enim pulvinar faucibus semper quis ut arcu. Ut non nisl a mollis est efficitur vestibulum. Integer eget purus nec nulla mattis et accumsan ut magna libero. Morbi auctor iaculis porttitor. Sed ut magna ac risus et hendrerit scelerisque. Praesent eleifend lacus in lectus aliquam porta. Cras eu ornare dui curabitur lacinia.</p>
								<footer class="major">
									<ul class="actions special">
										<li><a href="generic.html" class="button">Learn More</a></li>
									</ul>
								</footer>
							</section>

						<!-- Get Started -->
							<section id="cta" class="main special">
								<header class="major">
									<h2>Congue imperdiet</h2>
									<p>Donec imperdiet consequat consequat. Suspendisse feugiat congue<br />
									posuere. Nulla massa urna, fermentum eget quam aliquet.</p>
								</header>
								<footer class="major">
									<ul class="actions special">
										<li><a href="generic.html" class="button primary">Get Started</a></li>
										<li><a href="generic.html" class="button">Learn More</a></li>
									</ul>
								</footer>
							</section>

					</div>

				<!-- Footer -->
					<footer id="footer" class="d-none">
						<section>
							<h2>Aliquam sed mauris</h2>
							<p>Sed lorem ipsum dolor sit amet et nullam consequat feugiat consequat magna adipiscing tempus etiam dolore veroeros. eget dapibus mauris. Cras aliquet, nisl ut viverra sollicitudin, ligula erat egestas velit, vitae tincidunt odio.</p>
							<ul class="actions">
								<li><a href="generic.html" class="button">Learn More</a></li>
							</ul>
						</section>
						<section>
							<h2>Etiam feugiat</h2>
							<dl class="alt">
								<dt>Address</dt>
								<dd>1234 Somewhere Road &bull; Nashville, TN 00000 &bull; USA</dd>
								<dt>Phone</dt>
								<dd>(000) 000-0000 x 0000</dd>
								<dt>Email</dt>
								<dd><a href="#">information@untitled.tld</a></dd>
							</dl>
							<ul class="icons">
								<li><a href="#" class="icon brands fa-twitter alt"><span class="label">Twitter</span></a></li>
								<li><a href="#" class="icon brands fa-facebook-f alt"><span class="label">Facebook</span></a></li>
								<li><a href="#" class="icon brands fa-instagram alt"><span class="label">Instagram</span></a></li>
								<li><a href="#" class="icon brands fa-github alt"><span class="label">GitHub</span></a></li>
								<li><a href="#" class="icon brands fa-dribbble alt"><span class="label">Dribbble</span></a></li>
							</ul>
						</section>
						<p class="copyright">&copy; Untitled. Design: <a href="https://html5up.net">HTML5 UP</a>.</p>
					</footer>

			</div>

		<!-- Scripts -->
			<script src="{% static 'hub/main/assets/js/jquery.min.js' %}"></script>
			<script src="{% static 'hub/main/assets/js/jquery.scrollex.min.js' %}"></script>
			<script src="{% static 'hub/main/assets/js/jquery.scrolly.min.js' %}"></script>
			<script src="{% static 'hub/main/assets/js/browser.min.js' %}"></script>
			<script src="{% static 'hub/main/assets/js/breakpoints.min.js' %}"></script>
			<script src="{% static 'hub/main/assets/js/util.js' %}"></script>
			<script src="{% static 'hub/main/assets/js/main.js' %}"></script>

	</body>
</html>
