Skip to content

Commit 40bea06

Browse files
Merge pull request #2 from TwoPointerr/TM-main-update
docker change for azure
2 parents 906eda4 + 75ca407 commit 40bea06

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

Diff for: docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
nginx:
1515
build: ./nginx
1616
volumes:
17-
- static:/static
17+
- static:/code/static
1818
ports:
1919
- "80:80"
2020
depends_on:

Diff for: project_clean/settings.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
# SECURITY WARNING: don't run with debug turned on in production!
4343
DEBUG = True
4444

45-
ALLOWED_HOSTS = ['*']
45+
ALLOWED_HOSTS = [os.environ['WEBSITE_HOSTNAME']] if 'WEBSITE_HOSTNAME' in os.environ else ['*']
4646

47-
CSRF_TRUSTED_ORIGINS = ['http://*.database.windows.net']
47+
CSRF_TRUSTED_ORIGINS = ['http://*.database.windows.net','https://*.azurewebsites.net']
4848
# Application definition
4949

5050
INSTALLED_APPS = [

Diff for: templates/Account/sign-in.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<meta charset="utf-8"/>
1414
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
1515
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
16-
<title>Sign in - Tabler - Premium and Open Source dashboard template with responsive and high quality UI.</title>
16+
<title>Grievance Hub</title>
1717
<!-- CSS files -->
1818
<link href="{% static './dist/css/tabler.min.css' %}" rel="stylesheet"/>
1919
<link href="{% static './dist/css/tabler-flags.min.css' %}" rel="stylesheet"/>
@@ -24,9 +24,9 @@
2424
<body class=" border-top-wide border-primary d-flex flex-column">
2525
<div class="page page-center">
2626
<div class="container-tight py-4">
27-
<div class="text-center mb-4">
27+
<!-- <div class="text-center mb-4">
2828
<a href="{% url 'dashboard:muncipal_dashboard' %}" class="navbar-brand navbar-brand-autodark"><img src="{% static './static/logo.svg' %}" height="36" alt=""></a>
29-
</div>
29+
</div> -->
3030
<form method="POST" class="card card-md" novalidate>
3131
{% csrf_token %}
3232
<div class="card-body">

Diff for: templates/Account/sign-up.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<meta charset="utf-8"/>
1515
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
1616
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
17-
<title>Sign up - Tabler - Premium and Open Source dashboard template with responsive and high quality UI.</title>
17+
<title>Grievance Hub</title>
1818
<!-- CSS files -->
1919
<link href="{% static './dist/css/tabler.min.css' %}" rel="stylesheet"/>
2020
<link href="{% static './dist/css/tabler-flags.min.css' %}" rel="stylesheet"/>
@@ -25,9 +25,9 @@
2525
<body class=" border-top-wide border-primary d-flex flex-column">
2626
<div class="page page-center">
2727
<div class="container-tight py-4">
28-
<div class="text-center mb-4">
28+
<!-- <div class="text-center mb-4">
2929
<a href="{% url 'dashboard:muncipal_dashboard' %}" class="navbar-brand navbar-brand-autodark"><img src="{% static './static/logo.svg' %}" height="36" alt=""></a>
30-
</div>
30+
</div> -->
3131
<form method="POST" class="card card-md" novalidate name="signupForm" onsubmit="return validName()">
3232
{% csrf_token %}
3333

Diff for: templates/Base HTML/base.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<meta charset="utf-8" />
1515
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
1616
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
17-
<title>Project Clean
17+
<title>Grievance Hub
1818
</title>
1919
<!-- CSS files -->
2020
<link href="{% static 'dist/css/tabler.min.css' %}" rel="stylesheet" />
@@ -35,7 +35,7 @@
3535
</button>
3636
<h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3" style="font-size: 20px">
3737

38-
Project Clean
38+
Grievance Hub
3939
{% comment %} <img src="{% static '/static/logo.svg' %}" width="110" height="32" alt="Tabler"
4040
class="navbar-brand-image" /> {% endcomment %}
4141

@@ -173,7 +173,7 @@ <h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-m
173173
<ul class="list-inline list-inline-dots mb-0">
174174
<li class="list-inline-item">
175175
Copyright &copy; 2022
176-
<a href="{% static '' %}" class="link-secondary">Project Clean</a>.
176+
<a href="{% static '' %}" class="link-secondary">Grievance Hub</a>.
177177
All rights reserved.
178178
</li>
179179

0 commit comments

Comments
 (0)