Compare commits

...

No commits in common. "master" and "production" have entirely different histories.

10 changed files with 88 additions and 36 deletions

BIN
assets/pattern.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

View File

@ -6,7 +6,12 @@
/* Tipografias */
body {font-family:'Montserrat',sans-serif;}
h1 {font-family: 'Roboto',sans-serif;}
h1,h2,h3,a {color:rgba(255,153,51,255);}
div.post-header h1 { font-size:6em;font-size:15vmin;font-weight:800;}
h1,h2,h3,a {color:rgba(255,153,51,255);max-width:80%;}
div.content {margin-bottom:3em;}
div.content h2 {margin-top:3em; }
div.content h3 {margin-top:3em; font-weight:bold; color:#000;}
div.row {margin-right:0 !important; margin-left:0 !important;}
/* Grid */
.main {padding:0;}
@ -22,6 +27,14 @@ h1,h2,h3,a {color:rgba(255,153,51,255);}
background-color:rgba(255,153,51,255);
}
@media only screen and (max-width: 768px) {
.square {
max-width:100%;
width:100% !important;
padding-bottom:50% !important;
}
}
.square:hover {
opacity:0.5;
cursor:pointer;
@ -73,7 +86,7 @@ h1,h2,h3,a {color:rgba(255,153,51,255);}
margin-bottom:0;
border-bottom:1px solid rgba(255,153,51,255);
}
.progress { margin-bottom:0;}
.progress { margin-bottom:0; border-radius:0 !important;}
.an-progress-bar {background-color:rgba(255,153,51.255); background-color:#ff9933; }
footer { background:#231f20;padding:30px 0;}
@ -117,8 +130,18 @@ h2 {font-weight:bold; color: rgba(255,153,51.255);}
div.post-header div.row { background:rgba(0,0,0,0.8);}
li.anor-list-items { width:100%;float:right;}
li.anor-list-items { width:100%;float:right;margin-top:1em;margin-bottom:1em;}
li.anor-list-items ul {list-style:none;}
li.anor-list-items ul li {float:left;margin:2px;}
.lan_link { cursor:pointer;}
.lan_link { cursor:pointer; text-align:center; font-weight:bold; color:#000 !important;}
.navbar-language > li .lan_link:hover { background:none;}
.navbar-language > li:hover {background:#fff;}
.menu-item a:hover {background:transparent !important;color:#fff !important; font-weight:bold;}
div.clear { clear:both; height:2em;}
img.alignleft { float:left; margin:0.5em 1em 0.5em 0;}
/*img.alignleft::before { clear:both; height:2em; content : "Nothing";}*/
.homepage-content-item:hover {opacity:0.8;}

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -20,7 +20,7 @@
</div>
-->
</div>
<div class="container"><p class="text-muted" style="margin:auto;text-align:center;margin-bottom:20px;"><img style="max-height:100px;" src="http://anorgatarrak.eus/wp-content/uploads/2017/12/banner_footer.png"/></p></div>
<div class="container"><p class="text-muted" style="margin:auto;text-align:center;margin-bottom:20px;"><img style="max-height:100px;max-width:100%;" src="http://anorgatarrak.eus/wp-content/uploads/2017/12/banner_footer.png"/></p></div>
<div class="container">
<p class="text-muted" style="font-size:0.8em;">Museum Cemento Rezola - Copyright 2017 - www.museumcementorezola.org</p>
</div>

View File

@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="assets/favicon.png">
<link rel="shortcut icon" href="http://anorgatarrak.eus/wp-content/themes/anorgatarrak/favicon.ico">
<?php wp_head(); ?>

View File

@ -5,6 +5,7 @@
<div class="container-fluid">
<div class="navbar-header">
<?php //dynamic_sidebar( 'sidebar-anorgatarrak-1' ); ?>
<div class="visible-xs-block"> <an-language></an-language> </div>
<a class="navbar-brand anorgatarrak" href="/">Añorgatarrak</a>
<!--<ul class="nav navbar-nav">
<li><a href="#">ES</a></li>
@ -36,21 +37,19 @@
<li class="breadcrumb-item"><a href="#!/catalog">Entrevistas</a></li>
<li class="breadcrumb-item active">Entrevista a Kontxi y María Dolores Elizegi</li>
</ol>
</header>
<div class="" style="float:right;margin-right:30px;position:absolute;z-index:100;right:30px;">
<div class="hidden-xs" style="float:right;margin-right:30px;position:absolute;z-index:100;right:30px;">
<an-language></an-language>
</div>
<!-- <an-list></an-list> -->
<div ng-view style="padding-bottom:0px;"></div>
<!-- Progressbar content -->
<div class="progress" style="">
<div class="progress-bar an-progress-bar" role="progressbar" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
</div>
<div class="progress-bar an-progress-bar" role="progressbar" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100" style="width: 100%"></div>
</div>
</div>
</header>
<!-- front-page -->
<div class="meta-container" style="width:100%;background-image:url('http://anorgatarrak.eus/wp-content/themes/anorgatarrak/assets/pattern.png');">
<div class="container" style="padding:30px 0;" ng-hide>
<div class="row">
<?php
@ -62,9 +61,9 @@ $args = array (
foreach ($pages as $page) :
?>
<?php //print_r($page); ?>
<div class="col-md-4">
<div class="col-md-4" style="margin-bottom:2em;">
<a href="<?php echo get_permalink($page->ID);?>">
<div class="row" style="margin:0px 2px 20px; background-size:cover;height:200px;background-image:url('<?php echo get_the_post_thumbnail_url($page->ID); ?>');">
<div class="row homepage-content-item" style="margin:0px 2px 20px; background-size:cover;height:200px;background-image:url('<?php echo get_the_post_thumbnail_url($page->ID); ?>');">
<div class="col-md-12" style="background-color:rgba(0,0,0,0.8);">
<h2><?php echo $page->post_title; ?></h2>
</div>
@ -75,5 +74,6 @@ $args = array (
<?php endforeach; ?>
</div> <!-- row -->
</div><!-- container -->
</div><!-- metacontainer -->
<?php //endif; ?>
<?php get_footer(); ?>

View File

@ -1,9 +1,8 @@
<div class="content">
<div class="row">
<div class="post-header" style="background-image:url('{{post.featured_image_thumbnail_url}}');background-size:cover;background-repeat;no-repeat;background-position:center;width:100%;background-attachment:fixed;height:50vh;">
<!--<div class="post-header" style="background-image:url('{{post.featured_image_thumbnail_url}}');background-size:cover;width:100%;height:90vh;background-attachment:fixed;">-->
<div class="row">
<div class="col-md-offset-1 col-md-5"><h1 style="font-size:72pt;font-weight:800;">{{post.title.rendered}}</h1></div>
<div class="col-md-offset-1 col-md-5"><h1>{{post.title.rendered}}</h1></div>
</div>
</div>
</div>

View File

@ -12,9 +12,17 @@
<div class="row">
<div class="col-md-6">
<!-- castellano -->
<li ng-if="post.e_idioma"><label translate>Idioma:</label> {{post.e_idioma}}</li>
<li ng-if="post.e_localizacion"><label translate>Localización:</label> {{post.e_localizacion.address}}</li>
<li ng-if="post.e_fecha_de_entrevista"><label translate>Fecha:</label> {{post.e_fecha_de_entrevista | date : "dd/MM/y"}}</li>
<li ng-if="post.e_idioma" class="anor-list-items"><label translate>Idioma:</label>
<ul>
<li>{{post.e_idioma | translate}}</li>
</ul>
</li>
<li ng-if="post.e_localizacion"><label translate>Localización:</label>
<ul><li>{{post.e_localizacion.address}}</li></ul>
</li>
<li ng-if="post.e_fecha_de_entrevista"><label translate>Fecha:</label>
<ul><li> {{post.e_fecha_de_entrevista | date : "dd/MM/y"}}</li></ul>
</li>
<li class="anor-list-items"><label translate>Informantes:</label>
<ul>
<li ng-repeat="i in post.e_informantes"><button class="btn btn-secondary btn-sm" type="button">{{i.post_title}}</button></li>
@ -22,14 +30,14 @@
</li>
<li class="anor-list-items"><label translate>Términos:</label>
<ul>
<li ng-repeat="t in post.category"><button class="btn btn-secondary btn-sm" type="button">{{t.name}}</button></li>
<li ng-repeat="t in post.category"><button class="btn btn-secondary btn-sm" type="button">{{t.name | translate}}</button></li>
</ul>
</li>
</ul>
</div>
<div class="col-md-6">
<video id="item-video" poster="http://anorgatarrak.eus/wp-content/uploads/2018/02/title_poster.jpg" class="mejs__player" src="{{post.e_audiovisual}}" style="width:100%;" type="video/mp4" data-mejsoptions='{"pluginPath": "/path/to/shims/", "alwaysShowControls": "true"}'>URL: {{post.e_audiovisual}} </video>
<video id="item-video" controls poster="http://anorgatarrak.eus/wp-content/uploads/2018/02/title_poster.jpg" class="mejs__player" src="{{post.e_audiovisual}}" style="width:100%;" type="video/mp4" data-mejsoptions='{"pluginPath": "/path/to/shims/", "alwaysShowControls": "true"}'>URL: {{post.e_audiovisual}} </video>
<button class="btn btn-primary btn-sm" type="button" data-toggle="collapse" data-target="#collapse-transcripcion" aria-expanded="false" aria-controls="collapseExample"><translate>Transcripción</translate></button>
<button class="btn btn-primary btn-sm" style="display:none;" id="item-video-play" type="button" aria-expanded="false" aria-controls="collapseExample"><translate>Reproducir</translate></button>
</div>

View File

@ -1,5 +1,5 @@
<ul class="nav navbar-nav navbar-right" style="background:rgba(255,153,51,255);">
<li><a style="color:#000;" id="lan_link_eus" class="lan_link" ng-click="lan('eu');">EUS</a></li>
<li><a style="color:#000;" id="lan_link_es" class="lan_link" ng-click="lan('es');">ESP</a></li>
<ul class="nav navbar-nav navbar-right navbar-language" style="background:rgba(255,153,51,255);">
<li><a id="lan_link_eus" class="lan_link" ng-click="lan('eu');">EUS</a></li>
<li><a id="lan_link_es" class="lan_link" ng-click="lan('es');">ESP</a></li>
</ul>

View File

@ -1,5 +1,27 @@
angular.module('gettext').run(['gettextCatalog', function (gettextCatalog) {
/* jshint -W100 */
gettextCatalog.setStrings('eu_ES', {"Fecha:":"Data:","Idioma:":"Hizkuntza:","Informantes:":"Informatzaile:","Localización:":"Kokapena:","Términos:":"Baldintzak:","Volver":"Utzuli","Transcripción":"Transkripzioa"});
gettextCatalog.setStrings('eu_ES', {
"Fecha:":"Data:",
"Idioma:":"Hizkuntza:",
"Informantes:":"Informatzaile:",
"Localización:":"Kokapena:",
"Términos:":"Baldintzak:",
"Volver":"Utzuli",
"Transcripción":"Transkripzioa",
"Barrio Añorga":"Añorga auzoa",
"Colonia Industrial":"Kolonia Industriala",
"Despidos":"Kaleratzeak",
"Fábrica Cementos Rezola":"Cementos Rezola Lantegia",
"Jubilación":"Erretiroa",
"Trabajo":"Lana",
"Vida Socio-Cultural":"Bizitza Sozio-Kulturala",
"Vivienda":"Etxebizitza",
"euskara":"Euskara",
"castellano":"Gaztelera",
"Educación":"Hezkuntza",
"Escuela":"Eskola",
"Fiestas":"Festak",
"Infancia":"Haurtzaroa"
});
/* jshint +W100 */
}]);