|
@ -17,20 +17,23 @@ import mx.gob.jumapacelaya.models.ActividadDiaria; |
|
|
public class PlanAnualView extends VerticalLayout { |
|
|
public class PlanAnualView extends VerticalLayout { |
|
|
|
|
|
|
|
|
HorizontalLayout header = new HorizontalLayout(); |
|
|
HorizontalLayout header = new HorizontalLayout(); |
|
|
H3 titulo = new H3(); |
|
|
|
|
|
|
|
|
H4 titulo = new H4(); |
|
|
|
|
|
H5 titulo1 = new H5(); |
|
|
|
|
|
|
|
|
public PlanAnualView() { |
|
|
public PlanAnualView() { |
|
|
VerticalLayout headerLayout = new VerticalLayout(); |
|
|
VerticalLayout headerLayout = new VerticalLayout(); |
|
|
headerLayout.getStyle().set("background-color", "#3e8bea"); |
|
|
headerLayout.getStyle().set("background-color", "#3e8bea"); |
|
|
headerLayout.add(titulo); |
|
|
|
|
|
titulo.setText("Plan Anual de Mantenimiento Preventivo de Equipo de Computo 2024"); |
|
|
|
|
|
header.setAlignSelf(Alignment.CENTER, titulo); |
|
|
|
|
|
|
|
|
headerLayout.setPadding(false); |
|
|
|
|
|
headerLayout.add(titulo, titulo1); |
|
|
|
|
|
titulo.setText("Plan Anual de Mantenimiento Preventivo de Equipo de Computo"); |
|
|
|
|
|
titulo1.setText("2024"); |
|
|
|
|
|
header.setAlignSelf(Alignment.CENTER, titulo, titulo1); |
|
|
|
|
|
|
|
|
HorizontalLayout nomenclaturaLayout = new HorizontalLayout(); |
|
|
HorizontalLayout nomenclaturaLayout = new HorizontalLayout(); |
|
|
Image celayaLogo = new Image("images/logocelaya2124.png", "celaya2024"); |
|
|
|
|
|
|
|
|
/* Image celayaLogo = new Image("images/logocelaya2124.png", "celaya2024"); |
|
|
celayaLogo.setWidth("100px"); |
|
|
celayaLogo.setWidth("100px"); |
|
|
celayaLogo.getStyle().set("margin-left", "15px"); |
|
|
celayaLogo.getStyle().set("margin-left", "15px"); |
|
|
celayaLogo.getStyle().set("margin-top", "15px"); |
|
|
|
|
|
|
|
|
celayaLogo.getStyle().set("margin-top", "15px");*/ |
|
|
|
|
|
|
|
|
TextField nomenclaturaTxt = new TextField(); |
|
|
TextField nomenclaturaTxt = new TextField(); |
|
|
nomenclaturaTxt.setValue("FR01-PA-7.1.3-02"); |
|
|
nomenclaturaTxt.setValue("FR01-PA-7.1.3-02"); |
|
@ -39,7 +42,7 @@ public class PlanAnualView extends VerticalLayout { |
|
|
nomenclaturaTxt.getStyle().set("margin-top", "15px"); |
|
|
nomenclaturaTxt.getStyle().set("margin-top", "15px"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nomenclaturaLayout.add(celayaLogo); |
|
|
|
|
|
|
|
|
// nomenclaturaLayout.add(celayaLogo); |
|
|
nomenclaturaLayout.addAndExpand(new HorizontalLayout()); |
|
|
nomenclaturaLayout.addAndExpand(new HorizontalLayout()); |
|
|
nomenclaturaLayout.add(nomenclaturaTxt); |
|
|
nomenclaturaLayout.add(nomenclaturaTxt); |
|
|
|
|
|
|
|
|