Commit fe3efd20 by Patryk Czarnik

Kursy walut - początek

parent 34069e11
package com.example.demo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class WalutyController {
@GetMapping("/waluty")
public String wyswietlWaluty() {
return "waluty.html";
}
}
<!DOCTYPE html>
<html lang="pl" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Pobieraczka kursów walutowych</title>
<link rel="stylesheet" type="text/css" th:href="@{/styl.css}" href="../static/styl.css">
</head>
<body>
<h1>Kursy walut</h1>
<form>
<div><label for="data">Wybierz datę:</label>
<input type="date" name="data">
</div>
<button>Pobierz</button>
</form>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment