-
Notifications
You must be signed in to change notification settings - Fork 102
/
index.html
156 lines (124 loc) · 6.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Online Excel Formula Beautifier</title>
<meta name="description" content="Quickly beautify your excel formulas online or convert your Excel Formulas to JavaScript">
<meta name="author" content="Josh Bennett">
<meta name="google-site-verification" content="1EsRidFTYqGKrnrC0Tm2-4cDKYb2FvCDkhN25lS_qUo" />
<meta name="msvalidate.01" content="F075E5FA6F0F18E505A8BED664939F6A" />
<!-- Open Graph -->
<meta property="og:title" content="Excel Formula Beautifier" />
<meta property="og:image" content="http://excelformulabeautifier.com/img/logo.png" />
<meta property="og:url" content="http://excelformulabeautifier.com/" />
<meta property="og:type" content="landing page" />
<meta property="og:site_name" content="Excel Formula Beautifier" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="css/screen.css" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27681518-1']);
_gaq.push(['_setDomainName', 'excelformulabeautifier.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<!-- Main Content -->
<header class="container">
<div class="row">
<div class="col-md12">
<img class="" src="img/logo.png" height="100" width="104" alt="Logo" onclick="_gaq.push(['_trackEvent', 'Inactive Element', 'Clicked', 'Logo'])" />
<div class="title">
<p>Beautify or Convert Excel Formulas to JavaScript.</p>
<h1>Excel Formula Beautifier</h1>
</div>
</div>
</div>
</header>
<div id="container" class="container">
<div class="row">
<div class="col-md-12">
<p class="hide description">This is a JavaScript and html5 based excel formula beautifier. It can also convert excel formulas to JavaScript. It has been built using <a href="https://github.com/joshatjben/excelFormulaUtilitiesJS" target="_blank">Excel Formula Utilities JS</a></p>
<div id="inputArea" class="row">
<div class="col-md-8">
<!-- input type="text" id="formula_input" class="input-xxlarge" onkeyup="window.excelFormulaBeautifier.examples.beautifier.update()" /-->
<textarea rows="1" id="formula_input" class="col-md-8 form-control" onclick="window.excelFormulaBeautifier.examples.beautifier.formulaAreaClicked()" onkeyup="window.excelFormulaBeautifier.examples.beautifier.update()"></textarea>
</div>
<div class="col-md-4">
<!-- label class="" for="mode">Mode: </label -->
<select id="mode" class="form-control" onchange="window.excelFormulaBeautifier.examples.beautifier.changeMode(this.value)">
<option value="beautify">Beautify</option>
<option value="minify">Minify</option>
<option value="js">Formula to JavaScript</option>
<option value="csharp">Formula to C#</option>
<option value="python">Formula to Python</option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="formula">
<button id="copyFormulaBtn" data-clipboard-target="#fomatFormula_2_out" class="btn">Copy</button>
<div id="fomatFormula_2_out"></div>
</div>
</div>
</div>
<!--Formatting-->
<div class="row" style="margin-top:1.61em;">
<div class="col-md-12">
<div class="row">
<div class="col-md-12">
<h3>Formatting Options:</h3>
</div>
</div>
</div>
<div class="col-md-4">
<form class="form-inline">
<div class="form-group">
<input type="checkbox" name="isEu" id="isEu" style="vertical-align:middle" />
<label for="isEu" style="vertical-align:middle"> Use ; list seperator</label>
</div>
<div class="form-group">
<label for="numberOfSpaces">Number of indent spaces :</label>
<input type="text" name="numberOfSpaces" id="numberOfSpaces" class="form-control" value="4" onchange="window.excelFormulaBeautifier.examples.beautifier.update()" />
</div>
</form>
</div>
<div class="col-md-8"></div>
</div>
<div class="row">
<div id="sideContent" class="col-md-12 ">
<hr />
<p>Have some feedback or feature requests? </p>
<p>
<a href="https://github.com/joshbtn/excelFormulaUtilitiesJS/issues?sort=comments&direction=desc&state=open" class="btn" onclick="_gaq.push(['_trackEvent', 'Outbound Links', 'Clicked', 'Github Feedback'])">Post Feedback</a>
<a href="http://github.com/joshbtn/excelFormulaUtilitiesJS" class="external_link btn" onclick="_gaq.push(['_trackEvent', 'Outbound Links', 'Clicked', 'Github Fork'])">Fork Me on GitHub</a>
<a href="https://twitter.com/btnpush" class="twitter-follow-button btn" data-show-count="false" data-size="large" data-lang="en" onclick="_gaq.push(['_trackEvent', 'Outbound Links', 'Clicked', 'Twitter'])">Follow me on twitter</a>
</p>
</div>
</div>
<hr />
<footer>
<div>© Copyright 2017 <a href="http://j-ben.com" onclick="_gaq.push(['_trackEvent', 'Outbound Links', 'Clicked', 'Josh Bennett Blog'])">Josh Bennett</a></div>
<div>ExcelFormulaUtilities.js Version: <span id="version"></span></div>
</footer>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/clipboard.min.js"></script>
<script src="dist/excel-formula.min.js"></script>
<script src="js/beautifier.min.js"></script>
</body>
</html>