import React, { Component } from 'react';
import axios from 'axios';
//import swal from 'sweetalert';
import { Link } from "react-router-dom";

export default class AddEditItem extends Component {
    render() {
        return (
            <div className="container">
                <div class="border">
                <div style={{margin: "15px"}}>
                    <h5 className="text-left"> 1st Term Examination </h5>
                    <p className="text-center"> Attempts allowed : 1 </p>
                    <p className="text-center"> This quiz closed on Sunday,02 May 2021,7:10PM</p>
                    <p className="text-center"> time limit :1 hour 30 mins</p>
                    <p className="text-center">Grading method: highest grade</p>
                    <h5 className="text-left"> Summary of your pervious attempts </h5>

                    <table class="table table-striped">
                        <thead>
                            <tr>
                                <th>Attempt</th>
                                <th>State</th>
                                <th>Review</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>Preview</td>
                                <td>In progress</td>
                                <td></td>
                            </tr>
                        </tbody>
                    </table>
                    <p className="text-center"> This quiz is not currently available</p>
                    <button className="text-center" type="button" class="btn btn-secondary btn-sm">Back to the course</button>
                </div>
                
            </div></div>




        )
    }
}