mirror of
https://github.com/guilhermewerner/tomasulo-simulator
synced 2025-06-15 21:34:20 +00:00
Add step button
This commit is contained in:
@ -1,17 +1,32 @@
|
|||||||
import Head from 'next/head'
|
import Head from 'next/head'
|
||||||
import Image from 'next/image'
|
import Image from 'next/image'
|
||||||
import Table from 'react-bootstrap/Table'
|
import Table from 'react-bootstrap/Table'
|
||||||
import Container from 'react-bootstrap/Container';
|
import Container from 'react-bootstrap/Container'
|
||||||
import Nav from 'react-bootstrap/Nav';
|
import Nav from 'react-bootstrap/Nav'
|
||||||
import Navbar from 'react-bootstrap/Navbar';
|
import Navbar from 'react-bootstrap/Navbar';
|
||||||
import NavDropdown from 'react-bootstrap/NavDropdown';
|
import NavDropdown from 'react-bootstrap/NavDropdown'
|
||||||
import { useState } from 'react'
|
import Row from 'react-bootstrap/Row'
|
||||||
|
import Col from 'react-bootstrap/Col'
|
||||||
|
import { useState } from 'react';
|
||||||
|
import Button from 'react-bootstrap/Button';
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
const [instructionStatus, setInstructionStatus] = useState([]);
|
const [instructionStatus, setInstructionStatus] = useState([]);
|
||||||
const [reservationStations, setReservationStations] = useState([]);
|
const [reservationStations, setReservationStations] = useState([]);
|
||||||
const [registerStatus, setRegisterStatus] = useState([]);
|
const [registerStatus, setRegisterStatus] = useState([]);
|
||||||
|
|
||||||
|
function issueInstruction() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function executeInstruction() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function writeInstruction() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
@ -33,9 +48,14 @@ export default function Home() {
|
|||||||
</Navbar>
|
</Navbar>
|
||||||
<main>
|
<main>
|
||||||
<Container>
|
<Container>
|
||||||
<div className="my-4">
|
<Row className="row my-4">
|
||||||
<h3>Instruction Status</h3>
|
<Col>
|
||||||
</div>
|
<h3>Instruction Status</h3>
|
||||||
|
</Col>
|
||||||
|
<Col className="text-end">
|
||||||
|
<Button variant="primary">Proxímo</Button>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
<Table striped bordered hover>
|
<Table striped bordered hover>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
Reference in New Issue
Block a user