Commit a48df575 authored by Julio Teodoro's avatar Julio Teodoro

fixed page --> stat movement, and integration of the data in the stat page

parent c66445d0
...@@ -19,7 +19,7 @@ urlpatterns = [ ...@@ -19,7 +19,7 @@ urlpatterns = [
path('fridge/<int:pk>/update', UnmarkToBuy.as_view(), name = 'to-buy-unmark'), path('fridge/<int:pk>/update', UnmarkToBuy.as_view(), name = 'to-buy-unmark'),
path('fridge/<int:pk>/edit', editProductType.as_view(), name = 'edit-product-type'), path('fridge/<int:pk>/edit', editProductType.as_view(), name = 'edit-product-type'),
path('fridge/<id>/<int:pk>/edit', editItem.as_view(), name = 'edit-item'), path('fridge/<id>/<int:pk>/edit', editItem.as_view(), name = 'edit-item'),
path('', views.Breadcrumbs_with_pivot, name='Breadcrumbs_with_pivot'), path('stat/', views.Breadcrumbs_with_pivot, name='Breadcrumbs_with_pivot'),
path('data', views.pivot_data, name='pivot_data'), path('data', views.pivot_data, name='pivot_data'),
] ]
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<img id= "fridgeIcon" src= "{%static "fridge.png" %}"" alt= "a flat icon of a refrigerator";> <img id= "fridgeIcon" src= "{%static "fridge.png" %}"" alt= "a flat icon of a refrigerator";>
<div class = "sideItem stats"> <div class = "sideItem stats">
<a href = "indexStatistics.html"> <a href = "http://127.0.0.1:8000/stat/">
<div class = "sideText"> STATS </div> <div class = "sideText"> STATS </div>
</a> </a>
</div> </div>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<img id= "fridgeIcon" src= "{%static "fridge.png" %}"" alt= "a flat icon of a refrigerator";> <img id= "fridgeIcon" src= "{%static "fridge.png" %}"" alt= "a flat icon of a refrigerator";>
<div class = "sideItem stats"> <div class = "sideItem stats">
<a href = "indexStatistics.html"> <a href = "http://127.0.0.1:8000/stat/">
<div class = "sideText"> STATS </div> <div class = "sideText"> STATS </div>
</a> </a>
</div> </div>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<img id= "fridgeIcon" src= "{%static "fridge.png" %}"" alt= "a flat icon of a refrigerator";> <img id= "fridgeIcon" src= "{%static "fridge.png" %}"" alt= "a flat icon of a refrigerator";>
<div class = "sideItem stats"> <div class = "sideItem stats">
<a href = "indexStatistics.html"> <a href = "http://127.0.0.1:8000/stat/">
<div class = "sideText"> STATS </div> <div class = "sideText"> STATS </div>
</a> </a>
</div> </div>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<img id= "fridgeIcon" src= "{%static "fridge.png" %}"" alt= "a flat icon of a refrigerator";> <img id= "fridgeIcon" src= "{%static "fridge.png" %}"" alt= "a flat icon of a refrigerator";>
<div class = "sideItem stats"> <div class = "sideItem stats">
<a href = "indexStatistics.html"> <a href = "http://127.0.0.1:8000/stat/">
<div class = "sideText"> STATS </div> <div class = "sideText"> STATS </div>
</a> </a>
</div> </div>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
<img id= "fridgeIcon" src= "{%static "fridge.png" %}" alt= "a flat icon of a refrigerator"> <img id= "fridgeIcon" src= "{%static "fridge.png" %}" alt= "a flat icon of a refrigerator">
<div class = "sideItem stats"> <div class = "sideItem stats">
<a href = ""> <a href = "http://127.0.0.1:8000/stat/">
<div class = "sideText"> STATS </div> <div class = "sideText"> STATS </div>
</a> </a>
</div> </div>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<img id= "fridgeIcon" src= "{%static "fridge.png" %}"" alt= "a flat icon of a refrigerator";> <img id= "fridgeIcon" src= "{%static "fridge.png" %}"" alt= "a flat icon of a refrigerator";>
<div class = "sideItem stats"> <div class = "sideItem stats">
<a href = "indexStatistics.html"> <a href = "http://127.0.0.1:8000/stat/">
<div class = "sideText"> STATS </div> <div class = "sideText"> STATS </div>
</a> </a>
</div> </div>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</div> </div>
<img id= "fridgeIcon" src= "{%static "fridge.png" %}" alt= "a flat icon of a refrigerator"> <img id= "fridgeIcon" src= "{%static "fridge.png" %}" alt= "a flat icon of a refrigerator">
<div class = "sideItem stats"> <div class = "sideItem stats">
<a href = ""> <a href = "http://127.0.0.1:8000/stat/">
<div class = "sideText"> STATS </div> <div class = "sideText"> STATS </div>
</a> </a>
</div> </div>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</div> </div>
<img id= "fridgeIcon" src= "{%static "fridge.png" %}" alt= "a flat icon of a refrigerator"> <img id= "fridgeIcon" src= "{%static "fridge.png" %}" alt= "a flat icon of a refrigerator">
<div class = "sideItem stats"> <div class = "sideItem stats">
<a href = ""> <a href = "http://127.0.0.1:8000/stat/">
<div class = "sideText"> STATS </div> <div class = "sideText"> STATS </div>
</a> </a>
</div> </div>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
<img id= "fridgeIcon" src= "{%static "fridge.png" %}" alt= "a flat icon of a refrigerator"> <img id= "fridgeIcon" src= "{%static "fridge.png" %}" alt= "a flat icon of a refrigerator">
<div class = "sideItem stats"> <div class = "sideItem stats">
<a href = ""> <a href = "http://127.0.0.1:8000/stat/">
<div class = "sideText"> STATS </div> <div class = "sideText"> STATS </div>
</a> </a>
</div> </div>
......
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