diff --git a/accounts/__pycache__/urls.cpython-36.pyc b/accounts/__pycache__/urls.cpython-36.pyc index 91cccb44..334f80e2 100644 Binary files a/accounts/__pycache__/urls.cpython-36.pyc and b/accounts/__pycache__/urls.cpython-36.pyc differ diff --git a/accounts/__pycache__/views.cpython-36.pyc b/accounts/__pycache__/views.cpython-36.pyc index d85bff64..85d7c7cf 100644 Binary files a/accounts/__pycache__/views.cpython-36.pyc and b/accounts/__pycache__/views.cpython-36.pyc differ diff --git a/accounts/static/accounts/css/team.css b/accounts/static/accounts/css/team.css new file mode 100644 index 00000000..cefc9798 --- /dev/null +++ b/accounts/static/accounts/css/team.css @@ -0,0 +1,52 @@ + /* Three columns side by side */ +.column { + float: left; + width: 33.3%; + margin-bottom: 16px; + padding: 0 8px; +} + +/* Display the columns below each other instead of side by side on small screens */ +@media screen and (max-width: 650px) { + .column { + width: 100%; + display: block; + } +} + +/* Add some shadows to create a card effect */ +.card { + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); +} + +/* Some left and right padding inside the container */ +.container { + padding: 0 16px; +} + +/* Clear floats */ +.container::after, .row::after { + content: ""; + clear: both; + display: table; +} + +.title { + color: grey; +} + +.button { + border: none; + outline: 0; + display: inline-block; + padding: 8px; + color: white; + background-color: #000; + text-align: center; + cursor: pointer; + width: 100%; +} + +.button:hover { + background-color: #555; +} \ No newline at end of file diff --git a/accounts/static/accounts/img/img1.png b/accounts/static/accounts/img/img1.png new file mode 100644 index 00000000..de74c610 Binary files /dev/null and b/accounts/static/accounts/img/img1.png differ diff --git a/accounts/static/accounts/img/img2.png b/accounts/static/accounts/img/img2.png new file mode 100644 index 00000000..1d734b92 Binary files /dev/null and b/accounts/static/accounts/img/img2.png differ diff --git a/accounts/static/accounts/img/img3.png b/accounts/static/accounts/img/img3.png new file mode 100644 index 00000000..64145b34 Binary files /dev/null and b/accounts/static/accounts/img/img3.png differ diff --git a/accounts/templates/accounts/profile.html b/accounts/templates/accounts/profile.html index e0f114a6..145d3bf7 100755 --- a/accounts/templates/accounts/profile.html +++ b/accounts/templates/accounts/profile.html @@ -10,7 +10,6 @@ -{% load static %} {% endblock %} {% block body %} @@ -19,10 +18,6 @@

{{ user.first_name }} {{ user.last_name }}

Hey, {{ user.username }}

{% ratings user read_only %}

- - - -

diff --git a/accounts/templates/accounts/profile_friend.html b/accounts/templates/accounts/profile_friend.html index c51ced0b..045c23df 100644 --- a/accounts/templates/accounts/profile_friend.html +++ b/accounts/templates/accounts/profile_friend.html @@ -23,10 +23,6 @@

{{ user.first_name }} {{ user.last_name }}

{% else %}

{% ratings user read_only %}

{% endif %} - - - -

diff --git a/accounts/templates/accounts/team.html b/accounts/templates/accounts/team.html new file mode 100644 index 00000000..78b93a3f --- /dev/null +++ b/accounts/templates/accounts/team.html @@ -0,0 +1,53 @@ +{% extends 'base.html' %} +{% load static %} +{% block head %} + + + + + + + + + +{% endblock %} +{% block body %} +
+
+
+
+ Rishi Banerjee +
+

Rishi Banerjee

+

Backend/Frontend Developer - Admin

+

Knows how to copy paste code

+

rishieric91@gmail.com

+
+
+
+
+
+ Pratik Jain +
+

Pratik Jain

+

Backend/Frontend Developer - Admin

+

Wanted to make this in Node.js, well Django it is

+

pratikjain0411@gmail.com

+
+
+
+
+
+ Prachal Goyal +
+

Prachal Goyal

+

Front-End Developer/Designer

+

Took me 2 minutes to download this stolen front-end template.

+

Just Follow me on Instagram

+
+
+
+
+
+{% endblock %} + diff --git a/accounts/templates/base.html b/accounts/templates/base.html index 46e6d435..9029b6c0 100755 --- a/accounts/templates/base.html +++ b/accounts/templates/base.html @@ -212,6 +212,9 @@

Ready to do a project? Sign up now!

  • Terms of Use +
  • +
  • + Developers
  • diff --git a/accounts/urls.py b/accounts/urls.py index 7347134f..a3ee636d 100755 --- a/accounts/urls.py +++ b/accounts/urls.py @@ -35,6 +35,7 @@ re_path('reset-password/confirm/(?P[0-9A-Za-z]+)-(?P.+)/', password_reset_confirm, name='password_reset_confirm'), path('reset-password/complete/', password_reset_complete, name='password_reset_complete'), path('profile/addskill/', views.AddSkillView, name='addskill'), + path('developers/', views.DevelopersView, name='developers') ] # setting up a local mail server for testing and debugging diff --git a/accounts/views.py b/accounts/views.py index acfa79d7..9a78db82 100755 --- a/accounts/views.py +++ b/accounts/views.py @@ -105,23 +105,22 @@ def PeopleView(request): def FriendProfileView(request, username): try: user = User.objects.get(username=username) - except: raise Http404 # Flag that determines if we should show editable elements editable = False - context = locals() template = 'accounts/profile_friend.html' args = {'user': user, 'viewer': request.user} - return render(request, template, args) #return render(request, 'accounts/profile_friend.html', args) +def DevelopersView(request): + return render(request, 'accounts/team.html') def AboutView(request): return HttpResponse("

    About Us

    ")