Отчёт.
This commit is contained in:
parent
21ab7bd988
commit
2cc5a95931
@ -9,21 +9,18 @@
|
|||||||
<body>
|
<body>
|
||||||
<input id="First" class="form-control" type="text" placeholder="Введите первое число" aria-label="readonly input example">
|
<input id="First" class="form-control" type="text" placeholder="Введите первое число" aria-label="readonly input example">
|
||||||
<input id="Second" class="form-control" type="text" placeholder="Ведите второе число" aria-label="readonly input example">
|
<input id="Second" class="form-control" type="text" placeholder="Ведите второе число" aria-label="readonly input example">
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<button id="Sum" type="button" class="btn btn-success">+</button>
|
<button id="Sum" type="button" class="btn btn-success">+</button>
|
||||||
<button id="Minus" type="button" class="btn btn-success">-</button>
|
<button id="Minus" type="button" class="btn btn-success">-</button>
|
||||||
<button id="Implement" type="button" class="btn btn-success">/</button>
|
<button id="Implement" type="button" class="btn btn-success">/</button>
|
||||||
<button id="Multiplication" type="button" class="btn btn-success">x</button>
|
<button id="Multiplication" type="button" class="btn btn-success">x</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="Result" class="col-sm-2 col-form-label">Итог: </label>
|
<label for="Result" class="col-sm-2 col-form-label">Итог: </label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input id="Result" class="form-control">
|
<input id="Result" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="items.js"></script>
|
<script src="items.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -2,7 +2,6 @@ package com.example.spring_online_calculator;
|
|||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.web.bind.annotation.CrossOrigin;
|
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
@ -10,7 +9,6 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
@RestController
|
@RestController
|
||||||
public class SpringOnlineCalculatorApplication {
|
public class SpringOnlineCalculatorApplication {
|
||||||
|
|
||||||
public static void main(String[] args)
|
public static void main(String[] args)
|
||||||
{
|
{
|
||||||
SpringApplication.run(SpringOnlineCalculatorApplication.class, args);
|
SpringApplication.run(SpringOnlineCalculatorApplication.class, args);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user