Skip to content

The Unified and Autonomous Development Platform

midwork

robin shine9dd329ea1d32
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/home/DashboardPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/home/DashboardPage.html
index 2d3474f645..b73ae8337f 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/home/DashboardPage.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/home/DashboardPage.html
@@ -1,39 +1,43 @@
<wicket:extend>
<div id="dashboard">
- <div class="head">Accessible Accounts</div>
- <div class="body">
- <div class="operations clearfix">
- <div class="pull-left search">
- <div class="input-group">
- <span class="input-group-addon"><i class="fa fa-search"></i></span>
- <input wicket:id="searchAccounts" class="form-control" placeholder="Search accounts"></input>
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <div class="panel-title">Accessible Accounts</div>
+ </div>
+ <div class="panel-body">
+ <div class="operations clearfix">
+ <div class="pull-left search">
+ <div class="input-group">
+ <span class="input-group-addon"><i class="fa fa-search"></i></span>
+ <input wicket:id="searchAccounts" class="form-control" placeholder="Search accounts"></input>
+ </div>
</div>
+ <ul wicket:id="accountsPageNav" class="pull-right"></ul>
</div>
- <ul wicket:id="accountsPageNav" class="pull-right"></ul>
+ <table wicket:id="accountsContainer" class="accounts table table-hover">
+ <thead>
+ <tr>
+ <th class="name">Name</th>
+ <th class="description">Full Name</th>
+ <th class="actions"></th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr wicket:id="accounts">
+ <td class="name">
+ <img wicket:id="avatar" class="avatar"></img>
+ <a wicket:id="accountLink"><span wicket:id="accountName"></span></a>
+ </td>
+ <td class="full-name">
+ <span wicket:id="fullName"></span>
+ </td>
+ <td class="actions">
+ <a wicket:id="runAs" class="fa fa-sign-in" title="Run as this account"></a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
</div>
- <table wicket:id="accountsContainer" class="accounts table table-hover">
- <thead>
- <tr>
- <th class="name">Name</th>
- <th class="description">Full Name</th>
- <th class="actions"></th>
- </tr>
- </thead>
- <tbody>
- <tr wicket:id="accounts">
- <td class="name">
- <img wicket:id="avatar" class="avatar"></img>
- <a wicket:id="accountLink"><span wicket:id="accountName"></span></a>
- </td>
- <td class="full-name">
- <span wicket:id="fullName"></span>
- </td>
- <td class="actions">
- <a wicket:id="runAs" class="fa fa-sign-in" title="Run as this account"></a>
- </td>
- </tr>
- </tbody>
- </table>
</div>
</div>
</wicket:extend>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/home/dashboard.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/home/dashboard.css
index 57c857a5f2..922fd4450d 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/home/dashboard.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/home/dashboard.css
@@ -5,13 +5,10 @@
font-size: 20px;
margin-bottom: 20px;
}
-#dashboard .operations {
- margin-bottom: 20px;
-}
-#dashboard .operations .search {
+#dashboard .search {
width: 250px;
}
-#dashboard .operations>.pull-left {
+#dashboard .head>.pull-left {
margin-right: 20px;
}
#dashboard .pagination {