Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch-1 #1017

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Patch-1 #1017

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 39 additions & 17 deletions admin/index_m.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,23 @@
/* -ms-text-align-last: center;
-moz-text-align-last: center; */
}

body {
overflow: hidden;
}

.adapter-body {
overflow: hidden;
}

/* Style for small Screens */
@media screen and (max-width: 600px) {
.responsive {
font-size: 1.5rem !important;
line-height: 110% !important;
margin: 1em 0 0 0.6em !important;
}
}
</style>

<script type="text/javascript">
Expand Down Expand Up @@ -172,12 +189,13 @@
<body>

<div class="m adapter-container">
<h3>SourceAnalytix</h3>
<h3 class="responsive">SourceAnalytix</h3>
<div class="row">
<div class="col s12">
<ul class="tabs">
<li class="tab col s6"><a href="#tab-main" class="translate active">Main settings</a></li>
<li class="tab col s6"><a href="#tab-pricesDefinition" class="translate active">Price definitions</a>
<li class="tab col s6"><a href="#tab-pricesDefinition" class="translate active">Price
definitions</a>
</li>
</ul>
</div>
Expand All @@ -190,7 +208,7 @@ <h3>SourceAnalytix</h3>

<div class="row">
<div class="input-field col s2">
<!-- placeholder-->
<!-- placeholder-->
</div>
<div class="input-field col s2">
<input type="checkbox" class="value" id="store_weeks" />
Expand All @@ -205,7 +223,7 @@ <h3>SourceAnalytix</h3>
<span class="translate">Quarters</span>
</div>
<div class="input-field col s2">
<!-- placeholder-->
<!-- placeholder-->
</div>
</div>

Expand Down Expand Up @@ -264,14 +282,14 @@ <h3>SourceAnalytix</h3>
</div>
-->

<!-- <p class="translate title">Logging settings</p>-->
<!-- <p class="translate title">Logging settings</p>-->

<!-- <div class="row">-->
<!-- <div class="input-field col s3">-->
<!-- <input type="checkbox" class="value" id="status_logging" />-->
<!-- <span class="translate">Status messages to log</span>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="row">-->
<!-- <div class="input-field col s3">-->
<!-- <input type="checkbox" class="value" id="status_logging" />-->
<!-- <span class="translate">Status messages to log</span>-->
<!-- </div>-->
<!-- </div>-->
</div>
</div>
<!-- Tab main -->
Expand All @@ -288,18 +306,22 @@ <h3>SourceAnalytix</h3>
<table class="table-values">
<thead>
<tr>
<th data-name="cat" style="width: 20%" class="translate">Category</th>
<th data-name="des" style="width: 30%" class="translate">Description</th>
<th data-name="costType" class="translate"
<th data-name="cat" data-label="Category" style="width: 20%" class="translate">
Category</th>
<th data-name="des" data-label="Description" style="width: 30%"
class="translate">Description</th>
<th data-name="costType" data-label="Cost Type" class="translate"
style="width: 10%; text-align: center;" data-default="20" data-type="select"
data-style="text-align: center" data-options="costs;earnings">Cost Type</th>
<th data-name="unitType" class="translate"
<th data-name="unitType" data-label="Unit" class="translate"
style="width: 10%; text-align: center;" data-default="kWh"
data-type="select" data-style="text-align: center"
data-options="GW;MW;kW;W;mW;GWh;MWh;kWh;Wh;mWh;km³;m³;dm³;cm³;mm³;hl;l;dl;cl;ml">
Unit</th>
<th data-name="uPpU" style="width: 10%" class="translate">Price p/unit</th>
<th data-name="uPpM" style="width: 10%" class="translate">Price p/m</th>
<th data-name="uPpU" data-label="Price p/unit" style="width: 10%"
class="translate">Price p/unit</th>
<th data-name="uPpM" data-label="Price p/m" style="width: 10%"
class="translate">Price p/m</th>
<th data-buttons="delete up down" style="width: 120px"></th>
</tr>
</thead>
Expand Down