-
-
+
+
+
+
-
-
{{ Math.floor(trigger.brightness / 255 * 100) }}%
-
-
-
- {{ $t('triggers.timeNoData') }}
-
+
+ {{ $t('triggers.timeNoData') }}
+
-
+
+
+
+
@@ -294,7 +354,7 @@
{{ $t('system.mapsTitle') }}
-
+
{{ $t('system.mapsAPIKeyhint') }}
diff --git a/web/lang.js b/web/lang.js
index 0987fcd..8fb3cf3 100644
--- a/web/lang.js
+++ b/web/lang.js
@@ -40,10 +40,14 @@ var messages = {
timeTitle: 'Time',
timeInternet: 'Please note that time triggers require an internet connection.',
timeNoData: 'No time triggers defined yet',
+
+ timeEnabled: 'Enable time triggers',
+ timeTransitionTime: 'Transition time in milliseconds',
+
timeAdd: 'Add',
timeDelete: 'Delete',
- timeEnabled: 'Enabled',
+ timeTriggerEnabled: 'Enabled',
timeFixedTime: 'Fixed time',
timeSunrise: 'Sunrise',
timeSunset: 'Sunset',
@@ -57,7 +61,22 @@ var messages = {
timeSaturday: 'Saturday',
timeSunday: 'Sunday',
- motionTitle: 'Motion'
+ motionTitle: 'Motion',
+ motionNoData: 'No motion triggers defined yet',
+
+ motionEnabled: 'Enable motion triggers',
+ motionEnabledDuringTimeTrigger: 'Activate even if a time trigger is already active',
+ motionTransitionTime: 'Transition time in milliseconds',
+
+ motionTriggerEnabled: 'Enabled',
+ motionAdd: 'Add',
+ motionDelete: 'Delete',
+
+ motionPin: 'GPIO pin (active high)',
+ motionDirection: 'Sweep animation',
+ motionDirectionNonDirectional: 'None (all steps at the same time)',
+ motionDirectionTopDown: 'Top down',
+ motionDirectionBottomUp: 'Bottom up'
},
connection: {
@@ -97,7 +116,7 @@ var messages = {
pinLEDAP: 'Access Point status LED pin (+3.3v)',
pinLEDSTA: 'Station Mode status LED pin (+3.3v)',
- pinAPButton: 'Enable Access Point button pin (pull low)',
+ pinAPButton: 'Enable Access Point button pin (active low)',
pinPWMDriverSDA: 'PCA9685 PWM driver SDA pin (data)',
pinPWMDriverSCL: 'PCA9685 PWM driver SCL pin (clock)',
pwmAddress: 'PCA9685 PWM driver I²C address',
@@ -149,10 +168,14 @@ var messages = {
timeTitle: 'Tijd',
timeInternet: 'Let op dat voor tijd triggers een internetverbinding vereist is.',
timeNoData: 'Nog geen tijd triggers geconfigureerd',
+
+ timeEnabled: 'Tijd triggers inschakelen',
+ timeTransitionTime: 'Transitie tijd in milliseconden',
+
timeAdd: 'Toevoegen',
timeDelete: 'Verwijderen',
- timeEnabled: 'Actief',
+ timeTriggerEnabled: 'Actief',
timeFixedTime: 'Vaste tijd',
timeSunrise: 'Zonsopkomst',
timeSunset: 'Zonsondergang',
@@ -166,7 +189,22 @@ var messages = {
timeSaturday: 'Zaterdag',
timeSunday: 'Zondag',
- motionTitle: 'Beweging'
+ motionTitle: 'Beweging',
+ motionNoData: 'Nog geen beweging triggers geconfigureerd',
+
+ motionEnabled: 'Beweging triggers inschakelen',
+ motionEnabledDuringTimeTrigger: 'Ook inschakelen als er al een tijd trigger actief is',
+ motionTransitionTime: 'Transitie tijd in milliseconden',
+
+ motionTriggerEnabled: 'Actief',
+ motionAdd: 'Toevoegen',
+ motionDelete: 'Verwijderen',
+
+ motionPin: 'GPIO pin (actief hoog)',
+ motionDirection: 'Animatie',
+ motionDirectionNonDirectional: 'Geen (alle treden gelijktijdig)',
+ motionDirectionTopDown: 'Boven naar beneden',
+ motionDirectionBottomUp: 'Beneden naar boven'
},
connection: {
diff --git a/web/site.scss b/web/site.scss
index 5af8e0d..8c85f88 100644
--- a/web/site.scss
+++ b/web/site.scss
@@ -12,6 +12,7 @@ $containerBackgroundColor: #202020;
$containerShadow: 0 0 50px #fcf6cf;
$panelBorderColor: #404040;
+$panelBodyBackgroundColor: #242422;
$panelHeaderBackgroundColor: #302f28;
$panelHeaderColor: #808080;
$panelHeaderLinkColor: white;
@@ -331,6 +332,7 @@ input[disabled]
& .panel-body
{
+ background-color: $panelBodyBackgroundColor;
padding: 2rem;
}
}