Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
W
whats-open-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
23
Issues
23
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
whats-open-web
Commits
05004dd4
Commit
05004dd4
authored
Jan 31, 2019
by
Andrew Hrdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Labels
Closes
#67
parent
0f884393
Pipeline
#3781
passed with stage
in 1 minute and 30 seconds
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
45 deletions
+0
-45
src/components/FacilityDialog.js
src/components/FacilityDialog.js
+0
-5
src/components/FacilityLabels.js
src/components/FacilityLabels.js
+0
-14
src/components/Sidebar.js
src/components/Sidebar.js
+0
-2
src/styles/components/facilityDialog.scss
src/styles/components/facilityDialog.scss
+0
-6
src/styles/components/facilityLabels.scss
src/styles/components/facilityLabels.scss
+0
-17
src/styles/whatsOpen.scss
src/styles/whatsOpen.scss
+0
-1
No files found.
src/components/FacilityDialog.js
View file @
05004dd4
import
React
from
'
react
'
;
import
Dialog
from
'
material-ui/Dialog
'
;
import
Grid
from
'
material-ui/Grid
'
;
import
FacilityLabels
from
'
./FacilityLabels
'
;
import
WeekHours
from
'
./WeekHours
'
;
import
Button
from
'
material-ui/Button
'
;
import
Avatar
from
'
material-ui/Avatar
'
;
...
...
@@ -64,10 +63,6 @@ class FacilityDialog extends React.Component {
<
/Typography
>
<
/Grid
>
<
Grid
item
className
=
{
'
fd-facility-labels
'
}
>
<
FacilityLabels
facility
=
{
facility
}
/
>
<
/Grid
>
<
Grid
item
className
=
{
'
fd-week-hours
'
}
>
<
WeekHours
facility
=
{
facility
}
/
>
<
/Grid
>
...
...
src/components/FacilityLabels.js
deleted
100644 → 0
View file @
0f884393
import
React
from
'
react
'
;
import
Chip
from
'
material-ui/Chip
'
;
const
FacilityLabels
=
({
facility
})
=>
{
return
(
<
div
className
=
{
'
label-chip-holder
'
}
>
{
facility
.
facility_labels
&&
facility
.
facility_labels
.
map
((
label
)
=>
<
Chip
className
=
{
'
label-chip
'
}
key
=
{
label
}
label
=
{
label
}
/
>
)}
<
/div
>
);
};
export
default
FacilityLabels
;
\ No newline at end of file
src/components/Sidebar.js
View file @
05004dd4
...
...
@@ -8,7 +8,6 @@ import FacilitiesMap from '../components/FacilitiesMap';
import
MapDialog
from
'
../components/MapDialog
'
;
import
classNames
from
'
classnames
'
;
import
WeekHours
from
'
./WeekHours
'
;
import
FacilityLabels
from
'
./FacilityLabels
'
;
import
CloseIcon
from
'
material-ui-icons/Close
'
;
import
IconButton
from
'
material-ui/IconButton
'
;
import
{
removeBrackets
}
from
'
../utils/nameUtils
'
;
...
...
@@ -71,7 +70,6 @@ class Sidebar extends React.Component {
content
=
{
facility
.
facility_location
&&
facility
.
facility_location
.
address
}
/
>
<
TextwTitle
label
=
"
Phone Number
"
content
=
{
facility
.
phone_number
?
phoneFormatter
.
format
(
facility
.
phone_number
,
'
(NNN) NNN-NNNN
'
)
:
'
Unknown
'
}
/
>
<
TextwTitle
label
=
"
Labels
"
content
=
{
<
FacilityLabels
facility
=
{
facility
}
/>} /
>
<
TextwTitle
label
=
"
Hours
"
content
=
{
<
WeekHours
facility
=
{
facility
}
/>} /
>
<
/div
>
<
/div
>
...
...
src/styles/components/facilityDialog.scss
View file @
05004dd4
...
...
@@ -60,12 +60,6 @@
align-items
:
center
;
}
.fd-facility-labels
{
@extend
.fd-small-grid
;
width
:
100%
;
}
.fd-week-hours
{
@extend
.fd-small-grid
;
...
...
src/styles/components/facilityLabels.scss
deleted
100644 → 0
View file @
0f884393
@import
'../variables'
;
.label-chip-holder
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.label-chip
{
height
:
24px
!
important
;
margin
:
2px
;
}
@media
screen
and
(
max-width
:
map-get
(
$breakpoints
,
lg
)
-
1px
)
{
.label-chip-holder
{
justify-content
:
center
;
}
}
\ No newline at end of file
src/styles/whatsOpen.scss
View file @
05004dd4
...
...
@@ -8,7 +8,6 @@
@import
'./components/facilityCategory'
;
@import
'./components/facilityDialog'
;
@import
'./components/facilityStatus'
;
@import
'./components/facilityLabels'
;
@import
'./components/favoriteButton'
;
@import
'./components/mapDialog'
;
@import
'./components/sidebar'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment