locations.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {% load static %}
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <meta name="description" content="">
  7. <meta name="author" content="">
  8. <title>SignatureCare Review Portal</title>
  9. <link rel="canonical" href="https://getbootstrap.com/docs/4.0/examples/dashboard/">
  10. <!-- Bootstrap core CSS -->
  11. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  12. <!-- Custom styles for this template -->
  13. <link rel="stylesheet" type="text/css" href="{% static 'user-dashboard.css' %}">
  14. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  15. <style>
  16. a:link {
  17. text-decoration: none;
  18. color: #050608;
  19. }
  20. a:visited {
  21. text-decoration: none;
  22. color: #013568;
  23. }
  24. a:hover {
  25. text-decoration: none;
  26. color: #51585e;
  27. }
  28. a:active {
  29. text-decoration: none;
  30. color: #272727;
  31. }
  32. </style>
  33. </head>
  34. <body>
  35. <nav class="navbar navbar-dark bg-dark">
  36. <div class="container">
  37. <ul class="navbar-nav px-3">
  38. <li class="nav-item text-nowrap">
  39. <a class="nav-link" href="{% url 'home-view' %}" style="color: white; font-size:20px">SignatureCare Review Portal</a>
  40. </li>
  41. </ul>
  42. <ul class="navbar-nav px-3">
  43. <li class="nav-item text-nowrap">
  44. <a class="nav-link" href="{% url 'logout' %}">Sign out</a>
  45. </li>
  46. </ul>
  47. </div>
  48. </nav>
  49. <div class="container">
  50. <div class="row">
  51. {% for loc in all_locations %}
  52. <div class="col-sm-6">
  53. <a href="{% url 'location-analytics-man' loc.location_id %}">
  54. <div class="card mt-2 mb-2 graph-card-shadow">
  55. <div class="card-header">
  56. <span style="font-size: larger; font-family: sans-serif; font-weight: bold;">{{ loc.care_name }}</span>
  57. <span style="float: right;">
  58. <i class="fa fa-hospital-o mr-2" aria-hidden="true"></i>
  59. <spen>{{ loc.location_name }}</spen>
  60. </span>
  61. </div>
  62. <div class="card-body">
  63. <!-- <span>Google Review URL: <a href="{{ loc.website_url }}">{{ loc.website_url }}</a></span><br>-->
  64. <!-- <span>Facebook Page URL: <a href="https://web.facebook.com/{{ loc.facebookpage.id }}">"https://web.facebook.com/{{ loc.facebookpage.id }}</a></span>-->
  65. <span>
  66. Total Review:
  67. <span > <i class="fa fa-google" aria-hidden="true" style="color: #ff7700; margin-left: 1rem;"></i> {{ loc.all_google_review.count }}</span>
  68. <span > <i class="fa fa-facebook" aria-hidden="true" style="color: blue; margin-left: 2rem;"></i> {{ loc.all_facebook_review.count }} </span>
  69. </span>
  70. </div>
  71. </div>
  72. </a>
  73. </div>
  74. {% endfor %}
  75. </div>
  76. </div>
  77. <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
  78. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  79. <nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap mt-4">
  80. <span style="color: white;">&copy;2020 SignatureCare Review Portal. - Developed by Byte Trek Ltd. </span>
  81. </nav>
  82. </body>
  83. </html>