2022-06-22 13:11:22 -05:00
<!DOCTYPE HTML>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta http-equiv = "x-ua-compatible" content = "ie=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" >
< link rel = "stylesheet" href = "/static/css/main.css" >
2022-06-27 01:30:29 -05:00
< link rel = "alternate" title = "{{ local_actor.display_name}}'s microblog" type = "application/json" href = "{{ url_for(" json_feed " ) } } " / >
< link rel = "alternate" href = "{{ url_for(" rss_feed " ) } } " type = "application/rss+xml" title = "{{ local_actor.display_name}}'s microblog" >
< link rel = "alternate" href = "{{ url_for(" atom_feed " ) } } " type = "application/atom+xml" title = "{{ local_actor.display_name}}'s microblog" >
2022-06-22 13:11:22 -05:00
< style >
{{ highlight_css }}
< / style >
2022-06-26 14:54:07 -05:00
{% block head %}{% endblock %}
2022-06-22 13:11:22 -05:00
< / head >
< body >
< div id = "main" >
< main >
{% if is_admin %}
< div id = "admin" >
{% macro admin_link(url, text) %}
2022-06-24 04:33:05 -05:00
{% set url_for = request.app.router.url_path_for(url) %}
< a href = "{{ url_for }}" { % if request . url . path = = url_for % } class = "active" { % endif % } > {{ text }}< / a >
2022-06-22 13:11:22 -05:00
{% endmacro %}
< div style = "margin-bottom:30px;" >
< nav class = "flexbox" >
< ul >
< li > Admin< / li >
< li > {{ admin_link("index", "Public") }}< / li >
< li > {{ admin_link("admin_new", "New") }}< / li >
2022-07-07 13:37:16 -05:00
< li > {{ admin_link("admin_stream", "Stream") }}< / li >
2022-06-26 04:09:43 -05:00
< li > {{ admin_link("admin_inbox", "Inbox") }}/{{ admin_link("admin_outbox", "Outbox") }}< / li >
2022-06-22 13:11:22 -05:00
< li > {{ admin_link("get_notifications", "Notifications") }} {% if notifications_count %}({{ notifications_count }}){% endif %}< / li >
< li > {{ admin_link("get_lookup", "Lookup") }}< / li >
2022-06-26 04:09:43 -05:00
< li > {{ admin_link("admin_bookmarks", "Bookmarks") }}< / li >
< li > < a href = "{{ url_for(" logout " ) } } " > Logout< / a > < / li >
2022-06-22 13:11:22 -05:00
< / ul >
< / nav >
< / div >
< / div >
{% endif %}
{% block content %}{% endblock %}
< / main >
< / div >
< footer class = "footer" >
2022-07-04 12:02:30 -05:00
Powered by < a href = "https://docs.microblog.pub" > microblog.pub< / a > < small class = "microblogpub-version" > < code > {{ microblogpub_version }}< / code > < / small > and the < a href = "https://activitypub.rocks/" > ActivityPub< / a > protocol
2022-06-22 13:11:22 -05:00
< / footer >
< / body >
< / html >