Skip to content

Commit

Permalink
Css tweaks & sorryjako in favicon (#129)
Browse files Browse the repository at this point in the history
* add our lord & saviour into favicon

* remove table-wrapper class

* build
  • Loading branch information
adamkral12 authored Dec 17, 2018
1 parent cd88fe6 commit 5c77cf1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export class AgentsPage extends React.Component<any, IAgentsState> {
);

return (
<div className="table-wrapper">
<div>
{this.state.formErrors.length > 0 && <div className={'alert alert-danger'}>
{this.state.formErrors.map((error: string, index) =>
<p key={index}>{error}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export class DepartmentsPage extends React.Component<{}, IDepartmentsState> {
};

private onDelete = async (departmentId: number) => {
console.log(this.state.departments);
const department = this.state.departments.get(departmentId);
if (department.agentIds.length > 0) {
this.setState(_ => ({
Expand Down Expand Up @@ -235,7 +236,7 @@ export class DepartmentsPage extends React.Component<{}, IDepartmentsState> {
const {city, country,latitude, longitude, specialization} = this.state.newDepartment;
return (
<div>
<div className="table-wrapper">
<div>
{this.state.formErrors.length > 0 && <div className={'alert alert-danger'}>
{this.state.formErrors.map((error: string, index) =>
<p key={index}>{error}</p>
Expand Down
Binary file not shown.
1 change: 1 addition & 0 deletions Secret-agency-web/src/main/resources/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<title>Secret agency web app</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="/pa165/favicon.ico" type="image/x-icon">
</head>
<body>
<div id="root"></div>
Expand Down
4 changes: 2 additions & 2 deletions Secret-agency-web/src/main/resources/static/js/frontend.js

Large diffs are not rendered by default.

0 comments on commit 5c77cf1

Please sign in to comment.