Ankündigung

Einklappen
Keine Ankündigung bisher.

Problems organizing sliders?

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Problems organizing sliders?

    Hello.
    When i set up two sliders like this:
    Code:
    	<div class="block">
    		<div class="ui-bar-c ui-li-divider ui-corner-top">Lys</div>
    		<div class="ui-fixed ui-body-a ui-corner-bottom">
    		
    		<h4>Spots Indhak </h4>
    		{{ device.dimmer('dimmer220', '', 'outside.light.spots_on_off', 'outside.light.spots_dim_absolute', '0', '100', '0.5') }}	
    		
    		<h4>Timer udvendigt lys (hverdage) </h4>
    		<h6> Tænd: (time:minut)</h6>
    		{{ basic.slider('slider220', 'timer1_on_hour_weekday', 0, 23, 1, 'bottomup') }}
    		{{ basic.slider('slider221', 'timer1_on_minute_weekday', 0, 59, 1, 'bottomup') }}
    		</div>
    	</div>
    I get a result like attached in the picture. How do i order them, so they are placed beside each other like in the documentation:
    smartVISU Documentation v2.7

    Greetings
    Angehängte Dateien

    #2
    You should lern the basics of HTML and CSS

    HTML-Code:
    <div style="height: 180px; width: 100px; display: inline-block;">
    {{ basic.slider('slider220', 'timer1_on_hour_weekday', 0, 23, 1, 'bottomup') }}
    </div>
    <div style="height: 180px; width: 100px; display: inline-block;">
    {{ basic.slider('slider221', 'timer1_on_minute_weekday', 0, 59, 1, 'bottomup') }}
    </div>
    Mit freundlichen Grüßen
    Niko Will

    Logiken und Schnittstelle zu anderen Systemen: smarthome.py - Visualisierung: smartVISU
    - Gira TS3 - iPhone & iPad - Mobotix T24 - ekey - Denon 2313 - Russound C5 (RIO over TCP Plugin) -

    Kommentar


      #3
      Thanks a lot
      Yes I know, but it's not that easy to search on - when you don't know what to search for

      Kommentar


        #4
        That's right... therefore it is better to learn HTML and CSS from the scratch a bit (unrelated to the smartVISU) so that you later know what you are looking for.
        Mit freundlichen Grüßen
        Niko Will

        Logiken und Schnittstelle zu anderen Systemen: smarthome.py - Visualisierung: smartVISU
        - Gira TS3 - iPhone & iPad - Mobotix T24 - ekey - Denon 2313 - Russound C5 (RIO over TCP Plugin) -

        Kommentar

        Lädt...
        X