12345678910111213141516171819202122232425262728293031 |
- import React, { Component } from 'react';
- import Services from './Services.jsx';
- export default class Common extends Component {
- getServices() {
- return Services.get();
- }
- renderServices() {
- return <Services/>;
- }
- render() {
- return <div id='Common'>
- <header>
- <a href='https://start.mephi.ru/start' target='iframe' onClick={function(){$('select#services :nth-child(1)').prop('selected', true); $('iframe').trigger('change');return false}}><img id='logo' src='/images/mephi_logo_onwhite_32px.png' alt='MEPHI logo' width='32px' height='32px'/></a>
- <nav>
- {this.renderServices()}
- </nav>
- <div id='auth'>
- test
- </div>
- </header>
- <iframe name='iframe' id='iframe' src='/start'></iframe>
- </div>;
- }
- }
|