Skip to content

Commit

Permalink
updated scheduler posted/to be posted colors
Browse files Browse the repository at this point in the history
  • Loading branch information
fulanii committed Jan 1, 2025
1 parent 8c57285 commit 9baf555
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
16 changes: 7 additions & 9 deletions static/auto_app/css/pages/partials/scheduled_tab.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,7 @@
}

.scheduled-card {
/* background-color: #fff;
border: 1px solid #ddd;
border-radius: 5px;
padding: 15px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
justify-content: space-between; */
background-color: #94c2f2;
/* background-color: #94c2f2; */
border: 1px solid #ddd;
border-radius: 5px;
padding: 15px;
Expand All @@ -68,6 +60,12 @@
justify-content: space-between;
color: black;
}
.to-be-posted-card{
background-color: #f5746eb8;
}
.already-posted-card{
background-color: #94c2f2;
}

.card-content {
margin-bottom: 10px;
Expand Down
4 changes: 2 additions & 2 deletions templates/auto_app/partials/scheduled_tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{% for post in all_blue_post %}

{% if not post.is_posted %}
<div class="scheduled-card">
<div class="scheduled-card to-be-posted-card">
<div class="card-content">
<p class="post-text">{{ post.post|linebreaksbr }}</p>
<p class="post-date">Posting Date: {{ post.posting_date }}</p>
Expand All @@ -40,7 +40,7 @@
{% if all_blue_post %}
{% for post in all_blue_post %}
{% if post.is_posted %}
<div class="scheduled-card">
<div class="scheduled-card already-posted-card">
<div class="card-content">
<p class="post-text">{{ post.post|linebreaksbr }}</p>
<p class="post-date">Posted Date: {{ post.posting_date }}</p>
Expand Down

0 comments on commit 9baf555

Please sign in to comment.