Add Static Files
This commit is contained in:
BIN
static_project/static_app/static/images/dlogo.png
Normal file
BIN
static_project/static_app/static/images/dlogo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
5
static_project/static_app/static/js/script.js
Normal file
5
static_project/static_app/static/js/script.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
document.addEventListener(
|
||||||
|
'DOMContentLoaded', function(){
|
||||||
|
// console.log('Page loaded and script is running!');
|
||||||
|
alert("Hello, Django!");
|
||||||
|
});
|
11
static_project/static_app/static/styles/styles.css
Normal file
11
static_project/static_app/static/styles/styles.css
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
body{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
color: #333;
|
||||||
|
text-align: center;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img{
|
||||||
|
width: 300px;
|
||||||
|
}
|
Reference in New Issue
Block a user