add link to source code

This commit is contained in:
Daniel Langbein 2022-12-14 19:10:28 +01:00
parent 474cd6603f
commit f4f6541fbb
2 changed files with 23 additions and 20 deletions

View File

@ -11,6 +11,7 @@
</head>
<body>
<main>
<h1>MastodonTootFollower</h1>
<p>
In the following you can generate a link to follow a conversation on Mastodon.
@ -46,6 +47,8 @@
</li>
</ul>
<p>Generated link: <a href="https://localhost:443" id="href1"></a></p>
<p></p>
<p><a href="https://codeberg.org/privacy1st/MastodonTootFollower">Source Code</a> of this project.</p>
</main>
<script src="{{ url_for('static', filename='index.js') }}"></script>

View File

@ -10,27 +10,27 @@
<link rel="icon" href="{{ url_for('static', filename='favicon.png') }}" type="image/x-icon">
</head>
<body>
<h1>News from the conversation</h1>
<p>List of changes from the conversation since your last visit.</p>
<table class="styled-table">
<thead>
<tr>
<th>Date</th>
<th>Account</th>
<th>Content</th>
</tr>
</thead>
<tbody>
{% for update in updates %}
<main>
<h1>News from the conversation</h1>
<p>List of changes from the conversation since your last visit.</p>
<table class="styled-table">
<thead>
<tr>
<td><a href="{{ update.dict[uri] }}">{{ update.get_date() }}</a></td>
<td>{{ update.dict['acct'] }}</td>
<td>{{ update.dict['content'] | safe }}</td>
<th>Date</th>
<th>Account</th>
<th>Content</th>
</tr>
{% endfor %}
</tbody>
</table>
</thead>
<tbody>
{% for update in updates %}
<tr>
<td><a href="{{ update.dict[uri] }}">{{ update.get_date() }}</a></td>
<td>{{ update.dict['acct'] }}</td>
<td>{{ update.dict['content'] | safe }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</main>
</body>
</html>