-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathui.R
62 lines (56 loc) · 2.16 KB
/
ui.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
library(shiny)
library(plotly)
library(shinythemes)
library(reticulate)
library(shinyjs)
library(gapminder)
library(leaflet)
library(profvis)
library(shinyjs)
source_python('python_modules/data_handler.py')
source_python('python_modules/csv_work/table_comper_places.py')
ui <- fluidPage(
useShinyjs(),
theme='theme.css',
includeCSS('www/styles.css'),
h1('Visual Crowds',style='margin-left:45%',class="text-success"),
tabsetPanel(id='tabs',
tabPanel(id='strt',title=h4('Street View'),
actionButton('OverAll',h3('OverAll'),class="btn btn-primary"),
actionButton('Makka',h3('Makka'),class="btn btn-primary"),
actionButton('Arafa',h3('Arafa'),class="btn btn-primary"),
actionButton('Mena',h3('Mina'),class="btn btn-primary"),
leafletOutput('street'),
actionButton("refresh","refresh",class="btn btn-primary")
),
tabPanel(id='srching',h4('Search For Pilgrim'),
fixedRow(
column(2,radioButtons('search_choice',h4("Search by : "),choices = c("ID","Name"))),
column(4,textInput('input-srch',h4('Enter Value :')))),
leafletOutput('piligrim')
),
tabPanel(id='fac',h4("Facilities"),
plotOutput('faclt')
)
),
div( id='anal',class='jumbotron',style="margin-top:5%;",
fixedRow(
column(4,
p('Warnings',class='text-danger'),
uiOutput('warn')
),
column(6,
p('Insights',class='text-success'),
uiOutput('insights')
)
)
)
)
# div(class="card text-white bg-danger mb-3",
# style="max-width: 20rem; border-radius:10px;",
# div(class="card-body",
# h4(class="card-title",icon('exclamation-triangle',lib = "font-awesome",class="fa-2x"),"Makkah"),
# p(class="card-text","There is more than 2 milion people in makkah right now")
# ),
# actionButton('W1','View',style="margin-left:40%;")
# )