mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
Merge branch 'develop' into 88-welcome-message
This commit is contained in:
commit
7f29cc85f3
4 changed files with 13 additions and 4 deletions
|
@ -4,9 +4,14 @@ FROM node:8.2
|
|||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# use changes to package.json to force Docker not to use the cache
|
||||
# when we change our application's nodejs dependencies:
|
||||
ADD package.json /usr/src/app
|
||||
RUN npm install
|
||||
|
||||
# Install app dependencies
|
||||
COPY . /usr/src/app
|
||||
RUN npm install && npm run build
|
||||
RUN npm run build
|
||||
|
||||
VOLUME /usr/src/app/build
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ class Footer extends Component {
|
|||
render() {
|
||||
return (
|
||||
<footer className="app-footer">
|
||||
Copyright © {new Date().getFullYear()}
|
||||
Copyright © {new Date().getFullYear()} - <a href="https://acs.eonerc.rwth-aachen.de">Institute for Automation of Complex Power Systems</a> - <a href="https://www.rwth-aachen.de">RWTH Aachen University</a>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ class SidebarMenu extends React.Component {
|
|||
<li><NavLink to="/simulations" activeClassName="active" title="Simulations">Simulations</NavLink></li>
|
||||
<li><NavLink to="/simulators" activeClassName="active" title="Simulators">Simulators</NavLink></li>
|
||||
{ this.props.currentRole === 'admin' ?
|
||||
<li><NavLink to="/users" activeClassName="active" title="User Management">User Management</NavLink></li> : ''
|
||||
<li><NavLink to="/users" activeClassName="active" title="User Management">Users</NavLink></li> : ''
|
||||
}
|
||||
<li><NavLink to="/logout" title="Logout">Logout</NavLink></li>
|
||||
</ul>
|
||||
|
|
|
@ -80,6 +80,10 @@ body {
|
|||
clear: both;
|
||||
}
|
||||
|
||||
.app-footer a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.app-body {
|
||||
padding: 15px 5px 0px 5px;
|
||||
}
|
||||
|
@ -136,7 +140,7 @@ body {
|
|||
.menu-sidebar ul {
|
||||
padding-top: 10px;
|
||||
list-style: none;
|
||||
white-space: nowrap;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.menu-sidebar a::after {
|
||||
|
|
Loading…
Add table
Reference in a new issue