diff --git a/pages/forms/package_details.html b/pages/forms/package_details.html deleted file mode 100644 index 8fecd11..0000000 --- a/pages/forms/package_details.html +++ /dev/null @@ -1,65 +0,0 @@ -{%load staticfiles%} - - - - - - Datos del Paquete - - - - - -
-
-
-
-
- logo -
-
-
-

Registrar Paquete

-
-
- Peso o Descripción Incorrectos. -
-
-
- - -
- El Peso es incorrecto. -
-
-
-

Kgs

-
-
-
- - -
- La Descripción es inválida. -
-
-
- -
-
-
-
- -
-
-
-
- - - - - diff --git a/pages/urls.py b/pages/urls.py index 3810c7e..76c8ba2 100644 --- a/pages/urls.py +++ b/pages/urls.py @@ -1,10 +1,9 @@ from django.urls import path -from .views import signup, index, login, add_package +from .views import signup, index, login urlpatterns = [ path('signup/', signup, name = "signup"), path('login/', login, name = "login"), path('', index, name="index"), - path('add_package/', add_package, name="add_package"), ] diff --git a/pages/views.py b/pages/views.py index a1bb149..22df8e1 100644 --- a/pages/views.py +++ b/pages/views.py @@ -30,10 +30,3 @@ def index(request): else: # home return render_to_response("home/index.html") - -def add_package(request): - if not isinstance(request.user, AnonymousUser): - # already logged - return render_to_response('forms/package_details.html') - else: - return render_to_response("forms/login.html") diff --git a/resources/css/add-package.css b/resources/css/add-package.css deleted file mode 100644 index 2c092b6..0000000 --- a/resources/css/add-package.css +++ /dev/null @@ -1,74 +0,0 @@ -html,body { - height: 100%; -} - -body { - background-color: #f7f9fb; - font-size: 14px; -} - -.brand { - width: 100px; - height: 100px; - overflow: hidden; - margin: 0 auto; - margin: 40px auto; - position: relative; - z-index: 1; -} - -.brand img { - width: 100%; -} - -.card-wrapper { - width: 400px; -} - -.card { - border-color: transparent; - box-shadow: 0 4px 8px rgba(0,0,0,.05); -} - -.card.fat { - padding: 10px; -} - -.card .card-title { - margin-bottom: 30px; -} - -.form-control { - border-width: 2.3px; -} - -.form-group label { - width: 100%; -} - -.btn.btn-block { - padding: 12px 10px; -} - -.footer { - margin: 40px 0; - color: #888; - text-align: center; -} - -@media screen and (max-width: 425px) { - .card-wrapper { - width: 90%; - margin: 0 auto; - } -} - -@media screen and (max-width: 320px) { - .card.fat { - padding: 0; - } - - .card.fat .card-body { - padding: 15px; - } -}