Z
Z
zikdead2017-05-15 14:30:46
css
zikdead, 2017-05-15 14:30:46

Django-admin, how to add a button in the admin, in the object revision?

Django-admin, how to add a button in the admin, in the object revision?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Proskurin, 2018-07-24
@graf45231

This is a value scale, not a border. Make it straight, just throw elements with inline-block or flex, and set their width in percentages, and set the pointer using absolute positioning (also in percentages), it will be indicated through the script.

O
Oleg, 2018-07-24
@politon

I would zahrenachit in a dynamic pseudo-element after, before jsfiddle.net/znaf62og
I think the essence is clear that you can insert the data you need on the fly.
Arrow to the right place, and change colors depending on%

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question