| File inc/repo.inc.php changed (mode: 100644) (index 5078366..f2de19b) |
| ... |
... |
function rg_repo_edit($db, $login_ui, &$new) |
| 914 |
914 |
|
|
| 915 |
915 |
$sql = "INSERT INTO repos (uid, master, name" |
$sql = "INSERT INTO repos (uid, master, name" |
| 916 |
916 |
. ", itime, max_commit_size, description" |
. ", itime, max_commit_size, description" |
| 917 |
|
. ", git_dir_done, public)" |
|
|
917 |
|
. ", git_dir_done, public, license)" |
| 918 |
918 |
. " VALUES (@@uid@@, @@master@@, @@name@@" |
. " VALUES (@@uid@@, @@master@@, @@name@@" |
| 919 |
919 |
. ", @@itime@@, @@max_commit_size@@" |
. ", @@itime@@, @@max_commit_size@@" |
| 920 |
|
. ", @@description@@, 0, @@public@@)" |
|
|
920 |
|
. ", @@description@@, 0, @@public@@" |
|
921 |
|
. ", @@license@@)" |
| 921 |
922 |
. " RETURNING repo_id"; |
. " RETURNING repo_id"; |
| 922 |
923 |
} else { |
} else { |
| 923 |
924 |
$sql = "UPDATE repos SET name = @@name@@" |
$sql = "UPDATE repos SET name = @@name@@" |
| 924 |
925 |
. ", max_commit_size = @@max_commit_size@@" |
. ", max_commit_size = @@max_commit_size@@" |
| 925 |
926 |
. ", description = @@description@@" |
. ", description = @@description@@" |
| 926 |
927 |
. ", public = @@public@@" |
. ", public = @@public@@" |
|
928 |
|
. ", license = @@license@@" |
| 927 |
929 |
. " WHERE repo_id = @@repo_id@@"; |
. " WHERE repo_id = @@repo_id@@"; |
| 928 |
930 |
} |
} |
| 929 |
931 |
$res = rg_sql_query_params($db, $sql, $new); |
$res = rg_sql_query_params($db, $sql, $new); |
| |
| ... |
... |
function rg_repo_edit_high_level($db, &$rg) |
| 1437 |
1439 |
$rg['ri']['max_commit_size'] = "0"; |
$rg['ri']['max_commit_size'] = "0"; |
| 1438 |
1440 |
$rg['ri']['description'] = ""; |
$rg['ri']['description'] = ""; |
| 1439 |
1441 |
$rg['ri']['public'] = "1"; |
$rg['ri']['public'] = "1"; |
|
1442 |
|
$rg['ri']['license'] = ""; |
| 1440 |
1443 |
} |
} |
| 1441 |
1444 |
break; |
break; |
| 1442 |
1445 |
} |
} |
| |
| ... |
... |
function rg_repo_edit_high_level($db, &$rg) |
| 1447 |
1450 |
$rg['ri']['max_commit_size'] = rg_var_uint("max_commit_size"); |
$rg['ri']['max_commit_size'] = rg_var_uint("max_commit_size"); |
| 1448 |
1451 |
$rg['ri']['description'] = rg_var_str("description"); |
$rg['ri']['description'] = rg_var_str("description"); |
| 1449 |
1452 |
$rg['ri']['public'] = rg_var_bool("public"); |
$rg['ri']['public'] = rg_var_bool("public"); |
|
1453 |
|
$rg['ri']['license'] = rg_var_str("license"); |
| 1450 |
1454 |
rg_repo_cosmetic($rg['ri']); |
rg_repo_cosmetic($rg['ri']); |
| 1451 |
1455 |
//rg_log_ml("CHECK: after repo edit: rg[ri]=" . print_r($rg['ri'], TRUE)); |
//rg_log_ml("CHECK: after repo edit: rg[ri]=" . print_r($rg['ri'], TRUE)); |
| 1452 |
1456 |
|
|
| File root/themes/default/index.html changed (mode: 100644) (index 1b584b5..0c87c71) |
| 14 |
14 |
<div id="header"> |
<div id="header"> |
| 15 |
15 |
<a class="logo" href="/">RocketGit</a> |
<a class="logo" href="/">RocketGit</a> |
| 16 |
16 |
|
|
| 17 |
|
<div id="menus"> |
|
| 18 |
|
<!-- main menu --> |
|
|
17 |
|
<div class="user"> |
|
18 |
|
@@if("@@login_ui::username@@" != ""){{ |
|
19 |
|
<a href="@@login_ui::homepage@@">@@login_ui::username@@</a> |
|
20 |
|
}}{{ |
|
21 |
|
<a href="/op/login">Sign in</a> |
|
22 |
|
}} |
|
23 |
|
</div> |
|
24 |
|
</div> <!-- header --> |
|
25 |
|
|
|
26 |
|
<!-- main menu --> |
|
27 |
|
<div id="menus"> |
| 19 |
28 |
<div class="menu"> |
<div class="menu"> |
| 20 |
29 |
<ul> |
<ul> |
| 21 |
|
@@if(@@login_ui::uid@@ != 0){{<li><a @@if(@@menu::settings@@ == 1){{class="selected"}}{{}} href="/op/settings">Settings</a></li>}}{{}} |
|
| 22 |
|
<li><a @@if(@@menu::repo@@ == 1){{class="selected"}}{{}} href="/op/repo">Repositories</a></li> |
|
| 23 |
|
@@if(@@login_ui::is_admin@@ == 1){{<li><a @@if(@@menu::admin@@ == 1){{class="selected"}}{{}} href="/op/admin">Admin</a></li>}}{{}} |
|
| 24 |
|
@@if(@@login_ui::uid@@ != 0){{<li><a @@if(@@menu::suggestion@@ == 1){{class="selected"}}{{}} href="/op/suggestion">Suggestion</a></li>}}{{}} |
|
| 25 |
|
@@if(@@login_ui::uid@@ != 0){{<li><a @@if(@@menu::logout@@ == 1){{class="selected"}}{{}} href="/op/logout?token=@@logout_token@@">Logout</a></li>}}{{}} |
|
|
30 |
|
@@if(@@login_ui::uid@@ != 0){{<li@@if(@@menu::settings@@ == 1){{ class="selected"}}{{}}><a href="/op/settings">Settings</a></li>}}{{}} |
|
31 |
|
<li@@if(@@menu::repo@@ == 1){{ class="selected"}}{{}}><a href="/op/repo">Repositories</a></li> |
|
32 |
|
@@if(@@login_ui::is_admin@@ == 1){{<li@@if(@@menu::admin@@ == 1){{ class="selected"}}{{}}><a href="/op/admin">Admin</a></li>}}{{}} |
|
33 |
|
@@if(@@login_ui::uid@@ != 0){{<li@@if(@@menu::suggestion@@ == 1){{ class="selected"}}{{}}><a href="/op/suggestion">Suggestion</a></li>}}{{}} |
|
34 |
|
@@if(@@login_ui::uid@@ != 0){{<li@@if(@@menu::logout@@ == 1){{ class="selected"}}{{}} ><a href="/op/logout?token=@@logout_token@@">Logout</a></li>}}{{}} |
| 26 |
35 |
</ul> |
</ul> |
| 27 |
36 |
</div> |
</div> |
| 28 |
|
</div> |
|
| 29 |
|
|
|
| 30 |
|
<div class="user"> |
|
| 31 |
|
@@if("@@login_ui::username@@" != ""){{ |
|
| 32 |
|
<a href="@@login_ui::homepage@@">@@login_ui::username@@</a> |
|
| 33 |
|
}}{{ |
|
| 34 |
|
<a href="/op/login">Sign in</a> |
|
| 35 |
|
}} |
|
| 36 |
|
</div> |
|
| 37 |
|
</div> <!-- header --> |
|
| 38 |
|
<!-- submenus --> |
|
| 39 |
|
@@submenu1@@ |
|
| 40 |
|
@@submenu2@@ |
|
| 41 |
37 |
|
|
|
38 |
|
<!-- submenus --> |
|
39 |
|
@@submenu1@@ |
|
40 |
|
@@submenu2@@ |
|
41 |
|
</div> |
| 42 |
42 |
|
|
| 43 |
43 |
<div id="main_container"> |
<div id="main_container"> |
| 44 |
44 |
<div id="main"> |
<div id="main"> |
| File root/themes/default/main.css changed (mode: 100644) (index c3bdf68..33098c0) |
| ... |
... |
table { |
| 20 |
20 |
border: 1px solid #000000; |
border: 1px solid #000000; |
| 21 |
21 |
background-color: #eeeeee; |
background-color: #eeeeee; |
| 22 |
22 |
color: #000000; |
color: #000000; |
| 23 |
|
border-spacing: 1px; |
|
| 24 |
23 |
padding: 1px; |
padding: 1px; |
| 25 |
24 |
margin-top: 3px; |
margin-top: 3px; |
| 26 |
25 |
} |
} |
| |
| ... |
... |
form input[type="text"], form input[type="password"], form textarea, form select |
| 46 |
45 |
} |
} |
| 47 |
46 |
form select option { padding: 1px 4px 1px 4px; } |
form select option { padding: 1px 4px 1px 4px; } |
| 48 |
47 |
form input[type="submit"] { |
form input[type="submit"] { |
| 49 |
|
color: #FF0000; |
|
|
48 |
|
color: #FF2700; |
| 50 |
49 |
display: inline-block; |
display: inline-block; |
| 51 |
50 |
font-weight: bold; |
font-weight: bold; |
| 52 |
51 |
font-size: 11pt; |
font-size: 11pt; |
| |
| ... |
... |
form input[type="submit"] { |
| 65 |
64 |
} |
} |
| 66 |
65 |
|
|
| 67 |
66 |
.logo { |
.logo { |
| 68 |
|
display: inline; |
|
| 69 |
67 |
float: left; |
float: left; |
| 70 |
|
font-size: 15pt; |
|
|
68 |
|
font-size: 16pt; |
| 71 |
69 |
font-weight: bold; |
font-weight: bold; |
| 72 |
70 |
text-decoration: none; |
text-decoration: none; |
| 73 |
71 |
text-shadow: 0 0 2px yellow; |
text-shadow: 0 0 2px yellow; |
| 74 |
|
color: red; |
|
| 75 |
|
padding: 6px 12px 6px 0px; |
|
|
72 |
|
color: #FF2700; |
|
73 |
|
padding: 5px 12px 5px 15px; |
|
74 |
|
vertical-align: bottom; |
|
75 |
|
xxx-display: inline; |
| 76 |
76 |
} |
} |
| 77 |
77 |
|
|
| 78 |
78 |
.user { |
.user { |
| 79 |
|
padding: 6px 0px; |
|
| 80 |
|
display: inline; |
|
|
79 |
|
padding: 5px 15px 5px 0px; |
| 81 |
80 |
float: right; |
float: right; |
| 82 |
81 |
} |
} |
| 83 |
82 |
.user a { |
.user a { |
| |
| ... |
... |
form input[type="submit"] { |
| 91 |
90 |
} |
} |
| 92 |
91 |
|
|
| 93 |
92 |
#menus { |
#menus { |
| 94 |
|
display: inline-block; |
|
| 95 |
|
padding-left: 10px; |
|
| 96 |
|
display: inline; |
|
| 97 |
|
float: left; |
|
|
93 |
|
xxx-padding-left: 10px; |
| 98 |
94 |
} |
} |
| 99 |
95 |
|
|
| 100 |
|
.menu { padding: 6px 0px; } |
|
|
96 |
|
.menu { |
|
97 |
|
background-color: #AAA; |
|
98 |
|
overflow: hidden; |
|
99 |
|
padding: 3px 0px; |
|
100 |
|
} |
| 101 |
101 |
.menu ul { list-style-type: none; } |
.menu ul { list-style-type: none; } |
| 102 |
|
.menu ul li { display: inline; } |
|
|
102 |
|
.menu ul li { |
|
103 |
|
display: inline; |
|
104 |
|
padding: 5px 0px; |
|
105 |
|
} |
| 103 |
106 |
.menu ul li a { |
.menu ul li a { |
| 104 |
107 |
text-decoration: none; |
text-decoration: none; |
| 105 |
|
color: #FFFFFF; |
|
| 106 |
|
font-size: 12pt; |
|
|
108 |
|
color: #FFF; |
|
109 |
|
font-size: 13pt; |
| 107 |
110 |
font-weight: bold; |
font-weight: bold; |
| 108 |
|
padding: 3px 12px 3px 12px; |
|
|
111 |
|
padding: 5px 15px; |
| 109 |
112 |
} |
} |
| 110 |
|
.menu ul li a:hover { color: #FF0000; } |
|
| 111 |
|
.menu ul li a.selected { background-color: #BBBBBB; } |
|
| 112 |
|
.menu ul li a.selected:hover { color: #CCCCCC; } |
|
|
113 |
|
.menu ul li a:hover { color: #FF2700; } |
|
114 |
|
.menu ul li.selected { background-color: #BBB; } |
|
115 |
|
.menu ul li.selected a:hover { color: #CCC; } |
| 113 |
116 |
|
|
| 114 |
|
.menu2 { background-color: #BBBBBB; } |
|
|
117 |
|
.menu2 { background-color: #BBB; } |
|
118 |
|
.menu2 ul li.selected { background-color: #CCC; } |
|
119 |
|
.menu2 ul li.selected a:hover { color: #FFF; } |
| 115 |
120 |
|
|
| 116 |
121 |
.junk {} |
.junk {} |
| 117 |
122 |
|
|
| |
| ... |
... |
form input[type="submit"] { |
| 129 |
134 |
|
|
| 130 |
135 |
#header { |
#header { |
| 131 |
136 |
overflow: hidden; |
overflow: hidden; |
| 132 |
|
border-bottom: 1px solid #CCCCCC; |
|
|
137 |
|
xxx-border-bottom: 1px solid #000000; |
|
138 |
|
box-shadow: 0px 2px 3px #666666; |
| 133 |
139 |
background-color: #888888; |
background-color: #888888; |
| 134 |
|
padding: 0 15px 0 15px; |
|
|
140 |
|
width: 100%; |
|
141 |
|
margin-bottom: 4px; |
| 135 |
142 |
} |
} |
| 136 |
143 |
#header table { |
#header table { |
| 137 |
144 |
border-collapse: collapse; |
border-collapse: collapse; |
| |
| ... |
... |
form input[type="submit"] { |
| 147 |
154 |
|
|
| 148 |
155 |
|
|
| 149 |
156 |
#main_container { |
#main_container { |
| 150 |
|
min-height: 400px; |
|
| 151 |
157 |
width: 100%; |
width: 100%; |
| 152 |
158 |
} |
} |
| 153 |
159 |
|
|
| |
| ... |
... |
tos { |
| 230 |
236 |
|
|
| 231 |
237 |
.error { |
.error { |
| 232 |
238 |
font-weight: bold; |
font-weight: bold; |
| 233 |
|
color: red; |
|
|
239 |
|
color: #FF2700; |
| 234 |
240 |
} |
} |
| 235 |
241 |
|
|
| 236 |
242 |
.form_item_title {} |
.form_item_title {} |
| |
| ... |
... |
tos { |
| 243 |
249 |
|
|
| 244 |
250 |
.blob_title { |
.blob_title { |
| 245 |
251 |
font-size: 11pt; |
font-size: 11pt; |
| 246 |
|
color: red; |
|
|
252 |
|
color: #FF2700; |
| 247 |
253 |
} |
} |
| 248 |
254 |
|
|
| 249 |
255 |
.source { |
.source { |
| |
| ... |
... |
tos { |
| 263 |
269 |
|
|
| 264 |
270 |
.submenu { |
.submenu { |
| 265 |
271 |
border: 1px solid #CCCCCC; |
border: 1px solid #CCCCCC; |
| 266 |
|
border-bottom: 1px solid #CCCCCC; |
|
| 267 |
272 |
background-color: #999999; |
background-color: #999999; |
| 268 |
|
margin-bottom: 3px; |
|
| 269 |
273 |
display: block; |
display: block; |
| 270 |
274 |
padding-left: 5px; |
padding-left: 5px; |
| 271 |
275 |
} |
} |
| |
| ... |
... |
tos { |
| 310 |
314 |
} |
} |
| 311 |
315 |
|
|
| 312 |
316 |
.error {} |
.error {} |
| 313 |
|
.error b { color: #ff0000; font-weight: bold; font-size: 11pt; } |
|
|
317 |
|
.error b { color: #FF2700; font-weight: bold; font-size: 11pt; } |
| 314 |
318 |
.error ul { padding-left: 15pt; } |
.error ul { padding-left: 15pt; } |
| 315 |
319 |
.error ul li {} |
.error ul li {} |
| 316 |
320 |
|
|
| |
| ... |
... |
tos { |
| 345 |
349 |
|
|
| 346 |
350 |
.hints { |
.hints { |
| 347 |
351 |
margin-top: 5px; |
margin-top: 5px; |
| 348 |
|
background-color: #A0FFA0; |
|
|
352 |
|
xxx-background-color: #A0FFA0; |
|
353 |
|
background-color: #FFFFFF; |
| 349 |
354 |
padding: 5px; |
padding: 5px; |
| 350 |
355 |
border-radius: 4px 4px 4px 4px; |
border-radius: 4px 4px 4px 4px; |
| 351 |
356 |
border: 1px solid #cccccc; |
border: 1px solid #cccccc; |
| 352 |
357 |
line-height: 120%; |
line-height: 120%; |
| 353 |
358 |
font-size: 9pt; |
font-size: 9pt; |
| 354 |
359 |
display: table; |
display: table; |
|
360 |
|
vertical-align: bottom; |
| 355 |
361 |
} |
} |
| 356 |
362 |
.hints ul { list-style-type: none; } |
.hints ul { list-style-type: none; } |
| 357 |
363 |
.hints ul li { } |
.hints ul li { } |
| |
| ... |
... |
tos { |
| 398 |
404 |
|
|
| 399 |
405 |
.warning { |
.warning { |
| 400 |
406 |
margin-top: 5px; |
margin-top: 5px; |
| 401 |
|
background-color: #FF0000; |
|
|
407 |
|
background-color: #CCC; |
| 402 |
408 |
padding: 5px; |
padding: 5px; |
| 403 |
|
border: 1px solid #CCCCCC; |
|
|
409 |
|
border: 1px solid #FF2700; |
|
410 |
|
color: #FF2700; |
| 404 |
411 |
display: table; |
display: table; |
| 405 |
412 |
} |
} |
| 406 |
413 |
|
|
| 407 |
414 |
.ok { |
.ok { |
| 408 |
415 |
margin-top: 5px; |
margin-top: 5px; |
| 409 |
|
background-color: #00FF00; |
|
| 410 |
416 |
padding: 5px; |
padding: 5px; |
| 411 |
|
border: 1px solid #CCCCCC; |
|
|
417 |
|
border: 1px solid #FFF; |
|
418 |
|
color: #000; |
| 412 |
419 |
display: table; |
display: table; |
| 413 |
420 |
} |
} |
| 414 |
421 |
|
|
| |
| ... |
... |
tos { |
| 427 |
434 |
font-size: 13pt; |
font-size: 13pt; |
| 428 |
435 |
font-weight: bold; |
font-weight: bold; |
| 429 |
436 |
} |
} |
|
437 |
|
|
|
438 |
|
.first_page { |
|
439 |
|
margin-top: 5px; |
|
440 |
|
border: 1px solid #999998; |
|
441 |
|
padding: 5px; |
|
442 |
|
border-radius: 4px 4px 4px 4px; |
|
443 |
|
font-size: 13pt; |
|
444 |
|
width: 600px; |
|
445 |
|
line-height: 115%; |
|
446 |
|
} |
| File root/themes/default/main.html changed (mode: 100644) (index aedb3e2..aee3807) |
|
1 |
|
<div class="first_page"> |
|
2 |
|
<div style="font-size: 23pt; font-weight: bold;"> |
|
3 |
|
Welcome to RocketGit! |
|
4 |
|
</div> |
| 1 |
5 |
<br /> |
<br /> |
| 2 |
|
<h1>Welcome to RocketGit!</h1> |
|
|
6 |
|
|
|
7 |
|
We know that a lot of people are not happy at all to host a project |
|
8 |
|
on a proprietary platform. So, we created this project.<br /> |
| 3 |
9 |
<br /> |
<br /> |
| 4 |
10 |
|
|
| 5 |
|
Our target is to become the best FLOSS software for managing Git projects. |
|
| 6 |
|
With your help, we will do it. Thanks!<br /> |
|
|
11 |
|
Our goal is to become the best FLOSS (free, libre and open-source) |
|
12 |
|
software for managing Git both public and private projects. |
|
13 |
|
With your help, we will reach our goal. Thank you!<br /> |
| 7 |
14 |
<br /> |
<br /> |
|
15 |
|
|
| 8 |
16 |
If you are wondering about the Enterprise Edition, the good news is that |
If you are wondering about the Enterprise Edition, the good news is that |
| 9 |
|
is the same version with the one running here, on rocketgit.com. |
|
| 10 |
|
You can run this software inside the firewall using free software. |
|
| 11 |
|
<br /> |
|
| 12 |
|
You have access to unlimited number of repositories (both public and private). |
|
|
17 |
|
this is the same version as the one running here, on rocketgit.com. |
|
18 |
|
You can run this software inside the firewall using free software.<br /> |
| 13 |
19 |
<br /> |
<br /> |
|
20 |
|
|
| 14 |
21 |
Maybe you want to know how do we intend to sustain the business without |
Maybe you want to know how do we intend to sustain the business without |
| 15 |
|
an Enterprise Edition. We will do it by offering support for our software, |
|
| 16 |
|
by charging for customizations, ads (very targeted and no flash) and donations. |
|
|
22 |
|
a mandatory fee for using the Enterprise Edition. |
|
23 |
|
We will do it by offering paid support, by charging for customizations, |
|
24 |
|
ads (very targeted and no flash) and donations. |
|
25 |
|
Please support us to be able to keep going this project.<br /> |
| 17 |
26 |
<br /> |
<br /> |
|
27 |
|
|
|
28 |
|
Here at rocketgit.com, you can create an unlimited number of repositories, |
|
29 |
|
both public and private.<br /> |
|
30 |
|
<br /> |
|
31 |
|
|
|
32 |
|
To install this software on your server, just go to |
|
33 |
|
<a href="http://rocketgit.com/user/catalinux/rocketgit/source"></a> |
|
34 |
|
and follow the instructions. Takes two minutes. In the near future we will |
|
35 |
|
provide pre-made virtual machine images to achieve under 10 seconds |
|
36 |
|
install time.<br /> |
|
37 |
|
<br /> |
|
38 |
|
|
| 18 |
39 |
You can create an account <a href="/op/create_account">here</a>.<br /> |
You can create an account <a href="/op/create_account">here</a>.<br /> |
|
40 |
|
</div> |
| File root/themes/default/repo/main.html changed (mode: 100644) (index 5b41e3b..a477de9) |
| 4 |
4 |
<div class="repo_title"> |
<div class="repo_title"> |
| 5 |
5 |
<a href="@@url_user@@">@@page_ui::username@@</a> / <a href="@@url_repo@@">@@ri::name@@</a> |
<a href="@@url_user@@">@@page_ui::username@@</a> / <a href="@@url_repo@@">@@ri::name@@</a> |
| 6 |
6 |
(@@if(@@ri::public@@ == 1){{public}}{{private}}) |
(@@if(@@ri::public@@ == 1){{public}}{{private}}) |
|
7 |
|
(License: @@if("@@ri::license@@" == ""){{Unspecified}}{{@@ri::license@@}}) |
| 7 |
8 |
</div> |
</div> |
| 8 |
9 |
<div class="repo_desc"> |
<div class="repo_desc"> |
| 9 |
10 |
@@ri::description_nice@@ |
@@ri::description_nice@@ |
| |
| 14 |
15 |
|
|
| 15 |
16 |
<div class="menu submenu"> |
<div class="menu submenu"> |
| 16 |
17 |
<ul> |
<ul> |
| 17 |
|
<li><a @@if(@@per_repo_menu::history@@ == 1){{class="selected"}}{{}} href="@@url_repo@@/history">Last events</a></li> |
|
| 18 |
|
<li><a @@if(@@per_repo_menu::source@@ == 1){{class="selected"}}{{}} href="@@url_repo@@/source">Source</a></li> |
|
| 19 |
|
<li><a @@if(@@per_repo_menu::mr@@ == 1){{class="selected"}}{{}} href="@@url_repo@@/mr">Merge requests</a></li> |
|
| 20 |
|
<li><a @@if(@@per_repo_menu::bug@@ == 1){{class="selected"}}{{}} href="@@url_repo@@/bug">Bugs</a></li> |
|
| 21 |
|
@@if(@@can_admin@@ == 1){{<li><a @@if(@@per_repo_menu::admin@@ == 1){{class="selected"}}{{}} href="@@url_repo@@/admin">Admin</a></li>}}{{}} |
|
|
18 |
|
<li@@if(@@per_repo_menu::history@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/history">Last events</a></li> |
|
19 |
|
<li@@if(@@per_repo_menu::source@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/source">Source</a></li> |
|
20 |
|
<li@@if(@@per_repo_menu::mr@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/mr">Merge requests</a></li> |
|
21 |
|
<li@@if(@@per_repo_menu::bug@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/bug">Bugs</a></li> |
|
22 |
|
@@if(@@can_admin@@ == 1){{<li@@if(@@per_repo_menu::admin@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/admin">Admin</a></li>}}{{}} |
| 22 |
23 |
</ul> |
</ul> |
| 23 |
24 |
</div> |
</div> |
| 24 |
25 |
@@repo_submenu@@ |
@@repo_submenu@@ |
| 25 |
26 |
</div> <!-- repo_header --> |
</div> <!-- repo_header --> |
| 26 |
27 |
|
|
|
28 |
|
<!--TODO: this should go away/ |
| 27 |
29 |
<div class="repo_right"> |
<div class="repo_right"> |
| 28 |
30 |
@@repo_right@@ |
@@repo_right@@ |
| 29 |
|
</div> <!-- repo_right --> |
|
|
31 |
|
</div> <! -- repo_right -- > |
|
32 |
|
--> |
| 30 |
33 |
|
|
| 31 |
34 |
<div class="repo_body"> |
<div class="repo_body"> |
| 32 |
35 |
@@repo_body@@ |
@@repo_body@@ |
| File root/themes/default/tos.html changed (mode: 100644) (index 3c84e06..26c1f1a) |
| 2 |
2 |
<h2>Terms of service v1</h2> |
<h2>Terms of service v1</h2> |
| 3 |
3 |
<ul> |
<ul> |
| 4 |
4 |
<li>You must not abuse RocketGit servers.</li> |
<li>You must not abuse RocketGit servers.</li> |
| 5 |
|
<li>You must not abuse others servers using RocketGit as a proxy.</li> |
|
|
5 |
|
<li>You must not abuse other's servers using RocketGit as a proxy.</li> |
| 6 |
6 |
<li>You must not upload illegal content.</li> |
<li>You must not upload illegal content.</li> |
| 7 |
7 |
<li>You must not harass other users.</li> |
<li>You must not harass other users.</li> |
| 8 |
8 |
<li>You must enjoy your stay here.</li> |
<li>You must enjoy your stay here.</li> |
| File root/themes/default/user/repo/menu.html changed (mode: 100644) (index 2762ce6..13c4a2c) |
| 1 |
1 |
<div class="menu submenu"> |
<div class="menu submenu"> |
| 2 |
2 |
<ul> |
<ul> |
| 3 |
|
<li><a @@if(@@menu::repo::edit@@ == 1){{class="selected"}}{{}} href="@@url_repo@@/admin/edit">Edit</a></li> |
|
| 4 |
|
<li><a @@if(@@menu::repo::repo_rights@@ == 1){{class="selected"}}{{}} href="@@url_repo@@/admin/repo_rights">Repo rights</a></li> |
|
| 5 |
|
<li><a @@if(@@menu::repo::refs_rights@@ == 1){{class="selected"}}{{}} href="@@url_repo@@/admin/refs_rights">Refs rights</a></li> |
|
| 6 |
|
<li><a @@if(@@menu::repo::path_rights@@ == 1){{class="selected"}}{{}} href="@@url_repo@@/admin/path_rights">Path rights</a></li> |
|
| 7 |
|
<li><a @@if(@@menu::repo::delete@@ == 1){{class="selected"}}{{}} href="@@url_repo@@/admin/delete">Delete</a></li> |
|
|
3 |
|
<li@@if(@@menu::repo::edit@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/admin/edit">Edit</a></li> |
|
4 |
|
<li@@if(@@menu::repo::repo_rights@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/admin/repo_rights">Repo rights</a></li> |
|
5 |
|
<li@@if(@@menu::repo::refs_rights@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/admin/refs_rights">Refs rights</a></li> |
|
6 |
|
<li@@if(@@menu::repo::path_rights@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/admin/path_rights">Path rights</a></li> |
|
7 |
|
<li@@if(@@menu::repo::delete@@ == 1){{ class="selected"}}{{}}><a href="@@url_repo@@/admin/delete">Delete</a></li> |
| 8 |
8 |
</ul> |
</ul> |
| 9 |
9 |
</div> |
</div> |