Showing 3 changed files with 63 additions and 2 deletions
+1
templates/css/common.html.ep
... ...
@@ -49,6 +49,7 @@
49 49
   }
50 50
   .tree_body td {
51 51
     border-bottom: 1px solid blue;
52
+    padding:5px;
52 53
   }
53 54
   
54 55
   /* Footer */
+11
templates/layouts/new_common.html.ep
... ...
@@ -0,0 +1,11 @@
1
+<html>
2
+  <head>
3
+    <meta http-equiv="content-type" content="text/html;charset=UTF-8">
4
+    <meta name="robots" content="index, nofollow" >
5
+    <title>Gitprep</title>
6
+    <link rel="shortcut icon" href="<%= url_for('/git-favicon.png') %>" type="image/png" >
7
+  </head>
8
+  <body>
9
+    %= content;
10
+  </body>
11
+</html>
+51 -2
templates/main/repository.html.ep
... ...
@@ -1,10 +1,50 @@
1
-% layout 'common';
1
+% layout 'new_common';
2 2
   %= include '/css/common';
3 3
   
4 4
   %= include '/include/new_header';
5 5
   
6 6
   %= stylesheet begin
7
-    
7
+
8
+    /* Git URL */
9
+    .git_url {
10
+      border: 1px solid gray;
11
+      padding: 10px;
12
+    }
13
+    .git_url_zip {
14
+      padding:5px;
15
+      float:left;
16
+      border:1px solid gray;
17
+      margin-right:5px;
18
+    }
19
+    .git_url_http {
20
+      padding:5px;
21
+      float:left;
22
+      border:1px solid gray;
23
+    }
24
+    .git_url_ssh {
25
+      padding:5px;
26
+      float:left;
27
+      border:1px solid gray;
28
+      border-left:none;
29
+    }
30
+    .git_url_git {
31
+      padding:5px;
32
+      float:left;
33
+      border:1px solid gray;
34
+      border-left:none;
35
+    }
36
+    .git_url_text {
37
+      padding:5px;
38
+      float:left;
39
+      border:1px solid gray;
40
+      width:300px;
41
+      margin-right:10px;
42
+      border-left:none;
43
+    }
44
+    .git_url_access {
45
+      padding:5px;
46
+    }
47
+      
8 48
     /* Code menu */
9 49
     .code_menu {
10 50
       border-bottom:1px solid black;
... ...
@@ -90,6 +130,15 @@
90 130
 
91 131
     <div>Project description</div>
92 132
     
133
+    <div class="git_url">
134
+      <div class="git_url_zip">ZIP</div>
135
+      <div class="git_url_http">HTTP</div>
136
+      <div class="git_url_ssh">SSH</div>
137
+      <div class="git_url_git">Git Read-Only</div>
138
+      <input type="text" class="git_url_text">
139
+      <div class="git_url_access">Read+Write access</div>
140
+    </div>
141
+    
93 142
     <div class="code_menu">
94 143
       <div class="code_menu_left">
95 144
         <div class="code_menu_current_ref">brach or tag</div>