diff --git a/src/main/webapp/scripts/project/history-widget.js b/src/main/webapp/scripts/project/history-widget.js
index 6c0727bd9..e2ca55ca8 100644
--- a/src/main/webapp/scripts/project/history-widget.js
+++ b/src/main/webapp/scripts/project/history-widget.js
@@ -24,14 +24,67 @@ HistoryWidget.prototype.update = function(onDone) {
HistoryWidget.prototype._render = function() {
var self = this;
- this._div.empty();
- this._div.unbind();
+ var collapsedMessage =
+ (this._data.past.length == 0 ?
+ "" :
+ (this._data.past.length == 1 ? "1 change - " : (this._data.past.length + " changes - "))
+ ) + 'hover to see';
- $('
').addClass("dialog-busy-body").appendTo(frame);
$('
').attr("src", "images/large-spinner.gif").appendTo(body);
diff --git a/src/main/webapp/styles/project/history.css b/src/main/webapp/styles/project/history.css
index 31f6b5332..ad0a32ea7 100644
--- a/src/main/webapp/styles/project/history.css
+++ b/src/main/webapp/styles/project/history.css
@@ -2,8 +2,7 @@
position: absolute;
top: -1px;
right: 20px;
- width: 250px;
- background: #fff;
+ width: 300px;
z-index: 10;
}
.history-panel h3 {
@@ -16,16 +15,32 @@
text-align: center;
border: 1px solid #666;
}
-.history-panel-body {
- height: 60px;
- overflow: hidden;
+
+.history-panel-body-collapsed {
border-left: 1px solid #888;
border-right: 1px solid #888;
+ background: #eee;
+ padding: 0.5em;
+ text-align: center;
}
-.history-panel-body.history-panel-body-expanded {
- height: 300px;
+.history-panel-body {
+ display: none;
+ border-left: 1px solid #888;
+ border-right: 1px solid #888;
+ background: #fff;
+ height: 400px;
overflow: auto;
}
+.history-panel-body-controls {
+ font-size: 80%;
+ padding: 0.5em;
+ text-align: center;
+ background: #eee;
+ border-left: 1px solid #888;
+ border-right: 1px solid #888;
+ display: none;
+}
+
.history-panel-message {
text-align: center;
color: #aaa;
@@ -46,6 +61,7 @@
}
.history-future {
padding-top: 3px;
+ padding-bottom: 3px;
}
a.history-entry {
display: block;
@@ -84,10 +100,10 @@ a.history-entry:hover {
font-size: 90%;
border: 1px solid #888;
text-align: center;
- -moz-border-radius-bottomleft: 6px;
- -webkit-border-bottom-left-radius: 6px;
- -moz-border-radius-bottomright: 6px;
- -webkit-border-bottom-right-radius: 6px;
+ -moz-border-radius-bottomleft: 10px;
+ -webkit-border-bottom-left-radius: 10px;
+ -moz-border-radius-bottomright: 10px;
+ -webkit-border-bottom-right-radius: 10px;
}
.history-panel-footer a {
color: white;
diff --git a/src/main/webapp/styles/util/dialog.css b/src/main/webapp/styles/util/dialog.css
index 3056b9984..b6882599c 100644
--- a/src/main/webapp/styles/util/dialog.css
+++ b/src/main/webapp/styles/util/dialog.css
@@ -49,6 +49,12 @@
margin-left: 5px;
}
+.dialog-busy-frame {
+ width: 300px;
+ border: none;
+ -moz-border-radiust: 25px;
+ -webkit-border-radius: 25px;
+}
.dialog-busy-body {
margin: 1em;
text-align: center;