2023-07-26 07:51:29 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport"
|
|
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
<title>Index</title>
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
|
|
|
|
<style>
|
|
|
|
th {text-align: left}
|
|
|
|
tr > td:nth-child(2) {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
td, th {
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
2023-07-31 07:21:54 +00:00
|
|
|
<body>
|
|
|
|
<!-- As a link -->
|
|
|
|
<nav class="navbar navbar-dark bg-dark">
|
|
|
|
<section class="container">
|
|
|
|
<a class="navbar-brand" href="/">Payment-poc</a>
|
|
|
|
</section>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<section class="container">
|
2023-07-30 10:14:05 +00:00
|
|
|
<h2>Izaberi metodu plaćanja</h2>
|
2023-07-31 07:21:54 +00:00
|
|
|
{{ range $key, $value := .Gateways }}
|
|
|
|
<a class="btn btn-success" href="/methods/{{$key}}?amount={{$.Amount}}">{{$value}}</a>
|
2023-07-30 10:14:05 +00:00
|
|
|
{{end}}
|
2023-07-31 07:21:54 +00:00
|
|
|
</section>
|
2023-07-26 07:51:29 +00:00
|
|
|
</body>
|
|
|
|
</html>
|