-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb1ed59
commit 34e62b2
Showing
35 changed files
with
165 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ | |
|
||
# custom apps | ||
'assets_manage', | ||
'maintain', | ||
] | ||
|
||
MIDDLEWARE = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.contrib import admin | ||
|
||
# Register your models here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class MaintainConfig(AppConfig): | ||
default_auto_field = 'django.db.models.BigAutoField' | ||
name = 'maintain' |
Empty file.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.db import models | ||
|
||
# Create your models here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.view_list{ | ||
text-decoration: none; | ||
border: 1px solid grey; | ||
padding: 5px 10px; | ||
background-color: white; | ||
border-radius: 5px; | ||
color: #236aa9; | ||
font-weight: 600; | ||
} | ||
.view_list:hover{ | ||
background-color: #236aa9; | ||
color: white; | ||
} | ||
.vehicle_para{ | ||
padding: 20px; | ||
} | ||
.vehicle_para_img{ | ||
display: flex; | ||
justify-content: right; | ||
align-items: baseline; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{% extends 'maintain/partial/base.html' %} | ||
{% load static %} | ||
{% block index %} | ||
|
||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<div class="vehicle_para"> | ||
<h3>Automated Reminders</h3> | ||
<p>Set up automated reminders for routine maintenance tasks. Schedule periodic checks and alerts to ensure timely maintenance.</p> | ||
<a class="view_list" href="">View Reminders</a> | ||
</div> | ||
</div> | ||
<div class="col-md-6 vehicle_para_img p-0" style="justify-content: center;"> | ||
<img height="200px" src="../../../static/maintain/image/mail.svg" alt=""> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-6 vehicle_para_img p-0" style="justify-content: center;"> | ||
<img height="200px" src="../../../static/maintain/image/repair.svg" alt=""> | ||
</div> | ||
<div class="col-md-6"> | ||
<div class="vehicle_para"> | ||
<h3>Log Repair Activities</h3> | ||
<p>Track all repair activities including costs and downtime.Maintain records of repairs to monitor asset performance and costs.</p> | ||
<a class="view_list" href="">View Activities</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<div class="vehicle_para"> | ||
<h3>Maintain Service History</h3> | ||
<p>Keep a detailed history of all maintenance and repairs performed on each asset.Access historical data for analysis and decision-making.</p> | ||
<a class="view_list" href="">View History</a> | ||
</div> | ||
</div> | ||
<div class="col-md-6 vehicle_para_img p-0" style="justify-content: center;"> | ||
<img height="170px" src="../../../static/maintain/image/history.svg" alt=""> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-6 vehicle_para_img p-0" style="justify-content: center;"> | ||
<img height="170px" src="../../../static/maintain/image/manage.svg" alt=""> | ||
</div> | ||
<div class="col-md-6"> | ||
<div class="vehicle_para"> | ||
<h3>Manage Inventory</h3> | ||
<p>Track and manage inventory of equipment and parts.Monitor stock levels and manage orders to ensure availability.</p> | ||
<a class="view_list" href="">View Inventory</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% endblock index %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% load static %} | ||
<!-- maintain js --> | ||
<script src="{% static 'maintain/js/maintain.js' %}"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% load static %} | ||
<!-- maintain css --> | ||
<link rel="stylesheet" href="{% static 'maintain/css/maintain.css' %}"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% extends 'core/partial/main-base.html' %} | ||
{% load static %} | ||
|
||
{% block appstyling %} | ||
{% include 'maintain/elements/style.html' %} | ||
{% endblock appstyling %} | ||
|
||
{% block mainapp %} | ||
{% block index %} | ||
{% endblock index %} | ||
{% endblock mainapp %} | ||
|
||
{% block appscripting %} | ||
{% include 'maintain/elements/script.html' %} | ||
{% endblock appscripting %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.test import TestCase | ||
|
||
# Create your tests here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from django.urls import path | ||
from maintain import views | ||
|
||
app_name='maintain' | ||
|
||
urlpatterns=[ | ||
path('',views.maintain,name='maintain'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from django.shortcuts import render | ||
|
||
def maintain(request): | ||
context={ | ||
|
||
} | ||
return render(request,'maintain/app/maintain.html',context) |