forked from Steem-FOSSbot/steem-fossbot-voter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_test-algo.html
123 lines (110 loc) · 4.76 KB
/
_test-algo.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
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<!-- For IE 9 and below. ICO should be 32x32 pixels in size -->
<!--[if IE]><link rel="shortcut icon" href="/favicon.ico"><![endif]-->
<!-- Touch Icons - iOS and Android 2.1+ 180x180 pixels in size. -->
<link rel="apple-touch-icon-precomposed" href="/apple-touch-icon-precomposed.png">
<!-- Firefox, Chrome, Safari, IE 11+ and Opera. 196x196 pixels in size. -->
<link rel="icon" href="/favicon.png">
<title>Test Algorithm - Voter</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/info-pages.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"><img src="/img/voter-32.png"></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="/">Dashboard</a></li>
<li><a href="https://github.com/Steem-FOSSbot/steem-fossbot-voter">Source</a></li>
<li><a href="https://github.com/Steem-FOSSbot/steem-fossbot-voter/blob/master/docs/index.md">Docs</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<h1 class="page-header">Test Algorithm</h1>
<!--h2 class="sub-header">Message</h2-->
<div class="row">
<div class="col-sm-4">
<p><a class="btn btn-primary" href="/test-algo?limit=5" role="button">Test Newest 5 Posts</a></p>
</div>
<div class="col-sm-4">
<p><strong>OR</strong></p>
</div>
<div class="col-sm-4">
<form class="form-add" action="/test-algo" method="post">
<label for="inputAuthor" class="sr-only">Author</label>
<input type="text" id="inputAuthor" name="author" class="form-control" placeholder="Author" required>
<label for="inputPermlink" class="sr-only">Permlink</label>
<input type="text" id="inputPermlink" name="permlink" class="form-control" placeholder="Permlink" required>
<button class="btn btn-lg btn-primary btn-block" type="submit">Test Post</button>
</form>
</div>
</div>
<h2 class="sub-header">Post test results</h2>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>Post title</th>
<th>Score</th>
<th>Vote</th>
</tr>
</thead>
<tbody>
<!--tr>
<td>None</td>
<td></td>
<td>-</td>
<td>-</td>
<th><p><a class="btn btn-default" href="#" role="button"><strike>Delete<strike></a></p></th>
</tr-->
<!--tr>
<td>test key 1</td>
<td>test val 1</td>
<td>-</td>
<td>-</td>
<th><p><a class="btn btn-default" href="#" role="button">Delete</a></p></th>
</tr>
<tr>
<td>test key 2</td>
<td>test val 2</td>
<td>500</td>
<td>2000</td>
<th><p><a class="btn btn-default" href="#" role="button">Delete</a></p></th>
</tr-->
</tbody>
</table>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-1.12.4.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>