strangebox 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -1
- data/lib/strangebox/version.rb +1 -1
- data/public/bg.png +0 -0
- data/public/favicon.ico +0 -0
- data/public/master.css +19 -9
- data/views/layout.erb +4 -2
- data/views/upload.erb +2 -1
- metadata +5 -4
data/README.markdown
CHANGED
@@ -12,7 +12,7 @@ Gem in a box is a simple [sinatra][sinatra] app to allow you to host your own in
|
|
12
12
|
It has no security, or authentication so you should handle this yourself.
|
13
13
|
|
14
14
|
## Server Setup
|
15
|
-
gem install
|
15
|
+
gem install strangebox
|
16
16
|
Create a config.ru as follows:
|
17
17
|
|
18
18
|
require "rubygems"
|
data/lib/strangebox/version.rb
CHANGED
data/public/bg.png
ADDED
Binary file
|
data/public/favicon.ico
CHANGED
Binary file
|
data/public/master.css
CHANGED
@@ -39,16 +39,21 @@ body{ min-width:960px}
|
|
39
39
|
/* ================================================================================================================================================= */
|
40
40
|
/* ================================================================================================================================================= */
|
41
41
|
/* ================================================================================================================================================= */
|
42
|
-
body {
|
42
|
+
body {
|
43
|
+
background: #c18e53 url('/bg.png') repeat;
|
44
|
+
color: #444;
|
45
|
+
font-size: 13px; line-height: 20px;
|
46
|
+
font-family: 'Lucida Grande', sans-serif;
|
47
|
+
margin: 0; padding: 0; }
|
43
48
|
|
44
49
|
a { text-decoration: none; color: #00a; }
|
45
|
-
|
50
|
+
|
46
51
|
|
47
52
|
code { font-size: 13px; font-family: "Droid Sans Mono", monospace; }
|
48
53
|
pre { margin: 0;}
|
49
|
-
strong { font-family: 'Swanky and Moo Moo', cursive; font-size: 19px;}
|
54
|
+
strong { font-family: 'Swanky and Moo Moo', cursive; font-size: 19px; color: #9E631A; margin-left:5px; text-shadow: -1px -1px 1px #fff, 1px 1px 1px rgba(0,0,0,.3);}
|
50
55
|
|
51
|
-
#content { background:
|
56
|
+
#content { background: transparent; text-align: center; }
|
52
57
|
|
53
58
|
#gbhead, #footer { padding: 10px; border-top: solid 1px #999; border-bottom: solid 1px #999;
|
54
59
|
background: rgb(204,204,204);
|
@@ -69,7 +74,7 @@ background: linear-gradient(top, rgba(204,204,204,1) 0%,rgba(243,243,243,1) 23%,
|
|
69
74
|
|
70
75
|
span.version_number { font-family: 'Lucida Grande', sans-serif; font-size:15px; color: #666; }
|
71
76
|
|
72
|
-
h1 { margin: 0; font-size: 30px; color: #
|
77
|
+
h1 { margin: 0; font-size: 30px; color: #ff6a04; font-weight: 600; line-height:30px; font-family: 'Swanky and Moo Moo', cursive; text-shadow: -1px -1px 1px #fff, 1px 1px 1px rgba(0,0,0,.3);}
|
73
78
|
|
74
79
|
h2 { font-size: 22px; font-weight:bold; margin: 0; padding: 5px 20px 7px; text-align: left; color: rgba(51,51,51,.9); display:block; cursor: pointer;
|
75
80
|
text-shadow: -1px -1px 1px #fff, 1px 1px 1px rgba(0,0,0,.3); font-family: 'Swanky and Moo Moo', cursive;}
|
@@ -128,14 +133,19 @@ ul.gemlist li .delete-form:hover button:active { opacity: 1.0 }
|
|
128
133
|
|
129
134
|
.details p { padding:0; margin:0;}
|
130
135
|
|
131
|
-
#alpha_index { font-size:
|
136
|
+
#alpha_index { font-size: 11px; margin: 10px 23px 10px 0; color: #aaa; }
|
132
137
|
|
133
|
-
#alpha_index a { font-weight: bold; color: #
|
138
|
+
#alpha_index a { font-weight: bold; color: #fff; font-size: 12px; }
|
139
|
+
#alpha_index a:hover { color: #ff6a04; }
|
140
|
+
a:hover { color: #ff6a04; }
|
134
141
|
|
135
142
|
.extra_info { display: none;}
|
136
143
|
|
137
|
-
.big_button { float:left; display: block;
|
138
|
-
|
144
|
+
.big_button { float:left; display: block;
|
145
|
+
text-align: center; color: #333;
|
146
|
+
font-weight: normal; font-size: 15px;
|
147
|
+
padding: 4px 5px; margin: 0 10px 10px 0;
|
148
|
+
min-width: 100px; line-height: 20px;
|
139
149
|
border: solid 1px #9a9a9a;
|
140
150
|
-webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px;
|
141
151
|
text-shadow: 0 0 3px #fff, 0 0 3px #fff;
|
data/views/layout.erb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title>[
|
4
|
+
<title>[gembox]</title>
|
5
5
|
<link rel="stylesheet" href="/master.css" type="text/css" media="screen">
|
6
6
|
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom Feed">
|
7
7
|
</head>
|
@@ -52,7 +52,9 @@
|
|
52
52
|
<div class="fl_box_470">
|
53
53
|
<p class="smal">Changes by: <strong>Austin Strange</strong></p>
|
54
54
|
<br/>
|
55
|
-
<
|
55
|
+
<br/>
|
56
|
+
<br/>
|
57
|
+
<p class="smal">strangebox is a clone of <a href="http://tomlea.co.uk"><strong>cwninja's</strong></a> <a href="https://github.com/cwninja/geminabox"><strong>geminabox</strong></a></p>
|
56
58
|
</div>
|
57
59
|
<div class="fl_box_470">
|
58
60
|
<h3><code>gem sources -a <%= url_for "/" %></code></h3>
|
data/views/upload.erb
CHANGED
@@ -6,7 +6,8 @@
|
|
6
6
|
<input type="file" name="file">
|
7
7
|
<br/><br/><br/>
|
8
8
|
<div class="clearfix"></div>
|
9
|
-
<input type="submit" value="Upload" class="big_button">
|
9
|
+
<input type="submit" value=" Upload " class="big_button">
|
10
|
+
<a href="/" class="big_button"> Cancel </a>
|
10
11
|
<div class="clearfix"></div>
|
11
12
|
<br/>
|
12
13
|
</form>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strangebox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Austin Strange
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-18 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: sinatra
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- lib/strangebox/gem_version_collection.rb
|
67
67
|
- lib/strangebox/version.rb
|
68
68
|
- lib/strangebox.rb
|
69
|
+
- public/bg.png
|
69
70
|
- public/closed_pulldown.png
|
70
71
|
- public/favicon.ico
|
71
72
|
- public/jquery.js
|