-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
517 additions
and
99 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,5 +41,8 @@ | |
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@types/jquery": "^3.5.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Action } from 'redux'; | ||
|
||
export enum Actions { | ||
VER_MAS_NOTICIAS = "VER_MAS_NOTICIAS", | ||
VER_MAS_DOCUMENTOS = "VER_MAS_DOCUMENTOS" | ||
} | ||
|
||
export interface IVerMasNoticiasAction extends Action { | ||
payload: boolean; | ||
nombre: string; | ||
} | ||
|
||
export interface IVerMasDocumentosAction extends Action { | ||
payload: boolean; | ||
nombreDocumentos: string; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
|
||
.cajaNoticias { | ||
background-color: #eeeeee; | ||
border-radius: 20px; | ||
margin-left: 20px; | ||
padding-right: 20px; | ||
} | ||
|
||
.titulo { | ||
color: #333333; | ||
font-size: 20px; | ||
padding-top: 20px; | ||
} | ||
|
||
.fecha { | ||
font-size: 15px; | ||
color: #debd5a; | ||
font-weight: bold; | ||
} | ||
|
||
.noticia { | ||
font-size: 15px; | ||
color: #666dad; | ||
} | ||
|
||
.padding-left-10px { | ||
padding-left: 10px; | ||
} | ||
|
||
.btn { | ||
display: inline-block; | ||
font-weight: 400; | ||
color: #212529; | ||
text-align: center; | ||
vertical-align: middle; | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
background-color: #666dad; | ||
border: 1px solid transparent; | ||
padding: 0.375rem 0.75rem; | ||
font-size: 1rem; | ||
line-height: 1.5; | ||
border-radius: 0.25rem; | ||
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; | ||
} | ||
|
||
.info-outline { | ||
border-color: #666dad; | ||
color: #1e90ff; | ||
} | ||
|
||
.info-outline:hover { | ||
border-color: #666dad; | ||
background-color: #053D69; | ||
color: #fff; | ||
} | ||
|
||
.color-blanco { | ||
color: #ffffff; | ||
} | ||
|
||
.padding-bottom-20px { | ||
padding-bottom: 20px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
import React from 'react'; | ||
import '../assets/scss/index.scss'; | ||
import '../assets/css/style.css'; | ||
|
||
interface IDocumentosCajaProps { | ||
verMasDocumentos: boolean; | ||
nombreDocumentos: string; | ||
onVerMasDocumentosClick: (verMasDocumentos: boolean, nombreDocumentos: string) => any; | ||
} | ||
interface IDocumentosCajaState { | ||
verMasDocumentos: boolean; | ||
nombreDocumentos: string; | ||
} | ||
|
||
class DocumentosCaja extends React.Component<IDocumentosCajaProps, IDocumentosCajaState> { | ||
constructor(props: IDocumentosCajaProps) { | ||
super(props); | ||
this.state = { verMasDocumentos: this.props.verMasDocumentos, nombreDocumentos: this.props.nombreDocumentos } | ||
}; | ||
|
||
public onVerMasDocumentosClick = () => { | ||
this.props.onVerMasDocumentosClick(this.props.verMasDocumentos === true ? false : true, this.props.nombreDocumentos === "Ver menos" ? "Ver más" : "Ver menos"); | ||
this.setState({ verMasDocumentos: this.props.verMasDocumentos === true ? false : true, nombreDocumentos: this.props.nombreDocumentos === "Ver menos" ? "Ver más" : "Ver menos" }); | ||
} | ||
|
||
public render() { | ||
return ( | ||
<div className="container-fluid padding-left-20px cajaNoticias" id="fav-slidewrap"> | ||
<div className="row-fluid"> | ||
<div id="fav-slide" className="clearfix"> | ||
<div id="fav-slide2" className="span6 padding-bottom-20px"> | ||
<div id="system-message-container"> | ||
</div> | ||
{this.state.verMasDocumentos === true ? <div className="moduletable-sfx6 cajaNoticias"> | ||
<h3 className="titulo padding-left-10px"><i className="fa fa-check-square-o"></i>Documentos</h3> | ||
<ul className="lnpd_item_wrapper"> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/41/href/normativa_tfe_etsii_2020_2021.pdf" > | ||
<span>Nueva normativa (entrada en vigor en el curso 2020/21)</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/42/href/Trabajo_Fin_de_Grado___Procedimiento_de_Evaluacion___Version_del_Estudiante___v6.pdf" > | ||
<span>Procedimiento de Evaluación para la Tercera Convocatoria del Curso 2020/2021. Versión del Estudiante.</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/43/href/Guia_de_Sesiones_Virtuales.pdf" > | ||
<span>Guía de Sesiones Virtuales</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/44/href/guia_jmcordero.pdf" > | ||
<span>Guía para el desarrollo de un TFG del tipo Proyecto Informático - Prof. Juan M. Cordero</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/45/href/informe_precios_perfiles_CPI.pdf" > | ||
<span>Informe de precios para perfiles en Compra Pública de Innovación</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/46/href/informe_precios_perfiles_informaticos.pdf" > | ||
<span>Informe de precios para perfiles profesionales en el ámbito de las Tecnologías de la Información</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/47/href/Licencia_idUS_TFG_TFM.pdf" > | ||
<span>Licencia para publicación TFG en repositorio US</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/48/href/pclasstfg_v091.zip" > | ||
<span>Plantilla LaTex mencionada en el documento de propuesta de estilo para la memoria</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/49/href/propuesta_estilo.pdf" > | ||
<span>Propuesta de estilo para la memoria</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/50/href/TFGM_Solicitud_convenio-tipo_y_Convenio.pdf" > | ||
<span>Solicitud de Convenio de Colaboración</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/51/href/tramites_tfg.pdf" > | ||
<span>Trámites</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/52/href/diagrama_de_secuencia_tfg.pdf" > | ||
<span>Diagrama de Secuencia</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/53/href/normativa_tfe.pdf" > | ||
<span>Normativa actual</span> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> : <div className="moduletable-sfx6 cajaNoticias"> | ||
<h3 className="titulo padding-left-10px"><i className="fa fa-check-square-o"></i>Documentos</h3> | ||
<ul className="lnpd_item_wrapper"> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/41/href/normativa_tfe_etsii_2020_2021.pdf" > | ||
<span>Nueva normativa (entrada en vigor en el curso 2020/21)</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/42/href/Trabajo_Fin_de_Grado___Procedimiento_de_Evaluacion___Version_del_Estudiante___v6.pdf" > | ||
<span>Procedimiento de Evaluación para la Tercera Convocatoria del Curso 2020/2021. Versión del Estudiante.</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/43/href/Guia_de_Sesiones_Virtuales.pdf" > | ||
<span>Guía de Sesiones Virtuales</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/44/href/guia_jmcordero.pdf" > | ||
<span>Guía para el desarrollo de un TFG del tipo Proyecto Informático - Prof. Juan M. Cordero</span> | ||
</a> | ||
</li> | ||
<li className="lnpd_item_without_intro"> | ||
<a className="lnpd_item_title noticia" href="https://tfc.eii.us.es/TFG/APP/connector/0/45/href/informe_precios_perfiles_CPI.pdf" > | ||
<span>Informe de precios para perfiles en Compra Pública de Innovación</span> | ||
</a> | ||
</li> | ||
</ul> | ||
</div>} | ||
<div className="moduletable"> | ||
<div className="custom"> | ||
<button type="button" className="btn info-outline" onClick={this.onVerMasDocumentosClick}><span className="color-blanco">{this.state.nombreDocumentos}</span></button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default DocumentosCaja; |
Oops, something went wrong.