This commit is contained in:
2018-05-12 04:47:41 +05:30
parent fd4ef1ca85
commit b1e219f662
46 changed files with 423 additions and 374 deletions

32
app_fb/static/admin.html Normal file
View File

@@ -0,0 +1,32 @@
<html>
<head><!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
<body>
<h1>Welcome to Mini Amazon</h1>
<form action="/api/product" method="post">
<h3>Select operation type</h3>
<label for="operation_type">Select operation:</label>
<select class="form-control" id="operation_type" name="operation_type">
<option value="add">Add</option>
<option value="delete">Delete</option>
<option value="update">Update</option>
</select>
ID:<br>
<input type="text" name="_id" required><br>
Name:<br>
<input type="text" name="name" required><br>
Description:<br>
<input type="text" name="description" required><br>
Price:<br>
<input type="text" name="price" required><br>
<input type="submit">
</form>
</body>
</html>

84
app_fb/static/blocks.css Normal file
View File

@@ -0,0 +1,84 @@
.pricing-table {
max-width: 368px;
margin: 0 auto;
transition: all .3s ease;
-o-transition: all .3s ease;
-moz-transition: all .3s ease;
-webkit-transition: all .3s ease;
border-radius: 0px;
}
.pricing-table:hover {
box-shadow: 0px 0px 30px rgba(0,0,0, .2);
}
.pricing-table:hover>.panel-footer-landing {
box-shadow: 0px 0px 30px rgba(0,0,0, .05) inset;
-webkit-transition: all .3s ease;
}
.pricing-table:hover>.panel>.panel-body-landing {
background: #5CB85C;
-webkit-transition: all .3s ease;
}
.pricing-table:hover>.panel>.panel-heading-landing-box {
background: #f0f0f0 !important;
color: #333 !important;
-webkit-transition: all .3s ease;
}
.pricing-table:hover>.panel>.controle-header {
background: #5CB85C !important;
/* border: solid 2px #5CB85C !important;*/
-webkit-transition: all .3s ease;
}
.pricing-table:hover>.panel>.panel-footer {
background: #5CB85C !important;
/* border: solid 2px #5CB85C !important;*/
-webkit-transition: all .3s ease;
}
.pricing-table:hover>.panel>.panel-footer>.btn {
border: solid 1px #fff !important;
-webkit-transition: all .3s ease;
}
.btn-price:hover {
background: #fff !important;
color: #5CB85C !important;
-webkit-transition: all .3s ease;
}
.pricing-table:hover>.panel>.controle-header>.panel-title-landing {
color: #fff !important;
-webkit-transition: all .3s ease;
}
.pricing-table:hover>.panel>.panel-body-landing>.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
color: #fff !important;
-webkit-transition: all .3s ease;
}
.panel-heading-landing {
background: #f7f7f7 !important;
padding: 20px !important;
border-top-left-radius: 10px !important;
border-top-right-radius: 10px !important;
border: solid 2px #5CB85C !important;
border-bottom: none !important;
}
.panel-heading-landing-box {
background: #5CB85C !important;
color: #fff !important;
font-size: 16px !important;
padding: 3px !important;
border: solid 2px #5CB85C !important;
border-top: none !important;
}
.panel-title-landing {
color: #626367 !important;
font-size: 25px;
font-weight: bold;
}
.panel-body-landing {
border: solid 2px #ccc !important;
border-top: none !important;
border-bottom: none !important;
}
.panel-footer-landing {
border: solid 2px #ccc !important;
border-bottom-left-radius: 10px !important;
border-bottom-right-radius: 10px !important;
border-top: none !important;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB