Skip to content
Snippets Groups Projects
Select Git revision
  • 4936024fbfc64e9dd2c9177ab313686d8aa92c9b
  • master default
  • renovate/assertj-core.version
  • renovate/major-fontawesome.version
  • renovate/datatables.version
  • renovate/opencsv.version
  • renovate/org.springframework.boot-spring-boot-starter-parent-3.x
  • renovate/junit-jupiter-engine.version
  • renovate/selenium.version
  • renovate/testcontainer.version
  • demo
  • v1_8_1
  • v2.18.1
  • v2.18.0
  • v2.17.2
  • v2.17.1
  • v2.17.0
  • v2.16.1
  • v2.16.0
  • v2.15.1
  • v2.15.0
  • v2.14.0
  • v2.13.0
  • v2.12.0
  • v2.11.0
  • v2.10.0
  • v2.9.2
  • v2.9.1
  • v2.9.0
  • v2.8.0
  • testPipeline2
  • v2.7.0
32 results

imageSelect.css

Blame
  • SensorLineChartTile.html 2.80 KiB
    <style>
        .sensorLineChartTile {
            background-color: #2F2F2F;
            font-size: 4vmin;
            font-weight: bold;
            border-radius: 1vh;
        }
    
        .sensorLineChartTile .content {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
        }
    
        .sensorLineChartTile .chart {
            flex: 1;
        }
    
        .sensorLineChartTile .header {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 5%;
        }
    
        .sensorLineChartTile .title {
            font-size: 2.2vmin;
        }
    
        .sensorLineChartTile .header-left {
            display: flex;
            flex-direction: column;
            padding-top: 3%;
            padding-left: 5%;
        }
    
        .sensorLineChartTile i {
            margin-right: 5%;
            font-size: 3.8vmin;
        }
    
        .sensorLineChartTile .title,
        .sensorLineChartTile .value {
            text-align: left;
        }
    </style>
    
    <div class="sensorLineChartTile">
        <div class="content">
            <div class="header">
                <div class="header-left">
                    <div class="title">{{ title }}</div>
                    <div class="value">{{ latest }}{{ unit }}</div>
                </div>
                <i class="wi {{ icon }}"></i>
            </div>
            <div class="chart" id="{{ chartId }}"></div>
        </div>
    
        <script>
            function createChart_{{ chartId | replace('-', '_') }}()
            {
                let data = [{
                    x: {{ x }},
                    y: {{ y }},
                    fill: 'tozeroy',
                    type: 'scatter',
                    mode: 'lines',