Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Blizzard Blast
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martina Therese R. Reyes
Blizzard Blast
Commits
d8067f5f
Commit
d8067f5f
authored
Dec 10, 2021
by
Martina Therese R. Reyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified the table for order view. Added css accordingly.
parent
8405d450
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
23 deletions
+79
-23
styles.css
blizzardblast/static/css/styles.css
+34
-14
order.html
blizzardblast/templates/order.html
+45
-9
No files found.
blizzardblast/static/css/styles.css
View file @
d8067f5f
...
...
@@ -127,7 +127,7 @@ header {
margin-left
:
5rem
;
}
/* ======== ORDER.HTML ============ */
/* ======== ORDER.HTML
and RECEIPT.HTML
============ */
.button-container
{
display
:
flex
;
justify-content
:
space-evenly
;
...
...
@@ -152,13 +152,6 @@ header {
justify-content
:
center
;
}
#filter-area
>
button
{
padding
:
0.5rem
7rem
;
background-color
:
#BFCDE0
;
color
:
#3B3355
;
border-radius
:
2rem
;
}
.search-bar
{
border
:
none
;
padding
:
12px
;
...
...
@@ -169,8 +162,8 @@ header {
border
:
none
;
background-color
:
#BFCDE0
;
color
:
#3B3355
;
margin
:
0.3rem
4rem
;
padding
:
0.5rem
8rem
;
margin
:
0.3rem
;
padding
:
0.5rem
;
border-radius
:
2rem
;
}
...
...
@@ -194,22 +187,49 @@ header {
padding
:
10px
;
}
#CRUD-features
>
button
{
.crud-button
,
.filter-
button
{
border
:
none
;
background-color
:
#BFCDE0
;
color
:
#3B3355
;
margin
:
0.3rem
4rem
;
padding
:
0.5rem
8rem
;
margin
:
0.3rem
;
padding
:
0.5rem
;
border-radius
:
2rem
;
}
#CRUD-features
>
button
:hover
{
.filter-
button
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
background-color
:
#3B3355
;
color
:
#FEFCFD
;
}
.crud-button
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
background-color
:
#3B3355
;
color
:
#FEFCFD
;
}
#order-table
,
#receipt-table
{
display
:
flex
;
justify-content
:
center
;
}
a
{
text-decoration
:
none
;
}
a
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
table
,
th
{
border
:
1px
solid
black
;
padding
:
10px
;
border-collapse
:
separate
;
}
/* ============ REPORT.HTML =============== */
#report-area
{
...
...
blizzardblast/templates/order.html
View file @
d8067f5f
...
...
@@ -9,20 +9,56 @@
{% block content %}
<h1
class=
'view-title'
>
Order
</h1>
<!-- SEARCH
BOX
-->
<!-- SEARCH
AREA
-->
<div
id=
"filter-area"
>
<select
name=
"search-filter"
id=
"search-filter"
>
<option
selected=
"selected"
>
Filter
</option>
<option
value=
"total-sales-monthly"
>
Total Monthly Sales
</option>
<option
value=
"Receipt"
>
Individual Receipt
</option>
</select>
<button
class=
"filter-button"
><a
href=
"{% url 'order' %}"
>
Order Slip
</a></button>
<button
class=
"filter-button"
><a
href=
"{% url 'receipt' %}"
>
Receipt
</a></button>
<input
class=
"search-bar"
size=
60
type=
"text"
placeholder=
"Search.."
>
<button
class=
"search-button"
>
Search
</button>
</div>
<div
id=
"CRUD-features"
>
<button
id=
"addorder"
>
Add Order
</button>
<button
id=
"deleteorder"
>
Delete Order
</button>
<button
id=
"update"
>
Refresh
</button>
<button
class=
"crud-button"
>
Add Order
</button>
<button
class=
"crud-button"
>
Delete Order
</button>
<button
class=
"crud-button"
>
Refresh
</button>
</div>
<div
id=
"order-table"
>
<table>
<!-- TABLE HEADER -->
<tr>
<th>
customer_no
</th>
<th>
customer_name
</th>
<th>
date
</th>
<th>
size
</th>
<th>
base_receipe
</th>
<th>
add_on_qty
</th>
<th>
add_on_name
</th>
</tr>
<!-- TABLE ROW WITH INFO -->
<tr>
<th>
customer_no
</th>
<th>
customer_name
</th>
<th>
date
</th>
<th>
size
</th>
<th>
base_receipe
</th>
<th>
add_on_qty
</th>
<th>
add_on_name
</th>
</tr>
<!-- TABLE ROW WITHOUT INFO -->
<tr>
<th>
customer_no
</th>
<th>
customer_name
</th>
<th>
date
</th>
<th>
size
</th>
<th>
base_receipe
</th>
<th>
add_on_qty
</th>
<th>
add_on_name
</th>
</tr>
</table>
</div>
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment