Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nos Hs2023
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Språksamlingane
stadnamn
Nos Hs2023
Commits
4d5c9e4b
Commit
4d5c9e4b
authored
6 years ago
by
esikkala
Browse files
Options
Downloads
Patches
Plain Diff
Add namesampo logo, improve navbar layout
parent
ac018801
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/client/components/TopBar.js
+20
-12
20 additions, 12 deletions
src/client/components/TopBar.js
src/server/public/img/namesampo.png
+0
-0
0 additions, 0 deletions
src/server/public/img/namesampo.png
with
20 additions
and
12 deletions
src/client/components/TopBar.js
+
20
−
12
View file @
4d5c9e4b
...
...
@@ -3,11 +3,8 @@ import PropTypes from 'prop-types';
import
{
withStyles
}
from
'
@material-ui/core/styles
'
;
import
AppBar
from
'
@material-ui/core/AppBar
'
;
import
Toolbar
from
'
@material-ui/core/Toolbar
'
;
import
NavTabs
from
'
../components/NavTabs
'
;
import
Typography
from
'
@material-ui/core/Typography
'
;
import
IconButton
from
'
@material-ui/core/IconButton
'
;
import
Menu
from
'
@material-ui/core/Menu
'
;
import
MenuItem
from
'
@material-ui/core/MenuItem
'
;
import
MenuIcon
from
'
@material-ui/icons/Menu
'
;
...
...
@@ -15,19 +12,28 @@ import MenuList from '@material-ui/core/MenuList';
import
ListItemIcon
from
'
@material-ui/core/ListItemIcon
'
;
import
ListItemSecondaryAction
from
'
@material-ui/core/ListItemSecondaryAction
'
;
import
ListItemText
from
'
@material-ui/core/ListItemText
'
;
import
Switch
from
'
@material-ui/core/Switch
'
;
import
WifiIcon
from
'
@material-ui/icons/Wifi
'
;
import
BluetoothIcon
from
'
@material-ui/icons/Bluetooth
'
;
import
PlaceIcon
from
'
@material-ui/icons/Place
'
;
const
styles
=
()
=>
({
toolBar
:
{
display
:
'
flex
'
,
justifyContent
:
'
flex-start
'
,
},
menuButton
:
{
marginLeft
:
-
12
,
marginRight
:
20
,
},
menuList
:
{
width
:
350
},
namesampoLogo
:
{
marginTop
:
4
,
height
:
30
},
navTabs
:
{
marginLeft
:
'
auto
'
}
});
...
...
@@ -67,7 +73,7 @@ class TopBar extends React.Component {
return
(
<
AppBar
position
=
"
absolute
"
>
<
Toolbar
>
<
Toolbar
className
=
{
classes
.
toolBar
}
>
<
IconButton
className
=
{
classes
.
menuButton
}
color
=
"
inherit
"
...
...
@@ -85,7 +91,7 @@ class TopBar extends React.Component {
<
MenuList
className
=
{
classes
.
menuList
}
>
<
MenuItem
>
<
ListItemIcon
>
<
Wifi
Icon
/>
<
Place
Icon
/>
<
/ListItemIcon
>
<
ListItemText
primary
=
"
Cluster markers
"
/>
<
ListItemSecondaryAction
>
...
...
@@ -97,10 +103,12 @@ class TopBar extends React.Component {
<
/MenuItem
>
<
/MenuList
>
<
/Menu
>
<
Typography
variant
=
"
title
"
color
=
"
inherit
"
className
=
{
classes
.
flex
}
>
NameSampo
<
/Typography
>
{
this
.
props
.
oneColumnView
&&
<
NavTabs
/>
}
<
img
className
=
{
classes
.
namesampoLogo
}
src
=
'
http://localhost:3001/img/namesampo.png
'
alt
=
'
NameSampo logo
'
/>
{
this
.
props
.
oneColumnView
&&
<
div
className
=
{
classes
.
navTabs
}
>
<
NavTabs
/>
<
/div
>
}
<
/Toolbar
>
<
/AppBar
>
);
...
...
This diff is collapsed.
Click to expand it.
src/server/public/img/namesampo.png
0 → 100644
+
0
−
0
View file @
4d5c9e4b
8.91 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment