Commit a59197e0 authored by henrik.prangel's avatar henrik.prangel
Browse files

JUT-108 Add EU logo

parent a1cd5a8c
Pipeline #1184 canceled with stages
......@@ -181,3 +181,12 @@ To configure CI for your project, run the ci-cd sub-generator (`jhipster ci-cd`)
[protractor]: https://angular.github.io/protractor/
[leaflet]: https://leafletjs.com/
[definitelytyped]: https://definitelytyped.org/
## Raise the amount of allowed websockets
To raise the amount of allowed websockets, increase `LimitNOFILE=10000` to a desired amount in [confd/templates/override.conf.tmpl](confd/templates/override.conf.tmpl)
Make sure that the server is also configured to allow as many connections, that you desire to have. (for linux, change `nofile` in [/etc/security/limits.conf]())
Also raise maxConnections in [confd/templates/server.xmpl.tmpl](confd/templates/server.xml.tmpl)
......@@ -26,3 +26,16 @@
justify-content: center;
}
}
.eu-logo {
height: 12vh;
min-width: 170px;
min-height: 100px;
}
.eu-wrapper {
display: flex;
height: 100%;
align-items: flex-end;
justify-content: flex-end;
}
......@@ -13,6 +13,12 @@ import { AUTHORITIES } from "app/config/constants";
export type IAdditionalContentProp = StateProps
export const EUIcon = props => (
<div {...props} className="brand-icon eu-wrapper">
<img src="content/images/el_regionaalarengu_fond_horisontaalne.jpg" alt="Logo" className="eu-logo" />
</div>
);
export const AdditionalContent = (props: IAdditionalContentProp) => {
const {userLoginName, activeChat, authorFirstName, userAuthorities, authorId} = props
const dispatch = useDispatch();
......@@ -121,6 +127,7 @@ export const AdditionalContent = (props: IAdditionalContentProp) => {
</div>
</>
}
<EUIcon/>
</div>
);
};
......
......@@ -14,6 +14,7 @@ import {
import { RASA_FILE_TYPES } from "app/modules/training-interface/intents/intents.reducer";
import Avatar from "app/shared/common-components/avatar/avatar";
import '../training-interface.scss'
import { EUIcon } from "app/modules/customer-service/additional-content/additional-content";
export type IIntentsProp = StateProps;
......@@ -188,6 +189,7 @@ export const Intents = (props: IIntentsProp) => {
<Translate contentKey="training.model.train">Train</Translate>
</Button>
</div>
<EUIcon/>
</div>
</div>
);
......
......@@ -9,6 +9,7 @@ import ErrorBoundaryRoute from "app/shared/error/error-boundary-route";
import ChatList from "app/shared/common-components/chat-list/chat-list";
import TrainingMessages from "app/modules/training-interface/labeling/messages/training-messages";
import '../training-interface.scss'
import { EUIcon } from "app/modules/customer-service/additional-content/additional-content";
export interface ILabelingProp extends StateProps, RouteComponentProps<{ id: string }> {}
......@@ -65,6 +66,7 @@ export const Labeling = (props: ILabelingProp) => {
</Button>
</div>
}
<EUIcon/>
</div>
</div>
);
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment