parroquia 1.1.15 → 1.1.17
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: 17d84e3f220d60264a4e17fda530e18f70e38c33838f98ddead03b6f1e2c35bd
|
4
|
+
data.tar.gz: ddb70e03b3dc2175955b7c45d7e965822f81655b6f5abaa5d93b173c7c043f47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: addbcf3c1f1e9de2d76f82f3c7d302a18cbb0f59410527d610573666f2d7c09c4c9a59b99b2020e29ad2a834d54f8d7073e5dc5c8b7dd44c994221e04aac3f65
|
7
|
+
data.tar.gz: b7f25fe7c968db18c34a5376d96678675bd3c49893d8b39eda0e6e7371556933a8dff6e3d3d179798a80092cfd25ea0b740fa9f627533162a2d356c976ce4a32
|
@@ -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: 270)
|
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
|