Skip to content

Commit 15761f9

Browse files
Templete 3 complete
1 parent fdeebed commit 15761f9

File tree

6 files changed

+231
-309
lines changed

6 files changed

+231
-309
lines changed

Templates_III_ Integrando_Platntilla_adminLT3/core/erp/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def myfirstView(request):
1010
'categories': Category.objects.all()
1111

1212
}
13-
return render(request, 'index.html', data)
13+
return render(request, 'home.html', data)
1414

1515
def mysecondView(request):
1616

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- Main Footer -->
2+
<footer class="main-footer">
3+
<!-- To the right -->
4+
<div class="float-right d-none d-sm-inline">
5+
Anything you want
6+
</div>
7+
<!-- Default to the left -->
8+
<strong>Copyright &copy; 2014-2020 <a href="https://adminlte.io">AdminLTE.io</a>.</strong> All rights reserved.
9+
</footer>
Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
{% load static %}
2+
<!-- Navbar -->
3+
<nav class="main-header navbar navbar-expand-md navbar-light navbar-white">
4+
<div class="container">
5+
<a href="../../index3.html" class="navbar-brand">
6+
<img src="{% static 'lib/adminlte-3.1.0/img/AdminLTELogo.png' %}" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
7+
<span class="brand-text font-weight-light">AdminLTE 3</span>
8+
</a>
9+
10+
<button class="navbar-toggler order-1" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
11+
<span class="navbar-toggler-icon"></span>
12+
</button>
13+
14+
<div class="collapse navbar-collapse order-3" id="navbarCollapse">
15+
<!-- Left navbar links -->
16+
<ul class="navbar-nav">
17+
<li class="nav-item">
18+
<a href="index3.html" class="nav-link">Home</a>
19+
</li>
20+
<li class="nav-item">
21+
<a href="#" class="nav-link">Contact</a>
22+
</li>
23+
<li class="nav-item dropdown">
24+
<a id="dropdownSubMenu1" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="nav-link dropdown-toggle">Dropdown</a>
25+
<ul aria-labelledby="dropdownSubMenu1" class="dropdown-menu border-0 shadow">
26+
<li><a href="#" class="dropdown-item">Some action </a></li>
27+
<li><a href="#" class="dropdown-item">Some other action</a></li>
28+
29+
<li class="dropdown-divider"></li>
30+
31+
<!-- Level two dropdown-->
32+
<li class="dropdown-submenu dropdown-hover">
33+
<a id="dropdownSubMenu2" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="dropdown-item dropdown-toggle">Hover for action</a>
34+
<ul aria-labelledby="dropdownSubMenu2" class="dropdown-menu border-0 shadow">
35+
<li>
36+
<a tabindex="-1" href="#" class="dropdown-item">level 2</a>
37+
</li>
38+
39+
<!-- Level three dropdown-->
40+
<li class="dropdown-submenu">
41+
<a id="dropdownSubMenu3" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="dropdown-item dropdown-toggle">level 2</a>
42+
<ul aria-labelledby="dropdownSubMenu3" class="dropdown-menu border-0 shadow">
43+
<li><a href="#" class="dropdown-item">3rd level</a></li>
44+
<li><a href="#" class="dropdown-item">3rd level</a></li>
45+
</ul>
46+
</li>
47+
<!-- End Level three -->
48+
49+
<li><a href="#" class="dropdown-item">level 2</a></li>
50+
<li><a href="#" class="dropdown-item">level 2</a></li>
51+
</ul>
52+
</li>
53+
<!-- End Level two -->
54+
</ul>
55+
</li>
56+
</ul>
57+
58+
<!-- SEARCH FORM -->
59+
<form class="form-inline ml-0 ml-md-3">
60+
<div class="input-group input-group-sm">
61+
<input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">
62+
<div class="input-group-append">
63+
<button class="btn btn-navbar" type="submit">
64+
<i class="fas fa-search"></i>
65+
</button>
66+
</div>
67+
</div>
68+
</form>
69+
</div>
70+
71+
<!-- Right navbar links -->
72+
<ul class="order-1 order-md-3 navbar-nav navbar-no-expand ml-auto">
73+
<!-- Messages Dropdown Menu -->
74+
<li class="nav-item dropdown">
75+
<a class="nav-link" data-toggle="dropdown" href="#">
76+
<i class="fas fa-comments"></i>
77+
<span class="badge badge-danger navbar-badge">3</span>
78+
</a>
79+
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
80+
<a href="#" class="dropdown-item">
81+
<!-- Message Start -->
82+
<div class="media">
83+
<img src=" {% static 'lib/adminlte-3.1.0/img/user1-128x128.jpg' %}" alt="User Avatar" class="img-size-50 mr-3 img-circle">
84+
<div class="media-body">
85+
<h3 class="dropdown-item-title">
86+
Brad Diesel
87+
<span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span>
88+
</h3>
89+
<p class="text-sm">Call me whenever you can...</p>
90+
<p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
91+
</div>
92+
</div>
93+
<!-- Message End -->
94+
</a>
95+
<div class="dropdown-divider"></div>
96+
<a href="#" class="dropdown-item">
97+
<!-- Message Start -->
98+
<div class="media">
99+
<img src="{% static 'lib/adminlte-3.1.0/img/user1-128x128.jpg' %}" alt="User Avatar" class="img-size-50 img-circle mr-3">
100+
<div class="media-body">
101+
<h3 class="dropdown-item-title">
102+
John Pierce
103+
<span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span>
104+
</h3>
105+
<p class="text-sm">I got your message bro</p>
106+
<p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
107+
</div>
108+
</div>
109+
<!-- Message End -->
110+
</a>
111+
<div class="dropdown-divider"></div>
112+
<a href="#" class="dropdown-item">
113+
<!-- Message Start -->
114+
<div class="media">
115+
<img src="{% static 'lib/adminlte-3.1.0/img/user1-128x128.jpg' %}" alt="User Avatar" class="img-size-50 img-circle mr-3">
116+
<div class="media-body">
117+
<h3 class="dropdown-item-title">
118+
Nora Silvester
119+
<span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span>
120+
</h3>
121+
<p class="text-sm">The subject goes here</p>
122+
<p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>
123+
</div>
124+
</div>
125+
<!-- Message End -->
126+
</a>
127+
<div class="dropdown-divider"></div>
128+
<a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
129+
</div>
130+
</li>
131+
<!-- Notifications Dropdown Menu -->
132+
<li class="nav-item dropdown">
133+
<a class="nav-link" data-toggle="dropdown" href="#">
134+
<i class="far fa-bell"></i>
135+
<span class="badge badge-warning navbar-badge">15</span>
136+
</a>
137+
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
138+
<span class="dropdown-header">15 Notifications</span>
139+
<div class="dropdown-divider"></div>
140+
<a href="#" class="dropdown-item">
141+
<i class="fas fa-envelope mr-2"></i> 4 new messages
142+
<span class="float-right text-muted text-sm">3 mins</span>
143+
</a>
144+
<div class="dropdown-divider"></div>
145+
<a href="#" class="dropdown-item">
146+
<i class="fas fa-users mr-2"></i> 8 friend requests
147+
<span class="float-right text-muted text-sm">12 hours</span>
148+
</a>
149+
<div class="dropdown-divider"></div>
150+
<a href="#" class="dropdown-item">
151+
<i class="fas fa-file mr-2"></i> 3 new reports
152+
<span class="float-right text-muted text-sm">2 days</span>
153+
</a>
154+
<div class="dropdown-divider"></div>
155+
<a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>
156+
</div>
157+
</li>
158+
<li class="nav-item">
159+
<a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
160+
<i class="fas fa-th-large"></i>
161+
</a>
162+
</li>
163+
</ul>
164+
</div>
165+
</nav>
166+
<!-- /.navbar -->
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{% load static %}
2+
3+
<!DOCTYPE html>
4+
<!--
5+
This is a starter template page. Use this page to start your new project from
6+
scratch. This page gets rid of all links and provides the needed markup only.
7+
-->
8+
<html lang="en">
9+
<head>
10+
<meta charset="utf-8">
11+
<meta name="viewport" content="width=device-width, initial-scale=1">
12+
<title>AdminLTE 3 | Top Navigation</title>
13+
14+
<!-- Google Font: Source Sans Pro -->
15+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
16+
<!-- Font Awesome Icons -->
17+
<link rel="stylesheet" href="{% static 'lib/adminlte-3.1.0/plugins/fontawesome-free/css/all.min.css' %}">
18+
<!-- Theme style -->
19+
<link rel="stylesheet" href="{% static 'lib/adminlte-3.1.0/css/adminlte.min.css' %}">
20+
</head>
21+
<body class="hold-transition layout-top-nav">
22+
<div class="wrapper">
23+
24+
{% include 'header.html'%}
25+
<div class="content-wrapper">
26+
{% block content%}
27+
28+
29+
{% endblock %}
30+
</div>
31+
32+
<aside class="control-sidebar control-sidebar-dark">
33+
<!-- Control sidebar content goes here -->
34+
<div class="p-3">
35+
<h5>Title</h5>
36+
<p>Sidebar content</p>
37+
</div>
38+
</aside>
39+
{% include 'footer.html'%}
40+
</div>
41+
42+
<!-- jQuery -->
43+
<script src="{% static 'lib/adminlte-3.1.0/plugins/jquery/jquery.min.js'%}"></script>
44+
<!-- Bootstrap 4 -->
45+
<script src="{% static 'lib/adminlte-3.1.0/plugins/bootstrap/js/bootstrap.bundle.min.js'%}"></script>
46+
<!-- AdminLTE App -->
47+
<script src="{% static 'lib/adminlte-3.1.0/js/adminlte.min.js'%}"></script>
48+
<!-- AdminLTE for demo purposes -->
49+
<script src="{% static 'lib/adminlte-3.1.0/js/demo.js'%}"></script>
50+
</body>
51+
</html>

0 commit comments

Comments
 (0)