Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
261 commits
Select commit Hold shift + click to select a range
5aa3007
Update index.html
DeepInTheCode May 31, 2014
4b88a82
Update index.html
DeepInTheCode May 31, 2014
c257ef1
Update index.html
DeepInTheCode Jun 1, 2014
cc6859b
Update README.md
DeepInTheCode Jun 1, 2014
9bd966c
Update index.html
DeepInTheCode Jun 1, 2014
a44d4ff
Update converter.js
DeepInTheCode Jun 1, 2014
1122fb1
Update converter.js
DeepInTheCode Jun 1, 2014
bf651d0
filtering out fields
dshefman Jun 1, 2014
ec6edfa
Merge branch 'gh-pages' of https://github.com/DeepInTheCode/mr-data-c…
dshefman Jun 1, 2014
50bb658
adding comments
dshefman Jun 1, 2014
4035c86
Update Controller.js
DeepInTheCode Jun 1, 2014
6e3d17c
not bi-directional mapping
dshefman Jun 1, 2014
e65ba7b
Merge branch 'gh-pages' of https://github.com/DeepInTheCode/mr-data-c…
dshefman Jun 1, 2014
03a6a93
Update Controller.js
DeepInTheCode Jun 1, 2014
fd1d275
Update converter.js
DeepInTheCode Jun 1, 2014
39693e3
Update applyMap.js
DeepInTheCode Jun 1, 2014
69df899
Update mapping-tests.js
DeepInTheCode Jun 1, 2014
fba0c34
Update converter.js
DeepInTheCode Jun 1, 2014
90502ef
Update converter.js
DeepInTheCode Jun 1, 2014
93a0862
Update converter.js
DeepInTheCode Jun 1, 2014
b0168b5
Update converter.js
DeepInTheCode Jun 1, 2014
14dd928
no targets
dshefman Jun 1, 2014
bca8b2f
Merge branch 'gh-pages' of https://github.com/DeepInTheCode/mr-data-c…
dshefman Jun 1, 2014
f2e9a47
CamelCase
dshefman Jun 1, 2014
19e8211
Update converter.js
DeepInTheCode Jun 1, 2014
5832e21
Update applyMap.js
dshefman Jun 1, 2014
7e54a5a
Update applyMap.js
dshefman Jun 1, 2014
f29f0f5
Update Controller.js
DeepInTheCode Jun 1, 2014
02dc1ca
Update applyMap.js
dshefman Jun 1, 2014
1cec511
Update applyMap.js
dshefman Jun 1, 2014
736a7ca
Update converter.js
DeepInTheCode Jun 1, 2014
0e2bf10
Update converter.js
DeepInTheCode Jun 1, 2014
5715baa
Update applyMap.js
dshefman Jun 1, 2014
4439adc
Update converter.js
DeepInTheCode Jun 1, 2014
35243cc
Create jsonToCsv.js
DeepInTheCode Jun 1, 2014
bcc1ac7
Update index.html
DeepInTheCode Jun 1, 2014
35278ff
Update index.html
DeepInTheCode Jun 1, 2014
bf77b03
Update index.html
DeepInTheCode Jun 1, 2014
be8dcbd
Update converter.js
DeepInTheCode Jun 1, 2014
0d11ef0
Update converter.js
DeepInTheCode Jun 1, 2014
8d9ed6e
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
782c549
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
a299154
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
19f1c63
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
9b6f8a6
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
a0c39ca
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
efaa38f
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
c7012c8
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
8689084
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
4212ea8
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
2f8dec6
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
b55e999
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
afece67
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
31d3466
Update jsonToCsv.js
DeepInTheCode Jun 1, 2014
ddb7f18
Update index.html
DeepInTheCode Jun 1, 2014
183498d
Update converter.js
DeepInTheCode Jun 1, 2014
8210e50
Create addTextInputs.js
DeepInTheCode Jun 1, 2014
1e6bde6
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
c1f5a7c
Update converter.js
DeepInTheCode Jun 1, 2014
9db4d7b
Update index.html
DeepInTheCode Jun 1, 2014
354978e
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
3c04d51
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
124e661
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
e8adefe
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
5787465
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
c51f768
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
a01436f
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
5efb164
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
6670082
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
a3b14a2
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
d29caa9
Update converter.js
DeepInTheCode Jun 1, 2014
59339f5
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
e0ee9d2
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
fac826e
Update index.html
DeepInTheCode Jun 1, 2014
746d9c8
Update addTextInputs.js
DeepInTheCode Jun 1, 2014
346578d
Update index.html
DeepInTheCode Jun 1, 2014
47b2dd4
fixes to targets and mapping
dshefman Jun 1, 2014
6d47f41
Merge branch 'gh-pages' of https://github.com/DeepInTheCode/mr-data-c…
dshefman Jun 1, 2014
2d25928
Update index.html
DeepInTheCode Jun 2, 2014
db61777
Update converter.css
DeepInTheCode Jun 2, 2014
ce3c974
Update converter.css
DeepInTheCode Jun 2, 2014
d2a384e
Update converter.css
DeepInTheCode Jun 2, 2014
5df99b3
Update converter.css
DeepInTheCode Jun 2, 2014
8ac53ac
Update converter.css
DeepInTheCode Jun 2, 2014
c91eea8
Update converter.css
DeepInTheCode Jun 2, 2014
b765c94
Update Controller.js
DeepInTheCode Jun 2, 2014
b1b5545
Update Controller.js
DeepInTheCode Jun 2, 2014
ad9627c
Update Controller.js
DeepInTheCode Jun 2, 2014
710301e
Update Controller.js
DeepInTheCode Jun 2, 2014
9c336eb
Update Controller.js
DeepInTheCode Jun 2, 2014
64600c1
Update converter.js
DeepInTheCode Jun 2, 2014
b0e174f
Update converter.js
DeepInTheCode Jun 2, 2014
dc7dbb8
Update Controller.js
DeepInTheCode Jun 2, 2014
07b19f0
Update Controller.js
DeepInTheCode Jun 2, 2014
ad7d59d
Update converter.js
DeepInTheCode Jun 2, 2014
5067061
Update Controller.js
DeepInTheCode Jun 2, 2014
7e988da
Update converter.js
DeepInTheCode Jun 2, 2014
a89fdcc
Update Controller.js
DeepInTheCode Jun 2, 2014
fd02af2
Update Controller.js
DeepInTheCode Jun 2, 2014
edc41cc
Update converter.js
DeepInTheCode Jun 2, 2014
18e49c8
Update converter.js
DeepInTheCode Jun 2, 2014
780d871
Update converter.js
DeepInTheCode Jun 2, 2014
5525160
Update applyMap.js
DeepInTheCode Jun 2, 2014
602f737
Update converter.js
DeepInTheCode Jun 2, 2014
bc490e0
Update DataGridRenderer.js
DeepInTheCode Jun 2, 2014
0055646
Update addTextInputs.js
DeepInTheCode Jun 2, 2014
4045eb2
Update addTextInputs.js
DeepInTheCode Jun 2, 2014
8e2f6ce
Update addTextInputs.js
DeepInTheCode Jun 2, 2014
ffb8ab5
Update index.html
DeepInTheCode Jun 2, 2014
8c66682
Update index.html
DeepInTheCode Jun 2, 2014
a808225
Update applyMap.js
DeepInTheCode Jun 2, 2014
25f3a2e
Update applyMap.js
DeepInTheCode Jun 2, 2014
2b41b4e
Update jsonToCsv.js
DeepInTheCode Jun 2, 2014
3f00350
Update jsonToCsv.js
DeepInTheCode Jun 2, 2014
0799df8
adding debugging
DeepInTheCode Jun 2, 2014
e1079b5
fixing line
DeepInTheCode Jun 2, 2014
6bb658e
Update jsonToCsv.js
DeepInTheCode Jun 2, 2014
59ecf3f
Update applyMap.js
DeepInTheCode Jun 2, 2014
58a7a8e
Update DataGridRenderer.js
DeepInTheCode Jun 2, 2014
2bb24b7
Update DataGridRenderer.js
DeepInTheCode Jun 2, 2014
28b2fc5
Update DataGridRenderer.js
DeepInTheCode Jun 2, 2014
c161ee3
Update DataGridRenderer.js
DeepInTheCode Jun 2, 2014
4f1ab98
Update DataGridRenderer.js
DeepInTheCode Jun 2, 2014
1825b7e
Update converter.js
DeepInTheCode Jun 2, 2014
3882f8c
Update converter.js
DeepInTheCode Jun 2, 2014
4e532fc
Update jsonToCsv.js
DeepInTheCode Jun 2, 2014
febf1ac
Update jsonToCsv.js
DeepInTheCode Jun 2, 2014
bd4cd31
Update jsonToCsv.js
DeepInTheCode Jun 2, 2014
eef4ca5
Update jsonToCsv.js
DeepInTheCode Jun 2, 2014
1a48e34
Update converter.js
DeepInTheCode Jun 2, 2014
f3ca7a2
Update applyMap.js
DeepInTheCode Jun 2, 2014
99fcdd8
Update applyMap.js
DeepInTheCode Jun 2, 2014
3b18ba3
Update Controller.js
DeepInTheCode Jun 2, 2014
643b7e3
Update Controller.js
DeepInTheCode Jun 2, 2014
c16dc8f
Update Controller.js
DeepInTheCode Jun 2, 2014
e5910be
Update Controller.js
DeepInTheCode Jun 2, 2014
c6fe5bf
Update Controller.js
DeepInTheCode Jun 2, 2014
22683e9
Update Controller.js
DeepInTheCode Jun 2, 2014
43eb7bf
Update applyMap.js
DeepInTheCode Jun 2, 2014
c96a162
Update applyMap.js
DeepInTheCode Jun 2, 2014
36017f3
Update converter.js
DeepInTheCode Jun 2, 2014
25e6655
Update index.html
DeepInTheCode Jun 2, 2014
3640036
Update index.html
DeepInTheCode Jun 2, 2014
2f0f511
Update index.html
DeepInTheCode Jun 2, 2014
5642a6b
Update index.html
DeepInTheCode Jun 2, 2014
91ecb58
Update DataGridRenderer.js
DeepInTheCode Jun 2, 2014
d06c670
Update addTextInputs.js
DeepInTheCode Jun 2, 2014
2918a63
Update converter.js
DeepInTheCode Jun 2, 2014
f3fa2c6
Update converter.js
DeepInTheCode Jun 2, 2014
c0f5496
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
fba100f
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
e74cfca
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
08d16e7
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
3c90e46
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
470660b
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
1c27599
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
31f349d
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
0057f85
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
c00c1f0
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
e9d3ebf
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
59a9466
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
d4e6033
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
dc70a7c
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
9c6ed7f
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
74f01e1
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
888b834
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
e44dbc9
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
18ced93
Update converter.js
DeepInTheCode Jun 3, 2014
99e3e75
Update converter.js
DeepInTheCode Jun 3, 2014
e4a9405
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
61ffa8c
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
11fe46a
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
5a864cb
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
26137ca
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
a2562b8
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
c41a55f
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
66a3080
Update converter.js
DeepInTheCode Jun 3, 2014
a936659
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
fbce040
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
8fb1397
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
054a9e4
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
905001e
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
77dfd6d
Update converter.js
DeepInTheCode Jun 3, 2014
143f8a4
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
188986a
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
2434fdd
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
44baff9
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
040b9d2
Update addTextInputs.js
DeepInTheCode Jun 3, 2014
fd985b0
Added conditional checking if there are no targets
DeepInTheCode Jun 11, 2014
d8e1441
Binding change event on "settings" div
DeepInTheCode Jun 11, 2014
d87be69
Scope of variable, fix CSV format if no targets
DeepInTheCode Jun 11, 2014
e037f10
Place quotes around strings containing a comma
DeepInTheCode Jun 11, 2014
d481a84
Added toString() methods to allow use of indexOf()
DeepInTheCode Jun 11, 2014
494f3b2
Create SaveVarAsFile.js
DeepInTheCode Jun 12, 2014
df1e2d3
Delete SaveVarAsFile.js
DeepInTheCode Jun 12, 2014
074c050
Create SaveVarAsFile.js
DeepInTheCode Jun 12, 2014
7a637d9
Adding Save button and code to get output text
DeepInTheCode Jun 12, 2014
580cd8e
Adding hidden iframe, script ref. SaveVarAsFile
DeepInTheCode Jun 12, 2014
d3e281a
Added missing ) on line 222
DeepInTheCode Jun 12, 2014
fbfa9bf
Added outputDataTypes object to convert method
DeepInTheCode Jun 12, 2014
7a6bdd5
Get file extension at end of convert method
DeepInTheCode Jun 12, 2014
5d2f6f8
Disabled Save As button on load
DeepInTheCode Jun 12, 2014
8278726
Move Save As button
DeepInTheCode Jun 12, 2014
39b726c
Fixing click event
DeepInTheCode Jun 12, 2014
6c59e31
Define SaveFrame
DeepInTheCode Jun 12, 2014
87d9192
Declaring scoped variables for output and file ext
DeepInTheCode Jun 12, 2014
a37c172
Setting visibility of iframe rather than display
DeepInTheCode Jun 12, 2014
11dcc03
Changing id to name and size of hidden iframe
DeepInTheCode Jun 12, 2014
5336ab0
Changing method of finding iframe
DeepInTheCode Jun 12, 2014
8022b3a
Correcting focus and execcommand syntax
DeepInTheCode Jun 12, 2014
7875270
Added setTimeout to see if iFrame was rendered yet
DeepInTheCode Jun 12, 2014
e5ebce6
Adding id back to iframe
DeepInTheCode Jun 12, 2014
d2e2658
Checking effect of leaving iframe open for focus
DeepInTheCode Jun 12, 2014
f481c50
Finding element in iFrame for focus
DeepInTheCode Jun 12, 2014
c669722
Checking to see if extension is the problem
DeepInTheCode Jun 12, 2014
3ca5b18
eliminating focus
DeepInTheCode Jun 12, 2014
ceb7139
closing after execcommand
DeepInTheCode Jun 12, 2014
f0221f3
Trying completely different technique for saving
DeepInTheCode Jun 12, 2014
7ae1552
Code to check for IE, removing extension param
DeepInTheCode Jun 12, 2014
f712f61
Removing extension option
DeepInTheCode Jun 12, 2014
fed8aee
Removing extra brace
DeepInTheCode Jun 12, 2014
14ff6f5
rename variable s to someVar
DeepInTheCode Jun 12, 2014
e7f6c72
Changing output from html to plaintext
DeepInTheCode Jun 12, 2014
645dd97
Removing unnecessary iframe
DeepInTheCode Jun 12, 2014
f135641
Adding mongoDB insert format
DeepInTheCode Jun 14, 2014
3612cb4
Adding mongoDB option
DeepInTheCode Jun 14, 2014
308ec3e
Added to description and HTML5 validator link
DeepInTheCode Jun 14, 2014
a90aee8
Fixing typo for HTML5 standard
DeepInTheCode Jun 14, 2014
07df894
Changed indentation for readability
DeepInTheCode Jun 14, 2014
e6f27a7
Added valid CSS3 logo
DeepInTheCode Jun 14, 2014
f556691
Added image
DeepInTheCode Jun 14, 2014
8276114
Added shortcut icon
DeepInTheCode Jun 14, 2014
ce3aaf6
Added target _blank to a tag
DeepInTheCode Jun 14, 2014
74c1730
Eliminated carriage returns
DeepInTheCode Jun 14, 2014
36737a8
Clarified instructions on querystring use
DeepInTheCode Jun 14, 2014
b1188e5
Adding vertical-align on header images
DeepInTheCode Jun 14, 2014
b59178d
Adding text-align to header images
DeepInTheCode Jun 14, 2014
4314113
Adding auto height to InputWrapper class
DeepInTheCode Jun 14, 2014
f72781f
Adding window resize to make div scrollable
DeepInTheCode Jun 14, 2014
5c9e65d
Moved resize event
DeepInTheCode Jun 14, 2014
35e94e9
Commented out resize event
DeepInTheCode Jun 14, 2014
4fdf9c6
Do not include empty columns in mongoDB document
DeepInTheCode Jun 14, 2014
1abe10e
Account for null and empty quotes in rowOutput
DeepInTheCode Jun 14, 2014
3b52778
Change not-equal/and to equal/or
DeepInTheCode Jun 14, 2014
a70d789
Eliminate trailing commas from mongoDB jsons
DeepInTheCode Jun 15, 2014
75055f8
Create enableTab.js
DeepInTheCode Jun 15, 2014
1780634
Adding enableTab script to allow tab key in input
DeepInTheCode Jun 15, 2014
d293740
Load enableTab.js before converter.js
DeepInTheCode Jun 15, 2014
fbda540
Not calling enableTab in this file
DeepInTheCode Jun 15, 2014
8ef3fb7
Enabling tab key in dataInput textarea
DeepInTheCode Jun 15, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## DESCRIPTION

Takes CSV or tab-delimited data from Excel and converts it into several web-friendly formats, include JSON and XML.
View it in action here: http://shancarter.github.com/mr-data-converter/
View it in action here: http://deepinthecode.github.io/mr-csv-transformer/
153 changes: 109 additions & 44 deletions css/converter.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,66 @@ http://developer.yahoo.com/yui/license.html
version: 3.1.2
build: 56
*/
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
html{
color:#000;
background:#00304A;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{
margin:0;
padding:0;
}

table{
border-collapse:collapse;border-spacing:0;
}

fieldset,img{
border:0;
}
address,caption,cite,code,dfn,em,strong,th,var{
font-style:normal;
font-weight:normal;
}

li{
list-style:none;
}

caption,th{
text-align:left;
}

h1,h2,h3,h4,h5,h6{
font-size:100%;
font-weight:normal;
}

q:before,q:after{
content:'';
}

abbr,acronym{
border:0;font-variant:normal;
}

sup{
vertical-align:text-top;
}

sub{
vertical-align:text-bottom;
}

input,textarea,select{
font-family:inherit;
font-size:100%;
font-weight:inherit;
}

legend{
color:#000;
}


/*
Expand All @@ -15,16 +74,16 @@ Mr. Data Converter styles

html {
font-family: Helvetica, Arial;
background: #141414 url('../images/background.png') no-repeat;
background: #00304A /*url('../images/background.png') no-repeat*/;
}

body {
overflow: hidden;
overflow: hidden;
}

#base {
padding: 15px;
position: relative;
padding: 15px;
position: relative;
}


Expand All @@ -33,35 +92,39 @@ body {
/*header*/

#header {

color: #FFF;
width: 300px;
overflow: auto;
}
#header a {
color: #99FFFF;
/* opacity: 0.7;*/
/* opacity: 0.7;*/
}

#header p {
color: #CCC;
}

#header img {
vertical-align: middle;
text-align: center;
}

#description p {
margin-bottom: 18px;
}

#header h3 {
font-size: 12px;
margin: 15px 0 10px 0;
padding: 15px 0 0 0;
border-top: solid 1px #CCC;
text-transform: uppercase;
font-size: 12px;
margin: 15px 0 10px 0;
padding: 15px 0 0 0;
border-top: solid 1px #CCC;
text-transform: uppercase;
}

h1 {
color: #DEDEDE;
font-family: palatino, Georgia;
color: #DEDEDE;
font-family: palatino, Georgia;
font-size: 40px;
line-height: 40px;
font-weight: bold;
Expand All @@ -79,20 +142,19 @@ p {

}


#settings h5 {
font-size: 13px;
line-height: 24px;
font-size: 13px;
line-height: 24px;
}

#settings p {
font-size: 13px;
line-height: 24px;
font-size: 13px;
line-height: 24px;
}


#settings .settingsGroup p {
padding-left: 20px;
padding-left: 20px;
}

/*converter*/
Expand All @@ -102,8 +164,8 @@ p {
top: 15px;
left: 330px;
border-color:#000000 #666666 #666666 #000000;
border-style:solid;
border-width:2px;
border-style:solid;
border-width:2px;
}


Expand All @@ -113,40 +175,39 @@ p.dataHeaders{
}

.textInputs {

background-color: #C9B7C7;
border: none;
color: #664D63;
font-family: monospace;
font-size: 12px;
height: 300px;
line-height: 18px;
padding: 10px;
text-shadow: #DED4DD 0px 1px 0px;
-webkit-box-shadow: #333 1px 1px 10px inset;
-moz-box-shadow: #333 1px 1px 10px inset;
background-color: #B0E0E6;
border: none;
color: #00304A;
font-family: monospace;
font-size: 12px;
height: 300px;
line-height: 18px;
padding: 10px;
text-shadow: #DED4DD 0px 1px 0px;
/*-webkit-box-shadow: #333 1px 1px 10px inset;
-moz-box-shadow: #333 1px 1px 10px inset;*/
}


.groupHeader{
width: 100%;
color: #FFF;
height: 45px;
background-color:#5F255C;
background-image: url('../images/header_gradient.png');
width: 100%;
color: #B0E0E6;
height: 45px;
background-color:#0047AB;
/*background-image: url('../images/header_gradient.png');*/
}


p.groupHeadline {
padding: 10px;
padding: 10px;
}
.groupHeader span.subhead {
opacity: 0.7;
font-size: 12px;
opacity: 0.7;
font-size: 12px;
}

.groupHeader a {
color: #FF66FF;
color: #6699CC;
}


Expand All @@ -171,4 +232,8 @@ p.groupHeadline {

#dataSelector option {

}
}

#InputWrapper {
height: auto;
}
Binary file added images/glider.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
135 changes: 68 additions & 67 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,70 +1,71 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html>

<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Mr. Data Converter</title>
<meta name="author" content="Shan Carter">
<!-- Date: 2010-08-26 -->
<link rel="stylesheet" href="css/converter.css" type="text/css" media="screen" title="no title" charset="utf-8">

<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="js/CSVParser.js" type="text/javascript" charset="utf-8"></script>
<script src="js/DataGridRenderer.js" type="text/javascript" charset="utf-8"></script>
<script src="js/converter.js" type="text/javascript" charset="utf-8"></script>
<script src="js/Controller.js" type="text/javascript" charset="utf-8"></script>

</head>
<body>
<div id='base'>
<div id='header'>
<div id="description">
<h1>Mr. Data Converter</h1>
<p>I will convert your Excel data into one of several web-friendly formats, including HTML, JSON and XML.</p>
<p>Fork me on <a href="http://github.com/shancarter/Mr-Data-Converter">github</a>.</p>
</div>
<div id='settings'>
<h3>Settings</h3>
<form id='settingsForm'>
<p>Delimiter:

<label><input class="settingsElement" type="radio" name="delimiter" id='delimiterAuto' value="auto" checked/> Auto</label>
<label><input class="settingsElement" type="radio" name="delimiter" id='delimiterComma' value="comma" /> Comma</label>
<label><input class="settingsElement" type="radio" name="delimiter" id='delimiterTab' value="tab" /> Tab</label>
</p>
<p>Decimal Sign:

<label><input class="settingsElement" type="radio" name="decimal" id='decimalDot' value="dot" checked/> Dot</label>
<label><input class="settingsElement" type="radio" name="decimal" id='decimalComma' value="comma" /> Comma</label>
</p>
<p><label><input class="settingsElement" type="checkbox" name="" value="" id="headersProvidedCB" checked /> First row is the header</label></p>
<div class="settingsGroup">
<p>Transform: <label><input class="settingsElement" type="radio" name="headerModifications" value="downcase" id='headersDowncase' /> downcase</label>
<label><input class="settingsElement" type="radio" name="headerModifications" id='headersUpcase' value="upcase" /> upcase</label>
<label><input class="settingsElement" type="radio" name="headerModifications" id='headersNoTransform' value="none" checked /> none</label></p>
</div>

<p><label><input class="settingsElement" type="checkbox" name="some_name" value="" id="includeWhiteSpaceCB" checked /> Include white space in output</label></p>
<div class="settingsGroup">
<p>Indent with: <label><input class="settingsElement" type="radio" name="indentType" value="tabs" id='includeWhiteSpaceTabs'/> tabs</label> <label><input class="settingsElement" type="radio" name="indentType" value="spaces" id='includeWhiteSpaceSpaces' checked/> spaces</label></p>
</div>


</form>


</div>
</div>



<div id='converter' class=''>

</div>

</div>


</body>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Mr. CSV Transformer</title>
<meta name="author" content="David Young, Drew Shefman, Dr. Robert L. Read" />
<!-- Date: 2014-05-31 -->
<link rel="stylesheet" href="css/converter.css" type="text/css" media="screen" title="no title" />
<link rel="shortcut icon" href="images/glider.png" />
<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="js/applyMap.js" type="text/javascript" charset="utf-8"></script>
<script src="js/getUrlVars.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jsonToCsv.js" type="text/javascript" charset="utf-8"></script>
<script src="js/CSVParser.js" type="text/javascript" charset="utf-8"></script>
<script src="js/DataGridRenderer.js" type="text/javascript" charset="utf-8"></script>
<script src="js/addTextInputs.js" type="text/javascript" charset="utf-8"></script>
<script src="js/enableTab.js" type="text/javascript" charset="utf-8"></script>
<script src="js/converter.js" type="text/javascript" charset="utf-8"></script>
<script src="js/Controller.js" type="text/javascript" charset="utf-8"></script>
<script src="js/SaveVarAsFile.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div id='base'>
<div id='header'>
<div id="description">
<h1>Mr. CSV Transformer</h1>
<p>I will convert your Excel / comma- or tab-delimited data into one of several web-friendly formats, including HTML, JSON and XML. Data structures in languages including Python, Ruby, and PHP are available. Lastly, database insertion statements for MySQL and mongoDB can be generated. To include only certain columns, add "?targets=<i>[names]</i>" to the end of the URL; <i>[names]</i> is the column names separated by commas (no quotes, no brackets) in the order in which you wish them to appear to the URL above and refresh the page.</p>
<p><a href="http://validator.w3.org/check?uri=http://deepinthecode.github.io/mr-csv-transformer" target="_blank"><img src="http://www.w3.org/html/logo/badge/html5-badge-h-css3.png" width="133" height="64" alt="HTML5 Powered with CSS3 / Styling" title="HTML5 Powered with CSS3 / Styling" /></a><a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" /></a></p>
<p>Fork me on <a href="http://github.com/deepinthecode/Mr-CSV-Transformer" target="_blank">GitHub</a>.</p>
</div>
<div id='settings'>
<h3>Settings</h3>
<form id='settingsForm'>
<p>Delimiter:
<label><input class="settingsElement" type="radio" name="delimiter" id='delimiterAuto' value="auto" checked/> Auto</label>
<label><input class="settingsElement" type="radio" name="delimiter" id='delimiterComma' value="comma" /> Comma</label>
<label><input class="settingsElement" type="radio" name="delimiter" id='delimiterTab' value="tab" /> Tab</label>
</p>
<p>Decimal Sign:
<label><input class="settingsElement" type="radio" name="decimal" id='decimalDot' value="dot" checked/> Dot</label>
<label><input class="settingsElement" type="radio" name="decimal" id='decimalComma' value="comma" /> Comma</label>
</p>
<p><label><input class="settingsElement" type="checkbox" name="" value="" id="headersProvidedCB" checked /> First row is the header</label></p>
<div class="settingsGroup">
<p>Transform: <label><input class="settingsElement" type="radio" name="headerModifications" value="downcase" id='headersDowncase' /> downcase</label>
<label><input class="settingsElement" type="radio" name="headerModifications" id='headersUpcase' value="upcase" /> upcase</label>
<label><input class="settingsElement" type="radio" name="headerModifications" id='headersNoTransform' value="none" checked /> none</label></p>
</div>
<p><label><input class="settingsElement" type="checkbox" name="some_name" value="" id="includeWhiteSpaceCB" checked /> Include white space in output</label></p>
<div class="settingsGroup">
<p>Indent with: <label><input class="settingsElement" type="radio" name="indentType" value="tabs" id='includeWhiteSpaceTabs'/> tabs</label> <label><input class="settingsElement" type="radio" name="indentType" value="spaces" id='includeWhiteSpaceSpaces' checked/> spaces</label></p>
</div>
<div class="settingsGroup">
<br /><br />
<!--<p><label><input class="settingsElement" type="checkbox" name="useTargets" value="" id="useTargetsCB" checked /> Use target mapping</label></p> -->
</div>
<div class="settingsGroup" id="InputsWrapper">
</div>
<div>
<p><br /><br /></p>
<p>Forked from: <a href="http://github.com/shancarter/Mr-Data-Converter" target="_blank">Mr. Data Converter by Shan Carter</a></p>
</div>
</form>
</div>
</div>
<div id='converter' class=''>
</div>
</div>
</body>
</html>
Loading