mirror of
https://github.com/13hannes11/ics-proxy.git
synced 2024-09-06 08:01:41 +02:00
first simple start of using templates
This commit is contained in:
20
templates/edit.html
Normal file
20
templates/edit.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Actix web</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Hi, your link is {{ proxy_link }}!</h1>
|
||||
it takes the data from redirects to
|
||||
<p>
|
||||
<form>
|
||||
<input type="text" value="{{ link }}">
|
||||
<input value="Replace" name="replace" type="submit">
|
||||
</form>
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
21
templates/index.html
Normal file
21
templates/index.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Actix web</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Welcome!</h1>
|
||||
<p>
|
||||
<form>
|
||||
<label for="link"">Link: </label>
|
||||
<input id=" link" type="text" name="link" /><br />
|
||||
<input value="Create proxy link" name="create" type="submit">
|
||||
<input value="Edit proxy link" name="edit" type="submit">
|
||||
</form>
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user