parroquia 1.1.15 → 1.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parroquia/sacramentos/actualizar_misa.rb +18 -18
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b8c5ec1b5541215316be18e8cd9e3a224a77d671fa0a6df81822b8ce3ef6a2d
|
4
|
+
data.tar.gz: a9b2eba679c7afce7e338aec3b5e39db4312179344f15a1e1f3918d8f1b974eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe5b13de6e918d58bbe0b903f05f105a271dd2d847edac568dc98c434fda2cc0377878bfd9daddb890ac74ce66fe5975080d6115e7c65d9f54637f2539ddfb03
|
7
|
+
data.tar.gz: ff89ec28c1f73806e21819f5ccb8d9fc5629cffa44e6ff5ea3d6ecc794f13c6eed3c9975f4a9b3a4d8e04952525ae30b98f4a5b0c8586682d18bfc29f63bb1f7
|
@@ -5,29 +5,29 @@ include Fox
|
|
5
5
|
class ActualizarMisa < FXMainWindow
|
6
6
|
def initialize(app, registro)
|
7
7
|
@registro = registro
|
8
|
-
super(app, 'Parroquia San Judas Tadeo', width:
|
8
|
+
super(app, 'Parroquia San Judas Tadeo', width: 700, height: 370)
|
9
9
|
self.backColor = FXRGB(3, 187, 133)
|
10
10
|
# Title
|
11
11
|
@lbltitle = FXLabel.new(self, 'Bienvenido a la Parroquia San Judas Tadeo',
|
12
|
-
opts: LAYOUT_EXPLICIT | JUSTIFY_CENTER_X, width:
|
12
|
+
opts: LAYOUT_EXPLICIT | JUSTIFY_CENTER_X, width: 700, height: 20, x: 0, y: 20)
|
13
13
|
@lbltitle.font = FXFont.new(app, 'Geneva', 16, FONTWEIGHT_BOLD)
|
14
14
|
@lbltitle.backColor = FXRGB(3, 187, 133)
|
15
15
|
# Subtitle
|
16
16
|
@lblsubtitle = FXLabel.new(self, 'ARQUIDIOSESIS DE QUITO - SERVICIO PARROQUIAL DE SAN JUDAS TADEO',
|
17
|
-
opts: LAYOUT_EXPLICIT | JUSTIFY_CENTER_X, width:
|
17
|
+
opts: LAYOUT_EXPLICIT | JUSTIFY_CENTER_X, width: 700, height: 20, x: 0, y: 40)
|
18
18
|
@lblsubtitle.font = FXFont.new(app, 'Geneva', 10, FONTWEIGHT_BOLD)
|
19
19
|
@lblsubtitle.backColor = FXRGB(3, 187, 133)
|
20
20
|
# Date
|
21
21
|
@date = Time.now.strftime('%d/%m/%Y')
|
22
22
|
@lbldate = FXLabel.new(self, "Fecha: #{cambiar_formato_fecha(@date)}", opts: LAYOUT_EXPLICIT | JUSTIFY_RIGHT,
|
23
|
-
width:
|
23
|
+
width: 700, height: 20, x: 0, y: 60, padRight: 20)
|
24
24
|
@lbldate.font = FXFont.new(app, 'Geneva', 12, FONTWEIGHT_BOLD)
|
25
25
|
@lbldate.backColor = FXRGB(3, 187, 133)
|
26
26
|
# section datos
|
27
27
|
@lbl_sacramento = FXLabel.new(self, 'Sacramento: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
28
|
-
x:
|
28
|
+
x: 10, y: 150)
|
29
29
|
@lbl_sacramento.backColor = FXRGB(3, 187, 133)
|
30
|
-
@input_sacramento = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x:
|
30
|
+
@input_sacramento = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
31
31
|
y: 150)
|
32
32
|
@input_sacramento.text = @registro[1]
|
33
33
|
@input_sacramento.disable
|
@@ -37,17 +37,17 @@ class ActualizarMisa < FXMainWindow
|
|
37
37
|
@input_parroquia = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
38
38
|
y: 180)
|
39
39
|
@input_parroquia.text = @registro[25]
|
40
|
-
@lbl_sector = FXLabel.new(self, 'Sector: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x:
|
40
|
+
@lbl_sector = FXLabel.new(self, 'Sector: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 330,
|
41
41
|
y: 180)
|
42
42
|
@lbl_sector.backColor = FXRGB(3, 187, 133)
|
43
|
-
@input_sector = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x:
|
43
|
+
@input_sector = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 490,
|
44
44
|
y: 180)
|
45
45
|
@input_sector.text = @registro[26]
|
46
46
|
@lbl_parroco = FXLabel.new(self, 'Celebranteo: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20,
|
47
|
-
x:
|
47
|
+
x: 10, y: 210)
|
48
48
|
@lbl_parroco.backColor = FXRGB(3, 187, 133)
|
49
|
-
@input_parroco = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x:
|
50
|
-
y:
|
49
|
+
@input_parroco = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
50
|
+
y: 210)
|
51
51
|
@input_parroco.text = @registro[27]
|
52
52
|
@lbl_intencion = FXLabel.new(self, 'Intención: ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
53
53
|
y: 240)
|
@@ -56,23 +56,23 @@ class ActualizarMisa < FXMainWindow
|
|
56
56
|
y: 240)
|
57
57
|
@input_intencion.text = @registro[38]
|
58
58
|
@lbl_fecha = FXLabel.new(self, 'Fecha de la misa (AAAA/MM/DD): ', opts: LAYOUT_EXPLICIT, width: 250,
|
59
|
-
height: 20, x:
|
59
|
+
height: 20, x: 10, y: 300)
|
60
60
|
@lbl_fecha.backColor = FXRGB(3, 187, 133)
|
61
|
-
@input_fecha = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x:
|
62
|
-
y:
|
61
|
+
@input_fecha = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 280,
|
62
|
+
y: 270)
|
63
63
|
@input_fecha.text = @registro[39]
|
64
|
-
@lbl_hora = FXLabel.new(self, 'Hora (HH:MM): ', opts: LAYOUT_EXPLICIT, width:
|
64
|
+
@lbl_hora = FXLabel.new(self, 'Hora (HH:MM): ', opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 10,
|
65
65
|
y: 300)
|
66
66
|
@lbl_hora.backColor = FXRGB(3, 187, 133)
|
67
|
-
@input_hora = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x:
|
67
|
+
@input_hora = FXTextField.new(self, 10, opts: LAYOUT_EXPLICIT, width: 150, height: 20, x: 170,
|
68
68
|
y: 300)
|
69
69
|
@input_hora.text = @registro[40]
|
70
70
|
|
71
71
|
# create buttons
|
72
72
|
@btnupdate = FXButton.new(self, 'Actualizar', opts: LAYOUT_EXPLICIT | BUTTON_NORMAL, width: 100, height: 30,
|
73
|
-
x:
|
73
|
+
x: 480, y: 330)
|
74
74
|
@btncancel = FXButton.new(self, 'Cancelar', opts: LAYOUT_EXPLICIT | BUTTON_NORMAL, width: 100, height: 30,
|
75
|
-
x:
|
75
|
+
x: 590, y: 330)
|
76
76
|
|
77
77
|
# connect buttons
|
78
78
|
@btnupdate.connect(SEL_COMMAND) do
|