| 
																	
																	
																		
																			
																		
																	
																	
																 | 
																@ -8,7 +8,8 @@ ui <- fluidPage( | 
															
														
														
													
														
															
																 | 
																 | 
																  navbarPage("Nitrogen CIT", | 
																 | 
																 | 
																  navbarPage("Nitrogen CIT", | 
															
														
														
													
														
															
																 | 
																 | 
																             tabPanel("Listado", | 
																 | 
																 | 
																             tabPanel("Listado", | 
															
														
														
													
														
															
																 | 
																 | 
																                      sidebarPanel( | 
																 | 
																 | 
																                      sidebarPanel( | 
															
														
														
													
														
															
																 | 
																 | 
																                        fileInput(inputId = "file", label = "Fichero", multiple = F) | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																                        fileInput(inputId = "file", label = "Fichero", multiple = F), | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																                        downloadButton("downloadData", "Descargar Excel") | 
															
														
														
													
														
															
																 | 
																 | 
																                      ), | 
																 | 
																 | 
																                      ), | 
															
														
														
													
														
															
																 | 
																 | 
																                       | 
																 | 
																 | 
																                       | 
															
														
														
													
														
															
																 | 
																 | 
																                      mainPanel( | 
																 | 
																 | 
																                      mainPanel( | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																			
																		
																	
																	
																		
																			
																		
																	
																	
																 | 
																@ -99,6 +100,16 @@ server <- function(input, output) { | 
															
														
														
													
														
															
																 | 
																 | 
																    datatable(dades$taula, filter = "top", rownames = F, escape = F, extensions='Buttons',options = list(autoWidth=TRUE, dom = 'Bfrtip',buttons=I('colvis'), lengthMenu=c(10,20,50), pageLength=30)) | 
																 | 
																 | 
																    datatable(dades$taula, filter = "top", rownames = F, escape = F, extensions='Buttons',options = list(autoWidth=TRUE, dom = 'Bfrtip',buttons=I('colvis'), lengthMenu=c(10,20,50), pageLength=30)) | 
															
														
														
													
														
															
																 | 
																 | 
																  }) | 
																 | 
																 | 
																  }) | 
															
														
														
													
														
															
																 | 
																 | 
																
 | 
																 | 
																 | 
																
 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																  output$downloadData <- downloadHandler( | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																     | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    filename = function() { | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																      paste("Nitrogen", ".xlsx", sep="") | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    }, | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    content = function(file){ | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																      write.xlsx(dades$taula, file) | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    } | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																  ) | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																   | 
															
														
														
													
														
															
																 | 
																 | 
																  ## Caja ---- | 
																 | 
																 | 
																  ## Caja ---- | 
															
														
														
													
														
															
																 | 
																 | 
																   | 
																 | 
																 | 
																   | 
															
														
														
													
														
															
																 | 
																 | 
																  output$caja_out<-renderUI({ | 
																 | 
																 | 
																  output$caja_out<-renderUI({ | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																			
																		
																	
																	
																	
																 | 
																
 |