summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-03-03 16:52:10 -0500
committerJames Moger <james.moger@gitblit.com>2014-03-03 16:52:10 -0500
commita7a9a757ac15f198d8bacf991bea85e8b01a4112 (patch)
tree2cd38e25083089a0d7ac0eba47ed2bd618f3d2ee /src/main/java
parent64e4d9bfb0c7284cc154ee7c7e293502311e94d5 (diff)
downloadgitblit-a7a9a757ac15f198d8bacf991bea85e8b01a4112.tar.gz
gitblit-a7a9a757ac15f198d8bacf991bea85e8b01a4112.zip
Fix layouts on edit pages to properly use Bootstrap rows and spans
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.html14
-rw-r--r--src/main/java/com/gitblit/wicket/pages/EditTeamPage.html7
-rw-r--r--src/main/java/com/gitblit/wicket/pages/EditUserPage.html12
3 files changed, 25 insertions, 8 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.html b/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.html
index 0ea28636..781cf29e 100644
--- a/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.html
+++ b/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.html
@@ -7,7 +7,8 @@
<wicket:extend>
<body onload="document.getElementById('name').focus();">
<form style="padding-top:5px;" wicket:id="editForm">
-
+<div class="row">
+<div class="span12">
<div class="tabbable">
<!-- tab titles -->
<ul class="nav nav-tabs">
@@ -100,11 +101,16 @@
</table>
</div>
</div>
+</div>
+</div>
+</div>
- <div class="row">
- <div class="form-actions"><input class="btn btn-appmenu" type="submit" value="Save" wicket:message="value:gb.save" wicket:id="save" /> &nbsp; <input class="btn" type="submit" value="Cancel" wicket:message="value:gb.cancel" wicket:id="cancel" /></div>
- </div>
+<div class="row">
+<div class="span12">
+ <div class="form-actions"><input class="btn btn-appmenu" type="submit" value="Save" wicket:message="value:gb.save" wicket:id="save" /> &nbsp; <input class="btn" type="submit" value="Cancel" wicket:message="value:gb.cancel" wicket:id="cancel" /></div>
+</div>
</div>
+
</form>
</body>
</wicket:extend>
diff --git a/src/main/java/com/gitblit/wicket/pages/EditTeamPage.html b/src/main/java/com/gitblit/wicket/pages/EditTeamPage.html
index 7e44c87e..33d532ca 100644
--- a/src/main/java/com/gitblit/wicket/pages/EditTeamPage.html
+++ b/src/main/java/com/gitblit/wicket/pages/EditTeamPage.html
@@ -8,7 +8,8 @@
<body onload="document.getElementById('name').focus();">
<!-- Team Table -->
<form style="padding-top:5px;" wicket:id="editForm">
-
+<div class="row">
+<div class="span12">
<div class="tabbable">
<!-- tab titles -->
<ul class="nav nav-tabs">
@@ -55,10 +56,14 @@
</div>
</div>
</div>
+</div>
+</div>
<div class="row">
+<div class="span12">
<div class="form-actions"><input class="btn btn-appmenu" type="submit" value="Save" wicket:message="value:gb.save" wicket:id="save" tabindex="6" /> &nbsp; <input class="btn" type="submit" value="Cancel" wicket:message="value:gb.cancel" wicket:id="cancel" tabindex="7" /></div>
</div>
+</div>
</form>
</body>
diff --git a/src/main/java/com/gitblit/wicket/pages/EditUserPage.html b/src/main/java/com/gitblit/wicket/pages/EditUserPage.html
index 067fe568..e78e44ee 100644
--- a/src/main/java/com/gitblit/wicket/pages/EditUserPage.html
+++ b/src/main/java/com/gitblit/wicket/pages/EditUserPage.html
@@ -8,7 +8,9 @@
<body onload="document.getElementById('username').focus();">
<!-- User Table -->
<form style="padding-top:5px;" wicket:id="editForm">
-
+
+<div class="row">
+<div class="span12">
<div class="tabbable">
<!-- tab titles -->
<ul class="nav nav-tabs">
@@ -52,7 +54,7 @@
<!-- access permissions tab -->
<div class="tab-pane" id="permissions">
- <table class="plain">
+ <table class=plain>
<tbody class="settings">
<tr><th><wicket:message key="gb.teamMemberships"></wicket:message></th><td style="padding:2px;"><span wicket:id="teams"></span></td></tr>
<tr><td colspan="2"><hr></hr></td></tr>
@@ -66,10 +68,14 @@
</div>
</div>
</div>
-
+</div>
+</div>
+
<div class="row">
+<div class="span12">
<div class="form-actions"><input class="btn btn-appmenu" type="submit" value="Save" wicket:message="value:gb.save" wicket:id="save" tabindex="9" /> &nbsp; <input class="btn" type="submit" value="Cancel" wicket:message="value:gb.cancel" wicket:id="cancel" tabindex="10" /></div>
</div>
+</div>
</form>
</body>