ansibleguy76 / ansibleforms

A webapplication to create pretty advanced forms to run ansible playbooks or awx templates.
https://ansibleforms.com/
GNU General Public License v3.0
74 stars 12 forks source link

like AWX dashboard is it possible to display a graph for job executions failures & success status #116

Closed nx2804 closed 11 months ago

nx2804 commented 11 months ago

Hi Team,

I have following requests, will it be possible to implement

image
ansibleguy76 commented 11 months ago

That would be possible... but what's the benifit of that ? Can you convince me ? The plan is certainly not to rebuild AWX.

nx2804 commented 11 months ago

we have requirement in production to view the graph and metrics of each job templates through ui.

nx2804 commented 11 months ago

Hello can you please respond to my other questions as well how to change header background with logo , change the title can we provide custom image to execute jobs is ansibleforms available as helmcharts for installation

ansibleguy76 commented 11 months ago

Yes, the logo can be changed. There is a sample in the docker compose file. volumes:

Mount application folder to host folder (to maintain persistency)

  - ./data:/app/dist/persistent
  # Mount images folder to host folder (to have custom images)
  - ./data/images:/app/dist/views/assets/images    
  # Mount logo (to have custom logo)
  #- ./data/images/mylogo.svg:/app/dist/views/assets/img/logo_ansible_forms_full_white.svg
ansibleguy76 commented 11 months ago

Helmcharts, not yet, but this could be arranged.

ansibleguy76 commented 11 months ago

https://github.com/ansibleguy76/ansibleforms-docker/tree/main/k8s

This might be a little outdated, but maybe it already can help you ?

nx2804 commented 11 months ago

I already tried this but it not updating the header title or image

On Fri, 24 Nov 2023 at 4:59 PM, AnsibleGuy76 @.***> wrote:

Yes, the logo can be changed. There is a sample in the docker compose file. volumes:

Mount application folder to host folder (to maintain persistency)

  • ./data:/app/dist/persistent

    Mount images folder to host folder (to have custom images)

  • ./data/images:/app/dist/views/assets/images

    Mount logo (to have custom logo)

    -

    ./data/images/mylogo.svg:/app/dist/views/assets/img/logo_ansible_forms_full_white.svg

— Reply to this email directly, view it on GitHub https://github.com/ansibleguy76/ansibleforms/issues/116#issuecomment-1825537920, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCAEUME6FULTTHLAKUJNBJ3YGCAIPAVCNFSM6AAAAAA7XH3TCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVGUZTOOJSGA . You are receiving this because you authored the thread.Message ID: @.***>

nx2804 commented 11 months ago

If you can provide the helmcharts it would be helpful

On Fri, 24 Nov 2023 at 4:59 PM, AnsibleGuy76 @.***> wrote:

Helmcharts, not yet, but this could be arranged.

— Reply to this email directly, view it on GitHub https://github.com/ansibleguy76/ansibleforms/issues/116#issuecomment-1825538530, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCAEUMGJWMOFBKRA2SOMNT3YGCAKNAVCNFSM6AAAAAA7XH3TCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVGUZTQNJTGA . You are receiving this because you authored the thread.Message ID: @.***>

nx2804 commented 11 months ago

For example I wanted to change blue color header to a different one and ansible forms image in header to different one

ansibleguy76 commented 11 months ago

did you clear the cache?

nx2804 commented 11 months ago

Yes I did but no luck

ansibleguy76 commented 11 months ago

The must understand that in the end it's just a webapplication. I you overwrite the image using a mapping, it should simply work. Do realize that my image is an svg image, so you need to also map an svg image.

ansibleguy76 commented 11 months ago

ps : can you split questions in separate threads ?

ansibleguy76 commented 11 months ago

if you are still stuck on the image, let's team up privately and see where you are stuck

nx2804 commented 11 months ago

Sure will try one more time and keep you posted

On Mon, 4 Dec 2023 at 12:46 PM, AnsibleGuy76 @.***> wrote:

if you are still stuck on the image, let's team up privately and see where you are stuck

— Reply to this email directly, view it on GitHub https://github.com/ansibleguy76/ansibleforms/issues/116#issuecomment-1837966761, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCAEUMA5IK45AGKS7RROHSLYHV2FZAVCNFSM6AAAAAA7XH3TCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXHE3DMNZWGE . You are receiving this because you authored the thread.Message ID: @.***>

ansibleguy76 commented 11 months ago

i will close this issue. The dashboard will not make it for now. I try to keep AF as simple as possible and I don't see much value in it. Other people might not want to see it and for now, you are the only one requesting it.

Color are currently indeed hardcoded, but the logo can be changed by mapping it. I have done it many time and it works well.