data_grid 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +3 -0
- data/CHANGELOG +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/Rakefile +1 -0
- data/app/assets/images/data_grid/calendar_view_month.png +0 -0
- data/app/assets/images/data_grid/csv.gif +0 -0
- data/app/assets/images/data_grid/delete.png +0 -0
- data/app/assets/images/data_grid/edit.png +0 -0
- data/app/assets/images/data_grid/no.png +0 -0
- data/app/assets/images/data_grid/sort_down.gif +0 -0
- data/app/assets/images/data_grid/sort_up.gif +0 -0
- data/app/assets/images/data_grid/yes.png +0 -0
- data/app/assets/javascripts/data_grid/data_grid.js +24 -0
- data/app/assets/javascripts/data_grid/grid_calendar/calendar-setup.js +200 -0
- data/app/assets/javascripts/data_grid/grid_calendar/calendar-setup_stripped.js +21 -0
- data/app/assets/javascripts/data_grid/grid_calendar/calendar.js +1819 -0
- data/app/assets/javascripts/data_grid/grid_calendar/calendar_original.js +1845 -0
- data/app/assets/javascripts/data_grid/grid_calendar/calendar_patched.js +1819 -0
- data/app/assets/javascripts/data_grid/grid_calendar/calendar_stripped.js +14 -0
- data/app/assets/javascripts/data_grid/grid_calendar/img.gif +0 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-af.js +39 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-al.js +101 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-bg.js +124 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-big5-utf8.js +123 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-big5.js +123 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-br.js +108 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-ca.js +123 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-cs-utf8.js +65 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-cs-win.js +65 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-da.js +123 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-de.js +124 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-du.js +45 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-el.js +89 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-en.js +127 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-es.js +129 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-fi.js +98 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-fr.js +125 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-he-utf8.js +123 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-hr-utf8.js +49 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-hr.js +0 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-hu.js +124 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-it.js +124 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-jp.js +45 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-ko-utf8.js +120 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-ko.js +120 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-lt-utf8.js +114 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-lt.js +114 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-lv.js +123 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-nl.js +73 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-no.js +114 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-pl-utf8.js +93 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-pl.js +56 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-pt.js +123 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-ro.js +66 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-ru.js +123 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-ru_win_.js +123 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-si.js +94 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-sk.js +99 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-sp.js +110 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-sv.js +93 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-tr.js +58 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/calendar-zh.js +119 -0
- data/app/assets/javascripts/data_grid/grid_calendar/lang/cn_utf8.js +123 -0
- data/app/assets/javascripts/data_grid/grid_calendar/menuarrow.gif +0 -0
- data/app/assets/javascripts/data_grid/grid_calendar/menuarrow2.gif +0 -0
- data/app/assets/stylesheets/data_grid/data_grid.css +90 -0
- data/app/assets/stylesheets/data_grid/data_grid_3_0.css +90 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/calendar-blue.css +233 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/calendar-blue2.css +237 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/calendar-brown.css +226 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/calendar-green.css +230 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/calendar-system.css +252 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/calendar-tas.css +240 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/calendar-win2k-1.css +272 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/calendar-win2k-2.css +272 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/calendar-win2k-cold-1.css +266 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/calendar-win2k-cold-2.css +272 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/img.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/menuarrow.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/menuarrow2.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/skins/aqua/active-bg.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/skins/aqua/dark-bg.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/skins/aqua/hover-bg.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/skins/aqua/menuarrow.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/skins/aqua/normal-bg.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/skins/aqua/rowhover-bg.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/skins/aqua/status-bg.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/skins/aqua/theme.css +236 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/skins/aqua/title-bg.gif +0 -0
- data/app/assets/stylesheets/data_grid/grid_calendar/skins/aqua/today-bg.gif +0 -0
- data/app/views/data_grid/_data_grid.html.erb +101 -0
- data/config/locales/en.yml +10 -0
- data/data_grid.gemspec +27 -0
- data/lib/data_grid/column.rb +38 -0
- data/lib/data_grid/controller.rb +30 -0
- data/lib/data_grid/cookies_state_saver.rb +42 -0
- data/lib/data_grid/csv_exporter.rb +79 -0
- data/lib/data_grid/data_grid_logic.rb +175 -0
- data/lib/data_grid/data_source_array.rb +267 -0
- data/lib/data_grid/data_source_orm.rb +207 -0
- data/lib/data_grid/engine.rb +19 -0
- data/lib/data_grid/summaries.rb +34 -0
- data/lib/data_grid/version.rb +3 -0
- data/lib/data_grid/view_helpers.rb +271 -0
- data/lib/data_grid.rb +43 -0
- data/lib/generators/data_grid/copy_view_generator.rb +16 -0
- data/lib/generators/data_grid/install_generator.rb +29 -0
- data/lib/generators/templates/data_grid.rb +29 -0
- data/lib/generators/templates/stylesheets/data_grid/data_grid_3_0.css +90 -0
- data/spec/orm_spec.rb +57 -0
- data/spec/spec_helper.rb +15 -0
- data/spec/support/active_record.rb +17 -0
- metadata +118 -5
@@ -0,0 +1,110 @@
|
|
1
|
+
// ** I18N
|
2
|
+
|
3
|
+
// Calendar SP language
|
4
|
+
// Author: Rafael Velasco <rvu_at_idecnet_dot_com>
|
5
|
+
// Encoding: any
|
6
|
+
// Distributed under the same terms as the calendar itself.
|
7
|
+
|
8
|
+
// For translators: please use UTF-8 if possible. We strongly believe that
|
9
|
+
// Unicode is the answer to a real internationalized world. Also please
|
10
|
+
// include your contact information in the header, as can be seen above.
|
11
|
+
|
12
|
+
// full day names
|
13
|
+
Calendar._DN = new Array
|
14
|
+
("Domingo",
|
15
|
+
"Lunes",
|
16
|
+
"Martes",
|
17
|
+
"Miercoles",
|
18
|
+
"Jueves",
|
19
|
+
"Viernes",
|
20
|
+
"Sabado",
|
21
|
+
"Domingo");
|
22
|
+
|
23
|
+
Calendar._SDN = new Array
|
24
|
+
("Dom",
|
25
|
+
"Lun",
|
26
|
+
"Mar",
|
27
|
+
"Mie",
|
28
|
+
"Jue",
|
29
|
+
"Vie",
|
30
|
+
"Sab",
|
31
|
+
"Dom");
|
32
|
+
|
33
|
+
// full month names
|
34
|
+
Calendar._MN = new Array
|
35
|
+
("Enero",
|
36
|
+
"Febrero",
|
37
|
+
"Marzo",
|
38
|
+
"Abril",
|
39
|
+
"Mayo",
|
40
|
+
"Junio",
|
41
|
+
"Julio",
|
42
|
+
"Agosto",
|
43
|
+
"Septiembre",
|
44
|
+
"Octubre",
|
45
|
+
"Noviembre",
|
46
|
+
"Diciembre");
|
47
|
+
|
48
|
+
// short month names
|
49
|
+
Calendar._SMN = new Array
|
50
|
+
("Ene",
|
51
|
+
"Feb",
|
52
|
+
"Mar",
|
53
|
+
"Abr",
|
54
|
+
"May",
|
55
|
+
"Jun",
|
56
|
+
"Jul",
|
57
|
+
"Ago",
|
58
|
+
"Sep",
|
59
|
+
"Oct",
|
60
|
+
"Nov",
|
61
|
+
"Dic");
|
62
|
+
|
63
|
+
// tooltips
|
64
|
+
Calendar._TT = {};
|
65
|
+
Calendar._TT["INFO"] = "Informaci�n del Calendario";
|
66
|
+
|
67
|
+
Calendar._TT["ABOUT"] =
|
68
|
+
"DHTML Date/Time Selector\n" +
|
69
|
+
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
|
70
|
+
"Nuevas versiones en: http://www.dynarch.com/projects/calendar/\n" +
|
71
|
+
"Distribuida bajo licencia GNU LGPL. Para detalles vea http://gnu.org/licenses/lgpl.html ." +
|
72
|
+
"\n\n" +
|
73
|
+
"Selecci�n de Fechas:\n" +
|
74
|
+
"- Use \xab, \xbb para seleccionar el a�o\n" +
|
75
|
+
"- Use " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " para seleccionar el mes\n" +
|
76
|
+
"- Mantenga presionado el bot�n del rat�n en cualquiera de las opciones superiores para un acceso rapido .";
|
77
|
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
78
|
+
"Selecci�n del Reloj:\n" +
|
79
|
+
"- Seleccione la hora para cambiar el reloj\n" +
|
80
|
+
"- o presione Shift-click para disminuirlo\n" +
|
81
|
+
"- o presione click y arrastre del rat�n para una selecci�n rapida.";
|
82
|
+
|
83
|
+
Calendar._TT["PREV_YEAR"] = "A�o anterior (Presione para menu)";
|
84
|
+
Calendar._TT["PREV_MONTH"] = "Mes Anterior (Presione para menu)";
|
85
|
+
Calendar._TT["GO_TODAY"] = "Ir a Hoy";
|
86
|
+
Calendar._TT["NEXT_MONTH"] = "Mes Siguiente (Presione para menu)";
|
87
|
+
Calendar._TT["NEXT_YEAR"] = "A�o Siguiente (Presione para menu)";
|
88
|
+
Calendar._TT["SEL_DATE"] = "Seleccione fecha";
|
89
|
+
Calendar._TT["DRAG_TO_MOVE"] = "Arrastre y mueva";
|
90
|
+
Calendar._TT["PART_TODAY"] = " (Hoy)";
|
91
|
+
|
92
|
+
// the following is to inform that "%s" is to be the first day of week
|
93
|
+
// %s will be replaced with the day name.
|
94
|
+
Calendar._TT["DAY_FIRST"] = "Mostrar %s primero";
|
95
|
+
|
96
|
+
// This may be locale-dependent. It specifies the week-end days, as an array
|
97
|
+
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
|
98
|
+
// means Monday, etc.
|
99
|
+
Calendar._TT["WEEKEND"] = "0,6";
|
100
|
+
|
101
|
+
Calendar._TT["CLOSE"] = "Cerrar";
|
102
|
+
Calendar._TT["TODAY"] = "Hoy";
|
103
|
+
Calendar._TT["TIME_PART"] = "(Shift-)Click o arrastra para cambar el valor";
|
104
|
+
|
105
|
+
// date formats
|
106
|
+
Calendar._TT["DEF_DATE_FORMAT"] = "%dd-%mm-%yy";
|
107
|
+
Calendar._TT["TT_DATE_FORMAT"] = "%A, %e de %B de %Y";
|
108
|
+
|
109
|
+
Calendar._TT["WK"] = "Sm";
|
110
|
+
Calendar._TT["TIME"] = "Hora:";
|
@@ -0,0 +1,93 @@
|
|
1
|
+
// ** I18N
|
2
|
+
|
3
|
+
// Calendar SV language (Swedish, svenska)
|
4
|
+
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
|
5
|
+
// Translation team: <sv@li.org>
|
6
|
+
// Translator: Leonard Norrg�rd <leonard.norrgard@refactor.fi>
|
7
|
+
// Last translator: Leonard Norrg�rd <leonard.norrgard@refactor.fi>
|
8
|
+
// Encoding: iso-latin-1
|
9
|
+
// Distributed under the same terms as the calendar itself.
|
10
|
+
|
11
|
+
// For translators: please use UTF-8 if possible. We strongly believe that
|
12
|
+
// Unicode is the answer to a real internationalized world. Also please
|
13
|
+
// include your contact information in the header, as can be seen above.
|
14
|
+
|
15
|
+
// full day names
|
16
|
+
Calendar._DN = new Array
|
17
|
+
("s�ndag",
|
18
|
+
"m�ndag",
|
19
|
+
"tisdag",
|
20
|
+
"onsdag",
|
21
|
+
"torsdag",
|
22
|
+
"fredag",
|
23
|
+
"l�rdag",
|
24
|
+
"s�ndag");
|
25
|
+
|
26
|
+
// Please note that the following array of short day names (and the same goes
|
27
|
+
// for short month names, _SMN) isn't absolutely necessary. We give it here
|
28
|
+
// for exemplification on how one can customize the short day names, but if
|
29
|
+
// they are simply the first N letters of the full name you can simply say:
|
30
|
+
//
|
31
|
+
// Calendar._SDN_len = N; // short day name length
|
32
|
+
// Calendar._SMN_len = N; // short month name length
|
33
|
+
//
|
34
|
+
// If N = 3 then this is not needed either since we assume a value of 3 if not
|
35
|
+
// present, to be compatible with translation files that were written before
|
36
|
+
// this feature.
|
37
|
+
Calendar._SDN_len = 2;
|
38
|
+
Calendar._SMN_len = 3;
|
39
|
+
|
40
|
+
// full month names
|
41
|
+
Calendar._MN = new Array
|
42
|
+
("januari",
|
43
|
+
"februari",
|
44
|
+
"mars",
|
45
|
+
"april",
|
46
|
+
"maj",
|
47
|
+
"juni",
|
48
|
+
"juli",
|
49
|
+
"augusti",
|
50
|
+
"september",
|
51
|
+
"oktober",
|
52
|
+
"november",
|
53
|
+
"december");
|
54
|
+
|
55
|
+
// tooltips
|
56
|
+
Calendar._TT = {};
|
57
|
+
Calendar._TT["INFO"] = "Om kalendern";
|
58
|
+
|
59
|
+
Calendar._TT["ABOUT"] =
|
60
|
+
"DHTML Datum/tid-v�ljare\n" +
|
61
|
+
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
|
62
|
+
"F�r senaste version g� till: http://www.dynarch.com/projects/calendar/\n" +
|
63
|
+
"Distribueras under GNU LGPL. Se http://gnu.org/licenses/lgpl.html f�r detaljer." +
|
64
|
+
"\n\n" +
|
65
|
+
"Val av datum:\n" +
|
66
|
+
"- Anv�nd knapparna \xab, \xbb f�r att v�lja �r\n" +
|
67
|
+
"- Anv�nd knapparna " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " f�r att v�lja m�nad\n" +
|
68
|
+
"- H�ll musknappen nedtryckt p� n�gon av ovanst�ende knappar f�r snabbare val.";
|
69
|
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
70
|
+
"Val av tid:\n" +
|
71
|
+
"- Klicka p� en del av tiden f�r att �ka den delen\n" +
|
72
|
+
"- eller skift-klicka f�r att minska den\n" +
|
73
|
+
"- eller klicka och drag f�r snabbare val.";
|
74
|
+
|
75
|
+
Calendar._TT["PREV_YEAR"] = "F�reg�ende �r (h�ll f�r menu)";
|
76
|
+
Calendar._TT["PREV_MONTH"] = "F�reg�ende m�nad (h�ll f�r menu)";
|
77
|
+
Calendar._TT["GO_TODAY"] = "G� till dagens datum";
|
78
|
+
Calendar._TT["NEXT_MONTH"] = "F�ljande m�nad (h�ll f�r menu)";
|
79
|
+
Calendar._TT["NEXT_YEAR"] = "F�ljande �r (h�ll f�r menu)";
|
80
|
+
Calendar._TT["SEL_DATE"] = "V�lj datum";
|
81
|
+
Calendar._TT["DRAG_TO_MOVE"] = "Drag f�r att flytta";
|
82
|
+
Calendar._TT["PART_TODAY"] = " (idag)";
|
83
|
+
Calendar._TT["MON_FIRST"] = "Visa m�ndag f�rst";
|
84
|
+
Calendar._TT["SUN_FIRST"] = "Visa s�ndag f�rst";
|
85
|
+
Calendar._TT["CLOSE"] = "St�ng";
|
86
|
+
Calendar._TT["TODAY"] = "Idag";
|
87
|
+
Calendar._TT["TIME_PART"] = "(Skift-)klicka eller drag f�r att �ndra tid";
|
88
|
+
|
89
|
+
// date formats
|
90
|
+
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
|
91
|
+
Calendar._TT["TT_DATE_FORMAT"] = "%A %d %b %Y";
|
92
|
+
|
93
|
+
Calendar._TT["WK"] = "vecka";
|
@@ -0,0 +1,58 @@
|
|
1
|
+
//////////////////////////////////////////////////////////////////////////////////////////////
|
2
|
+
// Turkish Translation by Nuri AKMAN
|
3
|
+
// Location: Ankara/TURKEY
|
4
|
+
// e-mail : nuriakman@hotmail.com
|
5
|
+
// Date : April, 9 2003
|
6
|
+
//
|
7
|
+
// Note: if Turkish Characters does not shown on you screen
|
8
|
+
// please include falowing line your html code:
|
9
|
+
//
|
10
|
+
// <meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
|
11
|
+
//
|
12
|
+
//////////////////////////////////////////////////////////////////////////////////////////////
|
13
|
+
|
14
|
+
// ** I18N
|
15
|
+
Calendar._DN = new Array
|
16
|
+
("Pazar",
|
17
|
+
"Pazartesi",
|
18
|
+
"Sal�",
|
19
|
+
"�ar�amba",
|
20
|
+
"Per�embe",
|
21
|
+
"Cuma",
|
22
|
+
"Cumartesi",
|
23
|
+
"Pazar");
|
24
|
+
Calendar._MN = new Array
|
25
|
+
("Ocak",
|
26
|
+
"�ubat",
|
27
|
+
"Mart",
|
28
|
+
"Nisan",
|
29
|
+
"May�s",
|
30
|
+
"Haziran",
|
31
|
+
"Temmuz",
|
32
|
+
"A�ustos",
|
33
|
+
"Eyl�l",
|
34
|
+
"Ekim",
|
35
|
+
"Kas�m",
|
36
|
+
"Aral�k");
|
37
|
+
|
38
|
+
// tooltips
|
39
|
+
Calendar._TT = {};
|
40
|
+
Calendar._TT["TOGGLE"] = "Haftan�n ilk g�n�n� kayd�r";
|
41
|
+
Calendar._TT["PREV_YEAR"] = "�nceki Y�l (Men� i�in bas�l� tutunuz)";
|
42
|
+
Calendar._TT["PREV_MONTH"] = "�nceki Ay (Men� i�in bas�l� tutunuz)";
|
43
|
+
Calendar._TT["GO_TODAY"] = "Bug�n'e git";
|
44
|
+
Calendar._TT["NEXT_MONTH"] = "Sonraki Ay (Men� i�in bas�l� tutunuz)";
|
45
|
+
Calendar._TT["NEXT_YEAR"] = "Sonraki Y�l (Men� i�in bas�l� tutunuz)";
|
46
|
+
Calendar._TT["SEL_DATE"] = "Tarih se�iniz";
|
47
|
+
Calendar._TT["DRAG_TO_MOVE"] = "Ta��mak i�in s�r�kleyiniz";
|
48
|
+
Calendar._TT["PART_TODAY"] = " (bug�n)";
|
49
|
+
Calendar._TT["MON_FIRST"] = "Takvim Pazartesi g�n�nden ba�las�n";
|
50
|
+
Calendar._TT["SUN_FIRST"] = "Takvim Pazar g�n�nden ba�las�n";
|
51
|
+
Calendar._TT["CLOSE"] = "Kapat";
|
52
|
+
Calendar._TT["TODAY"] = "Bug�n";
|
53
|
+
|
54
|
+
// date formats
|
55
|
+
Calendar._TT["DEF_DATE_FORMAT"] = "dd-mm-y";
|
56
|
+
Calendar._TT["TT_DATE_FORMAT"] = "d MM y, DD";
|
57
|
+
|
58
|
+
Calendar._TT["WK"] = "Hafta";
|
@@ -0,0 +1,119 @@
|
|
1
|
+
// ** I18N
|
2
|
+
|
3
|
+
// Calendar ZH language
|
4
|
+
// Author: muziq, <muziq@sina.com>
|
5
|
+
// Encoding: GB2312 or GBK
|
6
|
+
// Distributed under the same terms as the calendar itself.
|
7
|
+
|
8
|
+
// full day names
|
9
|
+
Calendar._DN = new Array
|
10
|
+
("������",
|
11
|
+
"����һ",
|
12
|
+
"���ڶ�",
|
13
|
+
"������",
|
14
|
+
"������",
|
15
|
+
"������",
|
16
|
+
"������",
|
17
|
+
"������");
|
18
|
+
|
19
|
+
// Please note that the following array of short day names (and the same goes
|
20
|
+
// for short month names, _SMN) isn't absolutely necessary. We give it here
|
21
|
+
// for exemplification on how one can customize the short day names, but if
|
22
|
+
// they are simply the first N letters of the full name you can simply say:
|
23
|
+
//
|
24
|
+
// Calendar._SDN_len = N; // short day name length
|
25
|
+
// Calendar._SMN_len = N; // short month name length
|
26
|
+
//
|
27
|
+
// If N = 3 then this is not needed either since we assume a value of 3 if not
|
28
|
+
// present, to be compatible with translation files that were written before
|
29
|
+
// this feature.
|
30
|
+
|
31
|
+
// short day names
|
32
|
+
Calendar._SDN = new Array
|
33
|
+
("��",
|
34
|
+
"һ",
|
35
|
+
"��",
|
36
|
+
"��",
|
37
|
+
"��",
|
38
|
+
"��",
|
39
|
+
"��",
|
40
|
+
"��");
|
41
|
+
|
42
|
+
// full month names
|
43
|
+
Calendar._MN = new Array
|
44
|
+
("һ��",
|
45
|
+
"����",
|
46
|
+
"����",
|
47
|
+
"����",
|
48
|
+
"����",
|
49
|
+
"����",
|
50
|
+
"����",
|
51
|
+
"����",
|
52
|
+
"����",
|
53
|
+
"ʮ��",
|
54
|
+
"ʮһ��",
|
55
|
+
"ʮ����");
|
56
|
+
|
57
|
+
// short month names
|
58
|
+
Calendar._SMN = new Array
|
59
|
+
("һ��",
|
60
|
+
"����",
|
61
|
+
"����",
|
62
|
+
"����",
|
63
|
+
"����",
|
64
|
+
"����",
|
65
|
+
"����",
|
66
|
+
"����",
|
67
|
+
"����",
|
68
|
+
"ʮ��",
|
69
|
+
"ʮһ��",
|
70
|
+
"ʮ����");
|
71
|
+
|
72
|
+
// tooltips
|
73
|
+
Calendar._TT = {};
|
74
|
+
Calendar._TT["INFO"] = "����";
|
75
|
+
|
76
|
+
Calendar._TT["ABOUT"] =
|
77
|
+
"DHTML Date/Time Selector\n" +
|
78
|
+
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
|
79
|
+
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
|
80
|
+
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
|
81
|
+
"\n\n" +
|
82
|
+
"ѡ������:\n" +
|
83
|
+
"- ��� \xab, \xbb ��ťѡ�����\n" +
|
84
|
+
"- ��� " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " ��ťѡ���·�\n" +
|
85
|
+
"- �������ϰ�ť�ɴӲ˵��п���ѡ����ݻ��·�";
|
86
|
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
87
|
+
"ѡ��ʱ��:\n" +
|
88
|
+
"- ���Сʱ����ӿ�ʹ����ֵ��һ\n" +
|
89
|
+
"- ��סShift�����Сʱ����ӿ�ʹ����ֵ��һ\n" +
|
90
|
+
"- ����϶����ɽ��п���ѡ��";
|
91
|
+
|
92
|
+
Calendar._TT["PREV_YEAR"] = "��һ�� (��ס���˵�)";
|
93
|
+
Calendar._TT["PREV_MONTH"] = "��һ�� (��ס���˵�)";
|
94
|
+
Calendar._TT["GO_TODAY"] = "ת������";
|
95
|
+
Calendar._TT["NEXT_MONTH"] = "��һ�� (��ס���˵�)";
|
96
|
+
Calendar._TT["NEXT_YEAR"] = "��һ�� (��ס���˵�)";
|
97
|
+
Calendar._TT["SEL_DATE"] = "ѡ������";
|
98
|
+
Calendar._TT["DRAG_TO_MOVE"] = "�϶�";
|
99
|
+
Calendar._TT["PART_TODAY"] = " (����)";
|
100
|
+
|
101
|
+
// the following is to inform that "%s" is to be the first day of week
|
102
|
+
// %s will be replaced with the day name.
|
103
|
+
Calendar._TT["DAY_FIRST"] = "�������ʾ%s";
|
104
|
+
|
105
|
+
// This may be locale-dependent. It specifies the week-end days, as an array
|
106
|
+
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
|
107
|
+
// means Monday, etc.
|
108
|
+
Calendar._TT["WEEKEND"] = "0,6";
|
109
|
+
|
110
|
+
Calendar._TT["CLOSE"] = "�ر�";
|
111
|
+
Calendar._TT["TODAY"] = "����";
|
112
|
+
Calendar._TT["TIME_PART"] = "(Shift-)��������϶��ı�ֵ";
|
113
|
+
|
114
|
+
// date formats
|
115
|
+
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
|
116
|
+
Calendar._TT["TT_DATE_FORMAT"] = "%A, %b %e��";
|
117
|
+
|
118
|
+
Calendar._TT["WK"] = "��";
|
119
|
+
Calendar._TT["TIME"] = "ʱ��:";
|
@@ -0,0 +1,123 @@
|
|
1
|
+
// ** I18N
|
2
|
+
|
3
|
+
// Calendar EN language
|
4
|
+
// Author: Mihai Bazon, <mishoo@infoiasi.ro>
|
5
|
+
// Encoding: any
|
6
|
+
// Translator : Niko <nikoused@gmail.com>
|
7
|
+
// Distributed under the same terms as the calendar itself.
|
8
|
+
|
9
|
+
// For translators: please use UTF-8 if possible. We strongly believe that
|
10
|
+
// Unicode is the answer to a real internationalized world. Also please
|
11
|
+
// include your contact information in the header, as can be seen above.
|
12
|
+
|
13
|
+
// full day names
|
14
|
+
Calendar._DN = new Array
|
15
|
+
("\u5468\u65e5",//\u5468\u65e5
|
16
|
+
"\u5468\u4e00",//\u5468\u4e00
|
17
|
+
"\u5468\u4e8c",//\u5468\u4e8c
|
18
|
+
"\u5468\u4e09",//\u5468\u4e09
|
19
|
+
"\u5468\u56db",//\u5468\u56db
|
20
|
+
"\u5468\u4e94",//\u5468\u4e94
|
21
|
+
"\u5468\u516d",//\u5468\u516d
|
22
|
+
"\u5468\u65e5");//\u5468\u65e5
|
23
|
+
|
24
|
+
// Please note that the following array of short day names (and the same goes
|
25
|
+
// for short month names, _SMN) isn't absolutely necessary. We give it here
|
26
|
+
// for exemplification on how one can customize the short day names, but if
|
27
|
+
// they are simply the first N letters of the full name you can simply say:
|
28
|
+
//
|
29
|
+
// Calendar._SDN_len = N; // short day name length
|
30
|
+
// Calendar._SMN_len = N; // short month name length
|
31
|
+
//
|
32
|
+
// If N = 3 then this is not needed either since we assume a value of 3 if not
|
33
|
+
// present, to be compatible with translation files that were written before
|
34
|
+
// this feature.
|
35
|
+
|
36
|
+
// short day names
|
37
|
+
Calendar._SDN = new Array
|
38
|
+
("\u5468\u65e5",
|
39
|
+
"\u5468\u4e00",
|
40
|
+
"\u5468\u4e8c",
|
41
|
+
"\u5468\u4e09",
|
42
|
+
"\u5468\u56db",
|
43
|
+
"\u5468\u4e94",
|
44
|
+
"\u5468\u516d",
|
45
|
+
"\u5468\u65e5");
|
46
|
+
|
47
|
+
// full month names
|
48
|
+
Calendar._MN = new Array
|
49
|
+
("\u4e00\u6708",
|
50
|
+
"\u4e8c\u6708",
|
51
|
+
"\u4e09\u6708",
|
52
|
+
"\u56db\u6708",
|
53
|
+
"\u4e94\u6708",
|
54
|
+
"\u516d\u6708",
|
55
|
+
"\u4e03\u6708",
|
56
|
+
"\u516b\u6708",
|
57
|
+
"\u4e5d\u6708",
|
58
|
+
"\u5341\u6708",
|
59
|
+
"\u5341\u4e00\u6708",
|
60
|
+
"\u5341\u4e8c\u6708");
|
61
|
+
|
62
|
+
// short month names
|
63
|
+
Calendar._SMN = new Array
|
64
|
+
("\u4e00\u6708",
|
65
|
+
"\u4e8c\u6708",
|
66
|
+
"\u4e09\u6708",
|
67
|
+
"\u56db\u6708",
|
68
|
+
"\u4e94\u6708",
|
69
|
+
"\u516d\u6708",
|
70
|
+
"\u4e03\u6708",
|
71
|
+
"\u516b\u6708",
|
72
|
+
"\u4e5d\u6708",
|
73
|
+
"\u5341\u6708",
|
74
|
+
"\u5341\u4e00\u6708",
|
75
|
+
"\u5341\u4e8c\u6708");
|
76
|
+
|
77
|
+
// tooltips
|
78
|
+
Calendar._TT = {};
|
79
|
+
Calendar._TT["INFO"] = "\u5173\u4e8e";
|
80
|
+
|
81
|
+
Calendar._TT["ABOUT"] =
|
82
|
+
" DHTML \u65e5\u8d77/\u65f6\u95f4\u9009\u62e9\u63a7\u4ef6\n" +
|
83
|
+
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
|
84
|
+
"For latest version visit: \u6700\u65b0\u7248\u672c\u8bf7\u767b\u9646http://www.dynarch.com/projects/calendar/\u5bdf\u770b\n" +
|
85
|
+
"\u9075\u5faaGNU LGPL. \u7ec6\u8282\u53c2\u9605 http://gnu.org/licenses/lgpl.html" +
|
86
|
+
"\n\n" +
|
87
|
+
"\u65e5\u671f\u9009\u62e9:\n" +
|
88
|
+
"- \u70b9\u51fb\xab(\xbb)\u6309\u94ae\u9009\u62e9\u4e0a(\u4e0b)\u4e00\u5e74\u5ea6.\n" +
|
89
|
+
"- \u70b9\u51fb" + String.fromCharCode(0x2039) + "(" + String.fromCharCode(0x203a) + ")\u6309\u94ae\u9009\u62e9\u4e0a(\u4e0b)\u4e2a\u6708\u4efd.\n" +
|
90
|
+
"- \u957f\u65f6\u95f4\u6309\u7740\u6309\u94ae\u5c06\u51fa\u73b0\u66f4\u591a\u9009\u62e9\u9879.";
|
91
|
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
92
|
+
"\u65f6\u95f4\u9009\u62e9:\n" +
|
93
|
+
"-\u5728\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2)\u4e0a\u5355\u51fb\u9f20\u6807\u5de6\u952e\u6765\u589e\u52a0\u5f53\u524d\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2)\n" +
|
94
|
+
"-\u5728\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2)\u4e0a\u6309\u4f4fShift\u952e\u540e\u5355\u51fb\u9f20\u6807\u5de6\u952e\u6765\u51cf\u5c11\u5f53\u524d\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2).";
|
95
|
+
|
96
|
+
Calendar._TT["PREV_YEAR"] = "\u4e0a\u4e00\u5e74";
|
97
|
+
Calendar._TT["PREV_MONTH"] = "\u4e0a\u4e2a\u6708";
|
98
|
+
Calendar._TT["GO_TODAY"] = "\u5230\u4eca\u5929";
|
99
|
+
Calendar._TT["NEXT_MONTH"] = "\u4e0b\u4e2a\u6708";
|
100
|
+
Calendar._TT["NEXT_YEAR"] = "\u4e0b\u4e00\u5e74";
|
101
|
+
Calendar._TT["SEL_DATE"] = "\u9009\u62e9\u65e5\u671f";
|
102
|
+
Calendar._TT["DRAG_TO_MOVE"] = "\u62d6\u52a8";
|
103
|
+
Calendar._TT["PART_TODAY"] = " (\u4eca\u5929)";
|
104
|
+
|
105
|
+
// the following is to inform that "%s" is to be the first day of week
|
106
|
+
// %s will be replaced with the day name.
|
107
|
+
Calendar._TT["DAY_FIRST"] = "%s\u4e3a\u8fd9\u5468\u7684\u7b2c\u4e00\u5929";
|
108
|
+
|
109
|
+
// This may be locale-dependent. It specifies the week-end days, as an array
|
110
|
+
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
|
111
|
+
// means Monday, etc.
|
112
|
+
Calendar._TT["WEEKEND"] = "0,6";
|
113
|
+
|
114
|
+
Calendar._TT["CLOSE"] = "\u5173\u95ed";
|
115
|
+
Calendar._TT["TODAY"] = "\u4eca\u5929";
|
116
|
+
Calendar._TT["TIME_PART"] = "(\u6309\u7740Shift\u952e)\u5355\u51fb\u6216\u62d6\u52a8\u6539\u53d8\u503c";
|
117
|
+
|
118
|
+
// date formats
|
119
|
+
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
|
120
|
+
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e\u65e5";
|
121
|
+
|
122
|
+
Calendar._TT["WK"] = "\u5468";
|
123
|
+
Calendar._TT["TIME"] = "\u65f6\u95f4:";
|
Binary file
|
Binary file
|
@@ -0,0 +1,90 @@
|
|
1
|
+
div.data_grid {
|
2
|
+
font-family: Verdana, Arial, Helvetica, sans-serif;
|
3
|
+
font-size: 12px;
|
4
|
+
}
|
5
|
+
|
6
|
+
table.data_grid {
|
7
|
+
border: 1px solid #808080;
|
8
|
+
border-collapse: separate;
|
9
|
+
width: 100%;
|
10
|
+
}
|
11
|
+
|
12
|
+
table.data_grid th {
|
13
|
+
text-align: left;
|
14
|
+
background-color: #C6D4E4;
|
15
|
+
padding: 6px 3px;
|
16
|
+
color: #000;
|
17
|
+
line-height: 18px;
|
18
|
+
}
|
19
|
+
|
20
|
+
table.data_grid td {
|
21
|
+
border-width: 1px;
|
22
|
+
padding: 3px;
|
23
|
+
border-style: none;
|
24
|
+
border-color: #011b36;
|
25
|
+
color: #000;
|
26
|
+
font-size: 11px;
|
27
|
+
line-height: 18px;
|
28
|
+
padding-left: 4px;
|
29
|
+
}
|
30
|
+
|
31
|
+
table.data_grid td.odd { background-color: #F0FFF0; }
|
32
|
+
|
33
|
+
table.data_grid tr.filters td {
|
34
|
+
background-color: #E9F0F4;
|
35
|
+
border-bottom: 1px solid #C0C0C0;
|
36
|
+
}
|
37
|
+
|
38
|
+
table.data_grid a, table.data_grid a:active, table.data_grid a:focus { color: #12c; }
|
39
|
+
|
40
|
+
table.data_grid tr:hover td.data_grid_row { background-color: #ddd; }
|
41
|
+
|
42
|
+
table.data_grid td.grid_no_data {
|
43
|
+
font-size:16px;
|
44
|
+
font-weight:bold;
|
45
|
+
}
|
46
|
+
|
47
|
+
table.data_grid tr.summary td { background-color: #E9F0F4; }
|
48
|
+
|
49
|
+
table.data_grid tfoot tr td { background-color: #E9F0F4; }
|
50
|
+
|
51
|
+
table.data_grid a.sorting.down {
|
52
|
+
padding-right: 13px;
|
53
|
+
background: url("/assets/data_grid/sort_down.gif") right 4px no-repeat;
|
54
|
+
}
|
55
|
+
|
56
|
+
table.data_grid a.sorting.up {
|
57
|
+
padding-right: 13px;
|
58
|
+
background: url("/assets/data_grid/sort_up.gif") right 4px no-repeat;
|
59
|
+
}
|
60
|
+
|
61
|
+
table.data_grid tfoot td div { margin: 0; padding: 0; }
|
62
|
+
table.data_grid tfoot td .data_grid_fl { float:left; }
|
63
|
+
table.data_grid tfoot td .data_grid_fr { float:right; }
|
64
|
+
table.data_grid tfoot td .data_grid_lmargin { margin-left: 20px; }
|
65
|
+
|
66
|
+
table.data_grid tfoot td .pagination { margin-right: 40px; }
|
67
|
+
table.data_grid tfoot td ul.data_grid_pagination {
|
68
|
+
display: inline-block;
|
69
|
+
padding: 0;
|
70
|
+
margin: 0;
|
71
|
+
|
72
|
+
*float: left;
|
73
|
+
}
|
74
|
+
table.data_grid tfoot td ul.data_grid_pagination li {
|
75
|
+
display: inline;
|
76
|
+
font-size: 14px;
|
77
|
+
font-weight: bold;
|
78
|
+
float: none;
|
79
|
+
margin: 0 2px;
|
80
|
+
}
|
81
|
+
table.data_grid tfoot td ul.data_grid_pagination a {
|
82
|
+
display: inline-block;
|
83
|
+
font-weight: bold;
|
84
|
+
font-size: 12px;
|
85
|
+
|
86
|
+
*display: block;
|
87
|
+
}
|
88
|
+
|
89
|
+
table.data_grid form input.data_grid_filter_input { width: 48px; }
|
90
|
+
|
@@ -0,0 +1,90 @@
|
|
1
|
+
div.data_grid {
|
2
|
+
font-family: Verdana, Arial, Helvetica, sans-serif;
|
3
|
+
font-size: 12px;
|
4
|
+
}
|
5
|
+
|
6
|
+
table.data_grid {
|
7
|
+
border: 1px solid #808080;
|
8
|
+
border-collapse: separate;
|
9
|
+
width: 100%;
|
10
|
+
}
|
11
|
+
|
12
|
+
table.data_grid th {
|
13
|
+
text-align: left;
|
14
|
+
background-color: #C6D4E4;
|
15
|
+
padding: 6px 3px;
|
16
|
+
color: #000;
|
17
|
+
line-height: 18px;
|
18
|
+
}
|
19
|
+
|
20
|
+
table.data_grid td {
|
21
|
+
border-width: 1px;
|
22
|
+
padding: 3px;
|
23
|
+
border-style: none;
|
24
|
+
border-color: #011b36;
|
25
|
+
color: #000;
|
26
|
+
font-size: 11px;
|
27
|
+
line-height: 18px;
|
28
|
+
padding-left: 4px;
|
29
|
+
}
|
30
|
+
|
31
|
+
table.data_grid td.odd { background-color: #F0FFF0; }
|
32
|
+
|
33
|
+
table.data_grid tr.filters td {
|
34
|
+
background-color: #E9F0F4;
|
35
|
+
border-bottom: 1px solid #C0C0C0;
|
36
|
+
}
|
37
|
+
|
38
|
+
table.data_grid a, table.data_grid a:active, table.data_grid a:focus { color: #12c; }
|
39
|
+
|
40
|
+
table.data_grid tr:hover td.data_grid_row { background-color: #ddd; }
|
41
|
+
|
42
|
+
table.data_grid td.grid_no_data {
|
43
|
+
font-size:16px;
|
44
|
+
font-weight:bold;
|
45
|
+
}
|
46
|
+
|
47
|
+
table.data_grid tr.summary td { background-color: #E9F0F4; }
|
48
|
+
|
49
|
+
table.data_grid tfoot tr td { background-color: #E9F0F4; }
|
50
|
+
|
51
|
+
table.data_grid a.sorting.down {
|
52
|
+
padding-right: 13px;
|
53
|
+
background: url("/images/data_grid/sort_down.gif") right 4px no-repeat;
|
54
|
+
}
|
55
|
+
|
56
|
+
table.data_grid a.sorting.up {
|
57
|
+
padding-right: 13px;
|
58
|
+
background: url("/images/data_grid/sort_up.gif") right 4px no-repeat;
|
59
|
+
}
|
60
|
+
|
61
|
+
table.data_grid tfoot td div { margin: 0; padding: 0; }
|
62
|
+
table.data_grid tfoot td .data_grid_fl { float:left; }
|
63
|
+
table.data_grid tfoot td .data_grid_fr { float:right; }
|
64
|
+
table.data_grid tfoot td .data_grid_lmargin { margin-left: 20px; }
|
65
|
+
|
66
|
+
table.data_grid tfoot td .pagination { margin-right: 40px; }
|
67
|
+
table.data_grid tfoot td ul.data_grid_pagination {
|
68
|
+
display: inline-block;
|
69
|
+
padding: 0;
|
70
|
+
margin: 0;
|
71
|
+
|
72
|
+
*float: left;
|
73
|
+
}
|
74
|
+
table.data_grid tfoot td ul.data_grid_pagination li {
|
75
|
+
display: inline;
|
76
|
+
font-size: 14px;
|
77
|
+
font-weight: bold;
|
78
|
+
float: none;
|
79
|
+
margin: 0 2px;
|
80
|
+
}
|
81
|
+
table.data_grid tfoot td ul.data_grid_pagination a {
|
82
|
+
display: inline-block;
|
83
|
+
font-weight: bold;
|
84
|
+
font-size: 12px;
|
85
|
+
|
86
|
+
*display: block;
|
87
|
+
}
|
88
|
+
|
89
|
+
table.data_grid form input.data_grid_filter_input { width: 48px; }
|
90
|
+
|