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

Add a banner during the migration. #11

Closed
wants to merge 2 commits into from
Closed
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
12 changes: 12 additions & 0 deletions html/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,18 @@ <h1 id="logoheader">
<div id="body-main">
<div id="content">
<div id="breadcrumb"><span metal:define-slot="body_title">body title</span></div>
<div id="migration-notice">
<div id="migration-images">
<img width="32" src="@@file/python-logo-small.png" />
<img width="32" src="@@file/gh-icon.png" />
</div>
<p>This issue tracker <b>is being migrated to GitHub</b>, and is currently <b>read-only</b>.<br />
During the migration it is not possible to create issues, edit them, or add comments.<br />
For more information, <a title="Github Issues Migration is coming soon"
href="https://discuss.python.org/t/github-issues-migration-is-coming-soon/13791">
see this post about the migration.</a></p>
</div>
<p tal:condition="options/error_message | nothing" class="error-message"
tal:repeat="m options/error_message" tal:content="structure string:$m" />
<p tal:condition="options/ok_message | nothing" class="ok-message">
Expand Down
Binary file added html/python-logo-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions html/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,22 @@ li#menu-shortcuts-help span {
cursor: help;
}

/* styles for migration-related banners */

#migration-notice {
background-color: #e0e0e0;
border: 2px solid red;
margin-bottom: 1em;
display: flex;
align-items: center;
justify-content: center;
}
#migration-images {
display: flex;
align-items: center;
padding-right: 1em;
column-gap: .5em;
}

/* styles for printing */
@media print {
Expand Down