Dashboards & Visualizations

Panel input bottom align

pitmod
Explorer

I have the following dashboard:

 

 

<form>
  <label>RHN Status sandbox</label>
  <row>
   <panel>
      <title>Test</title>
      <html>
        <div>
          <img src="http://collab.ubs.net/adventskalender/IconBrowser/com.ubs.a00.icons.ui/src/web/icons/32x32/0239_OK6.png"/>
        </div>
      </html>
       
      
     <input type="checkbox" token="show_details">
        <label></label>
        <choice value="1">Details</choice>
      </input>
    </panel>
  </row>
</form>

 

 

The input checkbox is always above the img in div. Do could I put input below the img? 

Labels (3)
0 Karma
1 Solution

Nisha18789
Builder

Hello @pitmod , could you please try this:

 

 

<form>
<label>RHN Status sandbox</label>
<row depends="$hideforCSS$">
<html>
<style>
#panel1,#panel2{ width:100%!important}
#panel2{margin-top:-5px;}
</style>
</html>
</row>
<row>
<panel id="panel1"> <title>Test</title>
<html>

<div id="img">
<img src="http://collab.ubs.net/adventskalender/IconBrowser/com.ubs.a00.icons.ui/src/web/icons/32x32/0239_OK6....>
</div>
</html>
</panel>
<panel id="panel2">

<input type="checkbox" token="show_details">
<label></label>
<choice value="1">Details</choice>
</input>

</panel>
</row>
</form>

View solution in original post

Nisha18789
Builder

Hello @pitmod , could you please try this:

 

 

<form>
<label>RHN Status sandbox</label>
<row depends="$hideforCSS$">
<html>
<style>
#panel1,#panel2{ width:100%!important}
#panel2{margin-top:-5px;}
</style>
</html>
</row>
<row>
<panel id="panel1"> <title>Test</title>
<html>

<div id="img">
<img src="http://collab.ubs.net/adventskalender/IconBrowser/com.ubs.a00.icons.ui/src/web/icons/32x32/0239_OK6....>
</div>
</html>
</panel>
<panel id="panel2">

<input type="checkbox" token="show_details">
<label></label>
<choice value="1">Details</choice>
</input>

</panel>
</row>
</form>

Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...