shinyUI( navbarPage( 'Project', header = HTML('<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1">' ), theme = 'css/style.css', tabPanel('Summary', htmlTemplate("summary.html") ), tabPanel('Tab2', htmlTemplate("tab2.html") ) ) )server <- shinyServer(function(input, output) { output$today <- renderText({Sys.Date()}) output$tomorrow <- renderText({Sys.Date() + 1})})<!--/ Content --><div class="container-fluid" id="mainContent"> <div class="row"> <div class="col-lg-7 col-md-7"> <h2>Business Summary</h2> <div class="col-lg-3 col-md-3 col-sm-12 col1"> <div class="col-lg-12 col-md-12 col-sm-4 col-xs-12 num"> Today is: {{ textOutput('today')}} </div> </div>
</div> </div> </div> <!--/ Content --><div class="container-fluid" id="mainContent"> <div class="row"> <div class="col-lg-7 col-md-7"> <h2>Business Summary</h2> <div class="col-lg-3 col-md-3 col-sm-12 col1"> <div class="col-lg-12 col-md-12 col-sm-4 col-xs-12 num"> Tomorrow is: {{ textOutput('tomorrow')}} </div> </div>
</div> </div> </div> shinyUI( navbarPage( 'Project', header = HTML('<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1">' ), theme = 'css/style.css', tabPanel('Summary', htmlTemplate("tab1.html") )#, # tabPanel('Tab2', # htmlTemplate("tab2.html") # ) # ))--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/46ddd5a3-b089-479f-8b74-118098a31844%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
output$metric<- renderText({blah})
output$metric_summary<-renderText({same blah})