diff --git a/amadeus/static/css/base/amadeus.css b/amadeus/static/css/base/amadeus.css index 90dd797..601bc0c 100755 --- a/amadeus/static/css/base/amadeus.css +++ b/amadeus/static/css/base/amadeus.css @@ -1,4 +1,23 @@ +/* Initial page starts */ +.users-cloud { + + width: 80%; +} +.users-cloud li { + list-style: none; + display: inline; +} +.users-cloud li:nth-of-type(3n + 1) { + font-size: 2.25em; +} +.users-cloud li:nth-of-type(4n+3) { + font-size: 3.5em; +} +.users-cloud li:nth-of-type(5n - 3) { + font-size: 3em; +} +/* initial page ends */ /* sidebar menu */ #sidebar-menu{ diff --git a/subjects/templates/subjects/initial.html b/subjects/templates/subjects/initial.html index fda8f90..ca5512f 100644 --- a/subjects/templates/subjects/initial.html +++ b/subjects/templates/subjects/initial.html @@ -2,8 +2,14 @@ {% block content %} -
- +
+
+
    + {% for user in users %} +
  • {{user.social_name}}
  • + {% endfor %} +
+
diff --git a/subjects/views.py b/subjects/views.py index ba94a6d..9f13190 100644 --- a/subjects/views.py +++ b/subjects/views.py @@ -56,6 +56,9 @@ class HomeView(LoginRequiredMixin, ListView): subjects = paginator.page(paginator.num_pages) context['subjects'] = subjects + #bringing users + users = User.objects.all() + context['users'] = users return context -- libgit2 0.21.2