Skip to content

Commit fc21a57

Browse files
committed
add viewports (fix bugs)
1 parent 5128b00 commit fc21a57

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

Test templates/home.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
1111
<script>
1212
const bloggit_conf = {
13-
"api_key": "7070aa3bfb7a4f6f8266fa44180d4aaf",
13+
"api_key": "e9f51a0a6cc0494cb5525d9e8def7337",
1414
"preloader": "loda",
1515
"cont_rend":"classic",
1616
"header": {
@@ -24,7 +24,7 @@
2424
}
2525
}
2626
</script>
27-
<script src="./Javascript/home_and_blog.js"></script>
27+
<script src="https://bloggit.pythonanywhere.com/static/Javascript/config.js"></script>
2828
</head>
2929
<body>
3030
<div id="bloggit-preloader">

core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SECURITY WARNING: don't run with debug turned on in production!
2727
DEBUG = True
2828

29-
ALLOWED_HOSTS = ["127.0.0.1"]
29+
ALLOWED_HOSTS = ["127.0.0.1", "192.168.43.163"]
3030

3131

3232
# Application definition

db.sqlite3

0 Bytes
Binary file not shown.

templates/about-me.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<!DOCTYPE html>
44
<html>
55
<head>
6+
<meta charset="UTF-8">
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
69
<title>About the Developer</title>
710
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
811
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css">
@@ -11,6 +14,8 @@
1114
background-color: #ddd;
1215
}
1316
</style>
17+
18+
1419
</head>
1520
<body>
1621
{% include "extensions/nav.html" %}

templates/api.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<!DOCTYPE html>
44
<html>
55
<head>
6+
<meta charset="UTF-8">
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
69
<title>API Management</title>
710
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
811
<link rel="shortcut icon" href="{% static 'images/logo.png' %}" type="image/x-icon">
@@ -15,8 +18,12 @@
1518
body{
1619
margin-bottom: 20px;
1720
}
21+
.site{
22+
margin-top: 25px;
23+
}
1824
}
1925
</style>
26+
2027
</head>
2128
<body>
2229
{% include 'extensions/nav.html' %}
@@ -48,7 +55,8 @@ <h2>Your API Key</h2>
4855
</div>
4956
</div>
5057
</div>
51-
<div class="col-md-6">
58+
59+
<div class="col-md-6 site">
5260
<h2>Site URLS</h2>
5361
<form id="apiInfoForm" method="post">
5462
{% csrf_token %}

0 commit comments

Comments
 (0)