mirror of
https://github.com/comatory/fb2iCal
synced 2025-06-05 22:09:25 +02:00
initial commit
This commit is contained in:
17
lib/views/404.ejs
Normal file
17
lib/views/404.ejs
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Facebook Events to iCal Converter | 404</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h2>Page does not exist</h2>
|
||||
|
||||
<p>
|
||||
The page you requested does not exist.
|
||||
|
||||
<a href="/">Go back</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
20
lib/views/download.ejs
Normal file
20
lib/views/download.ejs
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Facebook Events to iCal Converter | download</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h2>Your ICS file is ready</h2>
|
||||
|
||||
<p>
|
||||
The <code>ics</code> file was created successfully from url
|
||||
<a href="<%= url %>"><%= url %></a>.
|
||||
</p>
|
||||
<p>
|
||||
Your download will start automatically.
|
||||
</p>
|
||||
<a href="/">Go back</a>
|
||||
</body>
|
||||
</html>
|
18
lib/views/error.ejs
Normal file
18
lib/views/error.ejs
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Facebook Events to iCal Converter | error</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h2>Error</h2>
|
||||
|
||||
<p>
|
||||
There was an error parsing the URL:
|
||||
|
||||
<%= error || '' %>
|
||||
</p>
|
||||
<a href="/">Go back</a>
|
||||
</body>
|
||||
</html>
|
23
lib/views/index.ejs
Normal file
23
lib/views/index.ejs
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Facebook Events to iCal Converter</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Facebook Events to iCal Converter</h1>
|
||||
|
||||
<p>
|
||||
Insert Facebook event URL into the form. When you submit it
|
||||
you will get <a href="https://en.wikipedia.org/wiki/ICalendar"><code>ics</code></a>
|
||||
file that you can import
|
||||
into your calendar.
|
||||
</p>
|
||||
|
||||
<form action='/download' method='POST'>
|
||||
<input type='text' name='url' placeholder='Paste / type FB event URL here...' />
|
||||
<input type='submit' value='Submit' />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user