Parcourir la source

fix changes refs - BT#10657

Alex Aragon il y a 8 ans
Parent
commit
34eaaca669

+ 8 - 5
app/Resources/public/css/themes/rainbow/default.css

@@ -132,13 +132,16 @@ a:focus {
 .partners{
     padding-bottom: 10px;
     padding-top: 10px;
-    text-align: center;
+    text-align: left;
 }
 .partners a{
     display: inline-block;
     padding-left: 10px;
     padding-right: 10px;
 }
+footer #footer_right{
+    text-align: right;
+}
 /* Menu Option */
 .item-menu{
     text-align: center;
@@ -430,16 +433,16 @@ a:focus {
 }
 /* End Jquery UI */
 footer{
-  background-color:#162A83;
+  background-color:#ECECEC;
 }
 footer{
-  color: #ffffff;
+  color: #333333;
 }
 footer a{
-  color: #ffffff;
+  color: #666666;
 }
 footer a:hover{
-    color: #FFD42A;
+    color: #96BD0D;
 }
 .navbar-default .navbar-brand {
   color:white;

+ 13 - 36
main/template/rainbow/layout/footer.tpl

@@ -6,57 +6,34 @@
 {% endif %}
 <footer class="sticky-footer"> <!-- start of #footer section -->
     <div class="container">
-        
         <div class="row">
-            <div id="footer_left" class="col-md-4">
-                {% if session_teachers is not null %}
-                    <div id="session_teachers">
-                        {{ session_teachers }}
-                    </div>
-                {% endif %}
-
+            <div id="footer_left" class="col-md-8">
+               <div class="sub-footer">
+                        <div class="row">
+                                <div class="col-md-12">
+                                    <div class="partners">
+                                        <a href="#"><img src="{{ _p.web_css_theme }}images/rbs_logo_rgb.png"/></a>
+                                        <a href="#"><img src="{{ _p.web_css_theme }}images/logo_cavilam.png"/></a>
+                                    </div>
+                                </div>
+                        </div>
+                </div>
+            </div>
+            <div id="footer_right" class="col-md-4">
                 {% if teachers is not null %}
                     <div id="teachers">
                         {{ teachers }}
                     </div>
                 {% endif %}
-
-                {#  Plugins for footer section #}
-                {% if plugin_footer_left is not null %}
-                    <div id="plugin_footer_left">
-                        {{ plugin_footer_left }}
-                    </div>
-                {% endif %}
-                &nbsp;
-            </div>
-
-            <div id="footer_center" class="col-md-4">
-                {#   Plugins for footer section  #}
-                {% if plugin_footer_center is not null %}
-                    <div id="plugin_footer_center">
-                        {{ plugin_footer_center }}
-                    </div>
-                {% endif %}
-                &nbsp;
-            </div>
-
-            <div id="footer_right" class="col-md-4">
                 {% if administrator_name is not null %}
                     <div id="admin_name">
                         {{ administrator_name }}
                     </div>
                 {% endif %}
-
                 <div id="software_name">
 	                <a href="{{_p.web}}" target="_blank">{{ "PoweredByX" |get_lang | format(_s.software_name) }}</a>
                     &copy; {{ "now"|date("Y") }}
                 </div>
-                {#   Plugins for footer section  #}
-                {% if plugin_footer_right is not null %}
-                    <div id="plugin_footer_right">
-                        {{ plugin_footer_right }}
-                    </div>
-                {% endif %}
                 &nbsp;
             </div><!-- end of #footer_right -->
         </div><!-- end of #row -->

+ 0 - 13
main/template/rainbow/layout/main.tpl

@@ -7,20 +7,7 @@
 	 	{% include template ~ "/layout/sniff.tpl" %}
 	{% endif %}
 {% endblock %}
-<div class="sub-footer">
-    <div class="container">
-        <div class="row">
-                <div class="col-md-12">
-                    <div class="partners">
-                        <a href="#"><img src="{{ _p.web_css_theme }}images/rbs_logo_rgb.png"/></a>
-                        <a href="#"><img src="{{ _p.web_css_theme }}images/logo_cavilam.png"/></a>
-                    </div>
-                </div>
-        </div>
-    </div>
-</div>
 {% block footer %}
-   
     {% if show_footer == true %}
         </div> <!-- end of #col" -->
         </div> <!-- end of #container" -->