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> </head>
<body> <body>
<main> <main>
<h1>MastodonTootFollower</h1> <h1>MastodonTootFollower</h1>
<p> <p>
In the following you can generate a link to follow a conversation on Mastodon. In the following you can generate a link to follow a conversation on Mastodon.
@ -46,6 +47,8 @@
</li> </li>
</ul> </ul>
<p>Generated link: <a href="https://localhost:443" id="href1"></a></p> <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> </main>
<script src="{{ url_for('static', filename='index.js') }}"></script> <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"> <link rel="icon" href="{{ url_for('static', filename='favicon.png') }}" type="image/x-icon">
</head> </head>
<body> <body>
<main>
<h1>News from the conversation</h1> <h1>News from the conversation</h1>
<p>List of changes from the conversation since your last visit.</p> <p>List of changes from the conversation since your last visit.</p>
<table class="styled-table"> <table class="styled-table">
<thead> <thead>
<tr>
<th>Date</th>
<th>Account</th>
<th>Content</th>
</tr>
</thead>
<tbody>
{% for update in updates %}
<tr> <tr>
<td><a href="{{ update.dict[uri] }}">{{ update.get_date() }}</a></td> <th>Date</th>
<td>{{ update.dict['acct'] }}</td> <th>Account</th>
<td>{{ update.dict['content'] | safe }}</td> <th>Content</th>
</tr> </tr>
{% endfor %} </thead>
</tbody> <tbody>
</table> {% 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> </body>
</html> </html>