Skip to content

The Unified and Autonomous Development Platform

midwork

robin shine53f3a2d60898
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/commithash/commit-hash.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/commithash/commit-hash.css
index 717e30ce5c..2dfa8ad308 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/commithash/commit-hash.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/commithash/commit-hash.css
@@ -1,11 +1,11 @@
-.commit-hash {
- font-size: 13px;
- width: 65px;
- color: #666;
- border: none;
- border-radius: 3px;
- padding-left: 3px;
- padding-right: 3px;
- height: 22px;
- font-family: monospace;
-}
+.commit-hash {
+ font-size: 13px;
+ width: 65px;
+ color: #666;
+ border: 1px solid #CCC;
+ border-radius: 3px;
+ padding-left: 3px;
+ padding-right: 3px;
+ height: 22px;
+ font-family: monospace;
+}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/pathselector/PathSelector.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/pathselector/PathSelector.html
index 17673d3e01..9415da0ebf 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/pathselector/PathSelector.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/pathselector/PathSelector.html
@@ -1,5 +1,5 @@
<wicket:panel>
- <div wicket:id="tree" class="path-selector"></div>
+ <div wicket:id="tree" class="path-selector autosize"></div>
<wicket:fragment wicket:id="treeNodeFrag">
<i wicket:id="icon"></i> <a wicket:id="link"><span wicket:id="label"></span></a>
</wicket:fragment>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/pathselector/path-selector.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/pathselector/path-selector.css
index 076e646714..32f47351f6 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/pathselector/path-selector.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/pathselector/path-selector.css
@@ -1,5 +1,3 @@
.path-selector {
- max-height: 500px;
- overflow: auto;
padding: 12px 24px 12px 12px;
}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/file/LastCommitPanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/file/LastCommitPanel.html
index d4ee9139d3..6cfcf05b1d 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/file/LastCommitPanel.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/file/LastCommitPanel.html
@@ -1,11 +1,11 @@
-<wicket:panel>
- <div class="last-commit clearfix">
- <span class="author pull-left">
- <a wicket:id="avatar"></a> <span wicket:id="name"></span>
- </span>
- <span wicket:id="message" class="message pull-left"></span>
- <span wicket:id="hash" class="pull-right"></span>
- <a wicket:id="history" class="btn btn-default btn-xs"><i class="fa fa-history"></i> History</a>
- </div>
- <div class="message clearfix"></div>
+<wicket:panel>
+ <div class="last-commit clearfix">
+ <span class="author pull-left">
+ <a wicket:id="avatar"></a> <span wicket:id="name"></span>
+ </span>
+ <span wicket:id="message" class="message pull-left"></span>
+ <a wicket:id="history" class="history btn btn-default btn-xs pull-right" title="Show history of current path"><i class="fa fa-history"></i> History</a>
+ <span wicket:id="hash" class="pull-right"></span>
+ </div>
+ <div class="message clearfix"></div>
</wicket:panel>
\ No newline at end of file
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/file/repo-file.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/file/repo-file.css
index efb5f1f4ec..1acd925dc4 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/file/repo-file.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/file/repo-file.css
@@ -1,114 +1,117 @@
-#repo-file>.head {
- border-bottom: 1px solid #BBB;
- height: 31px;
-}
-#repo-file>.head>.revision-picker {
- padding: 0;
-}
-#repo-file>.head>.comment-context {
- border-right: 1px solid #BBB;
- padding: 5px 8px 0 8px;
- height: 31px;
- cursor: pointer;
-}
-#repo-file>.head>a.revision-picker {
- display: block;
- border-right: 1px solid #BBB;
- color: #333;
- text-decoration: none;
-}
-#repo-file>.head>a.revision-picker:hover {
- background: #EEE;
- clear: both;
-}
-#repo-file>.head>a.revision-picker, #repo-file>.head>.file-navigator, #repo-file>.file-navigator>div {
- padding: 5px 8px;
-}
-#repo-file .file-navigator .last-segment {
- height: 20px;
- margin-left: 2px;
- margin-top: -1px;
-}
-#repo-file>.head>.file-navigator input.name {
- height: 30px;
- border: 1px solid #BBB;
- border-top: none;
- border-bottom: none;
- border-radius: 0;
- margin-top: -4px;
- padding-left: 0px 8px;
- width: 160px;
-}
-#repo-file>.file-navigator input.name {
- border-top: 1px solid #BBB;
- border-bottom: 1px solid #BBB;
- height: 26px;
- margin-top: -1px;
- border-radius: 3px;
- width: 160px;
-}
-
-#repo-file>.head>.search {
- position: absolute;
- margin-top: 5px;
- right: 6px;
-}
-#repo-file>.head>.search>a {
- color: #666;
- margin: 0 8px;
-}
-#repo-file>.head>.search input {
- border-radius: 0;
- border-color: #BBB;
- height: 30px;
- border-top: none;
- border-bottom: none;
- top: -5px;
- padding: 0px 8px;
- position: absolute;
- width: 250px;
- left: -260px;
- font-size: 14px;
-}
-
-#repo-file>.file-navigator {
- display: none;
- padding: 2px 0 3px 0;
-}
-
-#repo-file>.revision-indexing {
- padding: 8px 8px 9px 8px;
- background: #fcf8e3;
- border-bottom: 1px solid #DDD;
- color: #8a6d3b;
- font-size: 13px;
-}
-#repo-file>.last-commit {
- padding: 6px 12px;
- background: #F2F2F2;
- max-height: 600px;
- overflow: auto;
-}
-#repo-file>.last-commit img.loading {
- padding: 4px 0;
-}
-#repo-file>.last-commit .pull-left {
- margin-right: 12px;
-}
-#repo-file>.last-commit div.message {
- display: none;
- margin-top: 6px;
-}
-#repo-file>.last-commit .summary {
- font-weight: bold;
- color: #555;
-}
-#repo-file>.search-result {
- height: 200px;
- border-top: 1px solid #DDD;
-}
-#repo-file>.search-result>.ui-resizable-handle {
- background: #EEE url("hgrabber.gif") no-repeat scroll center top;
- cursor: n-resize;
- height: 4px;
-}
+#repo-file>.head {
+ border-bottom: 1px solid #BBB;
+ height: 31px;
+}
+#repo-file>.head>.revision-picker {
+ padding: 0;
+}
+#repo-file>.head>.comment-context {
+ border-right: 1px solid #BBB;
+ padding: 5px 8px 0 8px;
+ height: 31px;
+ cursor: pointer;
+}
+#repo-file>.head>a.revision-picker {
+ display: block;
+ border-right: 1px solid #BBB;
+ color: #333;
+ text-decoration: none;
+}
+#repo-file>.head>a.revision-picker:hover {
+ background: #EEE;
+ clear: both;
+}
+#repo-file>.head>a.revision-picker, #repo-file>.head>.file-navigator, #repo-file>.file-navigator>div {
+ padding: 5px 8px;
+}
+#repo-file .file-navigator .last-segment {
+ height: 20px;
+ margin-left: 2px;
+ margin-top: -1px;
+}
+#repo-file>.head>.file-navigator input.name {
+ height: 30px;
+ border: 1px solid #BBB;
+ border-top: none;
+ border-bottom: none;
+ border-radius: 0;
+ margin-top: -4px;
+ padding-left: 0px 8px;
+ width: 160px;
+}
+#repo-file>.file-navigator input.name {
+ border-top: 1px solid #BBB;
+ border-bottom: 1px solid #BBB;
+ height: 26px;
+ margin-top: -1px;
+ border-radius: 3px;
+ width: 160px;
+}
+
+#repo-file>.head>.search {
+ position: absolute;
+ margin-top: 5px;
+ right: 6px;
+}
+#repo-file>.head>.search>a {
+ color: #666;
+ margin: 0 8px;
+}
+#repo-file>.head>.search input {
+ border-radius: 0;
+ border-color: #BBB;
+ height: 30px;
+ border-top: none;
+ border-bottom: none;
+ top: -5px;
+ padding: 0px 8px;
+ position: absolute;
+ width: 250px;
+ left: -260px;
+ font-size: 14px;
+}
+
+#repo-file>.file-navigator {
+ display: none;
+ padding: 2px 0 3px 0;
+}
+
+#repo-file>.revision-indexing {
+ padding: 8px 8px 9px 8px;
+ background: #fcf8e3;
+ border-bottom: 1px solid #DDD;
+ color: #8a6d3b;
+ font-size: 13px;
+}
+#repo-file>.last-commit {
+ padding: 6px 12px;
+ background: #F2F2F2;
+ max-height: 600px;
+ overflow: auto;
+}
+#repo-file>.last-commit img.loading {
+ padding: 4px 0;
+}
+#repo-file>.last-commit .pull-left {
+ margin-right: 12px;
+}
+#repo-file>.last-commit div.message {
+ display: none;
+ margin-top: 6px;
+}
+#repo-file>.last-commit .summary {
+ font-weight: bold;
+ color: #555;
+}
+#repo-file>.last-commit .commit-hash {
+ margin-right: 4px;
+}
+#repo-file>.search-result {
+ height: 200px;
+ border-top: 1px solid #DDD;
+}
+#repo-file>.search-result>.ui-resizable-handle {
+ background: #EEE url("hgrabber.gif") no-repeat scroll center top;
+ cursor: n-resize;
+ height: 4px;
+}