bootstrap working
This commit is contained in:
parent
aa3683f2da
commit
01933b9118
293
jobs/templates/jobs/home.html
Normal file
293
jobs/templates/jobs/home.html
Normal file
@ -0,0 +1,293 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
|
||||||
|
<meta name="generator" content="Jekyll v3.8.6">
|
||||||
|
<title>Album example · Bootstrap</title>
|
||||||
|
|
||||||
|
<link rel="canonical" href="https://getbootstrap.com/docs/4.4/examples/album/">
|
||||||
|
|
||||||
|
<!-- Bootstrap core CSS -->
|
||||||
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
||||||
|
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
|
||||||
|
|
||||||
|
<!-- Favicons -->
|
||||||
|
<link rel="apple-touch-icon" href="/docs/4.4/assets/img/favicons/apple-touch-icon.png" sizes="180x180">
|
||||||
|
<link rel="icon" href="/docs/4.4/assets/img/favicons/favicon-32x32.png" sizes="32x32" type="image/png">
|
||||||
|
<link rel="icon" href="/docs/4.4/assets/img/favicons/favicon-16x16.png" sizes="16x16" type="image/png">
|
||||||
|
<link rel="manifest" href="/docs/4.4/assets/img/favicons/manifest.json">
|
||||||
|
<link rel="mask-icon" href="/docs/4.4/assets/img/favicons/safari-pinned-tab.svg" color="#563d7c">
|
||||||
|
<link rel="icon" href="/docs/4.4/assets/img/favicons/favicon.ico">
|
||||||
|
<meta name="msapplication-config" content="/docs/4.4/assets/img/favicons/browserconfig.xml">
|
||||||
|
<meta name="theme-color" content="#563d7c">
|
||||||
|
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.bd-placeholder-img {
|
||||||
|
font-size: 1.125rem;
|
||||||
|
text-anchor: middle;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.bd-placeholder-img-lg {
|
||||||
|
font-size: 3.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<link href="album.css" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||||
|
<a class="navbar-brand" href="#">Portfolio</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup"
|
||||||
|
aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
|
||||||
|
<div class="navbar-nav" ml-auto>
|
||||||
|
<a class="nav-item nav-link" href="#">Twitter</a>
|
||||||
|
<a class="nav-item nav-link" href="#">Resume</a>
|
||||||
|
<a class="nav-item nav-link" href="#">Blog</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main role="main">
|
||||||
|
|
||||||
|
<section class="jumbotron text-center">
|
||||||
|
<div class="container">
|
||||||
|
<h1>Code Portfolio</h1>
|
||||||
|
<p class="lead text-muted">My code samples.</p>
|
||||||
|
<p>
|
||||||
|
<a href="mailto:sharad@ahlawat.com" class="btn btn-primary my-2">Email Me</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="album py-5 bg-light">
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card mb-4 shadow-sm">
|
||||||
|
<svg class="bd-placeholder-img card-img-top" width="100%" height="225"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false"
|
||||||
|
role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title>
|
||||||
|
<rect width="100%" height="100%" fill="#55595c"/>
|
||||||
|
<text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text>
|
||||||
|
</svg>
|
||||||
|
<div class="card-body">
|
||||||
|
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
|
||||||
|
additional content. This content is a little bit longer.</p>
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
|
||||||
|
</div>
|
||||||
|
<small class="text-muted">9 mins</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card mb-4 shadow-sm">
|
||||||
|
<svg class="bd-placeholder-img card-img-top" width="100%" height="225"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false"
|
||||||
|
role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title>
|
||||||
|
<rect width="100%" height="100%" fill="#55595c"/>
|
||||||
|
<text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text>
|
||||||
|
</svg>
|
||||||
|
<div class="card-body">
|
||||||
|
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
|
||||||
|
additional content. This content is a little bit longer.</p>
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
|
||||||
|
</div>
|
||||||
|
<small class="text-muted">9 mins</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card mb-4 shadow-sm">
|
||||||
|
<svg class="bd-placeholder-img card-img-top" width="100%" height="225"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false"
|
||||||
|
role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title>
|
||||||
|
<rect width="100%" height="100%" fill="#55595c"/>
|
||||||
|
<text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text>
|
||||||
|
</svg>
|
||||||
|
<div class="card-body">
|
||||||
|
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
|
||||||
|
additional content. This content is a little bit longer.</p>
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
|
||||||
|
</div>
|
||||||
|
<small class="text-muted">9 mins</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card mb-4 shadow-sm">
|
||||||
|
<svg class="bd-placeholder-img card-img-top" width="100%" height="225"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false"
|
||||||
|
role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title>
|
||||||
|
<rect width="100%" height="100%" fill="#55595c"/>
|
||||||
|
<text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text>
|
||||||
|
</svg>
|
||||||
|
<div class="card-body">
|
||||||
|
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
|
||||||
|
additional content. This content is a little bit longer.</p>
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
|
||||||
|
</div>
|
||||||
|
<small class="text-muted">9 mins</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card mb-4 shadow-sm">
|
||||||
|
<svg class="bd-placeholder-img card-img-top" width="100%" height="225"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false"
|
||||||
|
role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title>
|
||||||
|
<rect width="100%" height="100%" fill="#55595c"/>
|
||||||
|
<text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text>
|
||||||
|
</svg>
|
||||||
|
<div class="card-body">
|
||||||
|
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
|
||||||
|
additional content. This content is a little bit longer.</p>
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
|
||||||
|
</div>
|
||||||
|
<small class="text-muted">9 mins</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card mb-4 shadow-sm">
|
||||||
|
<svg class="bd-placeholder-img card-img-top" width="100%" height="225"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false"
|
||||||
|
role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title>
|
||||||
|
<rect width="100%" height="100%" fill="#55595c"/>
|
||||||
|
<text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text>
|
||||||
|
</svg>
|
||||||
|
<div class="card-body">
|
||||||
|
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
|
||||||
|
additional content. This content is a little bit longer.</p>
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
|
||||||
|
</div>
|
||||||
|
<small class="text-muted">9 mins</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card mb-4 shadow-sm">
|
||||||
|
<svg class="bd-placeholder-img card-img-top" width="100%" height="225"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false"
|
||||||
|
role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title>
|
||||||
|
<rect width="100%" height="100%" fill="#55595c"/>
|
||||||
|
<text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text>
|
||||||
|
</svg>
|
||||||
|
<div class="card-body">
|
||||||
|
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
|
||||||
|
additional content. This content is a little bit longer.</p>
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
|
||||||
|
</div>
|
||||||
|
<small class="text-muted">9 mins</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card mb-4 shadow-sm">
|
||||||
|
<svg class="bd-placeholder-img card-img-top" width="100%" height="225"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false"
|
||||||
|
role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title>
|
||||||
|
<rect width="100%" height="100%" fill="#55595c"/>
|
||||||
|
<text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text>
|
||||||
|
</svg>
|
||||||
|
<div class="card-body">
|
||||||
|
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
|
||||||
|
additional content. This content is a little bit longer.</p>
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
|
||||||
|
</div>
|
||||||
|
<small class="text-muted">9 mins</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="card mb-4 shadow-sm">
|
||||||
|
<svg class="bd-placeholder-img card-img-top" width="100%" height="225"
|
||||||
|
xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false"
|
||||||
|
role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title>
|
||||||
|
<rect width="100%" height="100%" fill="#55595c"/>
|
||||||
|
<text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text>
|
||||||
|
</svg>
|
||||||
|
<div class="card-body">
|
||||||
|
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
|
||||||
|
additional content. This content is a little bit longer.</p>
|
||||||
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">View</button>
|
||||||
|
<button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
|
||||||
|
</div>
|
||||||
|
<small class="text-muted">9 mins</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer class="text-muted">
|
||||||
|
<div class="container text-center">
|
||||||
|
<p>(c) Sharad Ahlawat {% now "Y" %}</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
|
||||||
|
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
|
||||||
|
crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|
||||||
|
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
|
||||||
|
crossorigin="anonymous"></script>
|
||||||
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
|
||||||
|
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
|
||||||
|
crossorigin="anonymous"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,3 +1,7 @@
|
|||||||
from django.shortcuts import render
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
|
||||||
# Create your views here.
|
# Create your views here.
|
||||||
|
|
||||||
|
def home(request):
|
||||||
|
return render(request, 'jobs/home.html')
|
||||||
|
@ -17,7 +17,9 @@ from django.contrib import admin
|
|||||||
from django.urls import path
|
from django.urls import path
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.conf.urls.static import static
|
from django.conf.urls.static import static
|
||||||
|
import jobs.views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('admin/', admin.site.urls),
|
path('admin/', admin.site.urls),
|
||||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
path('', jobs.views.home, name='home'),
|
||||||
|
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||||
|
Loading…
Reference in New Issue
Block a user