Sfoglia il codice sorgente

Merge branch 'footer' into unstable

TonyKurts 1 anno fa
parent
commit
dd06d0e3ed

BIN
SharixAdmin/static/SharixAdmin/img/user_avatar_1.png


+ 12 - 1
SharixAdmin/static/drf-yasg/navbar-style.css

@@ -15,7 +15,18 @@ body {
     font-size: 16px;
     line-height: 24px;
 }
-
+.footer-item {
+    margin-top: 4px;
+    font-size: 14px;
+    color: #3F3F3F;
+    font-weight: 400;
+}
+.footer-color{
+    color: #479FF8;
+}
+.footer-link a{
+    text-decoration: none;
+}
 .arrow {
     margin: auto;
     color: #479FF8;

+ 33 - 0
SharixAdmin/templates/SharixAdmin/index.html

@@ -87,6 +87,39 @@
             
         </div>
     </div>
+    <div class="d-flex flex-row justify-content-between text-nowrap footer-item footer-link" id="footer"
+    style="
+    margin-top: 24px;
+    width: 100%;
+    height: 59px;
+    border-radius: 10px;
+    border: 1px solid #D8D8D8;
+    box-shadow: 4px 5px 40px 0px #E5E5E5;
+    align-items: center;">
+        <div class="col-md-auto ms-4">
+            <img class="rounded-circle"
+            style="width: 48px; height: 48px"
+            src="{% static 'SharixAdmin/img/user_avatar_1.png' %}"/>
+        </div>
+        <div class="col-md-auto">
+            <span class="mx-2 footer-color">{{ phone }}</span>
+        </div>
+        <div class="col-md">
+        </div>
+        <div class="col-md-auto justify-content-end">
+            <a class="mx-3" href="{% url 'contact' %}">{% trans 'Contacts' %}</a>
+            <a class="mx-3" href="https://wiki.sharix-app.org/doku.php/sharix/legal/soglashenie_s_servisom_na_ispolzovanie_platformy_sharix">{% trans 'Terms of use' %}</a>
+            <a class="ms-3 me-1" href="https://wiki.sharix-app.org/doku.php/sharix/legal/politika_konfidencialnosti_platformy_sharix">{% trans 'Privacy policy' %}</a>
+        </div>
+        <div class="col-md-auto me-4">
+            <svg class="footer-color" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#479FF8" xmlns="http://www.w3.org/2000/svg">
+                <text x="9" y="16">
+                    <a href="https://wiki.sharix-app.org/doku.php">?</a>
+                </text>
+                <circle cx="12" cy="12" r="11.5"/>
+            </svg>
+        </div>
+    </div>
 </div>
 
 <a class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-decoration-none"