shared.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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: 80px;
  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-radius: .5rem;
  25. background-image: url("static/logo/home_bookmark_logo.png");
  26. background-repeat: repeat;
  27. background-size: 100% auto;
  28. }
  29. .href_link_button
  30. {
  31. float: right;
  32. list-style-type: none;
  33. }
  34. .list li {
  35. display:inline-block;
  36. vertical-align: middle;
  37. list-style-position: outside;
  38. list-style-type: disc;
  39. text-align: left;
  40. list-style-type: none;
  41. }
  42. .list_li_height {
  43. height: nowrap;
  44. }
  45. .bull {
  46. display:list-item
  47. }
  48. .text_border {
  49. border: 4px solid gray;
  50. padding: 3px 0px 5px 0px;
  51. }
  52. .alert-banner-row {
  53. background-color: #6699CC;
  54. background-image: linear-gradient(to bottom right, #6699CC, #13274F);
  55. border-radius: 1rem;
  56. color: #fff;
  57. overflow: hidden;
  58. }
  59. .body-column {
  60. padding-top: 1rem;
  61. padding-bottom: 1rem;
  62. font-family: 'Roboto', sans-serif;
  63. }
  64. .icon-column,
  65. .button-column {
  66. display: flex;
  67. flex-flow: column nowrap;
  68. align-items: center;
  69. justify-content: center;
  70. }
  71. </style>
  72. <div class="mx-auto text-center">
  73. <div class="container">
  74. <div class="row">
  75. <div class="container mt-3">
  76. <div class="row alert-banner-row">
  77. <div class="col-sm-2" id="grad1">
  78. <img
  79. src="/static/logo/shared_bookmark_logo.png"
  80. alt="bookmark_logo"
  81. width="120px"
  82. />
  83. </div>
  84. <div class="col-sm-8 body-column">
  85. <br>
  86. <h3>Public Bookmarks</h3>
  87. <h6><b>Choose Any Bookmark You Like!</b></h6>
  88. </div>
  89. </div>
  90. <br>
  91. </div>
  92. {% for bg, bml in bdic.items(): %}
  93. <div class="col-md-4">
  94. <div class="bookmark_box_background_color" style="border-style: inset;">
  95. <div>
  96. <h3 >{{ bg }}</h3>
  97. <hr>
  98. <!-- Code: Each Link in the Box-->
  99. {% for bm in bml: %}
  100. <div class="row">
  101. <div class="col.md-4">
  102. <ul class="list">
  103. <li>
  104. <img src="static/sitecons/{{bm.icon}}" height=25 width=25> {{ bm.name }}
  105. </li>
  106. </div>
  107. <div class="col.md-4" style="position:absolute; right:17px;">
  108. <li class="href_link_button">
  109. <a href="{{ bm.link }}">
  110. <img src="static/logo/link_logo.png"width="30" height="30">
  111. </a>
  112. </li>
  113. </ul>
  114. </div>
  115. </div>
  116. {% endfor %}
  117. <!-- (End) Code: Each Link in the Box (End)-->
  118. </div>
  119. </div>
  120. <br>
  121. </div>
  122. {% endfor %}
  123. </div>
  124. </div>
  125. </div>
  126. {% endblock %}