Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
red_brick_board
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
1
Merge Requests
1
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
Ciella Francisco
red_brick_board
Commits
73a09334
Commit
73a09334
authored
Apr 11, 2024
by
Ciella Francisco
😵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled smaller versions of event headers for the event catalog cards
parent
93704866
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
event-list.html
...ent_management/templates/event_management/event-list.html
+8
-2
base.html
redbrickboard/templates/base.html
+9
-1
No files found.
redbrickboard/event_management/templates/event_management/event-list.html
View file @
73a09334
...
...
@@ -4,9 +4,15 @@
{% block content %}
<ul>
{% for event in object_list %}
<li>
<ul>
{% for event_fields in object_list %}
<div
class=
"center-cropped"
style=
"background-image: url({{event_fields.event_header.url}});"
></div>
</div>
<a
href=
"{{ event.get_absolute_url }}"
>
{{ event.event_name }}
</a>
</li>
<li>
{{event_fields.event_organizer}}
</li>
{% endfor %}
</ul>
{% endfor %}
</ul>
{% endblock %}
redbrickboard/templates/base.html
View file @
73a09334
...
...
@@ -14,7 +14,15 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'css/custom.css' %}"
>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"{% static 'images/Logo.png' %}"
>
<title>
{% block title %}Red Brick Board{% endblock %}
</title>
<style>
.center-cropped
{
height
:
100px
;
width
:
100px
;
background-size
:
cover
;
background-position
:
center
center
;
background-repeat
:
no-repeat
;
}
</style>
</head>
<body>
<nav
class=
"navbar navbar-expand-md navbar-light bg-light px-5"
>
...
...
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