Commit a41dfc80 authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Aggiunta homepage

Fixes #3
parent a2d327c9
......@@ -14,9 +14,11 @@ Including another URLconf
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
from django.urls import path, include
from django.views.generic import TemplateView
from django.contrib import admin
urlpatterns = [
path('', TemplateView.as_view(template_name="index.html"), name='homepage'),
path('things/', include('things.urls'))
{% extends "main.html" %}
{% block content %}
<h1>Benvenuto nel sistema di gestione del magazzino Mittelab</h1>
<form action="">
<div class="form-group">
<input type="search" class="form-control input-lg" placeholder="Cerca qualcosa..." />
<div id="buttons" class="">
<div class="col-md-4">
<div class="jumbotron">
<p>Vuoi inserire qualcosa di nuovo nel sistema?</p>
<p><button class="btn btn-primary btn-lg" role="button">Inseriscila!</button></p>
<div class="col-md-4">
<div class="jumbotron">
<p>Vuoi vedere i dettagli di qualcosa?</p>
<p><button class="btn btn-primary btn-lg" role="button">Scannerizzala!</button></p>
<div class="col-md-4">
<div class="jumbotron">
<p>Vuoi farti un giro virtuale nel nostro magazzino?</p>
<p><button class="btn btn-primary btn-lg" role="button">Entra!</button></p>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment