-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathscriptsearch.html
119 lines (106 loc) · 5.91 KB
/
scriptsearch.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
<!DOCTYPE html>
<html>
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-81804817-1', 'auto');
ga('send', 'pageview');
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>
<script src="js/scriptsearch.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/css/bootstrap.min.css" integrity="sha384-2hfp1SzUoho7/TsGGGDaFdsuuDL0LX2hnUp6VkX3CUQ2K4K+xjboZdsXyp4oUHZj" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/js/bootstrap.min.js" integrity="sha384-VjEeINv9OSwtWFLAtmc4JCtEJXXBub00gtSnszmspDLCtC0I4z4nqz7rEFbIZLLU" crossorigin="anonymous"></script>
<link id="favicon" rel="shortcut icon" href="./img/icon.png" type="image/png" />
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono" rel="stylesheet">
<link id="mainStyle" rel="stylesheet" type="text/css" href="css/style.css" />
<title>Sm4sh Calculator - Script Search</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=0.3" />
<meta name="description" content="Smash 4 hitbox script search" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@Ruben_dal" />
<meta name="twitter:title" content="Sm4sh Calculator - Script Search" />
<meta name="twitter:description" content="" />
<meta name="twitter:image:src" content="https://raw.githubusercontent.com/rubendal/Sm4sh-Calculator/gh-pages/img/icon.png" />
<meta property="og:title" content="Sm4sh Calculator" />
<meta property="og:image" content="https://raw.githubusercontent.com/rubendal/Sm4sh-Calculator/gh-pages/img/icon.png" />
<meta property="og:description" content="Web based Smash 4 knockback calculator" />
</head>
<body ng-app="scripts" ng-controller="scriptsearch">
<div id="header" class="header">
<div id="header-cont">
<img id="header-icon" class="header-image" src="./img/icon.png" />
<div id="header-text">
<a class="hide-link" href="https://github.com/rubendal/Sm4sh-Calculator#script-search" target="_blank"><h3>Sm4sh Calculator - Script Search</h3></a>
<br />
<span class="description"></span>
<br />
<div class="header-links">
<select id="appSelect" class="header-select" ng-model="appLink">
<option ng-selected="$first" ng:repeat="a in apps" ng-attr-value="{{a.link}}">{{a.title}}</option>
</select>
<a class="header-link" href="{{appLink}}">Go</a>
</div>
</div>
<span id="links">
<span>
<a href="https://twitter.com/Ruben_dal" target="_blank" class="hide-link" title="Twitter @Ruben_dal">
<img class="header-link-icon" src="./img/t-icon.png" />
</a>
<a href="https://github.com/rubendal/Sm4sh-Calculator/wiki" target="_blank" class="hide-link" title="Wiki">
<img class="header-link-icon" src="./img/icon.png" />
</a>
<a href="https://github.com/rubendal" target="_blank" class="hide-link" title="Github">
<img id="github-profile" class="header-link-icon2" src="https://avatars.githubusercontent.com/u/10661132?v=3" />
</a>
</span>
</span>
<span id="theme">
Theme
<select id="themeSelect" name="theme" class="header-select" ng-model="theme" ng-change="changeTheme()">
<option ng-selected="$first" ng:repeat="t in themes" ng-attr-value="{{t.name}}">{{t.name}}</option>
</select>
</span>
</div>
</div>
<div name="calculator" id="calculator">
<div id="main-scripts">
Regex on scripts: <input type="text" ng-model="regex" style="width:42em;" />
<br />
Negative Regex on scripts: <input type="text" ng-model="negate" style="width:42em;" />
<br />
Regex on script name: <input type="text" ng-model="name" style="width:42em;" />
<br />
<select name="type" ng-model="section" style="width:300px;">
<option ng-selected="$first" ng:repeat="s in sections" ng-attr-value="{{s}}">{{s}}</option>
</select>
<br />
<input type="button" class="btn btn-sm" ng-click="update()" value="Search" />
<br />
<span>Results: {{resultLength}}</span>
<br />
<span>Matches: {{matches}}</span>
<br />
<div ng-if="error">
Error: {{error}}
</div>
<table>
<tr>
<td>Character</td>
<td>Script Name</td>
<td>Matches</td>
</tr>
<tr ng-repeat="x in results track by $index" ng-class-even="'value-even'">
<td class="attribute">{{ x.character }}</td>
<td class="value-left">{{ x.scriptName }}</td>
<td class="value-match">{{ x.matches }}</td>
</tr>
</table>
</div>
</div>
</body>
</html>