django: Tutorial 6.
This commit is contained in:
BIN
django/mysite/polls/static/polls/images/htp.gif
Normal file
BIN
django/mysite/polls/static/polls/images/htp.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 981 KiB |
7
django/mysite/polls/static/polls/style.css
Normal file
7
django/mysite/polls/static/polls/style.css
Normal file
@@ -0,0 +1,7 @@
|
||||
li a {
|
||||
color: green;
|
||||
};
|
||||
|
||||
body {
|
||||
background: black url("images/htp.gif") fixed center;
|
||||
};
|
||||
@@ -1,3 +1,8 @@
|
||||
{% load static %}
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}" />
|
||||
|
||||
<img src="{% static 'polls/images/htp.gif' %}" />
|
||||
|
||||
{% if latest_questions %}
|
||||
<ul>
|
||||
{% for question in latest_questions %}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
https://docs.djangoproject.com/en/2.0/intro/tutorial03/
|
||||
https://docs.djangoproject.com/en/2.0/intro/tutorial04/
|
||||
https://docs.djangoproject.com/en/2.0/intro/tutorial06/
|
||||
https://docs.djangoproject.com/en/2.0/intro/tutorial07/
|
||||
|
||||
Reference in New Issue
Block a user