diff --git a/client/app/components/admin/AdminRequestInfo.jsx b/client/app/components/admin/AdminRequestInfo.jsx new file mode 100644 index 0000000..fa7c36e --- /dev/null +++ b/client/app/components/admin/AdminRequestInfo.jsx @@ -0,0 +1,69 @@ +import React, { Component } from 'react'; + +class AdminRequestInfo extends Component { + + constructor() { + super(); + } + + userAgent(agent) { + if (agent) { + try { + return agent.split(" ")[1].replace(/[\(\;]/g, ''); + } + catch(e) { + return agent; + } + } + return ''; + } + + displayInfo() { + let adminIndexStyle = { + wrapper: { + width: '100%', + }, + headerWrapper: { + width: '100%', + }, + poster: { + float: 'left', + minHeight: '450px', + }, + info: { + float: 'left', + minHeight: '450px', + } + } + const request = this.props.display; + + if (request) { + return ( +