diff --git a/TWLight/static/css/new-local.css b/TWLight/static/css/new-local.css index 7cbf3d3555..d64ea3be56 100644 --- a/TWLight/static/css/new-local.css +++ b/TWLight/static/css/new-local.css @@ -1421,3 +1421,762 @@ NEW FOOTER CSS text-decoration: none; color: #000; } + +/* +---------------------------------------------------------------------------- +NEW HOMEPAGE DESIGN - MODERN STYLE +-------------------------------------------------------------------------- +*/ + +/* Hero Section */ +.hero-section { + background: linear-gradient(135deg, #4A7BA7 0%, #3366CC 100%); + min-height: 420px; + padding: 100px 20px; + margin: 0; + width: 100%; + display: flex; + align-items: center; +} + +.hero-title { + color: #FFFFFF; + font-family: 'Roboto', sans-serif; + font-size: 40px; + font-weight: 600; + line-height: 1.3; + margin-bottom: 16px; + max-width: 760px; +} + +.hero-subtitle { + color: #EAF1FF; + font-family: 'Roboto', sans-serif; + font-size: 17px; + line-height: 1.6; + max-width: 720px; + margin: 0 0 10px 0; +} + +.hero-login-button { + background-color: #FFFFFF !important; + color: #3366CC !important; + font-family: 'Roboto', sans-serif; + font-size: 16px; + font-weight: 600; + padding: 12px 40px; + border-radius: 4px; + border: none; + text-decoration: none !important; + transition: background-color 0.3s ease; +} + +.hero-login-button:hover { + background-color: #F0F0F0 !important; + color: #3366CC !important; +} + +/* Partners Section */ +.partners-section { + background-color: #F8F9FA; + padding: 60px 20px; + margin: 0; + width: 100%; +} + +.partners-title { + font-family: 'Roboto', sans-serif; + font-size: 28px; + font-weight: 600; + color: #333; + margin-bottom: 40px; +} + +.partners-section { + padding: 80px 20px; + background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%); +} + +.partners-title { + font-family: 'Roboto', sans-serif; + font-size: 42px; + font-weight: 700; + color: #1A1A1A; + margin-bottom: 50px; + position: relative; + padding-bottom: 20px; +} + +.partners-title::after { + content: ''; + position: absolute; + bottom: 0; + left: 50%; + transform: translateX(-50%); + width: 60px; + height: 4px; + background: linear-gradient(90deg, #3366CC, #5B89E0); + border-radius: 2px; +} + +.partners-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); + gap: 24px; + max-width: 1400px; + margin: 0 auto; + padding: 0 20px; +} + +.partner-logo-box { + background: white; + border: 2px solid #E8EDF2; + border-radius: 12px; + padding: 28px 24px; + display: flex; + align-items: center; + justify-content: center; + min-height: 140px; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + position: relative; + overflow: hidden; +} + +.partner-logo-box::before { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + height: 3px; + background: linear-gradient(90deg, #3366CC, #5B89E0); + transform: scaleX(0); + transform-origin: left; + transition: transform 0.3s ease; +} + +.partner-logo-box:hover { + border-color: #3366CC; + box-shadow: 0 8px 24px rgba(51, 102, 204, 0.12); + transform: translateY(-4px); +} + +.partner-logo-box:hover::before { + transform: scaleX(1); +} + +.partner-logo { + max-width: 100%; + max-height: 80px; + object-fit: contain; + filter: grayscale(100%); + transition: filter 0.3s ease; +} + +.partner-logo-box:hover .partner-logo { + filter: grayscale(0%); + brightness(1.1); +} + +/* About Section */ +.about-section { + background: linear-gradient(135deg, #FAFBFD 0%, #F1F5FA 100%); + padding: 80px 20px; + margin: 0; + width: 100%; +} + +.about-content-wrapper { + max-width: 1400px; + margin: 0 auto; +} + +.about-content { + display: grid; + grid-template-columns: 1.1fr 1fr; + gap: 48px; + align-items: center; +} + +.about-copy { + text-align: left; +} + +.about-badge { + display: inline-block; + background: linear-gradient(135deg, #3366CC, #5B89E0); + color: #fff; + padding: 6px 14px; + border-radius: 20px; + font-size: 12px; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.5px; + margin-bottom: 16px; +} + +.about-title { + font-family: 'Roboto', sans-serif; + font-size: 36px; + font-weight: 700; + color: #1A1A1A; + margin-bottom: 16px; + line-height: 1.2; +} + +.about-description { + font-family: 'Roboto', sans-serif; + font-size: 16px; + line-height: 1.8; + color: #555; + max-width: 720px; + margin-bottom: 28px; +} + +.about-features { + display: flex; + flex-direction: column; + gap: 12px; + margin-bottom: 24px; +} + +.feature-item { + display: flex; + align-items: center; + gap: 12px; + padding: 10px 0; +} + +.feature-icon { + color: #3366CC; + min-width: 20px; + text-align: center; +} + +.feature-text { + font-family: 'Roboto', sans-serif; + font-size: 15px; + color: #333; + font-weight: 600; +} + +.about-cta-btn { + display: inline-flex; + align-items: center; + gap: 8px; + background: linear-gradient(135deg, #3366CC, #2451B8); + color: #fff; + padding: 12px 28px; + border-radius: 6px; + text-decoration: none; + font-weight: 600; + font-size: 14px; + transition: all 0.3s ease; + box-shadow: 0 4px 12px rgba(51, 102, 204, 0.3); +} + +.about-cta-btn:hover { + background: linear-gradient(135deg, #2451B8, #1A3A9E); + transform: translateY(-2px); + box-shadow: 0 6px 20px rgba(51, 102, 204, 0.4); + color: #fff; + text-decoration: none; +} + +.about-image { + position: relative; +} + +.about-image::before { + content: ''; + position: absolute; + inset: -16px; + background: linear-gradient(135deg, rgba(51, 102, 204, 0.1), rgba(91, 137, 224, 0.05)); + border-radius: 16px; + z-index: -1; +} + +.about-image img { + width: 100%; + max-width: 600px; + display: block; + margin: 0 auto; + box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12); + border-radius: 12px; + background: #fff; + padding: 12px; + transition: transform 0.3s ease, box-shadow 0.3s ease; +} + +.about-image img:hover { + transform: translateY(-4px); + box-shadow: 0 16px 64px rgba(0, 0, 0, 0.16); +} + +/* Statistics Section */ +.statistics-section { + background-color: #F8F9FA; + padding: 60px 20px; + margin: 0; + width: 100%; +} + +.stat-box { + padding: 20px; +} + +/* Partner tabs */ +.partners-tabs { + padding: 20px 12px 10px; +} + +.partners-tab { + font-family: 'Roboto', sans-serif; + font-size: 14px; + font-weight: 600; + color: #2F5FB3; + padding: 8px 14px; + margin: 4px; + text-decoration: none; + border-bottom: 2px solid transparent; +} + +.partners-tab:hover { + color: #1A4E9C; + text-decoration: none; + border-bottom-color: #D6E3FF; +} + +.partners-tab.active { + color: #1A1A1A; + border-bottom-color: #3366CC; +} + +.partners-more .dropdown-menu { + min-width: 180px; +} + +.partners-more .dropdown-item { + font-size: 14px; +} + +@media (max-width: 576px) { + .partners-tab { + padding: 6px 10px; + font-size: 13px; + } +} + +.stat-icon { + color: #3366CC; + margin-bottom: 15px; +} + +.stat-number { + font-family: 'Roboto', sans-serif; + font-size: 48px; + font-weight: 700; + color: #333; + margin-bottom: 10px; +} + +.stat-label { + font-family: 'Roboto', sans-serif; + font-size: 16px; + color: #666; + font-weight: 400; +} + +/* Responsive adjustments */ +@media (max-width: 768px) { + .hero-title { + font-size: 28px; + } + + .partners-title { + font-size: 32px; + } + + .partners-grid { + grid-template-columns: repeat(2, 1fr); + gap: 20px; + } + + .partner-logo-box { + min-height: 120px; + padding: 20px 16px; + } + + .stat-number { + font-size: 36px; + } + + .about-content { + grid-template-columns: 1fr; + text-align: center; + } + + .about-copy { + text-align: center; + } + + .about-description { + margin: 0 auto; + } + + .about-features { + align-items: center; + } + + .about-cta-btn { + width: 100%; + justify-content: center; + } +} + +/* Top bar */ +.homepage-topbar { + display: grid; + grid-template-columns: 1.2fr 2fr 1fr; + align-items: center; + gap: 20px; + padding: 12px 20px; + background: #F5F6F8; + border-bottom: 1px solid #E1E4EA; +} + +.topbar-logo { + display: flex; + align-items: center; + gap: 10px; +} + +.topbar-title { + font-family: 'Roboto', sans-serif; + font-size: 16px; + font-weight: 600; + color: #1A1A1A; +} + +.topbar-search { + display: flex; + align-items: center; + gap: 10px; + width: 100%; +} + +.topbar-search-input { + flex: 1; + height: 38px; + padding: 8px 12px; + border: 1px solid #D0D5DD; + border-radius: 3px; + font-size: 14px; +} + +.topbar-search-btn { + background: #3366CC; + color: #FFF; + font-size: 14px; + padding: 8px 14px; + border: none; + border-radius: 3px; +} + +.topbar-actions { + display: flex; + align-items: center; + justify-content: flex-end; + gap: 12px; +} + +.topbar-login { + font-family: 'Roboto', sans-serif; + font-size: 14px; + color: #3366CC; + text-decoration: none; + font-weight: 600; +} + +/* Hero criteria card */ +.hero-criteria { + margin-top: 20px; +} + +.criteria-card { + background: rgba(255, 255, 255, 0.08); + border: 1px solid rgba(255, 255, 255, 0.25); + border-radius: 8px; + padding: 20px 24px; + color: #FFFFFF; +} + +.criteria-title { + font-size: 16px; + font-weight: 600; + margin-bottom: 12px; +} + +.criteria-list { + list-style: none; + padding: 0; + margin: 0; +} + +.criteria-item { + display: flex; + align-items: center; + gap: 8px; + font-size: 14px; + color: #EAF1FF; + margin-bottom: 8px; +} + +.criteria-item i { + color: #6AD1A9; +} + +/* Responsive top bar */ +@media (max-width: 992px) { + .homepage-topbar { + grid-template-columns: 1fr; + gap: 12px; + } + .topbar-actions { + justify-content: flex-start; + } + .hero-section { + padding: 80px 20px; + } +} + +@media (max-width: 576px) { + .topbar-search { + flex-direction: column; + align-items: stretch; + } + .hero-subtitle { + font-size: 15px; + } + + .partners-section { + padding: 60px 15px; + } + + .partners-title { + font-size: 28px; + margin-bottom: 35px; + } + + .partners-grid { + grid-template-columns: 1fr; + gap: 16px; + } + + .partner-logo-box { + min-height: 100px; + padding: 16px 12px; + } + + .partner-logo { + max-height: 60px; + } +} + +/* +---------------------------------------------------------------------------- +ABOUT PAGE STYLING - MODERN LAYOUT +-------------------------------------------------------------------------- +*/ + +.about-page-wrapper { + background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%); + padding: 0 !important; +} + +.about-hero-section { + background: linear-gradient(135deg, #4A7BA7 0%, #3366CC 100%); + padding: 60px 30px 50px; + text-align: center; + margin-bottom: 0; + box-shadow: 0 4px 20px rgba(51, 102, 204, 0.15); +} + +.about-main-title { + font-family: 'Roboto', sans-serif; + font-size: 48px; + font-weight: 700; + color: #FFFFFF; + margin-bottom: 20px; + text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); +} + +.about-intro-box { + max-width: 900px; + margin: 0 auto; + background: rgba(255, 255, 255, 0.1); + backdrop-filter: blur(10px); + padding: 32px 40px; + border-radius: 12px; + border: 1px solid rgba(255, 255, 255, 0.2); +} + +.about-lead-text { + font-family: 'Roboto', sans-serif; + font-size: 20px; + line-height: 1.7; + color: #FFFFFF; + margin: 0; + font-weight: 400; +} + +.about-content-section { + max-width: 1200px; + margin: 0 auto; + padding: 60px 30px; +} + +.about-section-block { + margin-bottom: 56px; +} + +.about-section-title { + font-family: 'Roboto', sans-serif; + font-size: 32px; + font-weight: 700; + color: #1A1A1A; + margin-bottom: 24px; + padding-bottom: 12px; + border-bottom: 3px solid #3366CC; + display: inline-block; +} + +.about-card { + background: #FFFFFF; + border-radius: 12px; + padding: 28px 32px; + margin-bottom: 20px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); + border: 1px solid #E8EDF2; + transition: all 0.3s ease; +} + +.about-card:hover { + box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1); + transform: translateY(-2px); +} + +.about-text { + font-family: 'Roboto', sans-serif; + font-size: 16px; + line-height: 1.8; + color: #4A5568; + margin: 0; +} + +.about-requirements-list, +.about-list-styled { + list-style: none; + padding: 0; + margin: 20px 0 0 0; +} + +.about-requirements-list li, +.about-list-styled li { + font-family: 'Roboto', sans-serif; + font-size: 16px; + line-height: 1.8; + color: #4A5568; + padding: 12px 0 12px 36px; + position: relative; + border-bottom: 1px solid #F0F4F8; +} + +.about-requirements-list li:last-child, +.about-list-styled li:last-child { + border-bottom: none; +} + +.about-requirements-list li::before, +.about-list-styled li::before { + content: "✓"; + position: absolute; + left: 0; + top: 12px; + width: 24px; + height: 24px; + background: linear-gradient(135deg, #3366CC, #5B89E0); + color: #fff; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + font-weight: 700; + font-size: 14px; +} + +.warning-list li::before { + content: "!"; + background: linear-gradient(135deg, #DC2626, #EF4444); +} + +.twl-links { + color: #3366CC; + text-decoration: none; + font-weight: 600; + border-bottom: 2px solid transparent; + transition: border-color 0.2s ease; +} + +.twl-links:hover { + border-bottom-color: #3366CC; + color: #2451B8; +} + +/* Responsive about page */ +@media (max-width: 768px) { + .about-main-title { + font-size: 32px; + } + + .about-lead-text { + font-size: 17px; + } + + .about-intro-box { + padding: 24px 20px; + } + + .about-content-section { + padding: 40px 20px; + } + + .about-section-title { + font-size: 24px; + } + + .about-card { + padding: 20px 24px; + } +} + +@media (max-width: 576px) { + .about-hero-section { + padding: 40px 20px 35px; + } + + .about-main-title { + font-size: 28px; + } + + .about-lead-text { + font-size: 16px; + } + + .about-requirements-list li, + .about-list-styled li { + font-size: 15px; + padding-left: 32px; + } +} + diff --git a/TWLight/static/img/image_1.png b/TWLight/static/img/image_1.png new file mode 100644 index 0000000000..d131343bc6 Binary files /dev/null and b/TWLight/static/img/image_1.png differ diff --git a/TWLight/templates/about.html b/TWLight/templates/about.html index ae5e1976f9..2535cbf323 100644 --- a/TWLight/templates/about.html +++ b/TWLight/templates/about.html @@ -4,27 +4,35 @@ {% block content %} {% include "header_partial_b4.html" %} {% include "message_partial.html" %} -
- {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). Translate Wikipedia Library in the same way as the global branch is named (click through from https://meta.wikimedia.org/wiki/The_Wikipedia_Library). {% endcomment %} -

{% trans "About the Wikipedia Library" %}

-

+

+
+ {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). Translate Wikipedia Library in the same way as the global branch is named (click through from https://meta.wikimedia.org/wiki/The_Wikipedia_Library). {% endcomment %} +

{% trans "About the Wikipedia Library" %}

+
+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). Translate Wikipedia Library in the same way as the global branch is named (click through from https://meta.wikimedia.org/wiki/The_Wikipedia_Library). {% endcomment %} {% blocktranslate trimmed %} - The Wikipedia Library allows active editors to access a wide range of - collections of paywalled reliable sources for free! - {% endblocktranslate %} -

+ The Wikipedia Library allows active editors to access a wide range of + collections of paywalled reliable sources for free! + {% endblocktranslate %} +

+
+
-

+

+
+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} {% blocktranslate trimmed %} - This platform is our central tool for facilitating access to our available - collections. Here you can see which partnerships are available, search - their contents, and apply for and access the ones you’re interested in. - {% endblocktranslate %} -

+ This platform is our central tool for facilitating access to our available + collections. Here you can see which partnerships are available, search + their contents, and apply for and access the ones you're interested in. + {% endblocktranslate %} +

+
-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). Wikimedia Foundation should not be translated. {% endcomment %} {% blocktranslate trimmed %} All users receive immediate access to some collections, which can be @@ -32,40 +40,48 @@

{% trans "About the Wikipedia Library" %}

bar at the top of the page. Other collections require an application before access is granted, and may be accessed directly or via an individual login or access code. Volunteer coordinators, who have signed - non-disclosure agreements with the Wikimedia Foundation, review these - applications and work with publishers to get you your free access. - {% endblocktranslate %} -

+ non-disclosure agreements with the Wikimedia Foundation, review these + applications and work with publishers to get you your free access. + {% endblocktranslate %} +

+
-

+

+

{% url 'terms' as terms_url %} {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). Don't translate {{ terms_url }}. {% endcomment %} {% blocktranslate trimmed %} For more information about how your information is stored and reviewed please see our - terms of use and privacy policy. Accounts you apply for are also subject to the Terms of Use provided by each - partner’s platform; please review them. - {% endblocktranslate %} -

+ terms of use and privacy policy. Accounts you apply for are also subject to the Terms of Use provided by each + partner's platform; please review them. + {% endblocktranslate %} +

+
- {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} -

{% trans "Who can receive access?" %}

+
+ {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} +

{% trans "Who can receive access?" %}

-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). Wikimedia Foundation should not be translated. {% endcomment %} {% blocktranslate trimmed %} Any active editor in good standing can receive access. For publishers with limited numbers of accounts, applications are reviewed based on the editor’s needs and contributions. If you think you could use access to one - of our partner resources and are an active editor in any project supported by the Wikimedia Foundation, please - apply. - {% endblocktranslate %} -

+ of our partner resources and are an active editor in any project supported by the Wikimedia Foundation, please + apply. + {% endblocktranslate %} +

+
-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} {% blocktranslate trimmed %} - Any editor can use the library if they meet a few basic requirements: - {% endblocktranslate %} -

    + Any editor can use the library if they meet a few basic requirements: + {% endblocktranslate %} +

    +
    • {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} {% trans "You have an account that is a minimum of 6 months old" %} @@ -80,39 +96,48 @@

      {% trans "Who can receive access?" %}

    • {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} - {% trans "You are not currently blocked from editing a Wikimedia project" %} -
    • -
    + {% trans "You are not currently blocked from editing a Wikimedia project" %} + +
+
-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/) {% endcomment %} {% blocktranslate trimmed %} If you are applying for an available collection, please first check that you don't already have access through another library or institution. If - you do, please consider using that access rather than taking up a seat for - this resource in The Wikipedia Library. - {% endblocktranslate %} -

+ you do, please consider using that access rather than taking up a seat for + this resource in The Wikipedia Library. + {% endblocktranslate %} +

+
-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/) {% endcomment %} {% blocktranslate trimmed %} If your account is blocked on one or more Wikimedia projects, you may still be granted access to The Wikipedia Library. You will need to contact the Wikipedia Library team, who will review your blocks. If you have been blocked for content issues, most notably copyright violations, or have multiple - long-term blocks, we may decline your request. Additionally, if your block - status changes after being approved, you will need to request another review. - {% endblocktranslate %} -

+ long-term blocks, we may decline your request. Additionally, if your block + status changes after being approved, you will need to request another review. + {% endblocktranslate %} +

+
+
- {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} -

{% trans "What do I do after I get access?" %}

+
+ {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} +

{% trans "What do I do after I get access?" %}

-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} - {% trans "Approved editors may use their access to:" %} -

    + {% trans "Approved editors may use their access to:" %} +

    +
    • {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} {% trans "Search, view, retrieve, and display partner content" %} @@ -123,14 +148,17 @@

      {% trans "What do I do after I get access?" %}

    • {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} - {% trans "Print out single copies of partner content" %} -
    • -
    + {% trans "Print out single copies of partner content" %} + +
+
-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} - {% trans "Approved editors should not:" %} -

    + {% trans "Approved editors should not:" %} +

    +
    • {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} {% trans "Share their account logins or passwords with others, or sell their access to other parties" %} @@ -145,79 +173,105 @@

      {% trans "What do I do after I get access?" %}

    • {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). Stub is a technical term for a short Wikipedia article, use the appropriate Wikipedia term in your language. {% endcomment %} - {% trans "Datamine metadata without permission, in order, for instance, to use metadata for auto-created stub articles" %} -
    • -
    + {% trans "Datamine metadata without permission, in order, for instance, to use metadata for auto-created stub articles" %} + +
+
-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} {% blocktranslate trimmed %} - Respecting these agreements allows us to continue growing the partnerships available to the community. - {% endblocktranslate %} -

+ Respecting these agreements allows us to continue growing the partnerships available to the community. + {% endblocktranslate %} +

+
+
- {% comment %}Translators: This is the heading for a section on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} -

{% trans "EZProxy" %}

+
+ {% comment %}Translators: This is the heading for a section on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} +

{% trans "EZProxy" %}

-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/).{% endcomment %} {% blocktranslate trimmed %} EZProxy is a proxy server used to authenticate users for many Wikipedia Library partners. Users sign into EZProxy - via the Library Card platform to verify that they are authorized users, and then the server accesses requested - resources using its own IP address. - {% endblocktranslate %} -

+ via the Library Card platform to verify that they are authorized users, and then the server accesses requested + resources using its own IP address. + {% endblocktranslate %} +

+
-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/).{% endcomment %} {% blocktranslate trimmed %} You may notice that when accessing resources via EZProxy that URLs are dynamically rewritten. This is why we recommend logging in via the Library Card platform rather than going directly to the unproxied partner website. - When in doubt, check the URL for ‘idm.oclc’. If it’s there, then you’re connected via EZProxy. - {% endblocktranslate %} -

+ When in doubt, check the URL for 'idm.oclc'. If it's there, then you're connected via EZProxy. + {% endblocktranslate %} +

+
-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/).{% endcomment %} {% blocktranslate trimmed %} Typically once you’ve logged in your session will remain active in your browser for up to two hours after you’ve finished searching. Note that use of EZProxy requires you to enable cookies. If you are having problems you - should also try clearing your cache and restarting your browser. - {% endblocktranslate %} -

+ should also try clearing your cache and restarting your browser. + {% endblocktranslate %} +

+
+
-

Library Bundle

+
+

Library Bundle

-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/) {% endcomment %} {% blocktranslate trimmed %} The Library Bundle is a collection of resources for which no application is required. If you meet the criteria laid out above, you will be authorized for access automatically upon logging in to the platform. Only some of our content is currently included in the Library Bundle, however we hope to expand the collection as - more publishers become comfortable with participating. All Bundle content is accessed via EZProxy. - {% endblocktranslate %} -

+ more publishers become comfortable with participating. All Bundle content is accessed via EZProxy. + {% endblocktranslate %} +

+
+
- {% comment %}Translators: This is the heading for a section on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} -

{% trans "Citation practices" %}

+
+ {% comment %}Translators: This is the heading for a section on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} +

{% trans "Citation practices" %}

-

+

+

{% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/).{% endcomment %} {% blocktranslate trimmed %} Citation practices vary by project and even by article. Generally, we support editors citing where they found information, in a form that allows others to check it for themselves. That often means providing both original - source details as well as a link to the partner database in which the source was found. - {% endblocktranslate %} -

+ source details as well as a link to the partner database in which the source was found. + {% endblocktranslate %} +

+
+
+ +
+ {% comment %}Translators: This is the heading for a section on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} +

{% trans "Contact us" %}

- {% comment %}Translators: This is the heading for a section on the About page (https://wikipedialibrary.wmflabs.org/about/). {% endcomment %} -

{% trans "Contact us" %}

-

+

+

{% url 'contact' as contact_url %} {% comment %}Translators: This text is found on the About page (https://wikipedialibrary.wmflabs.org/about/).{% endcomment %} {% blocktranslate trimmed %} - If you have questions, need help, or want to volunteer to help, please see our contact page. - {% endblocktranslate %} -

+ If you have questions, need help, or want to volunteer to help, please see our contact page. + {% endblocktranslate %} +

+
+
+
-{% endblock content %} +{% endblock content %} \ No newline at end of file diff --git a/TWLight/templates/homepage.html b/TWLight/templates/homepage.html index f0166b6e79..5f10f76f58 100644 --- a/TWLight/templates/homepage.html +++ b/TWLight/templates/homepage.html @@ -4,11 +4,6 @@ {% load l10n %} {% load cache %} -{% block extra_css %} - - -{% endblock extra_css %} - {% block content %}
@@ -20,362 +15,3 @@
{% endblock content %} - - -{% block javascript %} - - {% if LANGUAGE_BIDI %} - - {% else %} - - {% endif %} - - -{% endblock javascript %} diff --git a/TWLight/templates/login_partial.html b/TWLight/templates/login_partial.html index 8e24d82ae9..28388f79d0 100644 --- a/TWLight/templates/login_partial.html +++ b/TWLight/templates/login_partial.html @@ -4,38 +4,41 @@ {% load cache %} {% get_current_language as LANGUAGE_CODE %} - +
diff --git a/TWLight/templates/partner_carousel.html b/TWLight/templates/partner_carousel.html index 361b747cb0..dd841e394a 100644 --- a/TWLight/templates/partner_carousel.html +++ b/TWLight/templates/partner_carousel.html @@ -3,97 +3,123 @@ {% load l10n %} {% load cache %} -
+
-
-
-
-
    - {% for partner in partners %} -
  • -
    -
    - {{partner.partner_name}} logo -
    - -
    - -
  • + +
    +
    +

    + {% comment %}Translators: Section heading for partner organizations.{% endcomment %} + {% trans "Our Partners" %} +

    +
    + {% for partner in partners|slice:":8" %} +
    + +
    {% endfor %} -
-
- - +
+
+ +
+
+
+
+
{% trans 'Learn More' %}
+

+ {% comment %}Translators: Section heading for information about The Wikipedia Library.{% endcomment %} + {% trans 'About The Wikipedia Library' %} +

+

+ {% comment %}Translators: Description of The Wikipedia Library service.{% endcomment %} + {% blocktranslate trimmed %} + The Wikipedia Library provides free access to paywalled databases for active editors in good standing. + More than half of the collections are available immediately after login, and a centralised search tool + lets you search across most collections with one query. Additional specialized collections are available + with a simple application. + {% endblocktranslate %} +

+
+
+ + {% trans '90+ Databases' %} +
+
+ + {% trans '34 Languages' %} +
+
+ + {% trans 'Free Access' %} +
+
+ {% trans 'Learn More' %} +
+
+ {% trans 'The Wikipedia Library search interface preview' %} +
+
+
+
+ +
+
+
+ +
+
2000+
+
+ {% comment %}Translators: Statistics label for active users.{% endcomment %} + {% trans "Monthly users" %} +
+
+
+
+ +
+
200,000+
+
+ {% comment %}Translators: Statistics label for yearly citations.{% endcomment %} + {% trans "Yearly citations" %} +
+
+
+
+ +
+
140+
+
+ {% comment %}Translators: Statistics label for projects.{% endcomment %} + {% trans "Projects" %}