summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/www/document.html3
-rw-r--r--share/www/style/layout.css1
2 files changed, 3 insertions, 1 deletions
diff --git a/share/www/document.html b/share/www/document.html
index f12adf68..8308d9d9 100644
--- a/share/www/document.html
+++ b/share/www/document.html
@@ -42,7 +42,8 @@ specific language governing permissions and limitations under the License.
$(function() {
$("h1 a.dbname").text(page.dbName)
.attr("href", "database.html?" + encodeURIComponent(page.db.name));
- $("h1 strong").text(page.docId);
+ $("h1 strong").html('<a href="/'+encodeURIComponent(page.db.name)
+ +'/'+encodeURIComponent(page.docId)+'>'+page.docId+'</a>');
page.updateFieldListing();
$("#tabs li.tabular a").click(function() {
diff --git a/share/www/style/layout.css b/share/www/style/layout.css
index 6e649463..a3c771e2 100644
--- a/share/www/style/layout.css
+++ b/share/www/style/layout.css
@@ -36,6 +36,7 @@ h1 :link, h1 :visited {
text-shadow: #333 2px 2px 1px;
}
h1 strong { color: #fff; font-weight: normal; padding-right: 25px; }
+h1 strong a {color:#fff !important;background:none !important;}
body.loading h1 strong {
background: url(../image/spinner.gif) right center no-repeat;
}