This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.List; | |
| public class Controller { | |
| public class Member { | |
| //tilføje disse variable nedenunder til jeres member klasse | |
| private String memberType; | |
| private Double paymentAmount; | |
| private Double baseAmount; //så meget skal en person betale som standart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import PropTypes from 'prop-types'; | |
| import { withStyles } from '@material-ui/core/styles'; | |
| import Card from '@material-ui/core/Card'; | |
| import CardActionArea from '@material-ui/core/CardActionArea'; | |
| import CardActions from '@material-ui/core/CardActions'; | |
| import CardContent from '@material-ui/core/CardContent'; | |
| import CardMedia from '@material-ui/core/CardMedia'; | |
| import Button from '@material-ui/core/Button'; | |
| import Typography from '@material-ui/core/Typography'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import PropTypes from 'prop-types'; | |
| import { withStyles } from '@material-ui/core/styles'; | |
| import Card from '@material-ui/core/Card'; | |
| import CardActionArea from '@material-ui/core/CardActionArea'; | |
| import CardActions from '@material-ui/core/CardActions'; | |
| import CardContent from '@material-ui/core/CardContent'; | |
| import CardMedia from '@material-ui/core/CardMedia'; | |
| import Button from '@material-ui/core/Button'; | |
| import Typography from '@material-ui/core/Typography'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import PropTypes from 'prop-types'; | |
| import { withStyles } from '@material-ui/core/styles'; | |
| import Card from '@material-ui/core/Card'; | |
| import CardActionArea from '@material-ui/core/CardActionArea'; | |
| import CardActions from '@material-ui/core/CardActions'; | |
| import CardContent from '@material-ui/core/CardContent'; | |
| import CardMedia from '@material-ui/core/CardMedia'; | |
| import Button from '@material-ui/core/Button'; | |
| import Typography from '@material-ui/core/Typography'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import PropTypes from 'prop-types'; | |
| import { withStyles } from '@material-ui/core/styles'; | |
| import Card from '@material-ui/core/Card'; | |
| import CardActionArea from '@material-ui/core/CardActionArea'; | |
| import CardActions from '@material-ui/core/CardActions'; | |
| import CardContent from '@material-ui/core/CardContent'; | |
| import CardMedia from '@material-ui/core/CardMedia'; | |
| import Button from '@material-ui/core/Button'; | |
| import Typography from '@material-ui/core/Typography'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, {useState, useEffect} from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import deburr from 'lodash/deburr'; | |
| import Autosuggest from 'react-autosuggest'; | |
| import match from 'autosuggest-highlight/match'; | |
| import parse from 'autosuggest-highlight/parse'; | |
| import TextField from '@material-ui/core/TextField'; | |
| import Paper from '@material-ui/core/Paper'; | |
| import MenuItem from '@material-ui/core/MenuItem'; | |
| import Popper from '@material-ui/core/Popper'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
| <p>Hello</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const sortDatesByWeek = (data) =>{ | |
| return data.reduce((acc, entry) =>{ | |
| const week = moment(entry.date).week(); | |
| if (typeof acc[week] === 'undefined') { | |
| acc[week] = []; | |
| } | |
| acc[week] = {new: acc.new += entry.new, | |
| reviwed: acc.reviewed += entry.reviwed, | |
| approved: acc.approved += entry.approved, | |
| discarded: acc.discarded += entry.discarded } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react' | |
| import Login from './Login'; | |
| import * as Keycloak from 'keycloak-js' | |
| const ERROR_TYPES = Object.freeze({ | |
| FAILED_AUTHENTICATION: "Username or password is wrong" | |
| }) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useState } from 'react'; | |
| import BoundingboxFactory from './boundingboxfactory/BoundingboxFactory'; | |
| import {RectangleSelector} from 'react-image-annotation/lib/selectors' | |
| import Loader from '../../ui/Loader'; | |
| import ErrorPage from '../../ui/errorpage/ErrorPage'; | |
| import useAxios from 'axios-hooks'; | |
| import AnnotationController from './boundingboxfactory/annotationcontroller/AnnotationController'; | |
| import {Container, Row, Col} from 'react-grid-system'; | |
| import Categories from './categories/Categories' | |
| import axios from 'axios'; |
OlderNewer