mirror of
https://github.com/comatory/fb2iCal
synced 2024-12-27 08:52:58 +01:00
minor CSS adjustments
This commit is contained in:
parent
b7d58febe8
commit
4b669d34aa
BIN
lib/public/icon-180.png
Normal file
BIN
lib/public/icon-180.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
@ -4,13 +4,48 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/icon-180.png">
|
||||
<title>Facebook Event to iCal Converter</title>
|
||||
<style>
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
font-size: 16px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
header, footer, article {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
article#main {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
p, input, table, button, label {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
#current-download {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#list {}
|
||||
.list-wrapper {
|
||||
max-height: 500px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#list {
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
@ -28,9 +63,14 @@
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
#form input {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
#status {
|
||||
flex: 1;
|
||||
height: 1rem;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.status-item {
|
||||
@ -49,56 +89,66 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<a id="current-download" href="javascript:void(0)"></a>
|
||||
<h1>Facebook Events to iCal Converter</h1>
|
||||
<header>
|
||||
<a id="current-download" href="javascript:void(0)"></a>
|
||||
<h1>Facebook Events to iCal Converter</h1>
|
||||
</header>
|
||||
|
||||
<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>
|
||||
<article id="main">
|
||||
<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>
|
||||
|
||||
<div class="row">
|
||||
<form action='/download' method='POST' id="form">
|
||||
<input id="url" type='text' name='url' placeholder='Paste / type FB event URL here...' />
|
||||
<input id="submit" type='submit' value='Submit' />
|
||||
</form>
|
||||
<div id="status">
|
||||
<div class="status-item" id="network">
|
||||
Fetching file...
|
||||
</div>
|
||||
<div class="status-item" id="parsing">
|
||||
Parsing data...
|
||||
</div>
|
||||
<div class="status-item" id="error">
|
||||
</div>
|
||||
<div class="status-item" id="service-worker">
|
||||
<div class="row">
|
||||
<form action='/download' method='POST' id="form">
|
||||
<input id="url" type='text' name='url' placeholder='Paste / type FB event URL here...' />
|
||||
<input id="submit" type='submit' value='Submit' />
|
||||
</form>
|
||||
<div id="status">
|
||||
<div class="status-item" id="network">
|
||||
Fetching file...
|
||||
</div>
|
||||
<div class="status-item" id="parsing">
|
||||
Parsing data...
|
||||
</div>
|
||||
<div class="status-item" id="error">
|
||||
</div>
|
||||
<div class="status-item" id="service-worker">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<label for="nojs">
|
||||
<input id="nojs" type="checkbox" />
|
||||
No JavaScript
|
||||
</label>
|
||||
<label for="nojs">
|
||||
<input id="nojs" type="checkbox" />
|
||||
No JavaScript
|
||||
</label>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<table id="list" class="hidden">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>#</td>
|
||||
<td>Link</td>
|
||||
<td>Created at</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="list-wrapper">
|
||||
<table id="list" class="hidden">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>#</td>
|
||||
<td>Link</td>
|
||||
<td>Created at</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<footer>
|
||||
Created by <a href="http://ondrejsynacek.com">Ondrej Synacek</a>
|
||||
</footer>
|
||||
|
||||
|
||||
<script>
|
||||
|
Loading…
Reference in New Issue
Block a user