Browse code

Add device showcase module

Benjamin Roth authored on05/01/2016 15:52:24
Showing1 changed files
... ...
@@ -27,6 +27,52 @@ array_insert($GLOBALS['BE_MOD'], 1, array
27 27
 
28 28
 $GLOBALS['FE_MOD']['esalesClients'] = array
29 29
 (
30
-	'clientsShowcase' => 'ModuleClientsShowcase',
31
-	'clientsProject'  => 'ModuleClientsProject'
30
+	'clientsShowcase'        => 'ModuleClientsShowcase',
31
+	'clientsProject'         => 'ModuleClientsProject',
32
+	'clientsProjectDevices'  => 'ModuleClientsProjectDevices'
33
+);
34
+
35
+
36
+/**
37
+ * Devices
38
+ */
39
+
40
+$GLOBALS['eSM_clients']['devices'] = array
41
+(
42
+	'phone' => array
43
+	(
44
+		'devicemask' => array
45
+		(
46
+			'imageSRC' => 'system/modules/eSM_clients/assets/images/Nexus_6.png',
47
+			'ratio'    => 0.75
48
+		),
49
+		'screen'     => array
50
+		(
51
+			'ratio' => array('x'=>0.911, 'y'=>0.759)
52
+		)
53
+	),
54
+	'desktop' => array
55
+	(
56
+		'devicemask' => array
57
+		(
58
+			'imageSRC' => 'system/modules/eSM_clients/assets/images/desktop.png',
59
+			'ratio'    => 1.00
60
+		),
61
+		'screen'     => array
62
+		(
63
+			'ratio' => array('x'=>0.919, 'y'=>0.622)
64
+		)
65
+	),
66
+	'tablet' => array
67
+	(
68
+		'devicemask' => array
69
+		(
70
+			'imageSRC' => 'system/modules/eSM_clients/assets/images/tablet.png',
71
+			'ratio'    => 0.75
72
+		),
73
+		'screen'     => array
74
+		(
75
+			'ratio' => array('x'=>0.865, 'y'=>0.779)
76
+		)
77
+	)
32 78
 );
33 79
\ No newline at end of file
Browse code

Initial commit

Benjamin Roth authored on26/03/2015 15:24:56
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,32 @@
1
+<?php
2
+
3
+/**
4
+ * References for Contao
5
+ *
6
+ * Copyright (c) 2014 Benjamin Roth [http://www.esales-media.de]
7
+ *
8
+ * @package eSM_clients
9
+ * @link    http://www.esales-media.de
10
+ * @license commercial
11
+ */
12
+
13
+
14
+array_insert($GLOBALS['BE_MOD'], 1, array
15
+(
16
+	'esales'    => array
17
+	(
18
+		'clients'       => array
19
+		(
20
+			'tables'      => array('tl_esm_clients','tl_esm_clients_projects','tl_esm_clients_settings'),
21
+			'icon'        => '/system/themes/default/images/article.gif',
22
+			'sort'        => array('\\tl_esm_clients','renderSortingPage')
23
+		)
24
+	)
25
+));
26
+
27
+
28
+$GLOBALS['FE_MOD']['esalesClients'] = array
29
+(
30
+	'clientsShowcase' => 'ModuleClientsShowcase',
31
+	'clientsProject'  => 'ModuleClientsProject'
32
+);
0 33
\ No newline at end of file