Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Sv translation
languageen
Remarque

This page is no longer being updated. From BlueMind 4.8, please refer to the new BlueMind documentation

The default BlueMind logo, which can be seen on the application's log in screen and in the navigation bar, can now be customized and replaced by any image you choose.

Customization results

The screenshot below shows how the custom logo will look like in BlueMind:

  • on the homepage, instead of the BlueMind logo, the new logo is shown in a white frame. The BlueMind logo still appears below the log in form:
  • in the navigation bar, once online, the custom logo is shown in the top left corner.
    Part of the BlueMind logo can still be seen on the left, and when the user hovers over it the BlueMind logo expands showing the version number being used:

Image prerequisites

The logo must be:

  • in PNG format
  • 140x40 pixels
    If these dimension requisites are not met, the image will be resized automatically to fit within the set space, which is why we recommend that you pay extra attention to image size.

The background is dark blue, which means that all transparent areas in the picture will show as dark blue. If you want a different background color, make sure you replace any transparent areas in your picture by the desired color.

Implementation

Enter the following command:

Bloc de code
curl -X PUT --header 'Accept: application/json' --header 'X-BM-ApiKey: TOKEN_ADMIN0' -H "Content-Type: application/octet-stream" --data-binary "@/path/to/logo.png" 'https://mail.bluemind.loc/api/system/installation/logo'

Replacing:

  • TOKEN_ADMIN0: only the admin0 token can modify the image.

    Astuce

    This token can be found in /etc/bm/bm-core.tok

  • @/path/to/logo.png: the path to the image file.
    This can be a local path (the file is located on the server on which the operation is being performed) or a remote one.

    Remarque

    You must always keep the @ symbol before the path when using a local path.

  • mail.bluemind.loc: the relevant BlueMind url.

To revert to the default BlueMind logo, simply delete the customized logo:

Bloc de code
curl -X DELETE --header 'X-BM-ApiKey: TOKEN_ADMIN0' 'https://mail.bluemind.loc/api/system/installation/logo'

Replacing:

  • TOKEN_ADMIN0: only the admin0 token can modify the image. If the token is incorrect you will get a "PERMISSION DENIED" warning

  • mail.bluemind.loc: the relevant BlueMind url.

Enregistrer

Sv translation
languagede
Remarque

Diese Seite ist nicht mehr aktuell. Ab der Version BlueMind 4.8 finden Sie alle Infos in der neuen Dokumentation

Das standardmäßige BlueMind-Logo, das auf dem Anmeldebildschirm und im BlueMind-Navigationsbanner sichtbar ist, kann jetzt angepasst und durch ein Bild Ihrer Wahl ersetzt werden.

Ergebnis der Anpassung

Nachdem das Logo angepasst wurde, erscheint es wie folgt in den verschiedenen Bereichen von BlueMind:

  • Auf der Startseite erscheint anstelle des BlueMind-Logos weiß gerandet das neue Logo. Das BlueMind-Logo ist danach weiterhin unter dem Anmeldeformular sichtbar:
    Image Modified
  • Im Banner erscheint nach dem Einloggen links oben das benutzerdefinierte Logo.
    Das BlueMind-Logo wird teilweise links davon angezeigt, wenn der Benutzer mit der Maus darüber fährt, rollt sich das Logo aus und informiert über die aktuelle Version von BlueMind:
    Image Modified

Bildvorbereitung

Das neue Logo muss die folgenden Voraussetzungen erfüllen:

  • Format: PNG
  • Abmessungen (B,H): 140x40 Pixel
    Wenn die Abmessungen nicht beachtet werden, wird das Bild automatisch in der Größe angepasst, damit es in den definierten Bereich passt. Es wird daher empfohlen, besonders auf die Proportionen des Bildes zu achten.

Die Hintergrundfarbe ist dunkelblau, so dass alle transparenten Bereiche des Bildes für den Benutzer dunkelblau erscheinen. Um eine andere Hintergrundfarbe zu erhalten, ersetzen Sie die transparenten Bereiche Ihres Bildes durch die gewünschte Farbe.

Implementierung

Einrichten eines neuen Logos

Geben Sie den folgenden Befehl ein:

Bloc de code
curl -X PUT --header 'X-BM-ApiKey: TOKEN_ADMIN0' -H "Content-Type: application/octet-stream" --data-binary "@/path/to/logo.png" 'https://mail.bluemind.loc/api/system/installation/logo'

Ersetzen Sie:

  • TOKEN_ADMIN0: das Token des admin0, nur er kann das Bild ändern.

    Astuce

    das Token befindet sich in der Datei /etc/bm/bm-core.tok

  • @/path/to/logo.png: der Pfad zur Bilddatei.
    Dies kann ein lokaler Pfad sein (die Datei befindet sich auf dem Rechner, auf dem die Aktion durchgeführt wird) oder ein Remote-Pfad.

    Remarque

    Lassen Sie immer das @-Symbol vor dem Pfad stehen, wenn Sie einen lokalen Pfad verwenden.

  • mail.bluemind.loc: die Url des betreffenden BlueMind

Zum ursprünglichen Logo zurückkehren

Um zum Standard BlueMind-Logo zurückzukehren, löschen Sie einfach das benutzerdefinierte Logo:

Bloc de code
curl -X DELETE --header 'X-BM-ApiKey: TOKEN_ADMIN0' 'https://mail.bluemind.loc/api/system/installation/logo'

Ersetzen Sie:

  • TOKEN_ADMIN0: das Token des admin0, nur er kann das Bild ändern.
    Hinweis: Wenn das Token nicht korrekt ist, wird ein "PERMISSION DENIED"-Fehler zurückgegeben

  • mail.bluemind.loc: die Url des betreffenden BlueMind

Speichern

Speichern

Speichern