Mocking some views
parent
da3a85c631
commit
8dc8a048ae
|
|
@ -6,6 +6,9 @@ __pycache__
|
|||
db.sqlite3
|
||||
media
|
||||
|
||||
.DS_Store
|
||||
.idea/
|
||||
|
||||
static/
|
||||
|
||||
# Backup files #
|
||||
|
|
|
|||
|
|
@ -1,11 +1,23 @@
|
|||
{% load static %}
|
||||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Robot Hands</title>
|
||||
<script src="{% static 'marketing/tailwind.js' %}"></script>
|
||||
</head>
|
||||
<body>
|
||||
<body class="p-4 bg-gray-800">
|
||||
<section class="flex text-white">
|
||||
<nav class="flex">
|
||||
<div class="flex-1 w-[200px] text-center cursor-pointer hover:bg-gray-300 bg-gray-300 text-white rounded-t-lg">Site</div>
|
||||
<div class="flex-1 w-[200px] text-center cursor-pointer hover:bg-gray-300 bg-gray-400 text-gray-500 rounded-t-lg">Dashboard</div>
|
||||
<div class="flex-1 w-[200px] text-center cursor-pointer hover:bg-gray-300 bg-gray-400 text-gray-500 rounded-t-lg">Operations</div>
|
||||
</nav>
|
||||
<div class="ml-auto">
|
||||
<span>{{user}} / <a href="logout">log out</a></span>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bg-gray-300 p-6 rounded-b-lg rounded-e-lg">
|
||||
{% block content %} {% endblock %}
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,40 @@
|
|||
{% extends "datavis/index.html" %} {% block content %}
|
||||
<main>
|
||||
<article>
|
||||
|
||||
<div class="flex gap-6">
|
||||
<section class="flex flex-col justify-center bg-white rounded-md py-2 px-12 text-center *:mx-auto">
|
||||
<div class="text-2xl font-bold">Info</div>
|
||||
<div class="py-6">{{customer.site.name}}</div>
|
||||
<ul class="list-disc">
|
||||
<li>Start Date: 2025-01-01</li>
|
||||
<li>Projected Turning: 2025-01-08</li>
|
||||
<li>Projected End: 2025-01-15</li>
|
||||
</ul>
|
||||
<div class="py-6">Time Elapsed: 7 days</div>
|
||||
<div class="">Measurement Settings:</div>
|
||||
<div class="">Every 8 hours</div>
|
||||
<div class="">10 sites per windrow</div>
|
||||
<div class="">Target temperature: 160F</div>
|
||||
</section>
|
||||
|
||||
<section class="flex flex-col justify-center bg-white rounded-md py-2 px-12 text-center *:mx-auto">
|
||||
<div class="text-2xl font-bold">Windrow Status</div>
|
||||
<div class="py-6">{{customer.site.name}}</div>
|
||||
<ul class="list-disc">
|
||||
<li>Start Date: 2025-01-01</li>
|
||||
<li>Projected Turning: 2025-01-08</li>
|
||||
<li>Projected End: 2025-01-15</li>
|
||||
</ul>
|
||||
<div class="py-6">Time Elapsed: 7 days</div>
|
||||
<div class="">Measurement Settings:</div>
|
||||
<div class="">Every 8 hours</div>
|
||||
<div class="">10 sites per windrow</div>
|
||||
<div class="">Target temperature: 160F</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
<h1 class="text-2xl font-bold">Site - {{customer.site.name}}</h1>
|
||||
|
||||
<section class="flex gap-3">
|
||||
|
|
|
|||
Loading…
Reference in New Issue