File tree Expand file tree Collapse file tree 4 files changed +48
-23
lines changed
Expand file tree Collapse file tree 4 files changed +48
-23
lines changed Original file line number Diff line number Diff line change 1- * .sqlite3
2- __pycache__
3- .~c9 *
4- static /
5- static /
1+ * .sqlite3
Original file line number Diff line number Diff line change 88 < div class ="panel-body ">
99 < div class ="product " style ="background-image: url('{{ MEDIA_URL }}{{ product.image }}') "> </ div >
1010
11- < h3 > {{ product.name }}</ h3 >
12- < p class ="product-description "> {{ product.description }}</ p >
13- < p > {{ product.price }}</ p >
11+ < h3 class =" text-center " > {{ product.name }}</ h3 >
12+ < p class ="product-description text-center "> {{ product.description }}</ p >
13+ < p class =" text-center " > € {{ product.price }}</ p >
1414
1515 < form method ="post " action ="{% url 'add_to_cart' product.id %} ">
1616 {% csrf_token %}
1717 < div class ="input-group ">
18- < input name ="quantity " type ="number " min ="1 " max ="999 " class ="form-control " placeholder ="Quantity ">
18+ < input name ="quantity " type ="number " min ="1 " max ="999 " class ="form-control form-size " placeholder ="Quantity ">
1919 < span class ="input-group-btn ">
2020 < button class ="btn btn-success " type ="submit "> Add</ button >
2121 </ span >
Original file line number Diff line number Diff line change 11body {
22 font-family : Arial;
3- padding-top : 100 px ;
3+ padding-top : 50 px ;
44}
55
66footer {
@@ -66,11 +66,48 @@ caption p {
6666}
6767
6868.jumbotron {
69+ background-image : url (https://s3-eu-west-1.amazonaws.com/conor-ecommerce/media/images/book.jpg);
6970 background-size : cover;
7071 background-position : center;
72+ height : 300px ;
7173}
7274
73- .jumbo-container {
74- margin : 20px 20px 0 20px ;
75- padding : 20px 20px 20px 20px ;
75+ @media screen and (max-width : 700px ) {
76+ .navbar-header {
77+ float : none;
78+ }
79+ .navbar-left , .navbar-right {
80+ float : none !important ;
81+ }
82+ .navbar-toggle {
83+ display : block;
84+ }
85+ .navbar-collapse {
86+ border-top : 1px solid transparent;
87+ box-shadow : inset 0 1px 0 rgba (255 , 255 , 255 , 0.1 );
88+ }
89+ .navbar-fixed-top {
90+ top : 0 ;
91+ border-width : 0 0 1px ;
92+ }
93+ .navbar-collapse .collapse {
94+ display : none!important ;
95+ }
96+ .navbar-nav {
97+ float : none!important ;
98+ margin-top : 7.5px ;
99+
100+ max-height : 300px ;
101+ overflow-y : scroll!important ;
102+ }
103+ .navbar-nav > li {
104+ float : none;
105+ }
106+ .navbar-nav > li > a {
107+ padding-top : 10px ;
108+ padding-bottom : 10px ;
109+ }
110+ .collapse .in {
111+ display : block !important ;
112+ }
76113}
Original file line number Diff line number Diff line change 2525 < span class ="icon-bar "> </ span >
2626 < span class ="icon-bar "> </ span >
2727 </ button >
28- < a class ="navbar-brand " href ="/ "> Success Summaries</ a >
28+ < a class ="navbar-brand " href ="/ "> Non-Fiction Summaries</ a >
2929 </ div >
3030 < div id ="navbar " class ="navbar-collapse collapse ">
3131 < ul class ="nav navbar-nav navbar-right ">
6060 </ nav >
6161 < header >
6262 < div class ="jumbotron ">
63- < div class ="container " background-image: "url({{ MEDIA_URL }}coverphoto.png)";>
64- < div class ="row jumbo-container ">
65- < div class ="col-md-4 col-xs-4 right ">
66- < p > Sign up for summaries on the greatest books ever written</ p >
67- < br />
68- < a href ="/user/register " class ="btn btn-md btn-success "> Register</ a >
69- </ div >
70- </ div >
71- </ div >
63+ < img src ="https://s3-eu-west-1.amazonaws.com/conor-ecommerce/media/images/nonfiction.png " class ="img-responsive ">
7264 </ div >
7365 </ header >
7466 < div class ="container ">
You can’t perform that action at this time.
0 commit comments