Showing 3 changed files with 36 additions and 9 deletions
+28 -1
public/css/bootstrap.css
... ...
@@ -21,7 +21,7 @@
21 21
     
22 22
     
23 23
     Text Gray
24
-    #767676
24
+    color:#767676
25 25
 */
26 26
 
27 27
 * {
... ...
@@ -2876,3 +2876,30 @@ button.close {
2876 2876
   margin-bottom:30px;
2877 2877
   border-radius: 0 0 3px 3px;
2878 2878
 }
2879
+
2880
+pre.command-line {
2881
+  background:#333333;
2882
+  color:white;
2883
+  padding:15px 20px 15px 20px;
2884
+  border-radius:3px;
2885
+  margin-bottom:15px;
2886
+  margin-top:3px;
2887
+}
2888
+.private {
2889
+  background:white;
2890
+  text-align:center;
2891
+  font-size:20px;
2892
+  border:1px solid #d8d8d8;
2893
+  border-radius: 3px;
2894
+  padding:20px 0;
2895
+  color:#767676
2896
+}
2897
+
2898
+.not-yet-created {
2899
+  background:white;
2900
+  margin-bottom:30px;
2901
+  border:1px solid #d8d8d8;
2902
+  border-radius: 3px;
2903
+  color:#767676;
2904
+  padding:15px 10px;
2905
+}
+1 -1
templates/private.html.ep
... ...
@@ -3,7 +3,7 @@
3 3
   %= include '/include/header';
4 4
   
5 5
   <div class="container">
6
-    <div class="well" style="background:white;text-align:center;font-size:20px;">
6
+    <div class="private">
7 7
       <%= $project %> is private repository
8 8
     </div>
9 9
   </div>
+7 -7
templates/tree.html.ep
... ...
@@ -174,13 +174,13 @@
174 174
       
175 175
     % } elsif ($state eq 'init' && $api->logined($user)) {
176 176
       
177
-      <h4>SSH</h4>
177
+      <h4 class="topic1">SSH</h4>
178 178
       
179 179
       <div class="text-center" style="margin-bottom:10px">
180 180
         <b>Create a new repository on the command line via ssh</b>
181 181
       </div>
182 182
       
183
-      <pre style="margin-bottom:30px">
183
+      <pre class="command-line">
184 184
 touch README
185 185
 git init
186 186
 git add README
... ...
@@ -192,20 +192,20 @@ git push -u origin master</pre>
192 192
         <b>Push an existing repository from the command line via ssh</b>
193 193
       </div>
194 194
       
195
-      <pre style="margin-bottom:30px">
195
+      <pre class="command-line">
196 196
 git remote add origin <%= $ssh_rep_url %>
197 197
 git push -u origin master</pre>
198 198
 
199 199
       <hr>
200 200
 
201 201
       % my $http_rep_url = url_for("$user/$project.git")->to_abs;
202
-      <h4><%= uc url_for->to_abs->scheme %></h4>
202
+      <h4 class="topic1"><%= uc url_for->to_abs->scheme %></h4>
203 203
 
204 204
       <div class="text-center" style="margin-bottom:10px">
205 205
         <b>Create a new repository on the command line via <%= url_for->to_abs->scheme %></b>
206 206
       </div>
207 207
       
208
-      <pre style="margin-bottom:30px">
208
+      <pre class="command-line">
209 209
 touch README
210 210
 git init
211 211
 git add README
... ...
@@ -217,11 +217,11 @@ git push -u origin master</pre>
217 217
         <b>Push an existing repository from the command line via <%= url_for->to_abs->scheme %></b>
218 218
       </div>
219 219
       
220
-      <pre style="margin-bottom:30px">
220
+      <pre class="command-line">
221 221
 git remote add origin <%= $http_rep_url %>
222 222
 git push -u origin master</pre>
223 223
     % } else {
224
-      <div class="well text-center muted" style="background:white;margin-bottom:30px">
224
+      <div class="not-yet-created">
225 225
         <b>Repository is not yet created.</b>
226 226
       </div>
227 227
     % }