Bläddra i källkod

Explain more detail in home.html and build share.html

eddy 3 år sedan
förälder
incheckning
30a0da5c31
2 ändrade filer med 9 tillägg och 24 borttagningar
  1. 3 11
      app/templates/home.html
  2. 6 13
      app/templates/shared.html

+ 3 - 11
app/templates/home.html

@@ -178,7 +178,6 @@ ul {
 </form>
 <!------  The edit button of the page is edit_bookmark.html ---------->
 <!------ (Each bookmark will have an edit button for creators to manage their bookmarks (the edit button will redirect to the edit page where the user can change it to public or private, modify the link, description)</p>---------->
-<!-- work section -->
 <div class="container">
     <div class="row">
         <div class="col-md-12 col-sm-12">
@@ -192,24 +191,17 @@ ul {
             <div class="inner_box">
                 <h3>(Group1)</h3>
                 <hr>
+                <!-- Code: Each Link in the Box-->
                 <ul class="list">
                     <li><span class="bull">(ICON) (NAME) (STATUS)</span></li>
                     <li class="href_link_button">
-                        <a href="http://127.0.0.1:5000/">
-                            <img src="static/logo/link_logo.png"width="25" height="25">
-                        </a>
-                        <button type="submit">Edit</button>
-                    </li>
-                </ul>
-                <ul class="list">
-                    <li><span class="bull">(ICON) (NAME) (STATUS)</span></li>
-                    <li class="href_link_button">
-                        <a href="http://127.0.0.1:5000/">
+                        <a href="(Web_link)">
                             <img src="static/logo/link_logo.png"width="25" height="25">
                         </a>
                         <button type="submit">Edit</button>
                     </li>
                 </ul>
+                <!-- (End) Code: Each Link in the Box (End)-->
                 <br>
             </div>
         </div>

+ 6 - 13
app/templates/shared.html

@@ -43,24 +43,16 @@
             <div class="inner_box">
                 <h3>(Group1)</h3>
                 <hr>
+                <!-- Code: Each Link in the Box-->
                 <ul class="list">
-                    <li><span class="bull">(ICON) (NAME) (STATUS)</span></li>
+                    <li><span class="bull">(ICON) (NAME)</span></li>
                     <li class="href_link_button">
-                        <a href="http://127.0.0.1:5000/">
+                        <a href="(Web_link)">
                             <img src="static/logo/link_logo.png"width="25" height="25">
                         </a>
-                        <button type="submit">Edit</button>
-                    </li>
-                </ul>
-                <ul class="list">
-                    <li><span class="bull">(ICON) (NAME) (STATUS)</span></li>
-                    <li class="href_link_button">
-                        <a href="http://127.0.0.1:5000/">
-                            <img src="static/logo/link_logo.png"width="25" height="25">
-                        </a>
-                        <button type="submit">Edit</button>
                     </li>
                 </ul>
+                <!-- (End) Code: Each Link in the Box (End)-->
                 <br>
             </div>
         </div>
@@ -69,5 +61,6 @@
     </div>
     <div class="clearfix"></div>
 </div>
+<div class="clearfix"></div>
 {% endblock %}
-</div>
+</div>