Splunk Dev

how to customize the radiogroupview of Django webframework to display radio buttons horizontally

lahariveerlapat
Explorer

I have a reqiurement to display the radio buttons horizontally using Django webframework.Please let me know any option is available to customize.

0 Karma

cchitten
Path Finder

In the block content section use HTML to create many cells across the page horizontally and then place a radio button in each cell.

Example:

{% block content %}
         <div> class="dashboard-row dashboard-row1">
                   <div class="dashboard-cell" style="width: 50%;">
                             {% radiogroup id="radio_sourcetype1"%}
                   </div>
                   <div class="dashboard-cell" style="width: 50%;">
                             {% radiogroup id="radio_sourcetype1"%}
                   </div>
         </div>
{% endblock content %}
0 Karma
Get Updates on the Splunk Community!

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...

From Alert to Resolution: How Splunk Observability Helps SREs Navigate Critical ...

It's 3:17 AM, and your phone buzzes with an urgent alert. Wire transfer processing times have spiked, and ...