strangebox 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 geminabox
15
+ gem install strangebox
16
16
  Create a config.ru as follows:
17
17
 
18
18
  require "rubygems"
@@ -1,5 +1,5 @@
1
1
  module Strangebox
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  def self.version
4
4
  VERSION
5
5
  end
Binary file
Binary file
@@ -39,16 +39,21 @@ body{ min-width:960px}
39
39
  /* ================================================================================================================================================= */
40
40
  /* ================================================================================================================================================= */
41
41
  /* ================================================================================================================================================= */
42
- body { background: #fff; color: #444; font-size: 13px; font-family: 'Lucida Grande', sans-serif; margin: 0; line-height: 20px; }
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
- a:hover { color: #00f; }
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: #fff; text-align: center; }
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: #a00; font-weight: 600; text-shadow: #aaa 1px 1px 1px; line-height:30px; font-family: 'Swanky and Moo Moo', cursive;}
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: 12px; margin: 10px 20px 10px 0; color: #aaa; }
136
+ #alpha_index { font-size: 11px; margin: 10px 23px 10px 0; color: #aaa; }
132
137
 
133
- #alpha_index a { font-weight: bold; color: #444; font-size: 13px; }
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; text-align: center; color: #333; font-weight: normal; font-size: 15px;
138
- padding: 4px 5px; margin: 0 10px 10px 0; min-width: 100px;
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;
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>[gem-box]</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
- <p class="smal">&copy; Tom Lea (cwninja) .. <a href="https://github.com/cwninja/geminabox">https://github.com/cwninja/geminabox</a></p>
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>
@@ -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: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
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-17 00:00:00 Z
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