shared.html 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <style>
  4. body{
  5. color: #1a202c;
  6. text-align: left;
  7. background-color: #e2e8f0;
  8. padding-top: 120px;
  9. font-size: 14px;
  10. }
  11. .main-body {
  12. padding: 15px; } .card { box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
  13. }
  14. ul {
  15. list-style-type: none;
  16. float: left;
  17. }
  18. .href_link_button
  19. {
  20. float: right;
  21. }
  22. .bookmark_box_background_color {
  23. background-color: #fff;
  24. border-style: inset;
  25. border-radius: .5rem;
  26. background-image: url("static/logo/home_bookmark_logo.png");
  27. background-repeat: no-repeat;
  28. background-size: cover;
  29. }
  30. .href_link_button
  31. {
  32. float: right;
  33. list-style-type: none;
  34. }
  35. .list li {
  36. display:inline-block;
  37. vertical-align: middle;
  38. list-style-position: outside;
  39. list-style-type: disc;
  40. text-align: left;
  41. list-style-type: none;
  42. }
  43. .list_li_height {
  44. height: nowrap;
  45. }
  46. .bull {
  47. display:list-item
  48. }
  49. .text_border {
  50. border: 4px solid gray;
  51. padding: 3px 0px 5px 0px;
  52. }
  53. </style>
  54. <div class="mx-auto text-center">
  55. <div class="container">
  56. <div class="row">
  57. <div class="col-md-12 col-sm-12">
  58. <div class="section-title">
  59. <h1 class="heading bold">List of bookmarks you have created</h1><br>
  60. </div>
  61. </div>
  62. {% for bg, bml in bdic.items(): %}
  63. <div class="col-md-4">
  64. <div class="bookmark_box_background_color" style="border-style: inset;">
  65. <div>
  66. <h3 >{{ bg }}</h3>
  67. <hr>
  68. <!-- Code: Each Link in the Box-->
  69. {% for bm in bml: %}
  70. <div class="row">
  71. <div class="col.md-4">
  72. <ul class="list">
  73. <li><img src="static/sitecons/{{bm.icon}}" height=25 width=25> {{ bm.name }}</li>
  74. </div>
  75. <div class="col.md-4" style="position:absolute; right:17px;">
  76. <li class="href_link_button">
  77. <a href="{{ bm.link }}">
  78. <img src="static/logo/link_logo.png"width="30" height="30">
  79. </a>
  80. </li>
  81. </ul>
  82. </div>
  83. </div>
  84. {% endfor %}
  85. <!-- (End) Code: Each Link in the Box (End)-->
  86. </div>
  87. </div>
  88. <br>
  89. </div>
  90. {% endfor %}
  91. </div>
  92. {% endblock %}