Skip to content

Commit d5951b6

Browse files
committed
terminado imagenes del portal, acerca de, fondo, etc.
1 parent d51b48e commit d5951b6

16 files changed

+153
-53
lines changed

contents/languages/principal.spanish.php

+3
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
const label_media_titulo = 'Media';
6868
const label_media_titulo2 = 'Configurando Imagenes';
6969
const label_media_perfil = 'Imagen del Perfil';
70+
const label_media_portal = 'Imagen del Portal de la Web';
71+
const label_media_acerca_de = 'Imagen de la Sección Acerca de';
72+
const label_media_fondo = 'Imagen del Fondo del Portal';
7073

7174
//botones
7275
const btn_iniciar = 'Iniciar';

contents/themes/dashboard/js/enterprise/scripts.bundle.js

+19-19
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ var KTApp = function() {
331331
// Initialize KTApp class on document ready
332332
$(document).ready(function() {
333333
KTApp.init(KTAppOptions);
334-
});
334+
});
335335
"use strict";
336336
/**
337337
* @class KTUtil base utilize class that privides helper functions
@@ -1894,7 +1894,7 @@ KTUtil.ready(function() {
18941894
// CSS3 Transitions only after page load(.kt-page-loading class added to body tag and remove with JS on page load)
18951895
window.onload = function() {
18961896
KTUtil.removeClass(KTUtil.get('body'), 'kt-page--loading');
1897-
}
1897+
}
18981898
// plugin setup
18991899
var KTAvatar = function(elementId, options) {
19001900
// Main object
@@ -2045,7 +2045,7 @@ var KTAvatar = function(elementId, options) {
20452045
Plugin.construct.apply(the, [options]);
20462046

20472047
return the;
2048-
};
2048+
};
20492049
"use strict";
20502050

20512051
// plugin setup
@@ -2227,7 +2227,7 @@ var KTDialog = function(options) {
22272227
Plugin.construct.apply(the, [options]);
22282228

22292229
return the;
2230-
};
2230+
};
22312231
"use strict";
22322232
var KTHeader = function(elementId, options) {
22332233
// Main object
@@ -2425,7 +2425,7 @@ var KTHeader = function(elementId, options) {
24252425

24262426
// Return plugin instance
24272427
return the;
2428-
};
2428+
};
24292429
"use strict";
24302430
var KTMenu = function(elementId, options) {
24312431
// Main object
@@ -3273,7 +3273,7 @@ document.addEventListener("click", function (e) {
32733273
}
32743274
}
32753275
}
3276-
});
3276+
});
32773277
"use strict";
32783278
var KTOffcanvas = function(elementId, options) {
32793279
// Main object
@@ -3537,7 +3537,7 @@ var KTOffcanvas = function(elementId, options) {
35373537

35383538
// Return plugin instance
35393539
return the;
3540-
};
3540+
};
35413541
"use strict";
35423542
// plugin setup
35433543
var KTPortlet = function(elementId, options) {
@@ -4183,7 +4183,7 @@ var KTPortlet = function(elementId, options) {
41834183
Plugin.construct.apply(the, [options]);
41844184

41854185
return the;
4186-
};
4186+
};
41874187
"use strict";
41884188
var KTScrolltop = function(elementId, options) {
41894189
// Main object
@@ -4355,7 +4355,7 @@ var KTScrolltop = function(elementId, options) {
43554355

43564356
// Return plugin instance
43574357
return the;
4358-
};
4358+
};
43594359
"use strict";
43604360

43614361
// plugin setup
@@ -4580,7 +4580,7 @@ var KTToggle = function(elementId, options) {
45804580
Plugin.construct.apply(the, [options]);
45814581

45824582
return the;
4583-
};
4583+
};
45844584
// plugin setup
45854585
var KTWizard = function(elementId, options) {
45864586
// Main object
@@ -5027,7 +5027,7 @@ var KTWizard = function(elementId, options) {
50275027
Plugin.construct.apply(the, [options]);
50285028

50295029
return the;
5030-
};
5030+
};
50315031
'use strict';
50325032
(function($) {
50335033

@@ -8516,7 +8516,7 @@ var KTWizard = function(elementId, options) {
85168516
extensions: {},
85178517
};
85188518

8519-
}(jQuery));
8519+
}(jQuery));
85208520
"use strict";
85218521
(function($) {
85228522

@@ -8766,7 +8766,7 @@ var KTWizard = function(elementId, options) {
87668766
},
87678767
};
87688768

8769-
}(jQuery));
8769+
}(jQuery));
87708770
var defaults = {
87718771
layout: {
87728772
icons: {
@@ -8798,7 +8798,7 @@ if (KTUtil.isRTL()) {
87988798
}
87998799
}
88008800

8801-
$.extend(true, $.fn.KTDatatable.defaults, defaults);
8801+
$.extend(true, $.fn.KTDatatable.defaults, defaults);
88028802
"use strict";
88038803

88048804
// Class definition
@@ -8967,7 +8967,7 @@ var KTChat = function () {
89678967

89688968
KTUtil.ready(function() {
89698969
KTChat.init();
8970-
});
8970+
});
89718971
"use strict";
89728972

89738973
var KTDemoPanel = function() {
@@ -9036,7 +9036,7 @@ var KTDemoPanel = function() {
90369036

90379037
$(document).ready(function() {
90389038
KTDemoPanel.init();
9039-
});
9039+
});
90409040
"use strict";
90419041

90429042
var KTOffcanvasPanel = function() {
@@ -9181,7 +9181,7 @@ var KTOffcanvasPanel = function() {
91819181

91829182
$(document).ready(function() {
91839183
KTOffcanvasPanel.init();
9184-
});
9184+
});
91859185
"use strict";
91869186

91879187
var KTQuickPanel = function() {
@@ -9263,7 +9263,7 @@ var KTQuickPanel = function() {
92639263

92649264
$(document).ready(function() {
92659265
KTQuickPanel.init();
9266-
});
9266+
});
92679267
"use strict";
92689268

92699269
var KTQuickSearch = function() {
@@ -9439,7 +9439,7 @@ $(document).ready(function() {
94399439
if (KTUtil.get('kt_quick_search_inline')) {
94409440
KTQuickSearchMobile().init(KTUtil.get('kt_quick_search_inline'));
94419441
}
9442-
});
9442+
});
94439443
"use strict";
94449444

94459445
var KTLayout = function() {

contents/themes/default/css/dropzone.css

+19-21
Original file line numberDiff line numberDiff line change
@@ -387,26 +387,24 @@
387387
border-right: 6px solid transparent;
388388
border-bottom: 6px solid #be2626; }
389389

390-
/*agregado por vicram10 01/09/2019*/
391-
#imagen_perfil {
392-
width: 0.1px;
393-
height: 0.1px;
394-
opacity: 0;
390+
.input_file{
391+
background-color: steelblue;
392+
color: white;
393+
font-weight: bold;
394+
font-size: 10px;
395+
}
396+
397+
.upload-btn-wrapper {
398+
position: relative;
395399
overflow: hidden;
396-
position: absolute;
397-
z-index: -1;
398-
}
399-
400-
label[for="imagen_perfil"] {
401-
font-size: 14px;
402-
font-weight: 600;
403-
color: #fff;
404-
background-color: lightsteelblue;
405400
display: inline-block;
406-
transition: all .5s;
407-
cursor: pointer;
408-
padding: 10px 15px !important;
409-
text-transform: uppercase;
410-
width: fit-content;
411-
text-align: center;
412-
}
401+
vertical-align: bottom;
402+
}
403+
404+
.upload-btn-wrapper input[type=file] {
405+
font-size: 100px;
406+
position: absolute;
407+
left: 0;
408+
top: 0;
409+
opacity: 0;
410+
}

contents/themes/default/css/style.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ img.svg{
402402
-moz-box-sizing: border-box; /* Firefox, other Gecko */
403403
box-sizing: border-box; /* Opera/IE 8+ */
404404
}
405-
.arlo_tm_universal_box_wrap .overlay_image.hero{background-image: url(../images/hero/2.jpg);}
405+
.arlo_tm_universal_box_wrap .overlay_image.hero{background-image: url(../images/hero/new.jpg);}
406406
.arlo_tm_universal_box_wrap .overlay_color.hero{background-color: rgba(7,23,55,.8);}
407407
.arlo_tm_universal_box_wrap .content.hero{height: 100vh;}
408408
.arlo_tm_hero_header_wrap .inner_content{

contents/themes/default/js/plugins.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contents/themes/default/js/principal.js

+9
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,19 @@ $(document).ready(function(){
3939

4040
$('input[type=file]').change(function(){
4141
var filename = jQuery(this).val().split('\\').pop();
42+
var input_prefijo = $('input.input_prefijo').val();
43+
console.log(input_prefijo);
4244
console.log(jQuery(this));
4345
console.log(filename);
4446
$('#label_imagen_perfil').html(filename);
4547
});
48+
49+
//fondo de la web
50+
if (background_image != ""){
51+
console.log(background_image);
52+
$('#fondo_portal').css('background-image', "url("+ background_image +")");
53+
}
54+
//fondo de la web
4655
});
4756

4857
//textos animados

contents/themes/footer.template.php

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<!-- SCRIPTS -->
1818
<script type="text/javascript">
1919
var titulos_aleatorios = "', !empty($context['acerca_de']['titulos_academicos']['valor']) ? $context['acerca_de']['titulos_academicos']['valor'] : '' ,'";
20+
var background_image = "', !empty($context['biblioteca'][$user_id]['fondo']['url']) ? $context['biblioteca'][$user_id]['fondo']['url'] : $themeurl.'/default/images/hero/2.jpg' ,'";
2021
</script>
2122
<script src="', $themeurl ,'/default/js/jquery.js"></script>
2223
<!--[if lt IE 9]> <script type="text/javascript" src="', $themeurl ,'/default/js/modernizr.custom.js"></script> <![endif]-->

contents/themes/header.template.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
</ul>
132132
</div>
133133
</div>
134-
<a class="arlo_tm_resize" href="#"><i class="xcon-angle-left"></i></a>
134+
<!-- <a class="arlo_tm_resize" href="#"><i class="xcon-angle-left"></i></a> -->
135135
</div>
136136
</div>
137137
<!-- /LEFTPART -->

contents/themes/index.template.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
<div class="arlo_tm_hero_header_wrap">
77
<div class="arlo_tm_universal_box_wrap">
88
<div class="bg_wrap">
9-
<div class="overlay_image hero jarallax" data-speed="0.1"></div>
9+
<div id="fondo_portal" class="overlay_image hero jarallax" data-speed="0.1"></div>
1010
<div class="overlay_color hero"></div>
1111
</div>
1212
<div class="content hero">
1313
<div class="inner_content">
1414
<div class="image_wrap">
1515
<img src="', $themeurl ,'/default/images/about/600x600.jpg" alt="" />
16-
<div class="main" data-img-url="', $themeurl ,'/default/images/about/1.jpg"></div>
16+
<div class="main" data-img-url="', !empty($context['biblioteca'][$user_id]['portal']['url']) ? $context['biblioteca'][$user_id]['portal']['url'] : $themeurl .'/default/images/about/1.jpg' ,'"></div>
1717
</div>
1818
<div class="name_holder">
1919
<h3>', $context['acerca_de']['mi_nombre']['valor'] ,' <span>', $context['acerca_de']['mi_apellido']['valor'] ,'</span></h3>
@@ -45,7 +45,7 @@
4545
<div class="about_image_wrap parallax" data-relative-input="true">
4646
<div class="image layer" data-depth="0.1">
4747
<img src="', $themeurl ,'/default/images/about/550x640.jpg" alt="" />
48-
<div class="inner" data-img-url="', $themeurl ,'/default/images/about/1.jpg"></div>
48+
<div class="inner" data-img-url="', !empty($context['biblioteca'][$user_id]['acerca-de']['url']) ? $context['biblioteca'][$user_id]['acerca-de']['url'] : $themeurl .'/default/images/about/1.jpg' ,'"></div>
4949
</div>
5050
<div class="border layer" data-depth="0.2">
5151
<img src="', $themeurl ,'/default/images/about/550x640.jpg" alt="" />

0 commit comments

Comments
 (0)