From: Michael R Sweet Date: Sun, 30 Mar 2025 13:00:34 +0000 (-0400) Subject: Update the web interface templates for better usability/discoverability X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788f5dbced09c6576d03958ef3d7113e1456cb54;p=thirdparty%2Fcups.git Update the web interface templates for better usability/discoverability (Issue #1207) - Made the navbar larger with more space around the link/title content. - Now use the OpenPrinting CUPS logo rather than the text in the navbar. - Added proper section titles and links to common admin functions on the home page. - Translations copied from the admin template, may require some tweaking... --- diff --git a/CHANGES.md b/CHANGES.md index 72aa7c48a4..e55ef187d6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -70,6 +70,8 @@ Changes in CUPS v2.5b1 (YYYY-MM-DD) `--client-name` options. - Updated `cupsEnumDests` and `cupsGetDests` to support printer browsing and filtering options in client.conf (Issue #1180) +- Updated the CUPS web interface to make administrative tasks more discoverable + (Issue #1207) - Deprecated the "page-border" Job Template attribute (Issue #1020) - Removed the `cups-config` utility (use `pkg-config` instead) - Fixed use-after-free in `cupsdAcceptClient()` when we log warning during error diff --git a/doc/cups.css b/doc/cups.css index a51d123bfc..6064733e10 100644 --- a/doc/cups.css +++ b/doc/cups.css @@ -12,6 +12,7 @@ width: 100%; } .cups-header ul { + font-size: 20px; list-style: none; margin: 0; -webkit-margin-before: 0; @@ -25,7 +26,10 @@ } .cups-header a { display: block; - padding: 5px 10px !important; + padding: 18px 30px !important; +} +.cups-header a.img { + padding: 12px 24px !important; } .cups-header a:link, .cups-header a:visited { color: white !important; @@ -44,6 +48,7 @@ } .cups-body { + margin-top: 40px; padding: 40px 20px; } .row .cups-body { diff --git a/doc/da/index.html.in b/doc/da/index.html.in index 4708c1422b..e7ae9f6690 100644 --- a/doc/da/index.html.in +++ b/doc/da/index.html.in @@ -12,7 +12,7 @@
+
+

Server

+
+
+
+
+
+
-

CUPS for brugere

+

CUPS for brugere

Overblik over CUPS

Kommandolinjeudskrivning og tilvalg

-

CUPS for administratorer

+

CUPS for administratorer

Tilføjelse af printere og klasser

HÃ¥ndtering af driftspolitikker

Brug af netværksprintere

@@ -41,12 +49,12 @@

cupsd.conf-reference

-

CUPS for udviklere

+

CUPS for udviklere

CUPS-programmeringsmanual

Filter- og backendprogrammering

- + diff --git a/doc/de/index.html.in b/doc/de/index.html.in index d208608bea..10faa7fe91 100644 --- a/doc/de/index.html.in +++ b/doc/de/index.html.in @@ -12,7 +12,7 @@
+
+

Server

+
+
+
+
+
+
-

CUPS für Benutzer

+

CUPS für Benutzer

Überblick über CUPS

Befehlszeilen-Druck und Optionen

-

CUPS für Administratoren

+

CUPS für Administratoren

Drucker und Klassen hinzufügen

Betriebs-Richtlinie festlegen

Benutzung von Netzwerk-Druckern

@@ -41,12 +49,12 @@

cupsd.conf Referenz

-

CUPS für Entwickler

+

CUPS für Entwickler

CUPS Programming Manual

Filter und Backend Programmierung

- + diff --git a/doc/es/index.html.in b/doc/es/index.html.in index 8794f263d2..955c7f37ca 100644 --- a/doc/es/index.html.in +++ b/doc/es/index.html.in @@ -12,7 +12,7 @@
+
+

Servidor

+
+
+
+
+
+
-

CUPS para administradores

+

CUPS para administradores

Añadir impresoras y clases

Gestión de políticas de funcionamiento

Uso de impresoras de red

@@ -41,12 +49,12 @@

Referencia de cupsd.conf

-

CUPS para desarrolladores

+

CUPS para desarrolladores

CUPS Programming Manual

Programación de filtros y programas de conexión

- + diff --git a/doc/fr/index.html.in b/doc/fr/index.html.in index ccc5f332fa..98b770586f 100644 --- a/doc/fr/index.html.in +++ b/doc/fr/index.html.in @@ -12,7 +12,7 @@
+
+

Serveur

+
+
+
+
+
+
-

CUPS pour les utilisateurs

+

CUPS pour les utilisateurs

Overview of CUPS

Command-Line Printing and Options

-

CUPS pour les administrateurs

+

CUPS pour les administrateurs

Adding Printers and Classes

Managing Operation Policies

Using Network Printers

@@ -41,12 +49,12 @@

cupsd.conf Reference

-

CUPS pour les développeurs

+

CUPS pour les développeurs

Manuel de programmation CUPS

Filter and Backend Programming

- + diff --git a/doc/index.html.in b/doc/index.html.in index 25e6e28be0..a29a847d98 100644 --- a/doc/index.html.in +++ b/doc/index.html.in @@ -12,7 +12,7 @@
+
+

This System

+
+
+
+
+
+
-

CUPS for Users

+

Help for Users

Overview of CUPS

Command-Line Printing and Options

-

CUPS for Administrators

+

Help for Administrators

Adding Printers and Classes

Managing Operation Policies

Using Network Printers

@@ -41,7 +49,7 @@

cupsd.conf Reference

-

CUPS for Developers

+

Help for Developers

CUPS Programming Manual

Filter and Backend Programming

diff --git a/doc/ja/index.html.in b/doc/ja/index.html.in index e506d5f387..1780bb4a04 100644 --- a/doc/ja/index.html.in +++ b/doc/ja/index.html.in @@ -12,7 +12,7 @@
    -
  • OpenPrinting CUPS
  • +
  • OpenPrinting CUPS
  • ホーム
  • 管理
  • クラス
  • @@ -26,14 +26,22 @@

    CUPS @CUPS_VERSION@

    CUPS は、macOS® およびその他の UNIX ® ç³» OS のために、Apple Inc. によって開発された標準ベースのオープンソース印刷システムです。

+
+

サーバー

+
+
+
+
+
+
- + diff --git a/doc/pl/index.html.in b/doc/pl/index.html.in index 66b014fff5..d9d041fb4c 100644 --- a/doc/pl/index.html.in +++ b/doc/pl/index.html.in @@ -12,7 +12,7 @@
+
+

Serwer

+
+
+
+
+
+
-

CUPS dla użytkowników

+

CUPS dla użytkowników

Przegląd CUPS

Drukowanie i ustawienia z linii poleceń

-

CUPS dla administratorów

+

CUPS dla administratorów

Dodawanie drukarek i klas

Zarządzanie politykami operacyjnymi

Użytkowanie drukarek sieciowych

@@ -41,12 +49,12 @@

Skrypt cupsd.conf

-

CUPS dla programistów

+

CUPS dla programistów

Podręcznik programowania CUPS

Programowanie filtrów i zadań serwera

- + diff --git a/doc/pt_BR/index.html.in b/doc/pt_BR/index.html.in index 35090ac0be..0fedb81802 100644 --- a/doc/pt_BR/index.html.in +++ b/doc/pt_BR/index.html.in @@ -12,7 +12,7 @@
+
+

Servidor

+
+
+
+
+
+
-

CUPS para usuários

+

CUPS para usuários

Visão geral do CUPS

Impressão e opções em linha de comando

-

CUPS para administradores

+

CUPS para administradores

Adicionar impressoras e classes

Gerenciar políticas de operação

Usar impressoras de rede

@@ -41,12 +49,12 @@

Referência para o cupsd.conf

-

CUPS para desenvolvedores

+

CUPS para desenvolvedores

CUPS Programming Manual

Programação de filtros e backend

- + diff --git a/doc/ru/index.html.in b/doc/ru/index.html.in index c4e32da096..8f3ad10498 100644 --- a/doc/ru/index.html.in +++ b/doc/ru/index.html.in @@ -12,7 +12,7 @@
+
+

Сервер

+
+
+
+
+
+

CUPS для пользователей

@@ -47,6 +55,6 @@
- + diff --git a/templates/da/header.tmpl.in b/templates/da/header.tmpl.in index 44110e5a43..2512b05265 100644 --- a/templates/da/header.tmpl.in +++ b/templates/da/header.tmpl.in @@ -29,7 +29,7 @@
- + diff --git a/templates/de/header.tmpl.in b/templates/de/header.tmpl.in index 508ae3d8a8..eb6e00c070 100644 --- a/templates/de/header.tmpl.in +++ b/templates/de/header.tmpl.in @@ -29,7 +29,7 @@
- + diff --git a/templates/es/header.tmpl.in b/templates/es/header.tmpl.in index 4ddc39a094..769340e897 100644 --- a/templates/es/header.tmpl.in +++ b/templates/es/header.tmpl.in @@ -29,7 +29,7 @@
- + diff --git a/templates/fr/header.tmpl.in b/templates/fr/header.tmpl.in index 8bea68a373..4d42a60b84 100644 --- a/templates/fr/header.tmpl.in +++ b/templates/fr/header.tmpl.in @@ -29,7 +29,7 @@
- + diff --git a/templates/header.tmpl.in b/templates/header.tmpl.in index a3ab8f29e9..4f46807eb2 100644 --- a/templates/header.tmpl.in +++ b/templates/header.tmpl.in @@ -29,7 +29,7 @@
- + diff --git a/templates/pl/header.tmpl.in b/templates/pl/header.tmpl.in index b077d90749..5b7a24d08d 100644 --- a/templates/pl/header.tmpl.in +++ b/templates/pl/header.tmpl.in @@ -29,7 +29,7 @@
- + diff --git a/templates/pt_BR/header.tmpl.in b/templates/pt_BR/header.tmpl.in index df5f2c9c77..2de6bbb0e8 100644 --- a/templates/pt_BR/header.tmpl.in +++ b/templates/pt_BR/header.tmpl.in @@ -29,7 +29,7 @@
- + diff --git a/templates/ru/header.tmpl.in b/templates/ru/header.tmpl.in index 7cf4400907..42b8a4095c 100644 --- a/templates/ru/header.tmpl.in +++ b/templates/ru/header.tmpl.in @@ -29,7 +29,7 @@
- +