Skip to content

The Unified and Autonomous Development Platform

Project home page

steve5ef3c5fad5e0
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/css/page.css b/gitop.web/src/main/java/com/pmease/gitop/web/assets/css/page.css
index 3ea7820d56..1f72b6e6c9 100644
--- a/gitop.web/src/main/java/com/pmease/gitop/web/assets/css/page.css
+++ b/gitop.web/src/main/java/com/pmease/gitop/web/assets/css/page.css
@@ -82,6 +82,8 @@
.sidebar .list-navs > .list-group-item.active a,
.sidebar .list-navs > .list-group-item.active a:hover { color: #222; background: #e5e5e5; font-weight: bold; }
+.list-navs > .list-group-item a .badge { float: right; }
+
section .head { border-style: solid; border-width: 1px 0; border-color: #ddd; }
section:first-child .head { border-top: none; }
section .head h2, section .head h3 { margin: 0; font-size: 18px; line-height: 24px; color: #888; font-weight: 300; }
@@ -160,6 +162,7 @@ a.permission-link:hover { color: #333; text-decoration: none; }
.vcard-stats a:hover > b { color: #09f; }
.nav-piped > li { float: left; }
+.nav-piped.nav-justified > li { float: none; }
.page-nav { border-bottom: 1px solid #ddd; padding: 10px 20px 0; }
.page-nav ul { margin: 0; padding: 0; list-style: none; }
@@ -224,4 +227,33 @@ h1.repo-info { margin: 0; padding-left:60px; font-size: 20px; position: relative
.repo-sidenav { padding-top: 20px; padding-bottom: 20px; }
.repo-sidenav .padder { padding: 20px; }
ul.repo-actions { margin: 8px 4px 8px 0; padding: 0; list-style: none; }
-.repo-actions > li { float: left; list-style: none; margin: 0 5px; }
\ No newline at end of file
+.repo-actions > li { float: left; list-style: none; margin: 0 5px; }
+
+.nav-piped li > .btn { border-right-width: 0; }
+.nav-piped li:not(:first-child):not(:last-child):not(.dropdown-toggle) > .btn {
+ border-radius: 0;
+}
+
+.nav-piped li:first-child:not(:last-child):not(.dropdown-toggle) > .btn {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
+.nav-piped li:last-child:not(:first-child) > .btn {
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+ border-right-width: 1px;
+}
+
+.nav-head { font-weight: bold; font-size: 14px; color: #888; padding: 0 20px; margin: 0 0 8px 0; }
+.repo-sidenav .list-navs { margin-bottom: 20px; }
+.repo-sidenav .list-navs > .list-group-item a { color: #09f; }
+.sidebar .list-navs > .list-group-item [class^="icon"] {
+ width: 1.1428571428571428em;
+ text-align: center;
+ padding-right: 0.2857142857142857em;
+ font-size: 18px;
+ color: #888;
+}
+
+.repo-sidenav .list-navs > .list-group-item a .badge { }
\ No newline at end of file
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/assets/js/page.js b/gitop.web/src/main/java/com/pmease/gitop/web/assets/js/page.js
index cf9f72a7e7..f5d7a03a3d 100644
--- a/gitop.web/src/main/java/com/pmease/gitop/web/assets/js/page.js
+++ b/gitop.web/src/main/java/com/pmease/gitop/web/assets/js/page.js
@@ -2,4 +2,23 @@ $(document).ready(function() {
$('#globalheader a').tooltip({placement: 'bottom'});
$('.focusable:first').focus();
$('.has-error:first .focusable').focus();
-});
\ No newline at end of file
+ $('body').on('click', function (e) {
+ $('.popover-link').each(function () {
+ //the 'is' for buttons that trigger popups
+ //the 'has' for icons within a button that triggers a popup
+ if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.popover').has(e.target).length === 0) {
+ $(this).popover('hide');
+ }
+ });
+ });
+
+ $(document).on('click', function (e) {
+ $('.popup-marker').each(function () {
+ //the 'is' for buttons that trigger popups
+ //the 'has' for icons within a button that triggers a popup
+ if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.popover').has(e.target).length === 0) {
+ $(this).popover('toggle');
+ }
+ });
+ });
+});
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/page/project/AbstractProjectPage.html b/gitop.web/src/main/java/com/pmease/gitop/web/page/project/AbstractProjectPage.html
index c1cb77e89e..8f453fc8db 100644
--- a/gitop.web/src/main/java/com/pmease/gitop/web/page/project/AbstractProjectPage.html
+++ b/gitop.web/src/main/java/com/pmease/gitop/web/page/project/AbstractProjectPage.html
@@ -10,9 +10,8 @@
<ul class="pull-right repo-actions">
<li>
<div class="btn-group">
- <a class="btn btn-default"><i class="icon-download-alt"></i> Clone <span class="caret"></span></a>
- <a class="btn btn-default"><i class="icon-repo-plus"></i> Fork</a>
- <a class="btn btn-default"><i class="icon-eye-open"></i> Watch</a>
+ <a class="btn btn-default popup-marker clone-btn"><i class="icon-download-alt"></i> Clone <span class="caret"></span></a>
+ <a class="btn btn-default popup-marker clone-btn"><i class="icon-repo-plus"></i> Fork</a>
<a class="btn btn-default"><i class="icon-repo-compare"></i> Compare</a>
</div>
</li>
diff --git a/gitop.web/src/main/java/com/pmease/gitop/web/page/project/ProjectHomePage.html b/gitop.web/src/main/java/com/pmease/gitop/web/page/project/ProjectHomePage.html
index 3b76db2ece..503f2ece76 100644
--- a/gitop.web/src/main/java/com/pmease/gitop/web/page/project/ProjectHomePage.html
+++ b/gitop.web/src/main/java/com/pmease/gitop/web/page/project/ProjectHomePage.html
@@ -4,21 +4,44 @@
<div class="faux-row">
<div class="faux-cell sidebar">
<div class="sidebar-inner repo-sidenav">
+ <div class="nav-head">SOURCE</div>
<ul class="list-group list-navs">
- <li class="list-group-item active"><a href="#">Source</a></li>
- <li class="list-group-item"><a href="#">Merge Requests</a></li>
- <li class="list-group-item"><a href="#">Wiki</a></li>
- <li class="list-group-item"><a href="#">Pulse</a></li>
- <li class="list-group-item"><a href="#">Graphs</a></li>
- <li class="list-group-item"><a href="#">Network</a></li>
- <li class="list-group-item"><a href="#">Settings</a></li>
+ <li class="list-group-item active"><a href="#"><i class="icon-code"></i> Code</a></li>
+ <li class="list-group-item"><a href="#"><i class="icon-time"></i> Commits <span class="badge">999+</span> </a></li>
+ <li class="list-group-item"><a href="#"><i class="icon-code-fork"></i> Branches <span class="badge">3</span> </a></li>
+ <li class="list-group-item"><a href="#"><i class="icon-tag"></i> Tags <span class="badge">0</span> </a></li>
+ <li class="list-group-item"><a href="#"><i class="icon-group"></i> Contributors <span class="badge">18</span> </a></li>
+ </ul>
+ <h3 class="nav-head">WIKI</h3>
+ <ul class="list-group list-navs">
+ <li class="list-group-item"><a href="#"><i class="icon-wiki"></i> Wiki</a></li>
+ </ul>
+ <h3 class="nav-head">ISSUES</h3>
+ <ul class="list-group list-navs">
+ <li class="list-group-item"><a href="#"><i class="icon-repo-merge"></i> Merge Requests <span class="badge">8</span> </a></li>
+ <li class="list-group-item"><a href="#"><i class="icon-exclamation-sign"></i> Issues <span class="badge">18</span> </a></li>
+ </ul>
+
+ <h3 class="nav-head">STATISTICS</h3>
+ <ul class="list-group list-navs">
+ <li class="list-group-item"><a href="#"><i class="icon-chart-area"></i> Graphs</a></li>
+ <li class="list-group-item"><a href="#"><i class="icon-network"></i> Network</a></li>
</ul>
</div>
</div>
<div class="faux-cell content">
<div class="content-inner">
- <h1>Project Home</h1>
+ <div class="padder">
+ <div class="well">
+ The JIRA FishEye Plugin connects your JIRA instance to any Subversion, Git, Perforce, Mercurial or
+ CVS repository which are linked to your FishEye instance. This allows you to view commits for a
+ JIRA issue right within JIRA. This plugin also provides a Reviews tab to each issue showing which
+ Code Reviews were done for each issue if you are running Crucible.
+
+ <a>edit</a> <i class="icon-pencil"></i>
+ </div>
+ </div>
</div>
</div>
</div>