wpa_cli_web 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wpa_cli_web/access_point_list.rb +1 -2
- data/lib/wpa_cli_web/views/layout.erb +6 -2
- data/lib/wpa_cli_web.rb +1 -0
- data/wpa_cli_web.gemspec +1 -1
- metadata +2 -2
@@ -12,7 +12,6 @@ class AccessPointList
|
|
12
12
|
map {|ssid, network_group| network_group}.
|
13
13
|
map {|network_group| network_group.sort_by { |network| network.signal_level}.reverse.take(1)}.
|
14
14
|
flatten.
|
15
|
-
sort_by { |network| network.
|
16
|
-
reverse
|
15
|
+
sort_by { |network| network.ssid }
|
17
16
|
end
|
18
17
|
end
|
@@ -6,15 +6,19 @@
|
|
6
6
|
table {
|
7
7
|
width: 100%;
|
8
8
|
}
|
9
|
+
|
10
|
+
.hostname {
|
11
|
+
text-align: right;
|
12
|
+
}
|
9
13
|
</style>
|
10
14
|
</head>
|
11
15
|
<body>
|
12
16
|
<header class="masthead">
|
13
17
|
<div class="grid">
|
14
|
-
<div class="grid-col grid-
|
18
|
+
<div class="grid-col grid-8">
|
15
19
|
<span class="dept"><%= product_name %></span>
|
16
20
|
</div>
|
17
|
-
<div class="grid-col grid-
|
21
|
+
<div class="hostname grid-col grid-4"><%= @host %></div>
|
18
22
|
</div><!-- .grid -->
|
19
23
|
</header>
|
20
24
|
<div class="grid">
|
data/lib/wpa_cli_web.rb
CHANGED
data/wpa_cli_web.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "wpa_cli_web"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.7"
|
8
8
|
spec.authors = ["Chris Lowis", "Andrew Nicolaou"]
|
9
9
|
spec.email = ["chris.lowis@gmail.com"]
|
10
10
|
spec.description = %q{Web interface for configuring wifi using wpa_cli}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wpa_cli_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-08-
|
13
|
+
date: 2013-08-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sinatra
|