Giter Club home page Giter Club logo

Comments (5)

francescou avatar francescou commented on August 16, 2024

Hi,

even if it could be a nice feature I can't figure out a simple way to define an association between a project and its icon.

a solution could be to have an "icon.png" in the folder containing the docker-compose.yml file but there are two problems: the icon should be really small (16x16 px) and it should be checked (server side) the existence of the icon file for each project.

do you have a better solution for this?

from docker-compose-ui.

WTFKr0 avatar WTFKr0 commented on August 16, 2024

No

I think the icon.png file is a good option
we can resize image on client side to force the size
For each project, if a icon.png file is present, add a img html tag with content in base64 maybe ?

The same process can be done with a labels.json file for example like that :

{
   "label1":"blue",
   "label2":"red"
}

WDYT ?
Thanx

from docker-compose-ui.

WTFKr0 avatar WTFKr0 commented on August 16, 2024

Work on logos here : #42

from docker-compose-ui.

francescou avatar francescou commented on August 16, 2024

merged, thanks!

from docker-compose-ui.

francescou avatar francescou commented on August 16, 2024

released in francescou/docker-compose-ui:0.20.1

from docker-compose-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.