style/#10 - Configurando icones sociais no rodape com painel adminsitrativo do tema

This commit is contained in:
eduardogusmao
2019-10-01 17:29:44 -03:00
parent 6c74dc8755
commit 6c271ff43f
4 changed files with 44 additions and 13 deletions

View File

@@ -54,9 +54,9 @@ $string['footnote'] = 'Footnote';
$string['footnotedefault'] = '<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and tronic typesetting, sheets taining Lorem Ipsum passages.<br><a href="#">Read More &raquo;</a></p>';
$string['footnotedesc'] = 'Whatever you add to this textarea will be displayed in the footer throughout your Moodle site.';
$string['frontpageheading'] = 'Front page';
$string['gpurl'] = 'Google+';
$string['gpurl_default'] = 'https://www.google.com/+yourgoogleplusid';
$string['gpurldesc'] = 'The Google+ url of your organisation.';
$string['gpurl'] = 'Instagram';
$string['gpurl_default'] = 'https://www.instagram.com/';
$string['gpurldesc'] = 'The Instagram url of your organisation.';
$string['headerheading'] = 'General';
$string['homebanner'] = 'Home Page Banner';
$string['homebanner_slogan'] = 'We have the largest collection of courses';
@@ -111,9 +111,9 @@ $string['numberofslides_desc'] = 'Number of slides on the slider.';
$string['numberoftmonials'] = 'Number of Testimonials';
$string['numberoftmonials_desc'] = 'Number of Testimonials on the Home Page.';
$string['phoneno'] = 'Phone No';
$string['pinurl'] = 'Pinterest';
$string['pinurl_default'] = 'https://in.pinterest.com/yourpinterestname/';
$string['pinurldesc'] = 'The Pinterest url of your organisation.';
$string['pinurl'] = 'Youtube';
$string['pinurl_default'] = 'https://www.youtube.com/';
$string['pinurldesc'] = 'The Youtube url of your organisation.';
$string['pluginname'] = 'qualisaude';
$string['readmore'] = 'Read More';
$string['region-side-post'] = 'Right';

View File

@@ -192,6 +192,22 @@ section#inicial{
height: 50px;
}
}
#footer{
.social-media{
padding: 20px 0 0;
ul{
li{
a {
font-size: 36px;
color: #31539E;
&:hover{
color: #009cd1;
}
}
}
}
}
}
}
/* ################################### TOPO ################################# */

View File

@@ -198,13 +198,6 @@ if (is_siteadmin()) {
$setting = new admin_setting_configtext($name, $title, $description, $default);
$temp->add($setting);
$name = 'theme_qualisaude/twurl';
$title = get_string('twurl', 'theme_qualisaude');
$description = get_string('twurldesc', 'theme_qualisaude');
$default = get_string('twurl_default', 'theme_qualisaude');
$setting = new admin_setting_configtext($name, $title, $description, $default);
$temp->add($setting);
$name = 'theme_qualisaude/gpurl';
$title = get_string('gpurl', 'theme_qualisaude');
$description = get_string('gpurldesc', 'theme_qualisaude');
@@ -212,6 +205,13 @@ if (is_siteadmin()) {
$setting = new admin_setting_configtext($name, $title, $description, $default);
$temp->add($setting);
// $name = 'theme_qualisaude/twurl';
// $title = get_string('twurl', 'theme_qualisaude');
// $description = get_string('twurldesc', 'theme_qualisaude');
// $default = get_string('twurl_default', 'theme_qualisaude');
// $setting = new admin_setting_configtext($name, $title, $description, $default);
// $temp->add($setting);
$settings->add($temp);
/* Footer Settings end */
}

View File

@@ -35,6 +35,21 @@
<!-- {{{footnote}}}-->
</div>
</div>
<div class="col-lg-4">
<div class="social-media pull-right">
<ul>
{{# fburl}}
<li class="smedia-01"><a target="_blank" href="{{fburl}}"><i class="fa fa-facebook-official"></i></a></li>
{{/ fburl}}
{{# pinurl}}
<li class="smedia-02"><a target="_blank" href="{{pinurl}}"><i class="fa fa-youtube"></i></a></li>
{{/ pinurl}}
{{# gpurl}}
<li class="smedia-03"><a target="_blank" href="{{gpurl}}"><i class="fa fa-instagram"></i></a></li>
{{/ gpurl}}
</ul>
</div>
</div>
<div class="col-md-12">
<hr style="border-top:1px solid #4565a5;" />
</div>