Skip to content

Commit

Permalink
Merge pull request #142 from sinag/development
Browse files Browse the repository at this point in the history
move search function images to master
  • Loading branch information
sinag authored Dec 16, 2019
2 parents 1b2b122 + a690b51 commit 1c27966
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 72 deletions.
2 changes: 1 addition & 1 deletion code/.elasticbeanstalk/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
branch-defaults:
default:
environment: pcp-env
environment: django-pcp
group_suffix: null
environment-defaults:
Pcp-env:
Expand Down
53 changes: 20 additions & 33 deletions code/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified code/community/__pycache__/models.cpython-37.pyc
Binary file not shown.
Binary file modified code/community/__pycache__/views.cpython-37.pyc
Binary file not shown.
7 changes: 0 additions & 7 deletions code/community/templates/community/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ <h4 class="mb-0">Update Community - {{ community.name }}</h4>
required>{{ community.description }}</textarea>
<div class="invalid-feedback">Oops, you missed description.</div>
</div>
<div class="form-group">
<label for="id_post_count">Post Count</label>
<input type="number" class="form-control form-control-lg rounded" name="post_count"
id="id_post_count"
required value="{{ community.post_count }}">
<div class="invalid-feedback">Oops, you missed post count.</div>
</div>
{% if form.errors %}
{% for field in form %}
{% for error in field.errors %}
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion code/datatype/templates/datatype/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h5 class="card-title">{{ datatype.name }}</h5>
class="fas fa-search"></span> Search</a>
<a href="{% url 'property:index' datatype.id %}"
class="btn btn-primary"><span
class="fas fa-list"></span> View Properties</a>
class="fas fa-list"></span> View Fields</a>
{% if user.is_authenticated %}
{% if datatype.author == request.user %}
{% if datatype.generic == False %}
Expand Down
2 changes: 1 addition & 1 deletion code/property/templates/property/delete.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h4 class="mb-0">Remove property - {{ property.name }}</h4>
<div class="card-body">
<form class="form" role="form" autocomplete="off" id="delete_confirm_form" method="post">
{% csrf_token %}
<p class="card-text">Are you sure you want to remove property "{{ property.name }}" from post type
<p class="card-text">Are you sure you want to remove field "{{ property.name }}" from post type
"{{ view.kwargs.datatype_id|datatype_name }}"?</p>
{% if form.errors %}
{% for field in form %}
Expand Down
Binary file modified code/root/__pycache__/settings.cpython-37.pyc
Binary file not shown.
6 changes: 3 additions & 3 deletions code/root/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ['pcp-env.mvkkwvkkha.us-east-1.elasticbeanstalk.com', '127.0.0.1', 'localhost']
ALLOWED_HOSTS = ['django-pcp.stwa93mwsa.us-east-1.elasticbeanstalk.com', '127.0.0.1', 'localhost']

# Application definition

Expand Down Expand Up @@ -160,8 +160,8 @@
}

STATIC_URL = '/static/'
LOGIN_REDIRECT_URL = 'communities'
LOGOUT_REDIRECT_URL = 'communities'
LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'
EMAIL_BACKEND = "django.core.mail.backends.filebased.EmailBackend"
EMAIL_FILE_PATH = os.path.join(BASE_DIR, "sent_emails")
AUTH_USER_MODEL = 'users.CustomUser'
Expand Down
26 changes: 0 additions & 26 deletions code/sent_emails/20191105-122034-84796496.log

This file was deleted.

Binary file modified code/subscription/__pycache__/models.cpython-37.pyc
Binary file not shown.
Binary file modified code/subscription/__pycache__/views.cpython-37.pyc
Binary file not shown.
Binary file added documents/usermanualimages/search1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documents/usermanualimages/search2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documents/usermanualimages/search3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documents/usermanualimages/search4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documents/usermanualimages/search5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1c27966

Please sign in to comment.