diff options
author | James Moger <james.moger@gitblit.com> | 2012-09-29 23:40:46 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-09-29 23:40:46 -0400 |
commit | 1e1b85270f93b3bca624c99b478f3a9a23be2395 (patch) | |
tree | 8dfcbd8ca4813d2a42455c62cae3b433d8c0c28a /resources | |
parent | 0d531b187e123dea5e83b5b7d4749478f26254c1 (diff) | |
download | gitblit-1e1b85270f93b3bca624c99b478f3a9a23be2395.tar.gz gitblit-1e1b85270f93b3bca624c99b478f3a9a23be2395.zip |
Preliminary implementation of server-side forking (issue 137)
The fork mechanism clones the repository , access restrictions, and
other config options. The app has been updated throughout to handle
personal repositories and to properly display origin/fork links.
In order to fork a repository the user account must have the #fork role,
the origin repository must permit forking, and the user account must
have standard clone permissions to the repository.
Because forking introduces a new user role no existing user accounts can
automatically begin forking a repository. This is both a pro and a con.
Since the fork has the same access restrictions as the origin repository,
those who can access the origin may also access the fork. This is intentional
to facilitate integration-manager workflow. The fork owner does have the
power to completely change the access restrictions of his/her fork.
Diffstat (limited to 'resources')
-rw-r--r-- | resources/gitblit.css | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/resources/gitblit.css b/resources/gitblit.css index fc948b64..66387d1e 100644 --- a/resources/gitblit.css +++ b/resources/gitblit.css @@ -20,6 +20,11 @@ a:focus { outline: none;
}
+[class^="icon-"], [class*=" icon-"] a i {
+ /* override for a links that look like bootstrap buttons */
+ vertical-align: text-bottom;
+}
+
hr {
margin-top: 10px;
margin-bottom: 10px;
@@ -127,6 +132,47 @@ navbar div>ul .menu-dropdown li a:hover,.nav .menu-dropdown li a:hover,.navbar d font-weight: bold;
}
+.pageTitle {
+ color: #888;
+ font-size: 18px;
+ line-height: 27px;
+}
+.pageTitle .project, .pageTitle .repository {
+ font-family: Helvetica, arial, freesans, clean, sans-serif;
+ font-size: 22px;
+}
+
+.pageTitle .controls {
+ font-size: 12px;
+}
+
+.pageTitle .repository {
+ font-weight: bold;
+}
+
+.originRepository {
+ font-family: Helvetica, arial, freesans, clean, sans-serif;
+ color: #888;
+ font-size: 12px;
+ line-height: 14px;
+ margin: 0px;
+}
+
+.forkSource, .forkEntry {
+ color: #888;
+}
+
+.forkSource {
+ font-size: 18px;
+ line-height: 20px;
+ padding: 5px 0px;
+}
+
+.forkEntry {
+ font-size: 14px;
+ padding: 2px 0px;
+}
+
div.page_footer {
clear: both;
height: 17px;
|