forked from ros-infrastructure/rosindex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (48 loc) · 1.6 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
---
layout: default
---
<div class="container-fluid" style="margin:20px">
<div class="row">
<div class="btn-group btn-group-justified" role="group" aria-label="...">
<div class="btn-group" role="group">
<a href="packages" class="btn btn-default" role="button">Package List</a>
</div>
<div class="btn-group" role="group">
<a href="repos" class="btn btn-default" role="button">Repository List</a>
</div>
</div>
</div>
<div class="row">
</div>
<div class="row">
<form id="searchbox" action="{{site.baseurl}}/search/" role="form">
<div class="input-group input-group-lg">
<input type="text" class="form-control" name="q" placeholder="Search ROS Packages">
<span class="input-group-btn">
<button class="btn btn-default btn-lg" type="submit" title="Search ROS Packages"><span class="glyphicon glyphicon-search"></span></button>
</span>
</div>
</form>
<script type="text/javascript">
$('#searchbox').submit(function() {
return $('#searchbox input:text').filter(function() {
return $(this).val() == "";
}).length == 0;
});
</script>
</div>
<hr>
<div class="row">
<h1 class="page-heading">News <small>subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></small></h1>
<ul class="post-list">
{% for post in site.posts %}
<li>
<h4>
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> <small>{{ post.date | date: "%b %-d, %Y" }}</small>
</h4>
</li>
{% endfor %}
</ul>
</div>
</div>