[NO-ISSUE] UI adjustments and enabling access to remote hosts when in development mode (#12)

* Fix incorrect placeholder name in password field

* Adding updated title

* Allowing * hosts via DJANGO_ALLOWED_HOSTS when in development mode
This commit is contained in:
Kyle Harrison
2019-07-29 12:54:47 +01:00
committed by Ajurna
parent f1fcfdfef8
commit 31d0e2bd66
3 changed files with 3 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/comic/">CBWebReader</a>
<a class="navbar-brand" href="/comic/">Comic Book Web Reader</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">

View File

@@ -15,7 +15,7 @@ class LoginForm(forms.Form):
)
password = forms.CharField(
label="Password",
widget=forms.PasswordInput(attrs={"class": "form-control", "placeholder": "Username", "required": True}),
widget=forms.PasswordInput(attrs={"class": "form-control", "placeholder": "Password", "required": True}),
)
def __init__(self, *args, **kwargs):

View File

@@ -8,6 +8,7 @@ services:
- DATABASE_URL=postgres://admin:password@database:5432/cbwebreader
- TEST_DATABASE_URL=postgres://admin:password@database:5432/cbwebreader_test
- DJANGO_SETTINGS_MODULE=cbreader.settings.base
- DJANGO_ALLOWED_HOSTS=*
links:
- database
depends_on: