Browse code

init witj jeedom template

louis.jonget authored on17/01/2023 08:47:47
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,56 @@
1
+<?php
2
+/* This file is part of Jeedom.
3
+*
4
+* Jeedom is free software: you can redistribute it and/or modify
5
+* it under the terms of the GNU General Public License as published by
6
+* the Free Software Foundation, either version 3 of the License, or
7
+* (at your option) any later version.
8
+*
9
+* Jeedom is distributed in the hope that it will be useful,
10
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+* GNU General Public License for more details.
13
+*
14
+* You should have received a copy of the GNU General Public License
15
+* along with Jeedom. If not, see <http://www.gnu.org/licenses/>.
16
+*/
17
+
18
+require_once dirname(__FILE__) . '/../../../core/php/core.inc.php';
19
+include_file('core', 'authentification', 'php');
20
+if (!isConnect()) {
21
+  include_file('desktop', '404', 'php');
22
+  die();
23
+}
24
+?>
25
+<form class="form-horizontal">
26
+  <fieldset>
27
+    <div class="form-group">
28
+      <label class="col-md-4 control-label">{{Global param 1}}
29
+        <sup><i class="fas fa-question-circle tooltips" title="{{Renseignez le paramètre 1 du plugin}}"></i></sup>
30
+      </label>
31
+      <div class="col-md-4">
32
+        <input class="configKey form-control" data-l1key="param1"/>
33
+      </div>
34
+    </div>
35
+    <div class="form-group">
36
+      <label class="col-md-4 control-label">{{Global param 2}}
37
+        <sup><i class="fas fa-question-circle tooltips" title="{{Renseignez le paramètre 2 du plugin}}"></i></sup>
38
+      </label>
39
+      <div class="col-md-4">
40
+        <input class="configKey form-control" data-l1key="param2"/>
41
+      </div>
42
+    </div>
43
+    <div class="form-group">
44
+      <label class="col-md-4 control-label">{{Global param 3}}
45
+        <sup><i class="fas fa-question-circle tooltips" title="{{Sélectionnez du paramètre 3 du plugin}}"></i></sup>
46
+      </label>
47
+      <div class="col-md-4">
48
+        <select class="configKey form-control" data-l1key="param3">
49
+          <option value=""></option>
50
+          <option value="value1">value1</option>
51
+          <option value="value2">value2</option>
52
+        </select>
53
+      </div>
54
+    </div>
55
+  </fieldset>
56
+</form>