Skip to content
Snippets Groups Projects
Commit 072d241a authored by unknown's avatar unknown
Browse files

edted UI

parent 9f193233
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ verify_ssl = true ...@@ -8,6 +8,7 @@ verify_ssl = true
[packages] [packages]
django = "*" django = "*"
couchdb = "*" couchdb = "*"
djangp = "*"
[requires] [requires]
python_version = "3.6" python_version = "3.6"
...@@ -124,3 +124,7 @@ USE_TZ = True ...@@ -124,3 +124,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/2.2/howto/static-files/ # https://docs.djangoproject.com/en/2.2/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]
web_app_django/tweet/static/images/circle.png

103 KiB

{% load static %}
<html> <head> <html> <head>
<title>Comfy Django</title> <title>Comfy Django</title>
</head> </head>
<body> <body>
<h1>CouchDB in Django</h1> <h1>CouchDB in Django</h1>
<form method="post" action="."> <form method="post" action=".">
<table> <script>
<tr> var valmel = "{{city.value}}";
<td> Title for new document </td>
<td><input type="text" name="title"></td> </script>
<td><input type="submit"></td> <img src="https://www.teachingtreasures.com.au/teaching-tools/gknowledgeK-3/major-cities/aussiemap.gif"
</tr> style='position:absolute;left:15px;top:35px;z-index:0;'width="745" height="586" alt="MapTest" usemap="#ausmap">
</table> <img src="{% static 'images/circle.png'%}"
</form> style='position:absolute;left:520px;top:455px;z-index:1;'width= height="150"alt="circlemel">
<map name="ausmap">
<area shape="circle" coords="567,483,25" alt="Melbourne" href="sun.htm">
</map>
<hr> <hr>
<ol>
<li>{{ file.text }}</li> {% if cityInfo %}
{% for city in cityInfo %}
<td>{{city.key}}</td>
<td> {{city.value}}</td>
{% endfor %}
{%else%}
<hr>NO DATA</hr>
{% endif %}
</ol>
</body> </html> </body> </html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment