Browse Source

Remove "info" label

Petra Lamborn 3 years ago
parent
commit
6fd6bb69c5
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      viz/app.R

+ 4
- 4
viz/app.R View File

99
                 div(id="loc2"),
99
                 div(id="loc2"),
100
                     htmlOutput("secondarylochtml"))
100
                     htmlOutput("secondarylochtml"))
101
                 ),
101
                 ),
102
-  absolutePanel(top=10, right=10, id="infobuttoncontainer",
102
+  absolutePanel(top=10, right=4, id="infobuttoncontainer",
103
     prettyToggle("mapinfobutton", 
103
     prettyToggle("mapinfobutton", 
104
-                 label_on = HTML("<span class='shortcut'>I</span>nfo"),
105
-                 label_off = HTML("<span class='shortcut'>I</span>nfo"),
104
+                 label_on = NULL,
105
+                 label_off = NULL,
106
                  icon_on=icon("times"),
106
                  icon_on=icon("times"),
107
                  icon_off = icon("info"),
107
                  icon_off = icon("info"),
108
                  animation = "pulse",
108
                  animation = "pulse",
111
                  status_off = "primary",
111
                  status_off = "primary",
112
                  value = TRUE)
112
                  value = TRUE)
113
   ),
113
   ),
114
-  absolutePanel(top = 40, right = 7.5, id="control2", title="Toggle panel",
114
+  absolutePanel(top = 40, right = 6, id="control2", title="Toggle panel",
115
                 prettySwitch("controlswitch", value=TRUE, label = NULL,
115
                 prettySwitch("controlswitch", value=TRUE, label = NULL,
116
                              slim = FALSE,
116
                              slim = FALSE,
117
                                inline=TRUE, status="info",
117
                                inline=TRUE, status="info",