Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor UI updates #1573

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions templates/admin/library_report_full_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1 class="mx-auto flex items-center mb-6 mt-8"><img style="width:3rem; margin-r
<div class="flex flex-row gap-y-2 w-40 items-center ml-6">
{% avatar commitauthor=author %}
<div class="w-full flex flex-col ml-2">
<div class="text-[0.8rem] text-bold overflow-ellipsis overflow-hidden whitespace-nowrap w-full text-green">
<div class="text-[0.8rem] text-bold overflow-ellipsis overflow-hidden whitespace-nowrap w-full text-[rgb(14,174,96)] dark:text-green">
{{ author.name }}
</div>
<div class="text-[0.7rem]">{{ author.commit_count }}</div>
Expand Down Expand Up @@ -51,7 +51,7 @@ <h2 class="mx-auto mt-8 text-sky-400">Mailing List</h2>
<div class="flex flex-row gap-y-2 w-40 items-center ml-6">
{% avatar commitauthor=item %}
<div class="w-full flex flex-col ml-2">
<div class="text-[0.8rem] text-bold overflow-ellipsis overflow-hidden whitespace-nowrap w-full text-green">
<div class="text-[0.8rem] text-bold overflow-ellipsis overflow-hidden whitespace-nowrap w-full text-[rgb(14,174,96)] dark:text-green">
{{ item.name }}
</div>
<div class="text-[0.7rem]">({{ item.total_count }})</div>
Expand Down Expand Up @@ -81,7 +81,7 @@ <h3 class="text-white flex items-center m-0 p-0"><img style="width:1.3rem; margi
<div class="flex flex-row gap-y-2 w-40 items-center ml-6">
{% avatar commitauthor=author %}
<div class="w-full flex flex-col ml-2">
<div class="text-[0.8rem] text-bold overflow-ellipsis overflow-hidden whitespace-nowrap w-full text-green">
<div class="text-[0.8rem] text-bold overflow-ellipsis overflow-hidden whitespace-nowrap w-full text-[rgb(14,174,96)] dark:text-green">
{{ author.name }}
</div>
<div class="text-[0.7rem]">{{ author.commit_count }}</div>
Expand Down
59 changes: 30 additions & 29 deletions templates/community_temp.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
{% extends "base.html" %}
{% extends 'base.html' %}
{% load i18n %}
{% load static %}

{% block title %}{% trans "Community" %}{% endblock %}
{% block title %}
{% trans 'Community' %}
{% endblock %}

{% block content %}
<div class="py-0 px-0 md:py-6 md:px-3">
<div class="grid grid-cols-1 gap-6 md:grid-cols-2">

<div class="p-6 text-white bg-white md:rounded-lg md:shadow-lg dark:text-white text-slate dark:bg-charcoal dark:bg-neutral-700">
<h5 class="text-2xl leading-tight text-orange">Mailing Lists</h5>
<p class="py-1 my-2 border-b pb-4 border-gray-700 text-slate dark:text-white">
Discover the Boost library community with options tailored to developers, casual users, and enthusiasts.
</p>
<p class="py-1 my-2 border-b pb-4 border-gray-700 text-slate dark:text-white">Discover the Boost library community with options tailored to developers, casual users, and enthusiasts.</p>
<div class="grid grid-cols-3">

<a href="https://lists.boost.org/mailman/listinfo.cgi/boost" class="p-3 text-center rounded-lg cursor-pointer hover:bg-gray-100 group dark:hover:bg-slate text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">
<h6 class="pb-1 text-sm md:text-base">Developers</h6>
<i class="fa fa-helmet-safety"></i>
Expand All @@ -29,69 +27,72 @@ <h6 class="pb-1 text-sm md:text-base">Users</h6>
<h6 class="pb-1 text-sm md:text-base">Announcements</h6>
<i class="fa fa-bullhorn"></i>
</a>

</div>
<div>
<p class="text-center mx-auto pt-3">
Please, read our <a href="/doc/user-guide/discussion-policy.html" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange whitespace-nowrap">Discussion Policy</a> before posting.
Please, read our <a href="/doc/user-guide/discussion-policy.html" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange whitespace-nowrap">Discussion Policy</a> before posting.
</p>
</div>
</div>

<div class="p-6 text-white bg-white md:rounded-lg md:shadow-lg dark:text-white text-slate dark:bg-charcoal dark:bg-neutral-700">
<h5 class="text-2xl leading-tight text-orange">Discussion Forums</h5>
<p class="py-1 my-2 border-b pb-4 border-gray-700 text-slate dark:text-white">
Coming soon, exploring the topics and decisions being made by the community will be available via a more modern interface.
</p>
<p class="py-1 my-2 border-b pb-4 border-gray-700 text-slate dark:text-white">Coming soon, exploring the topics and decisions being made by the community will be available via a more modern interface.</p>

<div class="text-center mx-auto pt-3">In the meantime, please enjoy our<br /><a href="https://lists.boost.org/Archives/boost/" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange whitespace-nowrap">Mailing List Archives</a></div>
<div class="text-center mx-auto pt-3">
In the meantime, please enjoy our<br /><a href="https://lists.boost.org/Archives/boost/" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange whitespace-nowrap">Mailing List Archives</a>
</div>
</div>

<div class="p-6 text-white bg-white md:rounded-lg md:shadow-lg dark:text-white text-slate dark:bg-charcoal dark:bg-neutral-700">
<h5 class="text-2xl leading-tight text-orange">Cpplang Slack Workspace</h5>

<p class="py-1 my-2 border-b pb-4 border-gray-700">A vibrant hub for real-time discussions with Boost authors, maintainers, and contributors. Dive into one of the largest searchable databases for Boost/C++ insights and history. Join now.</p>
<p class="py-1 my-2 border-b pb-4 border-gray-700 text-slate">A vibrant hub for real-time discussions with Boost authors, maintainers, and contributors. Dive into one of the largest searchable databases for Boost/C++ insights and history. Join now.</p>

<div class="flex flex-col">
<a href="https://cppalliance.org/slack/" class="flex p-3 text-center rounded-lg cursor-pointer hover:bg-gray-100 group dark:hover:bg-slate text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">Join Cpplang Slack</a>
<a href="https://cpplang.slack.com/" class="flex p-3 text-center rounded-lg cursor-pointer hover:bg-gray-100 group dark:hover:bg-slate text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">Visit the Workspace</a>
</div>
</div>
</div>

{% comment %}
<div class="p-6 text-white bg-white md:rounded-lg md:shadow-lg dark:text-white text-slate dark:bg-charcoal dark:bg-neutral-700">
<h5
class="text-2xl font-bold leading-tight text-orange">
Users
</h5>
<p class="py-1 my-2 border-b border-gray-700">See everyone involved with Boost.</p>
<ul class="flex flex-wrap mt-2 pt-2 space-y-2">
<li class="w-1/2 text-center"><a href="https://www.boost.org/users/people.html" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">Authors</a></li>
<li class="w-1/2 text-center"><a href="https://www.boost.org/community/moderators.html" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">Moderators</a></li>
{#<li class="w-1/2 text-center"><a href="https://sites.google.com/a/boost.org/steering/" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">Boost Foundation</a></li>#}
<li class="w-1/2 text-center"><a href="https://www.boost.org/users/memoriam/beman_dawes.html" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">In Memoriam: Beman Dawes</a></li>
</ul>
<h5 class="text-2xl font-bold leading-tight text-orange">Users</h5>
<p class="py-1 my-2 border-b border-gray-700">See everyone involved with Boost.</p>
<ul class="flex flex-wrap mt-2 pt-2 space-y-2">
<li class="w-1/2 text-center">
<a href="https://www.boost.org/users/people.html" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">Authors</a>
</li>
<li class="w-1/2 text-center">
<a href="https://www.boost.org/community/moderators.html" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">Moderators</a>
</li>
{# <li class="w-1/2 text-center"><a href="https://sites.google.com/a/boost.org/steering/" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">Boost Foundation</a></li> #}
<li class="w-1/2 text-center">
<a href="https://www.boost.org/users/memoriam/beman_dawes.html" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange">In Memoriam: Beman Dawes</a>
</li>
</ul>
</div>
{% endcomment %}

<div class="p-6 text-white bg-white md:rounded-lg md:shadow-lg dark:text-white text-slate dark:bg-charcoal dark:bg-neutral-700">
<h5 class="text-2xl leading-tight text-orange">ISO C++</h5>
<p class="py-1 my-2 border-b pb-4 border-gray-700 text-slate dark:text-white">News, Status & Discussion about Standard C++</p>
<p class="pt-3 text-slate dark:text-white"><a href="https://isocpp.org/" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange whitespace-nowrap">The Standard C++ Foundation</a> is a Washington 501(c)(6) not-for-profit organization supporting the C++ community and promotes the use of modern Standard C++.</p>
<p class="pt-3 text-slate dark:text-white">
<a href="https://isocpp.org/" class="text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange whitespace-nowrap">The Standard C++ Foundation</a> is a Washington 501(c)(6) not-for-profit organization supporting the C++ community and promotes the use of modern Standard C++.
</p>
</div>

<div class="p-6 text-white bg-white md:rounded-lg md:shadow-lg dark:text-white text-slate dark:bg-charcoal dark:bg-neutral-700">
<h5 class="text-2xl leading-tight text-orange">Across the Web</h5>
<p class="py-1 my-2 border-b pb-4 border-gray-700 text-slate dark:text-white">Follow us, like, and share our announcements.</p>
<div class="grid grid-cols-2 justify-items-center w-fit mx-auto">
<div class="grid grid-cols-2 md:grid-cols-3 justify-items-center w-fit mx-auto">
<a href="https://github.com/boostorg" class="block p-3 w-28 text-center rounded-lg cursor-pointer hover:bg-gray-100 group dark:hover:bg-slate text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange"><span class="text-xs">On GitHub</span> <br /><i class="fa-brands fa-github fa-3x"></i></a>
<a href="https://x.com/boost_libraries" class="block p-3 w-28 text-center rounded-lg cursor-pointer hover:bg-gray-100 group dark:hover:bg-slate text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange"><span class="text-xs">On X (Twitter)</span> <br /><i class="fa-brands fa-x-twitter fa-3x"></i></a>
<a href="https://bsky.app/profile/boostlibs.bsky.social" target="_blank" title="Bluesky" class="block p-3 w-28 text-center rounded-lg cursor-pointer hover:bg-gray-100 group dark:hover:bg-slate text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange"><span class="text-xs">On Bluesky</span> <br /><i class="fa-brands fa-bluesky fa-3x"></i></a>
<a href="https://mastodon.social/@boostlibs" target="_blank" title="Mastodon" class="block p-3 w-28 text-center rounded-lg cursor-pointer hover:bg-gray-100 group dark:hover:bg-slate text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange"><span class="text-xs">On Mastodon</span> <br /><i class="fa-brands fa-mastodon fa-3x"></i></a>
<a href="https://www.reddit.com/user/boostlibs/" target="_blank" title="Reddit" class="block p-3 w-28 text-center rounded-lg cursor-pointer hover:bg-gray-100 group dark:hover:bg-slate text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange"><span class="text-xs">On Reddit</span> <br /><i class="fa-brands fa-reddit fa-3x"></i></a>
</div>
</div>

</div>
</div>
{% endblock %}
2 changes: 1 addition & 1 deletion templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h3 class="pb-2 mb-4 text-lg md:text-2xl capitalize border-b border-gray-400 tex

<div class="my-12 space-y-4 lg:flex lg:mb-16 lg:space-y-0 lg:space-x-4 md:shadow-lg">
<div class="p-6 relative bg-white md:rounded-lg md:p-11 w-full dark:bg-charcoal">
<div class="mb-6">
<div>
<span class="inline py-1 px-3 w-auto text-sm uppercase rounded md:text-base text-[rgb(14,174,96)] dark:text-green font-semibold bg-gray-300/50 dark:bg-green/10 border border-green-500">featured video</span>
</div>
<div class="flex flex-col justify-center items-center h-full pb-4">
Expand Down
54 changes: 31 additions & 23 deletions templates/markdown_template.html
Original file line number Diff line number Diff line change
@@ -1,34 +1,42 @@
{% extends "base.html" %}
{% extends 'base.html' %}

{% load static %}

{% block title %}{{ frontmatter.title }}{% endblock %}
{% block description %}{{ frontmatter.description }}{% endblock %}
{% block keywords %}{{ frontmatter.keywords }}{% endblock %}
{% block author %}{{ frontmatter.author }}{% endblock %}
{% block title %}
{{ frontmatter.title }}
{% endblock %}
{% block description %}
{{ frontmatter.description }}
{% endblock %}
{% block keywords %}
{{ frontmatter.keywords }}
{% endblock %}
{% block author %}
{{ frontmatter.author }}
{% endblock %}

{% block content %}
<div class="py-0 px-3 mb-3 md:py-6 md:px-0">

<div class="mb-6 md:mb-0">
{{ content|safe }}
</div>

<div class="mb-6 p-6 w-full bg-white rounded-lg md:shadow-lg dark:text-white text-slate dark:bg-charcoal dark:bg-neutral-700">{{ content|safe }}</div>
</div>
{% endblock %}

{% block css %}
<style>
p {
padding-top: 0 !important;
padding-bottom: 1.0rem !important;
}
<style>
p {
padding-top: 0 !important;
padding-bottom: 1rem !important;
}

ul {
list-style-type: disc !important;
margin-left: 1rem !important;
padding-left: 1rem !important;
padding-bottom: 1rem !important;
}
</style>
{% endblock css %}
ul {
list-style-type: disc !important;
margin-left: 1rem !important;
padding-left: 1rem !important;
padding-bottom: 1rem !important;
}

h1 {
font-size: 1.875rem;
}
</style>
{% endblock %}
4 changes: 2 additions & 2 deletions templates/review/review_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h1 class="text-3xl">Lambda2</h1>

<div class="space-y-11">
<div class="py-6 border-b border-slate" id="accepted">
<h5 class="inline py-1 px-3 w-auto uppercase rounded text-green bg-green/10">Accepted</h5>
<h5 class="inline py-1 px-3 w-auto uppercase rounded text-[rgb(14,174,96)] dark:text-green bg-green/10">Accepted</h5>
<p class="mt-6">
There was initially a single reject, but was later changed to Conditional Accept with the condition that:
</p>
Expand Down Expand Up @@ -97,7 +97,7 @@ <h5 class="inline py-1 px-3 w-auto uppercase rounded text-green bg-green/10">Acc
</div>

<div id="pending">
<h5 class="inline py-1 px-3 w-auto uppercase rounded text-green bg-green/10">Pending</h5>
<h5 class="inline py-1 px-3 w-auto uppercase rounded text-[rgb(14,174,96)] dark:text-green bg-green/10">Pending</h5>
<p class="mt-6">
The Boost formal review of the Lambda2, authored by Peter Dimov, starts Monday, March 22, 2021 to March 31, 2021 (inclusive).
</p>
Expand Down
Loading
Loading