-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
128 lines (109 loc) · 6.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ReDirector's Chair (Alpha)</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css">
<!-- home grown -->
<link rel="stylesheet" href="./cs/generatecheck.css">
</head>
<body>
<div class="container">
<h1>ReDirector's Chair (Alpha)</h1>
<h2>by Tone Milazzo</h2>
<!-- Nav tabs -->
<ul class="nav nav-tabs">
<li class="active check">
<a id="checktab" href="#check" data-trigger="manual" data-toggle="tab" data-toggle="popover" data-placement="top" data-content="The tab you're on">Check</a>
</li>
<li class="report">
<a id="reporttab" href="#report" data-trigger="manual" data-toggle="tab" data-toggle="popover" data-placement="bottom" data-content="Status Code Report">Report</a>
</li>
<li class="csv">
<a id="csvtab" href="#csv" data-trigger="manual" data-toggle="tab" data-toggle="popover" data-placement="bottom" data-content="Outputs as CSV">CSV</a>
</li>
<li class="generate">
<a id="gentab" href="#generate" data-trigger="manual" data-toggle="tab" data-toggle="popover" data-placement="top" data-content="Generates the .htaccess rules">Generate</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane table-hover active" id="check">
<button id="sortbutton" data-toggle="tab" data-trigger="manual" data-toggle="popover" data-placement="left" data-content="Sorts the table alphabetically by 'From'" data-container="body">Sort by From</button>
<button id="copydomain" title="Copy To to From Domain" data-trigger="manual" data-toggle="tooltip" data-placement="top" ><span class="glyphicon glyphicon-chevron-right"></span></button>
<button id="switchDomains" title="Switch Domains" data-trigger="manual" data-toggle="tooltip" data-placement="top" ><span class="glyphicon glyphicon-chevron-right"></span><span class="glyphicon glyphicon-chevron-left"></span></button>
<button id="copyto" title="Copy From to To Domain" data-trigger="manual" data-toggle="tooltip" data-placement="top" ><span class="glyphicon glyphicon-chevron-left"></span></button>
<button id="helpbutton" title="Toggle Help" data-trigger="manual" data-toggle="tooltip" data-placement="top" ><span class="glyphicon glyphicon-book"></span></button>
<button id="clearbutton" data-content="Clear All" data-trigger="manual" data-toggle="tooltip" data-placement="top" ><span class="glyphicon glyphicon-remove"></span></button>
<table class="table table-bordered">
<thead>
<tr><th class="removeButtonColumn"></th>
<th id="fromField">
from: <input class="toFromInput" id="fromDomain" type="url" list="fromList" value="http://" data-trigger="manual" data-toggle="popover" data-placement="top" data-content="Prefixes the paths in this column. If this field is red the URL is invalid, Green is good."/>
<datalist id="fromList">
</datalist>
<button onclick="RDC.devLink('fromDomain');" >
<span id="toggledev" class="glyphicon glyphicon-tree-deciduous glyphButton" data-content="Toggle local url" data-placement="bottom"></span>
</button>
</th>
<th class="glyphButtonHolder">
<button id="fromreloadbutton" type="button" data-trigger="manual" data-toggle="popover" data-placement="top" data-content="Press to test paths in this column.">
<span class=" glyphicon glyphicon-refresh glyphButton"></span>
</button>
</th>
<th id="toField">
to: <input class="toFromInput" data-html="true" data-trigger="manual" data-toggle="tooltip" id="toDomain" type="url" list="toList" value="http://" data-toggle="popover" data-placement="top" data-content="Like from: RDC looks up the sitemap.xml from this URL and populates pulldown for the inputs in this column." />
<datalist id="toList">
</datalist>
<datalist id="sitemapList">
</datalist>
<button onclick="RDC.devLink('toDomain');" style="margin-left: 9px;">
<span class="glyphicon glyphicon-tree-deciduous glyphButton" ></span>
</button>
</th>
<th class="glyphButtonHolder">
<button id="toreloadbutton" type="button" data-trigger="manual" data-toggle="popover" data-placement="bottom" data-content="Press to test paths in this column.">
<span class="glyphicon glyphicon-refresh glyphButton" ></span>
</button>
</th>
</tr>
</thead>
<tbody id="tableBody">
</tbody>
<tbody id="formpart">
<tr>
<td></td>
<td id="fromCellForm">
<textarea autofocus id="fromCell" name="from" class="form-control" data-trigger="manual" data-toggle="popover" data-placement="bottom" data-content="When a URL is entered here RDC will trim the domain. If a single column of URLS are pasted here it will also parse them into seperate entries of from: urls. If two columns are pasted here it will parse them into seperate entries of from: and to: urls"></textarea>
</td>
</td>
<td>
<td>
<input id="toCell" list="sitemapList" name="to" class="form-control" type="text" data-trigger="manual" data-toggle="popover" data-placement="bottom" data-content="When a URL is entered here RDC will trim the domain." >
</td>
</td>
<td>
</tr>
</tbody>
</table>
</div>
<div class="tab-pane" id="report">
</div>
<div class="tab-pane" id="csv">
</div>
<div class="tab-pane" id="generate">
</div>
</div>
<a href="demo.txt" target="_blank" style="float:right;">Demo file</a>
</div>
<!-- jQuery -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" ></script>
<!-- Latest compiled and minified JavaScript -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="./js/generatecheck.js"></script>
</body>