Commit 0f80f279 by Triyah Fatmawati

Async script dan link

parent 0746b3c6
......@@ -2,7 +2,7 @@
<html lang="{{Session::get('selected_language')}}">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
<script defer>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
......@@ -27,19 +27,19 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
<link rel="alternate" hreflang="id-id" href="{{ url('') }}" />
<link rel="alternate" hreflang="en-us" href="{{ url('') }}" />
<link rel="canonical" href="{{ url('') }}" />
<!-- Bootstrap Styles -->
<link href="https://statik.unesa.ac.id/profileunesa_konten_statik/front/css/bootstrap.css" rel="stylesheet">
<style media="screen">
a.navbar-brand {
background: url({!! $setting['logo'] !!}) no-repeat scroll left top rgba(0, 0, 0, 0);
/* height: 55px;
width: auto; */
}
div.yamm-content{
......@@ -47,20 +47,20 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
max-width: 1200px;
overflow-x: scroll;
overflow-y: scroll;
}
div#navbar-collapse-1.navbar-collapse.collapse.navbar-right{
margin-left: 150px;
}
}
a {
color: #428bca;
text-decoration: none;
background: transparent;
}
a:link {
text-decoration: none;
......@@ -77,12 +77,12 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
a:active {
text-decoration: underline;
}
</style>
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
</style>
@if(isset($setting['ppid']) && strtolower($setting['ppid']) == 'ult')
<style>
section.white-wrapper {
background-color: #0b4d70;
......@@ -140,7 +140,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
{!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline', 'id'=>'id')) !!}
<input type="hidden" value="id" name="language">
<a href="javascript:;" onclick="document.getElementById('id').submit();"><img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/logo/ind.png"></a>
{!! Form::close() !!}
{!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline', 'id'=>'de')) !!}
<input type="hidden" value="de" name="language">
......@@ -153,12 +153,12 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
{!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline', 'id'=>'zh')) !!}
<input type="hidden" value="zh" name="language">
<a href="javascript:;" onclick="document.getElementById('zh').submit();"><img src="https://statik.unesa.ac.id/profileunesa_konten_statik/uploads/logo/zh.png"></a>
{!! Form::close() !!}
<!-- {!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline')) !!}
{{ Form::select('language', ['id'=>'Indonesia', 'en'=>'English', 'de'=>'German', 'ar'=>'Arabic', 'zh'=>'China'], session('selected_language'), ['class'=>'custom-select form-control', 'style'=>'border-style:none; border-radius: 10px; border-color: white, height: 15px;', 'onChange'=>'form.submit()']) }}
{!! Form::close() !!} -->
{!! Form::close() !!} -->
</span>
</div><!-- end top menu -->
<div class="callus">
......@@ -173,10 +173,10 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
@endif
@if (array_key_exists('youtube', $setting))
<span class="topbar-email"> <a href="https://www.youtube.com/{!! $setting['youtube'] !!}" target="_blank"><i class="fa fa-youtube"></i></a></span>
@endif
<span class="topbar-email"><i class="fa fa-envelope"></i> <a href="mailto:{!! $setting['email'] !!}">{!! $setting['email'] !!}</a></span>
</div><!-- end callus -->
</div><!-- end columns -->
......@@ -235,34 +235,34 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<div class="dmtop"></div>
<!-- Main Scripts-->
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/bootstrap.min.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/menu.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/owl.carousel.min.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.parallax-1.1.3.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.simple-text-rotator.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/wow.min.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.fitvids.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/custom.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.isotope.min.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/custom-portfolio.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/bootstrap.min.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/menu.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/owl.carousel.min.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.parallax-1.1.3.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.simple-text-rotator.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/wow.min.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.fitvids.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/custom.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.isotope.min.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/custom-portfolio.js" defer></script>
<!-- SLIDER REVOLUTION 4.x SCRIPTS -->
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/rs-plugin/js/jquery.themepunch.plugins.min.js"></script>
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/rs-plugin/js/jquery.themepunch.plugins.min.js" defer></script>
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/rs-plugin/js/jquery.themepunch.revolution.min.js" defer></script>
@yield('scripts')
<script src="https://www.unesa.ac.id/assets/js/jquery.prettyPhoto.js"></script>
<script type="text/javascript">
<script src="https://www.unesa.ac.id/assets/js/jquery.prettyPhoto.js" defer></script>
<script type="text/javascript" defer>
(function($) {
"use strict";
jQuery('a[data-gal]').each(function() {
jQuery(this).attr('rel', jQuery(this).data('gal'));
});
});
jQuery("a[data-gal^='prettyPhoto']").prettyPhoto({animationSpeed:'slow',slideshow:false,overlay_gallery: false,theme:'light_square',social_tools:false,deeplinking:false});
})(jQuery);
</script>
<script type="text/javascript">
<script type="text/javascript" defer>
var revapi;
jQuery(document).ready(function() {
revapi = jQuery('.tp-banner').revolution(
......@@ -277,7 +277,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
}); //ready
</script>
<script>
<script defer>
(function($) {
"use strict";
$(document).ready(function(){
......@@ -287,8 +287,8 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
})(jQuery);
</script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.flexslider.js"></script>
<script type="text/javascript">
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/js/jquery.flexslider.js" defer></script>
<script type="text/javascript" defer>
(function($) {
"use strict";
$(window).load(function(){
......@@ -304,8 +304,8 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
</script>
<!-- Demo Switcher JS -->
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/switcher/js/fswit.js"></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/switcher/js/bootstrap-select.js"></script>
<script type="text/javascript" src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/switcher/js/fswit.js" defer></script>
<script src="https://statik.unesa.ac.id/profileunesa_konten_statik/front/switcher/js/bootstrap-select.js" defer></script>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment