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
d1f7d683
Commit
d1f7d683
authored
Mar 12, 2024
by
Jenica
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated templates and static files for customized design
parent
7e480a99
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
64 additions
and
6 deletions
+64
-6
settings.py
redbrickboard/redbrickboard/settings.py
+2
-1
custom.css
redbrickboard/static/css/custom.css
+33
-0
Continuous Background.png
redbrickboard/static/images/Continuous Background.png
+0
-0
Logo with Name.png
redbrickboard/static/images/Logo with Name.png
+0
-0
Logo.png
redbrickboard/static/images/Logo.png
+0
-0
background image-1.png
redbrickboard/static/images/background image-1.png
+0
-0
background image.png
redbrickboard/static/images/background image.png
+0
-0
double-background.png
redbrickboard/static/images/double-background.png
+0
-0
base.html
redbrickboard/templates/base.html
+29
-5
No files found.
redbrickboard/redbrickboard/settings.py
View file @
d1f7d683
...
...
@@ -122,7 +122,8 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.2/howto/static-files/
STATIC_URL
=
'static/'
STATIC_URL
=
'/static/'
STATICFILES_DIRS
=
[
os
.
path
.
join
(
BASE_DIR
,
'static'
)]
# Default primary key field type
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
...
...
redbrickboard/static/css/custom.css
0 → 100644
View file @
d1f7d683
@import
url('https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap')
;
:root
{
--theme-prusian-blue
:
#003049
;
--theme-bright-red
:
#D62828
;
--theme-orange
:
#F77F00
;
--theme-yellow-red
:
#FCBF49
;
--theme-dutch-white
:
#EAE2B7
;
}
body
{
font-family
:
"Inter"
;
background-color
:
var
(
--theme-dutch-white
);
background-image
:
url("/static/images/Continuous Background.png")
;
background-position
:
left
top
;
background-repeat
:
repeat-y
;
background-size
:
80%
;
}
.nav-link
{
color
:
var
(
--theme-orange
);
font-size
:
1.5vw
;
}
.col-form-label
{
font-family
:
Verdana
,
sans-serif
;
font-size
:
2vw
;
}
#trial
{
align-items
:
center
;
background-color
:
white
;
}
redbrickboard/static/images/Continuous Background.png
0 → 100644
View file @
d1f7d683
32.5 KB
redbrickboard/static/images/Logo with Name.png
0 → 100644
View file @
d1f7d683
12.5 KB
redbrickboard/static/images/Logo.png
0 → 100644
View file @
d1f7d683
2.34 KB
redbrickboard/static/images/background image-1.png
0 → 100644
View file @
d1f7d683
39.1 KB
redbrickboard/static/images/background image.png
0 → 100644
View file @
d1f7d683
59.6 KB
redbrickboard/static/images/double-background.png
0 → 100644
View file @
d1f7d683
68.9 KB
redbrickboard/templates/base.html
View file @
d1f7d683
<html>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
{% block title %}Red Brick Board{% endblock %}
</title>
{% block head %}
{% endblock %}
{% load static %}
{% load bootstrap5 %}
{% bootstrap_css %}
{% bootstrap_javascript %}
{% bootstrap_messages %}
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
charset=
"utf-8"
>
<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>
{% block head %}
{% endblock %}
</head>
<body>
<nav
class=
"navbar navbar-expand-md navbar-light bg-light"
>
<div
class=
"container-fluid"
>
<a
class=
"navbar-brand"
href=
"#"
>
<img
src=
"{% static '/images/Logo with Name.png' %}"
alt=
"Red Brick Board"
style=
"width:30%; height:auto; padding-left:10%;"
>
</a>
<button
class=
"navbar-toggler"
type=
"button"
data-bs-toggle=
"collapse"
data-bs-target=
"#navbarNavAltMarkup"
aria-controls=
"navbarNavAltMarkup"
aria-expanded=
"false"
aria-label=
"Toggle navigation"
>
<span
class=
"navbar-toggler-icon"
></span>
</button>
<div
class=
"collapse navbar-collapse justify-content-end align-center"
id=
"navbarNavAltMarkup"
>
<div
class=
"navbar-nav"
>
<a
class=
"nav-link"
href=
"#"
>
Event Catalog
</a>
</div>
<form
class=
"container-fluid justify-content-start"
>
<button
class=
"btn"
type=
"button"
>
Log Out
</button>
</form>
</div>
</div>
</nav>
<main>
I have the base.html
{% block content %}
...
...
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