diff options
author | Joel Johnson <mrjoel@lixil.net> | 2015-07-02 16:15:14 -0600 |
---|---|---|
committer | Joel Johnson <mrjoel@lixil.net> | 2015-07-02 16:15:14 -0600 |
commit | ee0b9f4944fe6a80b7454496d781c62978c8c98a (patch) | |
tree | 735cdb4ea72c99771c2e8e089748c39f0cd45453 /src | |
parent | 124fd6e639b0bc43f3714134d6dead77895fd490 (diff) | |
download | gitblit-ee0b9f4944fe6a80b7454496d781c62978c8c98a.tar.gz gitblit-ee0b9f4944fe6a80b7454496d781c62978c8c98a.zip |
provide spacing on the projects page listing
The projects page was showing the project listing directly under the navbar
with no spacing. This adds spacing to have the elements offset.
The table is showing using the common "repositories" class, however it can't
be changed directly since several other table displays use the same class, and
have adequate top margin spacing. We create a new class for the one-off use
on the projects page.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/ProjectsPage.html | 2 | ||||
-rw-r--r-- | src/main/resources/gitblit.css | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/ProjectsPage.html b/src/main/java/com/gitblit/wicket/pages/ProjectsPage.html index 2d446ecc..fc28d178 100644 --- a/src/main/java/com/gitblit/wicket/pages/ProjectsPage.html +++ b/src/main/java/com/gitblit/wicket/pages/ProjectsPage.html @@ -8,7 +8,7 @@ <wicket:extend>
<div class="container">
- <table class="repositories">
+ <table class="repositories projectlist">
<thead>
<tr>
<th class="left">
diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css index a6cc516c..c0329059 100644 --- a/src/main/resources/gitblit.css +++ b/src/main/resources/gitblit.css @@ -1734,7 +1734,11 @@ table.comments td { line-height: 17px;
}
-table.repositories {
+table.projectlist {
+ margin-top: 10px;
+}
+
+table.repositories {
border:1px solid #ddd;
border-spacing: 0px;
width: 100%;
|