Skip to content

The Unified and Autonomous Development Platform

Page refactoring in progress.

robin shine1bdf7a01de43
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexSetting.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexSetting.java
deleted file mode 100644
index cea967f44e..0000000000
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexSetting.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package com.pmease.gitplex.web;
-
-public enum GitPlexSetting {
- GRAVATAR_ENABLED,
- PUBLIC_SIGNUP_ENABLED
-}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexSession.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/WebSession.java
similarity index 89%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexSession.java
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/WebSession.java
index 3a4ae3518e..19cc8e68a6 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexSession.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/WebSession.java
@@ -4,7 +4,6 @@ import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
-import org.apache.wicket.protocol.http.WebSession;
import org.apache.wicket.request.Request;
import com.google.common.base.Optional;
@@ -12,18 +11,18 @@ import com.pmease.gitplex.core.GitPlex;
import com.pmease.gitplex.core.manager.UserManager;
import com.pmease.gitplex.core.model.User;
-public class GitPlexSession extends WebSession {
+public class WebSession extends org.apache.wicket.protocol.http.WebSession {
private static final long serialVersionUID = 1L;
private boolean displayOutline;
- public GitPlexSession(Request request) {
+ public WebSession(Request request) {
super(request);
}
- public static GitPlexSession get() {
- return (GitPlexSession) WebSession.get();
+ public static WebSession get() {
+ return (WebSession) org.apache.wicket.protocol.http.WebSession.get();
}
public static Optional<User> getCurrentUser() {
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/WicketConfig.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/WicketConfig.java
index 4a4bec4dec..807409a67a 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/WicketConfig.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/WicketConfig.java
@@ -17,6 +17,7 @@ import org.apache.wicket.request.resource.caching.FilenameWithVersionResourceCac
import org.apache.wicket.request.resource.caching.version.LastModifiedResourceVersion;
import com.pmease.commons.wicket.AbstractWicketConfig;
+import com.pmease.gitplex.web.mapper.RootMapper;
import com.pmease.gitplex.web.page.HomePage;
import com.pmease.gitplex.web.page.error.BaseErrorPage;
@@ -34,7 +35,7 @@ public class WicketConfig extends AbstractWicketConfig {
@Override
public Session newSession(Request request, Response response) {
- return new GitPlexSession(request);
+ return new WebSession(request);
}
@Override
@@ -67,8 +68,7 @@ public class WicketConfig extends AbstractWicketConfig {
getResourceSettings().setCachingStrategy(new FilenameWithVersionResourceCachingStrategy(new LastModifiedResourceVersion()));
- // mount all pages and resources
- mount(new GitPlexMounting(this));
+ mount(new RootMapper(this));
}
public Iterable<IRequestMapper> getRequestMappers() {
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/Assets.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/Assets.java
index c6e9c2ac5f..63df2fbc81 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/Assets.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/Assets.java
@@ -1,23 +1,5 @@
package com.pmease.gitplex.web.assets;
-import org.apache.wicket.request.resource.CssResourceReference;
-import org.apache.wicket.request.resource.JavaScriptResourceReference;
-
public class Assets {
- public static final CssResourceReference PONTICONS_CSS = newCssResourceReference("ponticons/css/ponticons.css");
-
- public static final JavaScriptResourceReference LIVEFILTER_JS = newJavaScriptResourceReference("js/jquery.livefilter.js");
-
- public static final JavaScriptResourceReference PAGE_JS = newJavaScriptResourceReference("js/page.js");
-
- public static final CssResourceReference PAGE_CSS = newCssResourceReference("css/page.css");
-
- private static CssResourceReference newCssResourceReference(String url) {
- return new CssResourceReference(Assets.class, url);
- }
-
- private static JavaScriptResourceReference newJavaScriptResourceReference(String url) {
- return new JavaScriptResourceReference(Assets.class, url);
- }
}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/PageResourceReference.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/PageResourceReference.java
deleted file mode 100644
index 3fad38ed18..0000000000
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/PageResourceReference.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package com.pmease.gitplex.web.assets;
-
-import org.apache.wicket.markup.head.CssHeaderItem;
-import org.apache.wicket.markup.head.HeaderItem;
-import org.apache.wicket.markup.head.JavaScriptHeaderItem;
-import org.apache.wicket.markup.head.PriorityHeaderItem;
-import org.apache.wicket.request.resource.JavaScriptResourceReference;
-
-import de.agilecoders.wicket.core.util.Dependencies;
-
-public class PageResourceReference extends JavaScriptResourceReference {
- private static final long serialVersionUID = 1L;
-
- public PageResourceReference() {
- super(PageResourceReference.class, "js/page.js");
- }
-
- @Override
- public Iterable<? extends HeaderItem> getDependencies() {
- return Dependencies.combine(
- super.getDependencies(),
- JavaScriptHeaderItem.forReference(Assets.LIVEFILTER_JS),
- new PriorityHeaderItem(CssHeaderItem.forReference(Assets.PONTICONS_CSS)),
- CssHeaderItem.forReference(Assets.PAGE_CSS));
- }
-
- private static final PageResourceReference instance = new PageResourceReference();
-
- public static PageResourceReference get() {
- return instance;
- }
-
-}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/css/page.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/css/page.css
deleted file mode 100644
index a3d04324a9..0000000000
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/css/page.css
+++ /dev/null
@@ -1,1061 +0,0 @@
-html, body { background: #f0f2f4; }
-
-a {color: #09f; cursor: pointer;}
-a.fa {text-decoration: none;}
-
-textarea {resize: vertical;}
-
-/**
- * MISC COMPONENTS
- */
-.replaced { display: block; width: 1px; height: 1px; outline: none; overflow: hidden; text-indent: -9999px; }
-
-.text-nowrap { white-space: nowrap; }
-.padder { padding: 20px; }
-
-hr.dash { border-style: dashed; }
-hr.deep { border-color: #999; }
-
-/* Inline Lists */
-.inline-list { margin: 0 auto 1.0625em auto; margin-left: -1.375em; margin-right: 0; padding: 0; list-style: none; overflow: hidden; }
-.inline-list > li { list-style: none; float: left; margin-left: 1.375em; display: block; }
-.inline-list > li > * { display: block; }
-
-/* PIPED LINKS */
-.piped { *zoom: 1; }
-.piped li { display: inline-block; }
-.piped li { border-left: 1px solid #797c80; padding: 0 0 0 0.75em; margin-left: 0.75em; }
-.piped li:first-child { border-left: 0 !important; padding-left: 0; margin-left: 0 !important; }
-.piped:before, .piped:after { display: table; line-height: 0; content: ""; }
-.piped:after { clear: both; }
-ul.piped, ol.piped { margin: 0; padding: 0; }
-.piped li em { font-style: normal; color: #999; }
-
-.piped.noborder a, .piped.noborder em { border: none; }
-.action-links { white-space: nowrap; }
-.action-links > .link-item { display: inline-block; margin-left: 12px; }
-.action-links > .link-item:first-child { margin-left: 0;}
-
-.alert-error {
- color: #a94442;
- background-color: #f2dede;
- border-color: #ebccd1;
-}
-
-.alert-error hr {
- border-top-color: #e4b9c0;
-}
-
-.alert-error .alert-link {
- color: #843534;
-}
-
-div.terminal {background: black; color: white; border-radius: 4px; padding: 8px;
- font-family: monospace;}
-
-/* LINKS */
-.checkable-link { color: #333; cursor: pointer; }
-.checkable-link:hover { text-decoration: none; }
-.checkable-link .fa-checkbox:before { content: "\f070"; }
-.checkable-link.checked .fa-checkbox:before { content: "\f071"; }
-.checkable-link.disabled,
-.checkable-link > em { color: #999; font-style: normal; cursor: not-allowed;}
-
-.light-link { color: #aaa; }
-.light-link:hover { color: #08F; }
-
-/** LIST GROUP */
-.list-navs > .list-group-item { border-width: 1px 0; position: relative; }
-.list-navs > .list-group-item:first-child,
-.list-navs > .list-group-item:last-child { border-radius: 0; }
-
-.list-group.list-group-hover .list-group-item:hover { background: #ffe; }
-.list-group-item .item-actions { position: absolute; right: 30px; top: 10px; }
-.list-group-item .item-actions a { color: #999; }
-.list-group-item .item-actions a:hover { color: #333; text-decoration: none; }
-
-.list-view .list-group-item { border-left: none; border-right: none; position: relative; }
-.list-view .list-group-item:first-child,
-.list-view .list-group-item:last-child { border-radius: 0; }
-
-
-.inline { display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline;}
-.replaced { display: block; width: 1px; height: 1px; outline: none; overflow: hidden; text-indent: -9999px; }
-
-/* BUTTONS */
-.btn-primary { background: #1aadf8; border-color: #1aadf8; }
-.btn-warning { background: #ff9500; border-color: #ff9500; }
-.btn-danger { background: #ff2a68; border-color: #ff2a68; }
-.btn-success { background: #64da38; border-color: #64da38; }
-
-/* TABLE */
-.table { width: 100%; }
-.norecords-tr .norecords-td { background: #F9F7ED; font-size: 1.5em; line-height: 3em; font-weight: bold; text-align: center; }
-.table th a { color: #333; text-decoration: underline; }
-.table .operations-td { white-space: nowrap; }
-.operations-td a, .operations-td a.iconlink { color: #999; }
-.operations-td a:hover { color: #333; text-decoration: none; }
-
-.search-nav-td { font-size: 11px; }
-.search-nav-td form { position: relative; }
-.search-nav-td input.form-control, .search-nav-td select.form-control { padding: 2px 4px; height: 24px; }
-.search-nav-td .btn { padding: 2px 8px; height: 24px; }
-
-.form-inline.navigation-form select.form-control { width: 60px; }
-.form-inline.navigation-form input.form-control { width: 40px; }
-.form-inline.navigation-form .btn-group { margin-left: 6px; }
-.search-form button { position: absolute; right: 2px; top: 1px; border: none; height: 22px; background: transparent; color: #888; }
-
-.form-inline .field-controls { display: block; }
-.form-inline select.form-control { width: 100%; }
-
-/* FORM COMPONENT */
-.select2-highlighted .user-choice-row p.text-muted { color: #ccc; }
-
-.required { color: #a00; margin-left: 3px; line-height: 1;}
-.field-help { color: #999; font-size: 11px; margin: 5px 0; }
-.form-feedback { padding: 6px 1em; color: white; margin-bottom: 18px; border-style: solid; border-width: 1px 1px 1px 2px; }
-.form-feedback ul.feedbackPanel, .field-feedback > ul.feedbackPanel { list-style: none; margin: 3px 0; padding: 0; }
-.form-feedback.has-error { color: #b94a48; background-color: #f2dede; border-color: #eed3d7 #eed3d7 #eed3d7 #b94a48; }
-.form-feedback.has-warning { color: #c09853; background-color: #fcf8e3; border-color: #fbeed5 #fbeed5 #fbeed5 #c09853 ;}
-.form-feedback.has-success { color: #468847; background-color: #dff0d8; border-color: #d6e9c6 #d6e9c6 #d6e9c6 #468847; }
-.form-feedback.has-info { color: #3a87ad; background-color: #d9edf7; border-color: #bce8f1 #bce8f1 #bce8f1 #3a87ad;}
-
-.submits {margin-top: 18px;}
-.submits:before, .submits:after { display: table; content: " "; }
-.submits:after { clear: both; }
-.submits .btn + .btn { margin-bottom: 0; margin-left: 5px; }
-
-form+div>ul>li>.alert {margin-top: 18px;}
-
-.form-sm { width: 400px; }
-.form-md { width: 600px; }
-.form-lg { width: 800px; }
-
-.radio-group .btn { color: #999; }
-.radio-group .btn.active { background: #8e8e93; color: white; }
-.radio-group .btn > .fa-circle:before { content: "\f10c"; }
-.radio-group .btn.active > .fa-circle:before { content: "\f111"; }
-
-.checkbox-flat { padding-left: 0; margin-top: 6px; margin-bottom: 6px; }
-.checkbox-flat input[type="checkbox"] { display: none; }
-.checkbox-flat .fa-checkbox:before { content: "\f070"; }
-.checkbox-flat.checked .fa-checkbox:before { content: "\f071"; }
-.checkbox-flat.disabled { color: #888; }
-
-.radio-flat { padding-left: 0; cursor: pointer; }
-.radio-flat input[type="radio"] { display: none; }
-.radio-flat .fa-radio:before { content: "\f072"; }
-.radio-flat:hover .fa-radio:before,
-.radio-flat.checked .fa-radio:before { content: "\f073"; }
-.radio-flat:hover .fa-radio { color: #888; }
-.radio-flat.checked:hover .fa-radio { color: #333; }
-
-.radio-flat.disabled { color: #888; cursor: default; }
-
-.form-horizontal .form-group { }
-.form-horizontal .control-label,
-.form-horizontal .field-controls { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; float: left; }
-.form-horizontal .control-label { width: 25%; }
-.form-horizontal .field-controls { width: 74.884%; }
-.form-horizontal .field-controls .message { margin: 0; padding-top: 7px; }
-
-/**
- * AVATAR
- */
-img.avatar {
- display: inline-block;
- vertical-align: middle;
- border-radius: 3px;
- height: 20px; width: 20px;
- line-height: 1.428571429;
- background-color: #fff;
- box-shadow: 0 1px 0 #fff;
- -webkit-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
-}
-
-img.avatar-big { width: 32px; height: 32px; }
-img.avatar-xlarge { width: 128px; height: 128px; }
-
-.select2-results .avatar.img-thumbnail {padding: 0; border: none;}
-
-/* MISC */
-.img-link:hover { text-decoration: none; }
-
-pre, code { font-family: Consolas, 'Liberation Mono', Courier, monospace; }
-.alert pre, .alert code { background: white; margin: 5px 0; }
-
-.form-actions { padding: 10px 0; }
-
-/* MENU */
-.menu-ul { list-style: none; margin: 0; padding: 0; }
-.menu-item { display: block; padding: 5px 10px; color: #666; }
-.menu-item:hover { color: #333; background: #f2f2f2; text-decoration: none; }
-.menu-item.unchecked i.fa-check { visibility: hidden; }
-.menu-item.unchecked:hover i.fa-check { visibility: visible; color: #666; }
-
-ul.f-dropdown { padding: 0; }
-.popup-content { width: 300px; padding: 10px; }
-
-.v-middle { vertical-align: middle; }
-.table thead > tr > th.v-middle,
-.table tbody > tr > th.v-middle,
-.table tfoot > tr > th.v-middle,
-.table thead > tr > td.v-middle,
-.table tbody > tr > td.v-middle,
-.table tfoot > tr > td.v-middle {
- vertical-align: middle;
-}
-.table td.operations { width: 1%; white-space: nowrap; }
-.table-auto { width: auto; border-collapse: collapse !important; }
-.table-auto th, .table-auto td { padding: 3px 6px; }
-
-/**
- * LAYOUT
- */
-header, #main, footer {position: relative;}
-header:before, header:after, #main:before,
-#main:after, footer:before, footer:after {
- display: table;
- content: " ";
-}
-header:after, #main:after, footer:after { clear: both; }
-
-.navbar-brand .fa { font-size: 32px; color: #333; }
-.navbar-brand:hover .fa { color: #08f;}
-.git-error.alert {margin-bottom: 0;}
-.git-error>* {margin-right: 8px;}
-
-/**
- * GLOBAL HEADER
- */
-header .navbar { border-width: 0 0 1px 0; border-color: #ddd; border-radius: 0; margin: 0; background: #f0f2f4; }
-header .navbar-brand { padding: 10px 10px 10px 20px; }
-header .search-form { margin-top: 12px; margin-bottom: 0;}
-.search-form input.text-field {
- height: 30px;
- width: 200px;
- line-height: normal;
- text-indent: 0;
- position: relative;
- padding: 3px 30px 3px 8px;
- font-size: 12px;
- -webkit-transition: width 200ms, background 200ms ease; transition: width 200ms, background 200ms ease;
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAEJWlDQ1BJQ0MgUHJvZmlsZQAAOBGFVd9v21QUPolvUqQWPyBYR4eKxa9VU1u5GxqtxgZJk6XpShal6dgqJJQ6N4mpmxjb6baqT3uBNwb8AUDZAw9IPCGNX2J72fYA2qSpoIpqEtIeOvFDiEl7QVX4rp3YDoqYo15/Pec753zn3GubqO+zkmkaUYVope5YhUxSOX1mUenboig9Sf00RP0lzTYT+fwc4RJccQ9dEaIHPxFWottjPfwhak/YX+a2RhR5BN5G2dZWgM8RxQzNtByi+F3YJ886JnDfU8CPWxAIrApc9XBK4CUPn3Y5xcI0OEKrrNVKZeB14NGlkL0awp4GMJAnw+vc0jVFzCJvNSq6wV2HtzzEHWL+H1wxmujZvYaxDtjL8ydwHxG916yZQht/rJXS88DPwX7DdJLC/gLw783lhQTwAaLoYxXr+ILHj768Viu+DrwH9rLuZItt+1p9KXcSGLHRjeXGCZFHcG5o9jRmSc8A36nxrNhj6JGozFNp4FHg4Vpzpp1fmrVX54XdzbNWm84BI49kvVWazQMPAb9rNQqiFjRLG9zIiFrIL10znXxbg7RTN3KiFvplMrfdHpFT2nFqxRkvlh12rGI7li1W9OPZNn/dNNyzCG3sktUsCG3Iz26VrHQGGHnY37y+IOYGHNtbLqXEbMeBj9GpSIk4NWgJq0Z12iWFCpShJO4mWfBUSCcDFg4vh0WPPErLsPXm5V2OFxMwqm70johGld4cr8K9NqfBBpnKDuHvCJtjR9kkmyKFvcJeZcdYCtYpdsRXkA/pVKhK96DUy/M2NVFZ6DhFyYtDzRE/RrlgvalrN9/7C2qCLhuBH3n8jqG5EZ4A2ZhAp7ux8Jyur3+71/com+zyG7cHrq/TyYfNN3Y3thPbxLoV2w7iY7/EtvHbogR2wHAVrUCV7u6E7fPGunq4CqZDJay/gteA1o7Srh2t1C8OBR4xCf5O7kGOLowGVvVn9Q91U/1EvaT+1lUjyNg1JelD6UvpO+kr6WvpB1KkK9JV6XvpmvSF9I2fs/fee1n8vXf7FTbRrdiFTr3wrDkZclLeJz8rp+Sn5eflOZ+lyIPyhDwj74dnn79vRuDv6kWnM5hVZ6q9a4knQKcFKNHpLLgWpiomXKfzyBp+TtpK2TCbYNn/nNpJcZY7KuLpeCqeICV+ID4Vn4jPCtx58uL74ZvCmvbVe0+Oz+jqgIdYmIqfZ8w9deKsiuhV6Dagmzv8HL4dRNMN87ylV2uOclBVX1IS+JRxJVvXxkeVkmEorstWLG5za5WXx0l8B0Uc0f2C+32L7LkZ2JzXiI7+iXfWrcC22CT63CYafDGwjeCd+MRHRJcPa01r1ctHkciPRHbl0EH3/8hAEu+mO63Wfbyv+j4g2n2/1fpno9Xa/RT5t4muGP8CYGVxecXFpEEAAAEiSURBVCgVhZG9SsRAFIVnkhBwSZ7AYGUXlDSCrYVYaCFKirBZCfgOamvrGySdkGwKEQRXO7XQxiKFINjrvsB2QoT4jThhENELh7nnnHvm5kd2XSeKohh4nncghBiBAEzRT9u2Pcmy7B3elx2G4ZzjODcoQynlA5jQu5z7tm2vNU0zjqLoQyccbjmErDKwkyTJhTbKsty1LOvMdV3lH2vdohkxfGkOKzNN03P0a9o9xXWpQMDzvmjBPNGf4AumpgJTEJmi0S/TvxlcWKwtEdbrut42DfUO8E2g/L5knucD3/dvWb9CeML5jLsEtgCSfOQrbsRxPFMpyYD+D0fwIZgHr2D8zRfN0FcA49eqqipg+A6zD/0ZULf8CN3/GzBCV2ybfQLGkGWtzcDkHAAAAABJRU5ErkJggg==') white no-repeat 180px 8px;
-}
-.search-form input.text-field:focus { width: 300px; background: white; }
-header .tooltip { white-space: nowrap; }
-header .navbar-right { margin-right: 20px; }
-header .user-links { margin: 0; }
-.user-links > li { margin: 0; height: 52px; line-height: 52px; }
-.user-links > li.separator { border-left: 1px solid #d5d5d5; border-right: 1px solid #fefefe; margin: 0 6px;}
-.user-links a { padding: 0 10px; }
-.user-links a:hover { color: #333; text-decoration: none; }
-.user-links li .caret { border-top-color: #09f; }
-.user-links li a:hover .caret { border-top-color: #333; }
-.user-links > li.avatar-user { white-space: nowrap; }
-.user-links > li.avatar-user .avatar { margin-right: 3px; }
-
-/**
- * GLOBAL FOOTER
- */
-footer { padding: 20px; border-top: 1px solid #ddd; font-size: 11.9px; }
-
-/**
- * OVERRIDES
- */
-
-/* SELECT2 */
-.select2-container-multi .select2-choices .select2-search-choice { background: #e5e5e5; }
-.select2-container-multi .select2-choices { border-color: #ccc; }
-
-/* MAIN */
-#main { background: white; }
-
-#main>table {width: 100%;}
-#main>table>tbody>tr>td {vertical-align: top;}
-#main>table>tbody>tr>td.sidebar {width: 200px; border-right: 1px solid #DDD;}
-#main>table>tbody>tr>td.sidebar label.group {color: #999; font-size: 12px;
- text-transform: uppercase; display: block; margin: 12px 12px 4px 12px;}
-#main>table>tbody>tr>td.sidebar ul {margin:0 0 12px 0; padding:0; list-style: none;}
-#main>table>tbody>tr>td.sidebar li.active {border-color: #ccc; border-width: 1px 0;
- border-style: solid;}
-#main>table>tbody>tr>td.sidebar li a { padding: 8px 12px 8px 30px; display: block; white-space: nowrap;}
-#main>table>tbody>tr>td.sidebar li a:hover { color: #333; text-decoration: none; background: #f2f2f2; }
-#main>table>tbody>tr>td.sidebar li.active a,
-#main>table>tbody>tr>td.sidebar li.active a:hover { color: #222; background: #e5e5e5; }
-#main>table>tbody>tr>td.sidebar li .fa {color: #999; width: 20px;}
-#main>table>tbody>tr>td.sidebar li.active .fa {color: #333;}
-#main>table>tbody>tr>td.sidebar .head, #main>table>tbody>tr>td.content>section>.head {
- padding: 15px 20px; white-space: nowrap; }
-#main>table>tbody>tr>td.sidebar .head { border-bottom: 1px solid #ddd; }
-#main>table>tbody>tr>td.sidebar .head > a { color: #666; font-weight:bold; line-height: 24px; }
-#main>table>tbody>tr>td.sidebar .head > a:hover { text-decoration: none; color: #09F; }
-
-/* SECTION */
-section:first-child>.head { border-top: none; }
-section>.head {margin: 0; font-size: 18px; line-height: 24px; color: #6f6f6f; font-weight: 300;
- text-transform: uppercase; border-bottom: 1px solid #DDD;}
-section>.body { padding: 20px;}
-section>.body>.actions {margin-bottom: 20px;}
-
-/** SERVER INIT PAGE */
-.server-init {
- text-align: center;
- width: 50%;
- margin: 0 auto;
-}
-
-.server-init .message {
- margin: 40px;
-}
-
-/* LOGIN PAGE */
-.small-section, #register-form, #login-form { padding: 50px 0; width: 500px; margin: 0 auto; }
-.small-section h1, #login-form h1, #register-form h1 { font-size: 32px; margin: 0 0 30px; font-weight: 300; }
-#login-form .input-group-addon { font-size: 18px; color: #666; }
-#login-form .user-group .input-group-addon { border-bottom-left-radius: 0; }
-#login-form .user-group input.form-control { border-bottom-right-radius: 0; }
-#login-form .password-group .input-group-addon { border-top-left-radius: 0; }
-#login-form .password-group input.form-control { border-top-right-radius: 0; }
-#login-form .row { margin-top: 18px; }
-#login-form .btn { width: 100%;}
-
-/* ACCOUNT SETTINGS PAGE */
-.owners-list > li > a { color: #666; }
-.avatar-form .fileupload .thumbnail { width: 200px; height: 200px; }
-
-/* TEAM EDIT PAGE */
-.permission-link { color: #666; }
-a.permission-link:hover { color: #333; text-decoration: none; }
-
-.user-choice-row .img-thumbnail { float: left; }
-.user-choice-row p { margin-left: 44px; margin-bottom: 0; }
-.user-choice-row p.text-muted { font-size: 0.85em; }
-.select2-container.user-choice .select2-choice { height: 34px; line-height: 34px;}
-
-.btn-group-permissions > a { width: 80px; }
-
-.link-item a.confirm-link:hover { color: #990000; }
-
-.list-group-item-actions a { color: #999; }
-.list-group-item:hover .list-group-item-actions a { color: #09F; }
-
-.list-group-item .remove-link { color: #999; }
-.list-group-item:hover .list-group-item-actions .remove-link { color: #990000;}
-
-.teams-table .label-builtin { border: 1px solid #ddd; color: #666; background: #f2f2f2; }
-.teams-table .remove-link { color: #ccc; }
-.teams-table .remove-link:hover { text-decoration: none; color: #990000; }
-.teams-table > tbody > tr:hover a.remove-link,
-.teams-table > tbody > tr:hover a.remove-link i { color: #990000; }
-
-.teams-table .name { margin: 0; font-weight: bold; }
-
-.permission-col em { color: #999; }
-.permission-col a { color: #333; }
-.permission-col a:hover { text-decoration: none; color: #09F; }
-
-.teams-table .operations .piped { white-space: nowrap; visibility: hidden; }
-.teams-table tr:hover .piped { visibility: visible; }
-
-/* SEARCH BOX */
-.search-box input {position: relative; padding-left: 26px; padding-right: 8px;
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAEJWlDQ1BJQ0MgUHJvZmlsZQAAOBGFVd9v21QUPolvUqQWPyBYR4eKxa9VU1u5GxqtxgZJk6XpShal6dgqJJQ6N4mpmxjb6baqT3uBNwb8AUDZAw9IPCGNX2J72fYA2qSpoIpqEtIeOvFDiEl7QVX4rp3YDoqYo15/Pec753zn3GubqO+zkmkaUYVope5YhUxSOX1mUenboig9Sf00RP0lzTYT+fwc4RJccQ9dEaIHPxFWottjPfwhak/YX+a2RhR5BN5G2dZWgM8RxQzNtByi+F3YJ886JnDfU8CPWxAIrApc9XBK4CUPn3Y5xcI0OEKrrNVKZeB14NGlkL0awp4GMJAnw+vc0jVFzCJvNSq6wV2HtzzEHWL+H1wxmujZvYaxDtjL8ydwHxG916yZQht/rJXS88DPwX7DdJLC/gLw783lhQTwAaLoYxXr+ILHj768Viu+DrwH9rLuZItt+1p9KXcSGLHRjeXGCZFHcG5o9jRmSc8A36nxrNhj6JGozFNp4FHg4Vpzpp1fmrVX54XdzbNWm84BI49kvVWazQMPAb9rNQqiFjRLG9zIiFrIL10znXxbg7RTN3KiFvplMrfdHpFT2nFqxRkvlh12rGI7li1W9OPZNn/dNNyzCG3sktUsCG3Iz26VrHQGGHnY37y+IOYGHNtbLqXEbMeBj9GpSIk4NWgJq0Z12iWFCpShJO4mWfBUSCcDFg4vh0WPPErLsPXm5V2OFxMwqm70johGld4cr8K9NqfBBpnKDuHvCJtjR9kkmyKFvcJeZcdYCtYpdsRXkA/pVKhK96DUy/M2NVFZ6DhFyYtDzRE/RrlgvalrN9/7C2qCLhuBH3n8jqG5EZ4A2ZhAp7ux8Jyur3+71/com+zyG7cHrq/TyYfNN3Y3thPbxLoV2w7iY7/EtvHbogR2wHAVrUCV7u6E7fPGunq4CqZDJay/gteA1o7Srh2t1C8OBR4xCf5O7kGOLowGVvVn9Q91U/1EvaT+1lUjyNg1JelD6UvpO+kr6WvpB1KkK9JV6XvpmvSF9I2fs/fee1n8vXf7FTbRrdiFTr3wrDkZclLeJz8rp+Sn5eflOZ+lyIPyhDwj74dnn79vRuDv6kWnM5hVZ6q9a4knQKcFKNHpLLgWpiomXKfzyBp+TtpK2TCbYNn/nNpJcZY7KuLpeCqeICV+ID4Vn4jPCtx58uL74ZvCmvbVe0+Oz+jqgIdYmIqfZ8w9deKsiuhV6Dagmzv8HL4dRNMN87ylV2uOclBVX1IS+JRxJVvXxkeVkmEorstWLG5za5WXx0l8B0Uc0f2C+32L7LkZ2JzXiI7+iXfWrcC22CT63CYafDGwjeCd+MRHRJcPa01r1ctHkciPRHbl0EH3/8hAEu+mO63Wfbyv+j4g2n2/1fpno9Xa/RT5t4muGP8CYGVxecXFpEEAAAEiSURBVCgVhZG9SsRAFIVnkhBwSZ7AYGUXlDSCrYVYaCFKirBZCfgOamvrGySdkGwKEQRXO7XQxiKFINjrvsB2QoT4jThhENELh7nnnHvm5kd2XSeKohh4nncghBiBAEzRT9u2Pcmy7B3elx2G4ZzjODcoQynlA5jQu5z7tm2vNU0zjqLoQyccbjmErDKwkyTJhTbKsty1LOvMdV3lH2vdohkxfGkOKzNN03P0a9o9xXWpQMDzvmjBPNGf4AumpgJTEJmi0S/TvxlcWKwtEdbrut42DfUO8E2g/L5knucD3/dvWb9CeML5jLsEtgCSfOQrbsRxPFMpyYD+D0fwIZgHr2D8zRfN0FcA49eqqipg+A6zD/0ZULf8CN3/GzBCV2ybfQLGkGWtzcDkHAAAAABJRU5ErkJggg==') white no-repeat 8px 8px;}
-.search-box input:focus {padding-left: 8px; background: white; }
-
-/* ACCOUNT HOME */
-.vcard-column { padding: 20px; }
-.vcard-column .avatar { width: 160px; height: 160px; margin-bottom: 18px; }
-.vcard-column .avatar > img { border-radius: 8px; }
-.vcard-name { margin: 0; }
-.vcard-name b, .vcard-name em { white-space: nowrap; overflow: hidden; }
-.vcard-name b { font-size: 26px; display: block; }
-.vcard-name em { font-size: 24px; color: #888; font-style: normal; font-weight: 300; }
-.vcard-name a.img-link { font-size: 18px; color: #999; }
-.vcard-name a.img-link:hover { color: #09f; }
-
-.vcard-stats { padding: 20px 0; border-top: 1px solid #ddd; overflow: hidden; }
-.vcard-stats a { display: inline-block; color: #999; font-size: 12px; line-height: 1.123; width: 64px; overflow: hidden; text-align: center; }
-.vcard-stats a > b { display: block; color: #333; font-size: 28px; }
-.vcard-stats a:hover { text-decoration: none; color: #09f; }
-.vcard-stats a:hover > b { color: #09f; }
-
-.account-actions { padding: 10px 20px; font-size: 20px; margin-bottom: 18px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
-.account-actions a { color: #999; }
-.account-actions a:hover { color: #333; text-decoration: none; }
-
-.nav-piped > li { float: left; }
-.nav-piped.nav-justified > li { float: none; }
-
-.page-nav { border-bottom: 1px solid #ddd; padding: 10px 20px 0; }
-.page-nav ul { margin: 0; padding: 0; list-style: none; }
-
-.page-nav .nav-piped > li > a { color: #999; padding: 12px 15px;}
-.page-nav .nav-piped > li > a:hover { background: transparent; color: #09f; }
-.page-nav .nav-piped > li.active > a { color: #333; font-weight: bold; }
-.page-nav .nav-piped > li.active > a:after{
- position: absolute;
- bottom: -1px;
- right: 50%;
- margin-right: -6px;
- display: inline-block;
- width: 0;
- height: 0;
- border-bottom: 6px solid #333;
- border-right: 6px solid transparent;
- border-top: 0 dotted;
- border-left: 6px solid transparent;
- content: "";
-}
-
-ul.btn-list { list-style: none; margin: 0; }
-.btn-list > li { float: left; list-style: none; padding: 0; margin: 0 6px;}
-.page-nav .btn-list > li { padding: 7px 0; }
-.page-nav .btn-list .btn { font-weight: bold; }
-
-table.user-info {width: auto !important; font-size: 13px; color: #666;}
-table.user-info .avatar {width: 36px; height: 36px;}
-table.user-info>tbody>tr>td:first-child {padding-right: 4px;}
-
-/* ACCOUNT PAGES */
-.account.sidebar>.head img.avatar {width: 160px; height: 160px;}
-.account.sidebar>.head>.name {font-size: 18px; margin-top: 16px; color: #666;}
-.account.sidebar>.head>.name a {color: #444;}
-
-.repositories>.body>.actions>.pull-left {margin-right: 20px;}
-.repositories>.body>ul>li { position: relative; padding: 12px 0 12px 48px; border-top: 1px dashed #BBB;}
-.repositories>.body>ul>li i { position: absolute; left: 0; top: 12px; font-size: 48px; width: 48px; color: #ddd; }
-.repositories>.body .repo-link { margin: 0 0 9px; font-size: 20px;}
-.repositories>.body .age { color: #999; }
-
-.members-summary, .repos-summary { border-bottom: 1px solid #ddd; margin: 0; padding-bottom: 10px; }
-.members-summary > b, .repos-summary > b { color: #333; }
-
-.list-group-heading h3 { margin: 0; }
-.list-group-heading { padding-bottom: 12px; border-bottom: 1px solid #ddd; }
-
-.member-item { display: inline-block; width: 330px; padding: 10px 0; margin: 0 20px 0 0; border: none; border-bottom: 1px solid #eee; position: relative; }
-.member-item .member-content { vertical-align: middle; overflow: hidden; white-space: nowrap; margin: 0 32px 0 0; position: relative;}
-.member-item .member-content .avatar { width: 48px; height: 48px; box-shadow: none; float: left; }
-
-.member-item .list-group-item-heading { margin: 6px 0 6px 60px; overflow:hidden; text-overflow: ellipse; }
-.member-content .list-group-item-heading em { display: block; font-style: normal; color: #999; font-weight: normal; }
-
-.list-members .list-item-teams { margin: 0 0 0 60px; overflow:hidden; white-space: nowrap; position: relative;}
-.list-item-teams .btn:hover { background: #900; color: white; border-color: #900; }
-
-.list-repos > li.list-group-item.repo {width: 380px; float: left; padding: 0; list-style: none; margin: 0 20px 0 0; position: relative; border-width: 0; border-bottom: 1px solid #ddd; }
-.list-repos > li.list-group-item.repo { min-height: 48px; padding: 15px 0 ; }
-
-
-.list-group-item-actions { position: absolute; z-index: 10; right: 10px; top: 50%; margin-top: -10px; white-space: nowrap; }
-.list-group-item-actions > .img-link { color: #eee; font-size: 18px; }
-.list-group-item-actions > .img-link:hover { color: #990000; }
-
-.list-group-item.repo:hover > .list-group-item-actions > .img-link { color: #990000; }
-.list-members .list-group-item-actions { top: 20px; margin-top: 0;}
-
-/* ADMINISTRATION PAGES */
-.administration.sidebar>.head {font-size: 17px;}
-
-/* REPOSITORY PAGE */
-.page-nav.repo-head {padding-bottom: 10px; }
-
-a > .ind { font-weight: 300; color: #888; float: right; }
-
-h1.repo-info { margin: 0; padding-left:60px; font-size: 20px; position: relative; font-weight: normal; min-height: 48px;}
-.repo-info > .repo-avatar { position: absolute; left: 0; top: 0; color: #ddd; width: 48px; height: 48px; padding: 2px; display: block; text-align: center; }
-.repo-info > .repo-avatar > .fa { font-size: 48px; }
-.repo-info > .name { display: block; padding-top: 12px; margin-bottom: 6px;}
-.repo-info > .name .label { font-size: 11px; margin-left: 6px; text-transform: uppercase; }
-
-.repo-info .fork-info { display: block; color: #999; font-size: 12px; line-height: 1; font-weight: normal; }
-
-ul.repo-actions { margin: 8px 4px 8px 0; padding: 0; list-style: none; }
-.repo-actions > li { float: left; list-style: none; margin: 0 5px; }
-.nav-head { font-size: 12px; color: #999; padding: 0 20px; margin: 0 0 8px 0; text-transform: uppercase; }
-
-.description-editor input.form-control { width: 300px; }
-
-.file-navigator { margin-bottom: 18px; }
-.breadcrumb-paths { font-size: 16px; background: transparent; margin: 0; }
-.breadcrumb-paths em { font-style: normal; font-weight: bold; color: #333; }
-.breadcrumb-paths > li+li:before {
- color: #999; font-weight: bold;
-}
-
-/*
- * SOURCE TREE PAGE
- */
-.panel-sourcetree .panel-body { padding: 0; }
-
-.source-tree { border: 1px solid #ddd; border-radius: 4px; }
-
-.commitish-list .menu-ul,
-.committer-list.menu-ul { max-height: 400px; padding: 10px 0; overflow: auto; }
-
-table.table-files { margin: 0; }
-table.table-files td.file-icon { width: 18px; padding-right: 2px; padding-left: 15px; color: #888; }
-
-.commit-meta { color: #999; font-size: 12px; padding: 5px 0; }
-.commit-meta .name, .commit-meta .name a { color: #333; font-weight: normal; }
-.last-commit .commit-meta .committer-info { padding-left: 24px; }
-.commit-meta .committer-info .fa { font-size: 12px; }
-
-.panel-sourcetree .last-commit { padding: 0 15px; }
-.panel-sourcetree .last-commit .commitish { padding: 5px 0; font-size: 12px; }
-.panel-sourcetree .last-commit .commitish a { color: #999; }
-
-.panel-sourcetree .panel-heading { position: relative; padding-right: 90px; }
-.panel-sourcetree .panel-heading .history-link { position: absolute; right: 15px; top: 10px; z-index: 10; }
-
-/*
- * SOURCE BLOB PAGE
- */
-.source-blob .last-commit { background: #f2f2f2; border-radius: 4px; border: 1px solid #ddd; margin-bottom: 18px; }
-.source-blob .commit-message { border: none; margin: 0; padding: 8px 15px; background: transparent; }
-.source-blob .persons { padding: 8px 15px;}
-.source-blob .participants { padding: 8px 15px; background: white; border-radius: 0 0 4px 4px; border-top: 1px solid #ddd; }
-.participants .avatar { margin-left: 4px; }
-.blob { border: 1px solid #ccc; border-radius: 4px; }
-.blob-head {padding: 8px 15px; border-radius: 4px 4px 0 0; background: #f4f7f9; border-bottom: 1px solid #ddd; }
-.blob-head .blob-meta { line-height: 30px; }
-.blob-meta > span + span { border-left: 1px solid #ddd; padding-left: 10px; margin-left: 5px; box-shadow: inset 1px 0 0 #fff; }
-.blob-meta > span > .fa { padding: 3px; background: white; border: 1px solid #ccc; border-right-color: #e5e5e5; border-bottom-color: #e5e5e5; border-radius: 3px;}
-
-.blob-image, .blob-general { background: #eee; text-align: center; padding: 30px; }
-.blob-image img { border: 1px solid #999; background: url(../img/transparent.gif) repeat left top; }
-
-table.table-blob { width: 100%; }
-.blob-body { width: 100%; overflow: auto; overflow-x: auto; overflow-y: hidden; border-top: 1px solid #bbb; }
-.table-blob td { vertical-align: top; line-height: 18px; font-size: 12px; font-family: Consolas, 'Liberation Mono', Courier, monospace; }
-.table-blob td.blob-lineno { width: 1%; border-right: 1px solid #ddd; padding: 9px 0;}
-.blob-lineno span,
-.blob-lineno a { display: block; color: #999; text-align: right; line-height: 18px; padding: 0 5px 0 15px; cursor: pointer; }
-
-.table-blob td.blob-code { padding: 0; }
-
-.code-highlight { padding: 9px 0; line-height: 18px; position: relative; }
-.code-highlight pre,
-.code-highlight code {
- background: white; border-radius: 0; padding: 0; margin: 0; border: none;
- white-space: pre; word-break: normal; word-wrap: normal;
- font-size: 12px; line-height: 18px;
-}
-
-.code-highlight pre {
- overflow: auto; overflow-x: auto; overflow-y: hidden;
-}
-
-.blob-meta > span > .fa { padding: 3px; background: white; border: 1px solid #ccc; border-right-color: #e5e5e5; border-bottom-color: #e5e5e5; border-radius: 3px;}
-
-.readme { margin: 18px 0; border-radius: 4px; }
-.readme > .head { padding: 8px 4px; border-bottom: 1px solid #ddd; font-size: 16px; font-weight: bold; }
-.readme > .body { padding: 15px 4px; }
-.readme .plain pre { background: white; border-width: 0; }
-
-.wiki > *:first-child { margin-top: 0; }
-.wiki > *:last-child { margin-bottom: 0; }
-.wiki pre { }
-.wiki pre code .ace-xcode { background: #f5f5f5; }
-
-.code-highlight .ace_line { padding-left: 12px; }
-.code-highlight .ace_line.selected { background: #ffffaa; }
-
-/*
- * COMMITS PAGE
- */
-.commits-view .title-message a { font-weight: bold; font-size: 14px; }
-
-.panel-commit .panel-heading h3 { margin: 0; font-size:16px; }
-.panel-commit .panel-body { padding: 0; }
-.panel-commit .table-commits { margin: 0; }
-.table-commits .td-name { width: 120px; }
-.table-commits .td-name .name { width: 120px; overflow: hidden; white-space: nowrap; }
-.table-commits .td-commitish { text-align: right; white-space: nowrap; }
-.table-commits .td-commitish .btn-sha { color: #999; }
-.table-commits .td-commitish .btn-sha .comments-stat { display: inline-block; margin-right: 5px; padding-right: 5px; border-right: 1px solid #ddd; }
-.table-commits .td-message a { color: #333; }
-.panel-commit .panel-body .table-commits > tbody > tr:first-child > td { border-top: none; }
-.panel-commit .panel-body .table-commits > tbody > tr:last-child > td:first-child { border-radius: 0 0 0 3px; }
-.panel-commit .panel-body .table-commits > tbody > tr:last-child > td:last-child { border-radius: 0 0 3px 0; }
-
-.table-commits pre.detailed-message { background: transparent; border-width: 0 0 0 1px; display: none; }
-
-.table-commits > tbody > tr:nth-child(odd) > td,
-.table-commits > tbody > tr:nth-child(odd) > th {
- background-color: #fff;
-}
-.table-commits > tbody > tr:nth-child(even) > td,
-.table-commits > tbody > tr:nth-child(even) > th {
- background-color: #f9f9f9;
-}
-.table-commits > tbody > tr:hover > td { background-color: #fbfbe0; }
-
-.table-commits .td-avatar { width: 60px; }
-.table-commits .td-avatar .avatar { background: transparent; box-shadow: none; width: 48px; height: 48px; }
-
-/*
- * COMMIT PAGE
- */
-.commit { position: relative; }
-.commit .commit-head { font-size: 12px; color: #999; padding-bottom: 9px; margin-bottom: 9px; border-bottom: 1px solid #ddd; position: relative; padding-right: 80px; }
-.commit .commit-head .sha { color: #555; }
-.commit .commit-head a.sha { border-bottom: 1px dotted #999; }
-.commit .commit-head a.sha:hover { border-bottom: none; }
-
-.commit .commit-head .author-avatar { position: absolute; right: 0; top: 0; }
-.commit-head .author-avatar .avatar { width: 64px; height: 64px; }
-.commit .commit-head .title-message { color: #333; font-size: 16px; font-weight: bold; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; margin: 0; }
-.commit .author-info .name, .commit .committer-info .name { font-weight: bold; color: #555; }
-
-.commit-head .piped li { border-color: #ddd; }
-
-.commit-head .in-refs a { margin-right: 6px; color: #555; font-weight: bold;}
-
-.commit .commit-message { border-bottom: 1px solid #ddd; margin-bottom: 9px; }
-.commit .commit-message .detailed-message { display: block; color: #666; border-width: 0 0 0 1px; background: transparent; border-width: 0; padding: 0; font-size: 14px; }
-
-/**
- * BLAME PAGE
- */
-.blame-head .breadcrumb { padding-left: 0; }
-.table-blob td.blame-msg { width: 1%; padding: 0;}
-.blame-row { white-space: nowrap; padding: 0 12px; border-right: 4px solid #ddd; }
-.blame-row:hover { background: #f2f2f2; border-right-color: #08C; }
-.blame-msg .blame-row:first-child { padding-top: 9px; }
-.blame-msg .blame-row:last-child { padding-bottom: 9px; }
-.blame-row .section-first > i { color: #888; }
-
-/* BRANCHES PAGE */
-.branches>.body>.options {margin-bottom: 16px;}
-.branches>.body>.options>div {margin-right: 24px;}
-
-.branches>.body>.options>div.base .input-group {width: 240px;}
-.branches>.body>.options>div.search .input-group {width: 240px;}
-.branches>.body>.options .pagination {margin: 0;}
-.branches>.body>table.branches td {white-space: nowrap;}
-.branches>.body>table.branches td.summary, .branches>.body>table.branches td.actions {width: 1%;}
-.branches>.body>table.branches td.actions .fa.fa-times {color: red; margin-left: 8px;}
-.branches>.body>table.branches td.actions span.fa.fa-times {color: #888;}
-.branches>.body>table.branches td.behind {padding-right: 0;}
-.branches>.body>table.branches td.ahead {padding-left: 0;}
-.branches>.body>table.branches td.behind>div {border-right: 1px solid #333;}
-.branches>.body>table.branches td.behind-ahead div.text {margin: 0 4px;}
-.branches>.body>table.branches .bar {height: 12px;}
-.branches>.body>table.branches .ahead .bar {background: #666;}
-.branches>.body>table.branches .ahead .bar.request {background: #F1D763;}
-.branches>.body>table.branches .behind .bar {background: #ccc;}
-.branches>.body>table.branches .behind .bar.request {background: #F1D763;}
-.branches>.body>.help-block .bar.request {background: #F1D763; font-size: 10px;}
-.branches>.body>table.branches td.summary>div, table.branches td.summary>div .name a {font-size: 13px; color: #666;}
-.branches>.body>table.branches td.summary>div {margin-top: 4px;}
-
-#searching-branches {position: absolute; left: 50%; top: 250px; z-index: 100; display: none;}
-
-/* TAGS PAGE */
-.table-tags { border-bottom: 1px solid #ddd; }
-.table-tags .meta h3 { margin: 0 0 6px; font-size: 16px; font-weight: bold; }
-.meta h3 a { color: #333; }
-.table-tags .meta pre { background: transparent; border-width: 0; border-radius: 0; border-color: #ddd; color: #555; padding: 8px 0; margin: 0; }
-.table-tags > tbody > tr > td { padding: 12px; }
-.table-tags td.date { color: #999; }
-.table-tags ul.list-inline { margin-bottom: 0; }
-.table-tags .list-inline a { color: #999; }
-.table-tags .list-inline a:hover { color: #09F; text-decoration: none; }
-.table-tags .avatar { width: 64px; height: 64px; }
-
-/* COMMITS */
-.commit-hash {font-family: Consolas, 'Liberation Mono', Courier, monospace; }
-
-/* DIRECTORY CHOOSER */
-.dropdown-panel .directory-chooser {max-height: 650px; overflow: auto; padding: 12px 24px 12px 12px;}
-.dropdown-panel .directory-chooser .title {font-weight: bold; border-bottom: 1px solid #888888;}
-.dropdown-panel .alert.empty-directory-choice {margin: 0px;}
-
-/* TREE AND FILE DIFFS */
-.added.folder:before {content: "\f21a"; color: #05B505;}
-.deleted.folder:before {content: "\f21b"; color: #FA7C7C;}
-.modified.folder:before {content: "\f21c"; color: #DEB626;}
-.unchanged.folder:before {content: "\f114"; color: #888;}
-.added.file:before {content: "\f216"; color: #05B505;}
-.deleted.file:before {content: "\f217"; color: #FA7C7C;}
-.modified.file:before {content: "\f218"; color: #DEB626;}
-.renamed.file:before {content: "\f219"; color: #DEB626;}
-.unchanged.file:before {content: "\f0f6"; color: #888;}
-.diff-tree .tree-content.unchanged.file:before {font-family: "FontAwesome";}
-
-.diff-tree .tree-content:before {font-family: "ponticons"; font-size: 17px;}
-.diff-tree em span {font-style: normal;}
-
-.changed-files li:before {font-family: "ponticons"; font-size: 17px;}
-.changed-files a {color: black;}
-
-/* COMPARE RESULT */
-.compare-result {width: 100%;}
-.compare-result>tbody>tr>td {border: 1px solid #DDD; vertical-align: top;}
-.compare-result>tbody>tr>td.nav {width: 20%; padding: 12px; white-space: nowrap;}
-.compare-result>tbody>tr>td.nav a.active {background: #0F89E7; color: white; border-radius: 2px; padding: 2px;}
-.compare-result>tbody>tr>td.content>div>div.error {padding: 20px; font-size: 24px; font-style: italic;}
-
-/* TEXT DIFF */
-.text-diff>.head {border: 1px solid #DDD; padding: 8px; z-index: 10; background: white;}
-.text-diff>.body {border: 1px solid #DDD; border-top: none;}
-.text-diff>.head .title {font-size: 16px;}
-.text-diff>.head .pull-right {margin-left: 12px;}
-
-.table-diff .line.diff>td.line-no {color: #999; width: 1%; text-align: right; white-space: nowrap;}
-.table-diff .line.diff td.text, .table-diff .hunk-head td.content {
- font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace;}
-.table-diff .line.diff td.text {overflow: visible; white-space: pre;}
-.table-diff {font-size: 12px; position:relative;}
-.table-diff>tbody>tr>td {padding: 2px 8px;}
-.table-diff>tbody>tr>td.text, .table-diff>tbody>tr>td.detail, .table-diff>tbody>tr>td.new {
- border-left: 1px solid #E5E5E5;}
-.table-diff .old.line.diff>td.line-no {background: #faa; color: #8f0000;}
-.table-diff .old.line.diff {background: #fdd;}
-.table-diff .old.line.diff .emphasize {background: #FC9090;}
-.table-diff .new.line.diff {background: #cfc;}
-.table-diff .new.line.diff>td.line-no {background: #89FB89; color: #007f00;}
-.table-diff .new.line.diff .emphasize {background: #07C907;}
-.table-diff .line.diff:hover {background: #fea; }
-.table-diff .line.diff:hover>td.line-no, .table-diff .line.hunk-head:hover .action {background: #FBDE6D;}
-.table-diff .hunk-head, .equal.hunk-line>td.info {color: #999;}
-.table-diff .hunk-head a {display: block; color: #999;}
-.table-diff .hunk-head a:hover {color: #444;}
-.table-diff .hunk-head td.action {text-align: center;}
-.table-diff .hunk-head {background: none repeat scroll 0 0 #eef;}
-
-.table-diff table.content {width: 100%;}
-.table-diff .line.comments>td {padding: 0 12px; border-top: 1px solid #DDD;
- border-bottom: 1px solid #DDD;}
-
-.table-diff .line.comments td.avatar .fa-flag {display: none; margin-top: 12px; font-size: 36px; color: #E7C325;}
-.table-diff .line.comments .concerned td.avatar .fa-flag {display: block;}
-form#add-comment {margin: 16px 4px;}
-.table-diff a.add-comment {position: absolute; left:0; margin-left: -20px;
- width: 20px; height: 20px; text-decoration: none;}
-.table-diff a.add-comment .fa {display:none; font-size: 18px;}
-.table-diff tr:hover a.add-comment .fa {display:inline;}
-.table-diff .md-editor {margin-bottom: 16px;}
-
-ul.diff-alerts li {text-align: left;}
-ul.diff-alerts {margin: 0 0 0 8px; padding: 4px 8px 4px 12px;}
-
-/* BLOB DIFF */
-.binary-file {border: 1px solid #DDD;}
-.binary-file>.head {padding: 8px; font-size: 16px; border-bottom: 1px solid #DDD;}
-.binary-file>.body {padding: 8px;}
-
-/* DIFF STAT */
-.diff-stat {font-family: 'FontAwesome'; color: #ddd; }
-.diff-stat>i {font-style: normal; word-spacing: -2px;}
-.diff-stat .additions {color: #35c335;}
-.diff-stat .deletions {color: #c33535;}
-
-/* ACTIVITY */
-.activity>div.summary {color: #999; margin-bottom: 8px;}
-.activity>div.summary a {color: #999;}
-.activity>div.summary .actions .fa {font-size: 13px;}
-.activity>div.summary .actions {margin-left: 8px;}
-.activity>div.summary .actions>a, .activity>div.summary .actions>span {margin-right: 6px; color: #DDD;}
-.activity>div.summary .actions a, .activity>div.summary .actions span {color: #DDD;}
-.activity:hover>div.summary .actions a, .activity:hover>div.summary .actions span {color: #999;}
-.activity>div.summary .actions a .fa-times {font-size: 14px;}
-.activity>div.summary .actions a .fa-diff {font-size: 14px;}
-.activity>div.summary .user a, .activity>div.summary em {color: #666; font-weight: bold; font-style: normal;}
-
-.collapsed>.avatar img {opacity: 0.3;}
-.collapsed>.activity>div.summary {margin-bottom: 0; color: #AAA;}
-.collapsed>.activity>div.summary .user a {color: #888;}
-.collapsed>.activity>div.detail {
- text-overflow: ellipsis; overflow: hidden;
- max-width: 600px; color: #777; white-space: nowrap;}
-
-/* COMMENTS */
-.comment .md-editor {margin-bottom: 16px;}
-.reply>.activity {padding: 8px;}
-.reply>.activity>div.summary {font-size: 13px;}
-.reply.new>.avatar {background: #FCF6D6;}
-
-div.replies {padding-top: 8px; padding-left: 16px;}
-div.replies>table>tbody>tr>td {vertical-align: top; border-top: 1px dashed #CCC;
- padding: 8px 0 8px 0; background: #F5F5F5;}
-div.replies>table>tbody>tr:first-child>td {border-top: none;}
-div.replies>table>tbody>tr>td.avatar {width: 1px; padding: 10px;}
-div.replies>table>tbody>tr>td.avatar img {width: 26px; height: 26px;}
-div.replies>.add-reply {padding-top: 10px; color: #999;}
-div.replies>.add-reply>div>a {color: #999;}
-div.replies>.add-reply:hover>div>a {color: #333;}
-table.comments>tbody>tr>td.avatar {width: 1px; padding-right: 16px;}
-table.comments>tbody>tr>td.avatar img {width: 36px; height: 36px;}
-table.comments>tbody>tr>td {border-top: 1px solid #E5E5E5; padding: 12px 0 12px 0;}
-table.comments>tbody>tr:first-child>td {border-top: none;}
-
-ul.threads li {border-left: 4px solid #E5E5E5; padding-left: 8px;}
-ul.threads li.unread {border-color: #70AEFA;}
-ul.threads li a {color: #444; cursor: pointer;}
-ul.threads li .markdown {color: #888; margin-top: 4px;}
-
-/* BRANCH CHOICE */
-.repository-and-branch {width: 100%;}
-.repository-and-branch td {padding: 12px; white-space: nowrap;}
-.repository-and-branch td.name {text-align: right; padding-right: 0; font-size: 16px; width: 1%; padding-top: 16px;}
-.repository-and-branch .select2-choice {width: 100%;}
-
-/* REMOVEABLE AVATAR */
-.removeable-avatar {position: relative;}
-.removeable-avatar img {width: 32px; height: 32px;}
-.removeable-avatar i {display: none; color: red; font-size: 30px;
- position: absolute; left: 4px; top: -6px;}
-a.removeable-avatar:hover i {display: inline;}
-
-/* PULL REQUEST LIST PANEL */
-.request-list>.head {padding: 12px 10px !important; font-size: 16px;}
-.request-list>.head>div {margin-right: 20px;}
-.request-list>.head>div:last-child {margin-right: 0;}
-.request-list>.head .filters>div:first-child {margin-right: 8px;}
-.request-list table td {vertical-align: top; color: #666;}
-.request-list table td.narrow {width: 1%;}
-.request-list table .title {vertical-align: top; color: black; font-size: 16px;
- margin-bottom: 6px; font-weight: bold;}
-.request-list table .source>div {margin-right: 6px;}
-.request-list table thead .fa {cursor: pointer;}
-ul.status-help {margin: 16px; padding: 0; width: 400px; list-style: none;}
-ul.status-help .description {color: #444; margin: 4px 0 8px 0; border-bottom: 1px solid #DDD;
- padding-bottom: 4px; font-size: 14px;}
-ul.status-help li:last-child .description {border-bottom: none;}
-
-/* NEW PULL REQUEST AND BRANCH COMPARE PAGE */
-.branch-compare>.body>div {margin-bottom: 20px;}
-.branch-compare>.body>.branches {margin-bottom: 20px;}
-.branch-compare>.body>.branches td {vertical-align: top;}
-.branch-compare>.body>.branches td>div.title {font-size: 18px; margin-bottom: 8px;}
-.branch-compare>.body>.branches td>div.branch {background: #F2F2F2; border-radius: 4px; vertical-align: top;}
-.branch-compare>.body>.branches .actions {width: 1%; background: none; padding: 77px 10px 0 10px;}
-
-.branch-compare>.body>.status .summary {font-size: 16px; padding: 0; margin-bottom: 8px;}
-.new-request>.body>.status>.can-send form>table {width: 100%;}
-.new-request>.body>.status>.can-send form>table td {vertical-align: top; padding: 16px 0;
- border-top: 1px dashed #BBB; border-bottom: 1px dashed #BBB;}
-.new-request>.body>.status>.can-send form>table tr.description td {padding-bottom: 8px;}
-.new-request>.body>.status>.can-send form>table td.name {width: 120px; font-size: 18px; padding-right: 8px;}
-.new-request>.body>.status>.can-send form>table td.value {padding-left: 8px;}
-.new-request>.body>.status>.can-send form>table {margin-bottom: 16px;}
-.new-request>.body>.status>.can-send form>table .select2-container {min-width: 250px;}
-.new-request>.body>.status>.can-send form>table td.name .required:BEFORE {content: "*"; color: red;}
-.new-request>.body>.status>.can-send form>table .reviewers li {margin-right: 10px;}
-.new-request>.body>.status>.can-send form>table .reviewers li a:hover {text-decoration: none;}
-.new-request>.body>.status>.can-send form .feedbackPanelERROR>.alert {margin-bottom: 0; margin-top: 16px;}
-.new-request>.body>.status>.can-send form .assignee .help-block {margin-top: 12px;}
-.new-request>.body>.status>.can-send form .help-block {margin-bottom: 0;}
-
-/* PULL REQUEST DETAIL PANEL */
-.request-detail {padding: 20px;}
-.request-detail>div {margin-bottom: 20px;}
-.request-detail>div:last-child {margin-bottom: 0;}
-.request-detail table {width: 100%;}
-.request-detail td {vertical-align: top;}
-.request-detail .verification-status {cursor: pointer;}
-.request-detail .md-editor {margin-bottom: 16px;}
-
-.request-detail>.head {font-size: 24px; font-weight: bold; padding: 0;}
-.request-detail>.head input[type="text"] {width: 600px;}
-.request-detail>.head a i {color: #999; font-size: 19px;}
-.request-detail>.head>div {margin-right: 8px;}
-.request-detail>.head>.id {color: #999;}
-.request-detail>.head>.label {margin-top: 3px;}
-
-.request-detail>.summary>div {border-bottom: 1px dotted #BBB; margin-bottom: 12px; padding-bottom: 8px;}
-.request-detail>.summary>div:last-child {border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
-.request-detail>.summary>.status-reasons ul {margin-bottom: 0; padding-left: 16px;}
-
-.request-detail>.summary img {width: 24px; height: 24px; vertical-align: middle;}
-.request-detail>.summary .conflict {color: #DD4B4B; font-size: 16px;}
-.request-detail>.summary .no-conflict {color: #399529; font-size: 16px;}
-
-.request-detail>.summary>.operations>.buttons>a,
-.request-detail>.summary>.operations>.confirm>form>input {margin-right: 12px;}
-.request-detail>.summary>.operations>.confirm>form>textarea,
-.request-detail>.summary>.operations>.confirm>form>.delete-source {margin-bottom: 16px;}
-
-/* COMMON CSS FOR REVIEW RESULT ICON */
-.request-detail .review-result {font-size: 24px; position: absolute; left: 30px;
- top: 6px; cursor: pointer;}
-.request-detail .review-result.current.approved {color: #35A612;}
-.request-detail .review-result.current.disapproved {color: #F93333;}
-.request-detail .review-result.previous.approved,
-.request-detail .review-result.previous.disapproved {color: #888;}
-
-.request-detail>.overview>tbody>tr>td.activities {width: 75%; padding-right: 16px;}
-.request-detail .activities>table {margin-bottom: 20px; border-bottom: 1px solid #E5E5E5;}
-.request-detail .activities>table>tbody>tr.discussion>td {border-top: 1px solid #E5E5E5; padding: 12px 0;}
-.request-detail .activities>table>tbody>tr.discussion.collapsed>td {padding: 8px 0;}
-.request-detail .activities>table>tbody>tr.discussion>td.avatar {width: 1px; padding-left: 12px; padding-right: 12px;}
-.request-detail .activities>table>tbody>tr.discussion>td.activity {padding-left: 12px;}
-.request-detail .activities>table>tbody>tr.activity>td.avatar {border-right: 1px dashed #DDD;}
-
-.request-detail .activities>table>tbody>tr.activity.discussion>td.avatar {border-right: none;}
-.request-detail .activities>table>tbody>tr.discussion+.non-discussion>td {border-top: 1px solid #E5E5E5;}
-.request-detail .activities>table>tbody>tr.discussion+.non-update>td {padding-top: 8px;}
-.request-detail .activities>table>tbody>tr.discussion>.avatar img {width: 40px; height: 40px;}
-.request-detail .activities>table>tbody>tr.non-discussion>td {padding-left: 6px; font-size: 13px;}
-.request-detail .activities>table>tbody>tr.non-discussion>td.avatar img {display: none;}
-.request-detail .activities>table>tbody>tr.non-discussion>.activity>div.summary .user a {font-weight: normal;}
-.request-detail .activities>table>tbody>tr.update+.update>td>table {margin-top: -12px;}
-
-.request-detail .activities .activity>.commits {color: #777; margin-left: -32px;}
-.request-detail .activities .activity>.commits a {color: #555;}
-.request-detail .activities .activity>.commits td {padding-top: 8px; padding-bottom: 8px;}
-.request-detail .activities .non-update+.update>td tr:first-child td {border-top: none;}
-.request-detail .activities .activity>.commits td.icon {width: 32px; white-space: nowrap; text-align: right;}
-.request-detail .activities .activity>.commits tr.integrated td.icon .fa {color: #35A612;}
-.request-detail .activities .activity>.commits td.detail {padding-left: 15px; padding-right: 8px;}
-.request-detail .activities .activity>.commits td.status {text-align: right;}
-.request-detail .activities .activity>.commits tr:hover td.detail,
-.request-detail .activities .activity>.commits tr:hover td.status {background: #F5F5F5;}
-.request-detail .activities .activity>.commits tr.rebased td a {color: #AAA;}
-.request-detail .activities .activity>.commits tr.rebased td.icon .fa {color: #CCC;}
-.request-detail .activities .activity>.commits tr.rebased img.avatar {opacity: 0.5;}
-.request-detail .activities .activity>.commits td.status .successful {color: #35A612;}
-.request-detail .activities .activity>.commits td.status .failed {color: #F93333;}
-.request-detail .activities .activity>.commits td.status .running {color: #AFAD1F;}
-.request-detail .activities .activity.new>.avatar {background: #FCF6D6;}
-
-.request-detail .others>div>div {border-bottom: 1px dotted #BBB; margin-bottom: 16px;
- padding-bottom: 16px; font-size: 13px; color: #666;}
-.request-detail .others>div>div:last-child {border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
-.request-detail .others .help-block {margin-bottom: 0; color: #888}
-.request-detail .others .fa.small {font-size: 14px; vertical-align: middle;}
-.request-detail .others label {margin-right: 4px; font-weight: normal;}
-.request-detail .others .select2-container {width: 100%;}
-.request-detail .others .avatar {width: 24px; height: 24px;}
-.request-detail .others .select2-container .avatar {width: 20px; height: 20px;}
-
-.request-detail .others .basic-info .submitter, .request-detail .others .basic-info .target {margin-bottom: 4px;}
-.request-detail .others .basic-info span, .request-detail .others .basic-info a {white-space: nowrap;}
-.request-detail .others .basic-info .source>a {margin-left: 4px;}
-
-.request-detail .others .reviewers ul {margin-bottom: 0;}
-.request-detail .others .reviewers li {margin-right: 20px; margin-bottom: 10px; position: relative;}
-.request-detail .others .reviewers li a:hover {text-decoration: none;}
-.request-detail .others .reviewers .review-result {top: 12px;}
-
-.request-detail .activities .table-diff>tbody>.line.comments>td {padding: 12px;}
-.request-detail .activities .table-diff>tbody>tr.omit>td .fa {font-size: 24px; color: #888; margin-left: 12px;}
-.request-detail .activities .inline-comment.panel>.panel-heading {padding: 8px;}
-.request-detail .activities .inline-comment.panel>.panel-heading .actions {margin-left: 12px;}
-.request-detail .activities .inline-comment.panel>.panel-heading .actions a {color: #BBB; margin-right: 4px;}
-.request-detail .activities .inline-comment.panel>.panel-heading:hover .actions a {color: #666;}
-.request-detail .activities .inline-comment.panel {margin-bottom: 4px;}
-
-.request-detail .activities .activity.non-discussion>.activity>.summary .fa {background: white;}
-.request-detail .activities .activity>div>.fa {vertical-align: middle; margin: 0 8px 0 -16px; font-size: 24px;}
-.request-detail .activities .activity>.update>.fa {margin: 0 8px 0 -15px; font-size: 20px;}
-.request-detail .activities .activity>.discard>.fa {color: #F93333;}
-.request-detail .activities .activity>.integrate>.fa {color: #35A612; margin-left: -20px;}
-.request-detail .activities .activity>.approve>.fa {color: #35A612; margin-left: -18px;}
-.request-detail .activities .activity>.disapprove>.fa {color: #F93333; margin-left: -18px;}
-.request-detail .activities .activity>.undo-review>.fa {color: #666; margin-left: -14px;}
-.request-detail .activities .activity>.reopen>.fa {color: #666; font-size: 30px; margin-left: -20px; margin-right: 7px;}
-
-.request-detail>.updates>.update {padding: 12px; margin: 20px 0; border: 1px solid #DDD; border-radius: 4px;}
-.request-detail>.updates>.update>.summary .actions .fa {font-size: 16px;}
-.request-detail>.updates>.update>.summary>.reviews>.review {margin-left: 12px; white-space: nowrap; position: relative;}
-
-.request-detail>.updates>.update>.commits td {padding-top: 8px; padding-bottom: 8px;
- color: #999; border-top: 1px dashed #CCC;}
-.request-detail>.updates>.update>.commits tr.rebased td a {color: #AAA;}
-.request-detail>.updates>.update>.commits tr.rebased img.avatar {opacity: 0.5;}
-.request-detail>.updates>.update>.commits td.avatar {width: 1px;}
-.request-detail>.updates>.update>.commits td.avatar img {width: 36px; height: 36px;}
-.request-detail>.updates>.update>.commits a {color: #666;}
-.request-detail>.updates>.update>.commits a.subject {font-weight: bold;}
-.request-detail>.updates>.update>.commits td.detail {padding-left: 8px; padding-right: 8px;}
-.request-detail>.updates>.update>.commits td.status {text-align: right;}
-.request-detail>.updates>.update>.commits td.status>div:first-child {white-space: nowrap;}
-.request-detail>.updates>.update>.commits tr:hover td {background: #F7ECB9;}
-.request-detail>.updates>.update>.commits .commit-message>.full {margin-bottom: 4px;}
-
-.request-detail .compare>.head {background: #F2F2F2; z-index: 90; padding: 8px;
- border: 1px solid #DDD;}
-.request-detail .compare>.head>.changed-toggle {margin-right: 12px; padding-top: 4px;}
-.request-detail .compare>.head>.outdated-alert {padding-top: 2px; color: #CF9115; font-size: 16px;}
-.request-detail .compare>.head>.pull-left:FIRST-CHILD {margin-right: 16px;}
-.request-detail .compare>.head>.pull-left:LAST-CHILD {margin-top: 3px;}
-
-.content>.commit-choice {max-height: 600px; padding: 8px 0; overflow-y: scroll;}
-.content>.commit-choice a {text-decoration: none; color: #333; display: block; padding: 8px;}
-.content>.commit-choice li {border-bottom: 1px dotted #BBB;}
-.content>.commit-choice li:hover {background: #FDF2C3;}
-.content>.commit-choice a .commit {font-family: Consolas, 'Liberation Mono', Courier, monospace;}
-.content>.commit-choice a .subject {font-size: 12px; color: #999;}
-table.old-vs-new td {padding: 0 8px;}
-table.old-vs-new td.old {width: 140px; text-align: left;}
-table.old-vs-new td.new {width: 140px; text-align: right;}
-table.old-vs-new td.vs {width: 1px; text-align: center; font-weight: bold;}
-
-table.verifications td {vertical-align: top; white-space: nowrap; color: #444;}
-table.verifications {margin-bottom: 1px;}
-table.verifications .fa {display: none;}
-table.verifications tr.passed .fa-check {display: inline; color: #5CB85C;}
-table.verifications tr.not-passed .fa-times {display: inline; color: #D9534F;}
-table.verifications tr.ongoing .fa-cog {display: inline; color: #F0AD4E;}
-.conflict-resolve-instruction {padding: 8px; width: 400px;}
-
-/* GATE KEEPER SETTING PAGE */
-.gate-keeper-tip {margin: 0 20px 20px 20px;}
-.gate-keeper-add.well {font-size:16px;}
-.gate-keeper-add .fa {margin-left: 8px;}
-.gate-keeper-add:hover, .gate-keeper-add:focus {background-color: #EBEBEB; border-color: #ADADAD; cursor: pointer;}
-.gate-keeper-selector {width: 600px; max-height: 600px; overflow: auto;}
-.gate-keeper-selector .panel {border: none; border-radius: 0;}
-.gate-keeper-selector .panel-heading {border-top: 1px solid #CCCCCC; border-radius: 0;}
-.gate-keeper-selector .panel-group>.panel:first-child>.panel-heading {border-top: none;}
-.gate-keeper-selector .panel-heading.collapsed:hover, .gate-keeper-selector .panel-heading.collapsed:focus {
- border-color: #999999; background-color: #E0E0E0; cursor: pointer;}
-.gate-keeper-selector .panel-group .panel + .panel {margin-top: 0px;}
-.gate-keeper-selector .fa {width: 20px;}
-.gate-keeper-description {font-size: 13px; color: #888888;}
-.gate-keeper-item {margin-bottom: 6px; padding: 4px; border: 1px solid white;}
-.gate-keeper-item:hover, .gate-keeper-item:focus {background-color: #EBEBEB; cursor: pointer;
- border: 1px solid #ADADAD; border-radius: 4px;}
-.gate-keeper-name {font-size: 15px; margin-top: -4px;}
-.gate-keeper-editor {max-height: 600px; overflow: auto;}
-.gate-keeper-editor .gate-keeper-name {font-weight: bold; font-size: 16px; margin-top: 0; margin-bottom: 4px;}
-.gate-keeper-editor .fa {width: 20px; margin-right: 8px; margin-top: 4px;}
-.gate-keeper .panel-title {font-size: 14px;}
-.gate-keeper .panel-heading {padding: 8px;}
-.gate-keeper .fa {margin-left: 8px; cursor: pointer;}
-.gate-keeper .gate-keeper-add {margin: 0px; padding: 8px; font-size: 14px;}
-.gate-keeper .reflection {margin-bottom: 0;}
-
-.gate-keeper.panel {border: 1px solid #BBBBBB;}
-.gate-keeper.panel>.panel-heading {border-color: #BBBBBB;}
-.gate-keeper.panel.disabled, .gate-keeper.panel.disabled .panel {color: #AAA;}
-.gate-keeper.panel.disabled>.panel-heading, .gate-keeper.panel.disabled .panel-heading {color: #AAA;}
-.gate-keeper.panel.disabled .fa {color: inherit;}
-.gate-keeper td.name {font-weight: normal !important; background-color: #F0F0F0 !important;}
-.gate-keeper table.viewer {font-size: 13px !important; color: #444444;}
-.gate-keeper table.children {width: 100%;}
-.gate-keeper td.child {vertical-align: top; padding-right: 12px;}
-.gate-keeper table.children>tbody>tr>td.child:last-child {padding-right: 0;}
-.gate-keeper.panel .panel-body {overflow:auto;}
-.gate-keeper table.ifthen {width: 100%;}
-.gate-keeper td.ifthen {vertical-align: top;}
-.gate-keeper td.ifthen.connector {width:1px;}
-.gate-keeper td.ifthen.connector .fa {margin: 0 6px 0 8px; color: #666666; font-size: 36px;}
-
-/* INTEGRATION POLICY AND CHANGE SUBSCRIPTION PAGE */
-.integration-policies .handle, .change-subscriptions .handle {cursor: move; margin-right: 8px;}
-.integration-policies .panel-heading a, .change-subscriptions .panel-heading a {color: #444; margin-right: 8px;}
-.integration-policies .add-new, .change-subscriptions .add-new {display: block; padding: 16px; background: #F2F2F2;
- border: 1px solid #DDD; border-radius: 4px; font-size: 16px; color: #444; margin-bottom: 16px;}
-.integration-policies a.add-new:hover, .change-subscriptions a.add-new:hover {
- text-decoration: none; background-color: #EBEBEB; border-color: #ADADAD;}
-.integration-policies a.add-new .fa {margin-left: 8px;}
-.integration-policies>.body>.help-block .fa {
- position: absolute; font-size: 20px; color: #E6AF42; margin-top: 2px;}
-.integration-policies>.body>.help-block p, .change-subscriptions>.body>.help-block p {margin-left: 18px;}
\ No newline at end of file
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/js/jquery.livefilter.js b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/js/jquery.livefilter.js
deleted file mode 100644
index 9976b6e303..0000000000
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/js/jquery.livefilter.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * jQuery.liveFilter
- *
- * Copyright (c) 2009 Mike Merritt
- *
- * Forked by Lim Chee Aun (cheeaun.com)
- *
- */
-
-(function($){
- $.fn.liveFilter = function(inputEl, filterEl, options){
- var defaults = {
- filterChildSelector: null,
- filter: function(el, val){
- return $(el).text().toUpperCase().indexOf(val.toUpperCase()) >= 0;
- },
- before: function(){},
- after: function(){}
- };
- var options = $.extend(defaults, options);
-
- var el = $(this).find(filterEl);
- if (options.filterChildSelector) el = el.find(options.filterChildSelector);
-
- var filter = options.filter;
- $(inputEl).keyup(function(){
- var val = $(this).val();
- var contains = el.filter(function(){
- return filter(this, val);
- });
- var containsNot = el.not(contains);
- if (options.filterChildSelector){
- contains = contains.parents(filterEl);
- containsNot = containsNot.parents(filterEl).hide();
- }
-
- options.before.call(this, contains, containsNot);
-
- contains.show();
- containsNot.hide();
-
- if (val === '') {
- contains.show();
- containsNot.show();
- }
-
- options.after.call(this, contains, containsNot);
- });
- }
-})(jQuery);
\ No newline at end of file
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/sourceview/SourceViewPanel.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/sourceview/SourceViewPanel.java
index a9e7a2d446..84d2cf7129 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/sourceview/SourceViewPanel.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/sourceview/SourceViewPanel.java
@@ -43,7 +43,7 @@ import com.pmease.gitplex.search.hit.QueryHit;
import com.pmease.gitplex.search.query.BlobQuery;
import com.pmease.gitplex.search.query.SymbolQuery;
import com.pmease.gitplex.search.query.TextQuery;
-import com.pmease.gitplex.web.GitPlexSession;
+import com.pmease.gitplex.web.WebSession;
@SuppressWarnings("serial")
public abstract class SourceViewPanel extends Panel {
@@ -96,13 +96,13 @@ public abstract class SourceViewPanel extends Panel {
protected void onInitialize() {
super.onInitialize();
- if (GitPlexSession.get().isDisplayOutline())
+ if (WebSession.get().isDisplayOutline())
add(AttributeAppender.append("class", " active"));
}
@Override
public void onClick(AjaxRequestTarget target) {
- GitPlexSession session = GitPlexSession.get();
+ WebSession session = WebSession.get();
session.setDisplayOutline(!session.isDisplayOutline());
target.appendJavaScript(String.format("gitplex.sourceview.toggleOutline('%s');", outlinePanel.getMarkupId()));
}
@@ -120,7 +120,7 @@ public abstract class SourceViewPanel extends Panel {
codeContainer.setOutputMarkupId(true);
add(outlinePanel = new OutlinePanel("outline", symbols));
- if (symbols.isEmpty() || !GitPlexSession.get().isDisplayOutline())
+ if (symbols.isEmpty() || !WebSession.get().isDisplayOutline())
outlinePanel.add(AttributeAppender.append("style", "display:none;"));
add(symbolsContainer = new WebMarkupContainer("symbols"));
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexMounting.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/mapper/RootMapper.java
similarity index 95%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexMounting.java
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/mapper/RootMapper.java
index 336514d05b..c90721367a 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexMounting.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/mapper/RootMapper.java
@@ -1,4 +1,4 @@
-package com.pmease.gitplex.web;
+package com.pmease.gitplex.web.mapper;
import org.apache.wicket.Page;
import org.apache.wicket.core.request.mapper.MountedMapper;
@@ -8,9 +8,6 @@ import org.apache.wicket.request.mapper.CompoundRequestMapper;
import com.pmease.gitplex.core.validation.RepositoryNameValidator;
import com.pmease.gitplex.core.validation.UserNameValidator;
-import com.pmease.gitplex.web.mapper.PageParameterAwareMountedMapper;
-import com.pmease.gitplex.web.mapper.PatternMountedMapper;
-import com.pmease.gitplex.web.page.ServerInitPage;
import com.pmease.gitplex.web.page.account.AccountHomePage;
import com.pmease.gitplex.web.page.account.AccountNotificationsPage;
import com.pmease.gitplex.web.page.account.AccountProfilePage;
@@ -22,6 +19,7 @@ import com.pmease.gitplex.web.page.account.team.AccountTeamsPage;
import com.pmease.gitplex.web.page.admin.MailSettingPage;
import com.pmease.gitplex.web.page.admin.QosSettingPage;
import com.pmease.gitplex.web.page.admin.SystemSettingPage;
+import com.pmease.gitplex.web.page.init.ServerInitPage;
import com.pmease.gitplex.web.page.repository.NoCommitsPage;
import com.pmease.gitplex.web.page.repository.RepositoryHomePage;
import com.pmease.gitplex.web.page.repository.admin.GeneralSettingPage;
@@ -43,9 +41,9 @@ import com.pmease.gitplex.web.page.repository.pullrequest.RequestUpdatesPage;
import com.pmease.gitplex.web.page.test.RunModePage;
import com.pmease.gitplex.web.page.test.TestPage;
-public class GitPlexMounting extends CompoundRequestMapper {
+public class RootMapper extends CompoundRequestMapper {
- public GitPlexMounting(WebApplication app) {
+ public RootMapper(WebApplication app) {
addAdministrationPages();
addAccountPages();
addRepositoryPages();
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/BasePage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/BasePage.html
deleted file mode 100644
index b458eac7a0..0000000000
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/BasePage.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<wicket:head>
-</wicket:head>
-<wicket:extend>
- <wicket:child></wicket:child>
-</wicket:extend>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/LayoutPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/LayoutPage.java
index 3d948fedb9..4444700b8e 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/LayoutPage.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/LayoutPage.java
@@ -2,6 +2,8 @@ package com.pmease.gitplex.web.page;
import org.apache.shiro.SecurityUtils;
+import com.pmease.gitplex.web.page.base.BasePage;
+
@SuppressWarnings("serial")
public abstract class LayoutPage extends BasePage {
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/LoginPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/LoginPage.java
deleted file mode 100644
index 5ceb239f69..0000000000
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/LoginPage.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package com.pmease.gitplex.web.page;
-
-@SuppressWarnings("serial")
-public class LoginPage extends BasePage {
-
-}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/BasePage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/BasePage.html
new file mode 100644
index 0000000000..0395d22401
--- /dev/null
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/BasePage.html
@@ -0,0 +1,12 @@
+<wicket:head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <title wicket:id="title"></title>
+ <meta wicket:id="refresh" http-equiv="refresh"/>
+ <meta name="Author" content="PMEase Inc." />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
+</wicket:head>
+<wicket:extend>
+ <wicket:child></wicket:child>
+</wicket:extend>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/BasePage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/BasePage.java
similarity index 52%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/page/BasePage.java
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/BasePage.java
index 8e6cba07d9..c077886f9d 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/BasePage.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/BasePage.java
@@ -1,16 +1,21 @@
-package com.pmease.gitplex.web.page;
+package com.pmease.gitplex.web.page.base;
import org.apache.wicket.RestartResponseAtInterceptPageException;
+import org.apache.wicket.markup.ComponentTag;
+import org.apache.wicket.markup.head.CssHeaderItem;
import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.head.JavaScriptHeaderItem;
-import org.apache.wicket.markup.head.PriorityHeaderItem;
+import org.apache.wicket.markup.html.WebMarkupContainer;
+import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.request.mapper.parameter.PageParameters;
+import org.apache.wicket.request.resource.CssResourceReference;
+import org.apache.wicket.request.resource.JavaScriptResourceReference;
import com.pmease.commons.wicket.CommonPage;
import com.pmease.gitplex.core.GitPlex;
import com.pmease.gitplex.core.manager.UserManager;
import com.pmease.gitplex.core.model.User;
-import com.pmease.gitplex.web.assets.PageResourceReference;
+import com.pmease.gitplex.web.page.init.ServerInitPage;
@SuppressWarnings("serial")
public abstract class BasePage extends CommonPage {
@@ -25,9 +30,8 @@ public abstract class BasePage extends CommonPage {
}
private void checkReady() {
- if (!GitPlex.getInstance().isReady() && getClass() != ServerInitPage.class) {
+ if (!GitPlex.getInstance().isReady() && getClass() != ServerInitPage.class)
throw new RestartResponseAtInterceptPageException(ServerInitPage.class);
- }
}
protected boolean isPermitted() {
@@ -41,6 +45,24 @@ public abstract class BasePage extends CommonPage {
@Override
protected void onInitialize() {
super.onInitialize();
+
+ add(new Label("title", getPageTitle()));
+
+ add(new WebMarkupContainer("refresh") {
+
+ @Override
+ protected void onComponentTag(ComponentTag tag) {
+ super.onComponentTag(tag);
+ tag.put("content", getPageRefreshInterval());
+ }
+
+ @Override
+ protected void onConfigure() {
+ super.onConfigure();
+ setVisible(getPageRefreshInterval() != 0);
+ }
+
+ });
}
protected String getPageTitle() {
@@ -55,6 +77,8 @@ public abstract class BasePage extends CommonPage {
public void renderHead(IHeaderResponse response) {
super.renderHead(response);
- response.render(new PriorityHeaderItem(JavaScriptHeaderItem.forReference(PageResourceReference.get())));
+ response.render(JavaScriptHeaderItem.forReference(new JavaScriptResourceReference(BasePage.class, "base.js")));
+ response.render(CssHeaderItem.forReference(new CssResourceReference(BasePage.class, "base.css")));
+ response.render(CssHeaderItem.forReference(new CssResourceReference(BasePage.class, "fontext/fontext.css")));
}
}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/base.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/base.css
new file mode 100644
index 0000000000..418987d3bf
--- /dev/null
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/base.css
@@ -0,0 +1,422 @@
+html, body { background: #f0f2f4; }
+
+a {color: #09f; cursor: pointer;}
+a.fa {text-decoration: none;}
+
+textarea {resize: vertical;}
+
+/* BRANCHES PAGE */
+.branches>.body>.options {margin-bottom: 16px;}
+.branches>.body>.options>div {margin-right: 24px;}
+
+.branches>.body>.options>div.base .input-group {width: 240px;}
+.branches>.body>.options>div.search .input-group {width: 240px;}
+.branches>.body>.options .pagination {margin: 0;}
+.branches>.body>table.branches td {white-space: nowrap;}
+.branches>.body>table.branches td.summary, .branches>.body>table.branches td.actions {width: 1%;}
+.branches>.body>table.branches td.actions .fa.fa-times {color: red; margin-left: 8px;}
+.branches>.body>table.branches td.actions span.fa.fa-times {color: #888;}
+.branches>.body>table.branches td.behind {padding-right: 0;}
+.branches>.body>table.branches td.ahead {padding-left: 0;}
+.branches>.body>table.branches td.behind>div {border-right: 1px solid #333;}
+.branches>.body>table.branches td.behind-ahead div.text {margin: 0 4px;}
+.branches>.body>table.branches .bar {height: 12px;}
+.branches>.body>table.branches .ahead .bar {background: #666;}
+.branches>.body>table.branches .ahead .bar.request {background: #F1D763;}
+.branches>.body>table.branches .behind .bar {background: #ccc;}
+.branches>.body>table.branches .behind .bar.request {background: #F1D763;}
+.branches>.body>.help-block .bar.request {background: #F1D763; font-size: 10px;}
+.branches>.body>table.branches td.summary>div, table.branches td.summary>div .name a {font-size: 13px; color: #666;}
+.branches>.body>table.branches td.summary>div {margin-top: 4px;}
+
+#searching-branches {position: absolute; left: 50%; top: 250px; z-index: 100; display: none;}
+
+/* DIRECTORY CHOOSER */
+.dropdown-panel .directory-chooser {max-height: 650px; overflow: auto; padding: 12px 24px 12px 12px;}
+.dropdown-panel .directory-chooser .title {font-weight: bold; border-bottom: 1px solid #888888;}
+.dropdown-panel .alert.empty-directory-choice {margin: 0px;}
+
+/* TREE AND FILE DIFFS */
+.added.folder:before {content: "\f21a"; color: #05B505;}
+.deleted.folder:before {content: "\f21b"; color: #FA7C7C;}
+.modified.folder:before {content: "\f21c"; color: #DEB626;}
+.unchanged.folder:before {content: "\f114"; color: #888;}
+.added.file:before {content: "\f216"; color: #05B505;}
+.deleted.file:before {content: "\f217"; color: #FA7C7C;}
+.modified.file:before {content: "\f218"; color: #DEB626;}
+.renamed.file:before {content: "\f219"; color: #DEB626;}
+.unchanged.file:before {content: "\f0f6"; color: #888;}
+.diff-tree .tree-content.unchanged.file:before {font-family: "FontAwesome";}
+
+.diff-tree .tree-content:before {font-family: "ponticons"; font-size: 17px;}
+.diff-tree em span {font-style: normal;}
+
+.changed-files li:before {font-family: "ponticons"; font-size: 17px;}
+.changed-files a {color: black;}
+
+/* COMPARE RESULT */
+.compare-result {width: 100%;}
+.compare-result>tbody>tr>td {border: 1px solid #DDD; vertical-align: top;}
+.compare-result>tbody>tr>td.nav {width: 20%; padding: 12px; white-space: nowrap;}
+.compare-result>tbody>tr>td.nav a.active {background: #0F89E7; color: white; border-radius: 2px; padding: 2px;}
+.compare-result>tbody>tr>td.content>div>div.error {padding: 20px; font-size: 24px; font-style: italic;}
+
+/* TEXT DIFF */
+.text-diff>.head {border: 1px solid #DDD; padding: 8px; z-index: 10; background: white;}
+.text-diff>.body {border: 1px solid #DDD; border-top: none;}
+.text-diff>.head .title {font-size: 16px;}
+.text-diff>.head .pull-right {margin-left: 12px;}
+
+.table-diff .line.diff>td.line-no {color: #999; width: 1%; text-align: right; white-space: nowrap;}
+.table-diff .line.diff td.text, .table-diff .hunk-head td.content {
+ font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace;}
+.table-diff .line.diff td.text {overflow: visible; white-space: pre;}
+.table-diff {font-size: 12px; position:relative;}
+.table-diff>tbody>tr>td {padding: 2px 8px;}
+.table-diff>tbody>tr>td.text, .table-diff>tbody>tr>td.detail, .table-diff>tbody>tr>td.new {
+ border-left: 1px solid #E5E5E5;}
+.table-diff .old.line.diff>td.line-no {background: #faa; color: #8f0000;}
+.table-diff .old.line.diff {background: #fdd;}
+.table-diff .old.line.diff .emphasize {background: #FC9090;}
+.table-diff .new.line.diff {background: #cfc;}
+.table-diff .new.line.diff>td.line-no {background: #89FB89; color: #007f00;}
+.table-diff .new.line.diff .emphasize {background: #07C907;}
+.table-diff .line.diff:hover {background: #fea; }
+.table-diff .line.diff:hover>td.line-no, .table-diff .line.hunk-head:hover .action {background: #FBDE6D;}
+.table-diff .hunk-head, .equal.hunk-line>td.info {color: #999;}
+.table-diff .hunk-head a {display: block; color: #999;}
+.table-diff .hunk-head a:hover {color: #444;}
+.table-diff .hunk-head td.action {text-align: center;}
+.table-diff .hunk-head {background: none repeat scroll 0 0 #eef;}
+
+.table-diff table.content {width: 100%;}
+.table-diff .line.comments>td {padding: 0 12px; border-top: 1px solid #DDD;
+ border-bottom: 1px solid #DDD;}
+
+.table-diff .line.comments td.avatar .fa-flag {display: none; margin-top: 12px; font-size: 36px; color: #E7C325;}
+.table-diff .line.comments .concerned td.avatar .fa-flag {display: block;}
+form#add-comment {margin: 16px 4px;}
+.table-diff a.add-comment {position: absolute; left:0; margin-left: -20px;
+ width: 20px; height: 20px; text-decoration: none;}
+.table-diff a.add-comment .fa {display:none; font-size: 18px;}
+.table-diff tr:hover a.add-comment .fa {display:inline;}
+.table-diff .md-editor {margin-bottom: 16px;}
+
+ul.diff-alerts li {text-align: left;}
+ul.diff-alerts {margin: 0 0 0 8px; padding: 4px 8px 4px 12px;}
+
+/* BLOB DIFF */
+.binary-file {border: 1px solid #DDD;}
+.binary-file>.head {padding: 8px; font-size: 16px; border-bottom: 1px solid #DDD;}
+.binary-file>.body {padding: 8px;}
+
+/* DIFF STAT */
+.diff-stat {font-family: 'FontAwesome'; color: #ddd; }
+.diff-stat>i {font-style: normal; word-spacing: -2px;}
+.diff-stat .additions {color: #35c335;}
+.diff-stat .deletions {color: #c33535;}
+
+/* ACTIVITY */
+.activity>div.summary {color: #999; margin-bottom: 8px;}
+.activity>div.summary a {color: #999;}
+.activity>div.summary .actions .fa {font-size: 13px;}
+.activity>div.summary .actions {margin-left: 8px;}
+.activity>div.summary .actions>a, .activity>div.summary .actions>span {margin-right: 6px; color: #DDD;}
+.activity>div.summary .actions a, .activity>div.summary .actions span {color: #DDD;}
+.activity:hover>div.summary .actions a, .activity:hover>div.summary .actions span {color: #999;}
+.activity>div.summary .actions a .fa-times {font-size: 14px;}
+.activity>div.summary .actions a .fa-diff {font-size: 14px;}
+.activity>div.summary .user a, .activity>div.summary em {color: #666; font-weight: bold; font-style: normal;}
+
+.collapsed>.avatar img {opacity: 0.3;}
+.collapsed>.activity>div.summary {margin-bottom: 0; color: #AAA;}
+.collapsed>.activity>div.summary .user a {color: #888;}
+.collapsed>.activity>div.detail {
+ text-overflow: ellipsis; overflow: hidden;
+ max-width: 600px; color: #777; white-space: nowrap;}
+
+/* COMMENTS */
+.comment .md-editor {margin-bottom: 16px;}
+.reply>.activity {padding: 8px;}
+.reply>.activity>div.summary {font-size: 13px;}
+.reply.new>.avatar {background: #FCF6D6;}
+
+div.replies {padding-top: 8px; padding-left: 16px;}
+div.replies>table>tbody>tr>td {vertical-align: top; border-top: 1px dashed #CCC;
+ padding: 8px 0 8px 0; background: #F5F5F5;}
+div.replies>table>tbody>tr:first-child>td {border-top: none;}
+div.replies>table>tbody>tr>td.avatar {width: 1px; padding: 10px;}
+div.replies>table>tbody>tr>td.avatar img {width: 26px; height: 26px;}
+div.replies>.add-reply {padding-top: 10px; color: #999;}
+div.replies>.add-reply>div>a {color: #999;}
+div.replies>.add-reply:hover>div>a {color: #333;}
+table.comments>tbody>tr>td.avatar {width: 1px; padding-right: 16px;}
+table.comments>tbody>tr>td.avatar img {width: 36px; height: 36px;}
+table.comments>tbody>tr>td {border-top: 1px solid #E5E5E5; padding: 12px 0 12px 0;}
+table.comments>tbody>tr:first-child>td {border-top: none;}
+
+ul.threads li {border-left: 4px solid #E5E5E5; padding-left: 8px;}
+ul.threads li.unread {border-color: #70AEFA;}
+ul.threads li a {color: #444; cursor: pointer;}
+ul.threads li .markdown {color: #888; margin-top: 4px;}
+
+/* BRANCH CHOICE */
+.repository-and-branch {width: 100%;}
+.repository-and-branch td {padding: 12px; white-space: nowrap;}
+.repository-and-branch td.name {text-align: right; padding-right: 0; font-size: 16px; width: 1%; padding-top: 16px;}
+.repository-and-branch .select2-choice {width: 100%;}
+
+/* REMOVEABLE AVATAR */
+.removeable-avatar {position: relative;}
+.removeable-avatar img {width: 32px; height: 32px;}
+.removeable-avatar i {display: none; color: red; font-size: 30px;
+ position: absolute; left: 4px; top: -6px;}
+a.removeable-avatar:hover i {display: inline;}
+
+/* PULL REQUEST LIST PANEL */
+.request-list>.head {padding: 12px 10px !important; font-size: 16px;}
+.request-list>.head>div {margin-right: 20px;}
+.request-list>.head>div:last-child {margin-right: 0;}
+.request-list>.head .filters>div:first-child {margin-right: 8px;}
+.request-list table td {vertical-align: top; color: #666;}
+.request-list table td.narrow {width: 1%;}
+.request-list table .title {vertical-align: top; color: black; font-size: 16px;
+ margin-bottom: 6px; font-weight: bold;}
+.request-list table .source>div {margin-right: 6px;}
+.request-list table thead .fa {cursor: pointer;}
+ul.status-help {margin: 16px; padding: 0; width: 400px; list-style: none;}
+ul.status-help .description {color: #444; margin: 4px 0 8px 0; border-bottom: 1px solid #DDD;
+ padding-bottom: 4px; font-size: 14px;}
+ul.status-help li:last-child .description {border-bottom: none;}
+
+/* NEW PULL REQUEST AND BRANCH COMPARE PAGE */
+.branch-compare>.body>div {margin-bottom: 20px;}
+.branch-compare>.body>.branches {margin-bottom: 20px;}
+.branch-compare>.body>.branches td {vertical-align: top;}
+.branch-compare>.body>.branches td>div.title {font-size: 18px; margin-bottom: 8px;}
+.branch-compare>.body>.branches td>div.branch {background: #F2F2F2; border-radius: 4px; vertical-align: top;}
+.branch-compare>.body>.branches .actions {width: 1%; background: none; padding: 77px 10px 0 10px;}
+
+.branch-compare>.body>.status .summary {font-size: 16px; padding: 0; margin-bottom: 8px;}
+.new-request>.body>.status>.can-send form>table {width: 100%;}
+.new-request>.body>.status>.can-send form>table td {vertical-align: top; padding: 16px 0;
+ border-top: 1px dashed #BBB; border-bottom: 1px dashed #BBB;}
+.new-request>.body>.status>.can-send form>table tr.description td {padding-bottom: 8px;}
+.new-request>.body>.status>.can-send form>table td.name {width: 120px; font-size: 18px; padding-right: 8px;}
+.new-request>.body>.status>.can-send form>table td.value {padding-left: 8px;}
+.new-request>.body>.status>.can-send form>table {margin-bottom: 16px;}
+.new-request>.body>.status>.can-send form>table .select2-container {min-width: 250px;}
+.new-request>.body>.status>.can-send form>table td.name .required:BEFORE {content: "*"; color: red;}
+.new-request>.body>.status>.can-send form>table .reviewers li {margin-right: 10px;}
+.new-request>.body>.status>.can-send form>table .reviewers li a:hover {text-decoration: none;}
+.new-request>.body>.status>.can-send form .feedbackPanelERROR>.alert {margin-bottom: 0; margin-top: 16px;}
+.new-request>.body>.status>.can-send form .assignee .help-block {margin-top: 12px;}
+.new-request>.body>.status>.can-send form .help-block {margin-bottom: 0;}
+
+/* PULL REQUEST DETAIL PANEL */
+.request-detail {padding: 20px;}
+.request-detail>div {margin-bottom: 20px;}
+.request-detail>div:last-child {margin-bottom: 0;}
+.request-detail table {width: 100%;}
+.request-detail td {vertical-align: top;}
+.request-detail .verification-status {cursor: pointer;}
+.request-detail .md-editor {margin-bottom: 16px;}
+
+.request-detail>.head {font-size: 24px; font-weight: bold; padding: 0;}
+.request-detail>.head input[type="text"] {width: 600px;}
+.request-detail>.head a i {color: #999; font-size: 19px;}
+.request-detail>.head>div {margin-right: 8px;}
+.request-detail>.head>.id {color: #999;}
+.request-detail>.head>.label {margin-top: 3px;}
+
+.request-detail>.summary>div {border-bottom: 1px dotted #BBB; margin-bottom: 12px; padding-bottom: 8px;}
+.request-detail>.summary>div:last-child {border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
+.request-detail>.summary>.status-reasons ul {margin-bottom: 0; padding-left: 16px;}
+
+.request-detail>.summary img {width: 24px; height: 24px; vertical-align: middle;}
+.request-detail>.summary .conflict {color: #DD4B4B; font-size: 16px;}
+.request-detail>.summary .no-conflict {color: #399529; font-size: 16px;}
+
+.request-detail>.summary>.operations>.buttons>a,
+.request-detail>.summary>.operations>.confirm>form>input {margin-right: 12px;}
+.request-detail>.summary>.operations>.confirm>form>textarea,
+.request-detail>.summary>.operations>.confirm>form>.delete-source {margin-bottom: 16px;}
+
+/* COMMON CSS FOR REVIEW RESULT ICON */
+.request-detail .review-result {font-size: 24px; position: absolute; left: 30px;
+ top: 6px; cursor: pointer;}
+.request-detail .review-result.current.approved {color: #35A612;}
+.request-detail .review-result.current.disapproved {color: #F93333;}
+.request-detail .review-result.previous.approved,
+.request-detail .review-result.previous.disapproved {color: #888;}
+
+.request-detail>.overview>tbody>tr>td.activities {width: 75%; padding-right: 16px;}
+.request-detail .activities>table {margin-bottom: 20px; border-bottom: 1px solid #E5E5E5;}
+.request-detail .activities>table>tbody>tr.discussion>td {border-top: 1px solid #E5E5E5; padding: 12px 0;}
+.request-detail .activities>table>tbody>tr.discussion.collapsed>td {padding: 8px 0;}
+.request-detail .activities>table>tbody>tr.discussion>td.avatar {width: 1px; padding-left: 12px; padding-right: 12px;}
+.request-detail .activities>table>tbody>tr.discussion>td.activity {padding-left: 12px;}
+.request-detail .activities>table>tbody>tr.activity>td.avatar {border-right: 1px dashed #DDD;}
+
+.request-detail .activities>table>tbody>tr.activity.discussion>td.avatar {border-right: none;}
+.request-detail .activities>table>tbody>tr.discussion+.non-discussion>td {border-top: 1px solid #E5E5E5;}
+.request-detail .activities>table>tbody>tr.discussion+.non-update>td {padding-top: 8px;}
+.request-detail .activities>table>tbody>tr.discussion>.avatar img {width: 40px; height: 40px;}
+.request-detail .activities>table>tbody>tr.non-discussion>td {padding-left: 6px; font-size: 13px;}
+.request-detail .activities>table>tbody>tr.non-discussion>td.avatar img {display: none;}
+.request-detail .activities>table>tbody>tr.non-discussion>.activity>div.summary .user a {font-weight: normal;}
+.request-detail .activities>table>tbody>tr.update+.update>td>table {margin-top: -12px;}
+
+.request-detail .activities .activity>.commits {color: #777; margin-left: -32px;}
+.request-detail .activities .activity>.commits a {color: #555;}
+.request-detail .activities .activity>.commits td {padding-top: 8px; padding-bottom: 8px;}
+.request-detail .activities .non-update+.update>td tr:first-child td {border-top: none;}
+.request-detail .activities .activity>.commits td.icon {width: 32px; white-space: nowrap; text-align: right;}
+.request-detail .activities .activity>.commits tr.integrated td.icon .fa {color: #35A612;}
+.request-detail .activities .activity>.commits td.detail {padding-left: 15px; padding-right: 8px;}
+.request-detail .activities .activity>.commits td.status {text-align: right;}
+.request-detail .activities .activity>.commits tr:hover td.detail,
+.request-detail .activities .activity>.commits tr:hover td.status {background: #F5F5F5;}
+.request-detail .activities .activity>.commits tr.rebased td a {color: #AAA;}
+.request-detail .activities .activity>.commits tr.rebased td.icon .fa {color: #CCC;}
+.request-detail .activities .activity>.commits tr.rebased img.avatar {opacity: 0.5;}
+.request-detail .activities .activity>.commits td.status .successful {color: #35A612;}
+.request-detail .activities .activity>.commits td.status .failed {color: #F93333;}
+.request-detail .activities .activity>.commits td.status .running {color: #AFAD1F;}
+.request-detail .activities .activity.new>.avatar {background: #FCF6D6;}
+
+.request-detail .others>div>div {border-bottom: 1px dotted #BBB; margin-bottom: 16px;
+ padding-bottom: 16px; font-size: 13px; color: #666;}
+.request-detail .others>div>div:last-child {border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
+.request-detail .others .help-block {margin-bottom: 0; color: #888}
+.request-detail .others .fa.small {font-size: 14px; vertical-align: middle;}
+.request-detail .others label {margin-right: 4px; font-weight: normal;}
+.request-detail .others .select2-container {width: 100%;}
+.request-detail .others .avatar {width: 24px; height: 24px;}
+.request-detail .others .select2-container .avatar {width: 20px; height: 20px;}
+
+.request-detail .others .basic-info .submitter, .request-detail .others .basic-info .target {margin-bottom: 4px;}
+.request-detail .others .basic-info span, .request-detail .others .basic-info a {white-space: nowrap;}
+.request-detail .others .basic-info .source>a {margin-left: 4px;}
+
+.request-detail .others .reviewers ul {margin-bottom: 0;}
+.request-detail .others .reviewers li {margin-right: 20px; margin-bottom: 10px; position: relative;}
+.request-detail .others .reviewers li a:hover {text-decoration: none;}
+.request-detail .others .reviewers .review-result {top: 12px;}
+
+.request-detail .activities .table-diff>tbody>.line.comments>td {padding: 12px;}
+.request-detail .activities .table-diff>tbody>tr.omit>td .fa {font-size: 24px; color: #888; margin-left: 12px;}
+.request-detail .activities .inline-comment.panel>.panel-heading {padding: 8px;}
+.request-detail .activities .inline-comment.panel>.panel-heading .actions {margin-left: 12px;}
+.request-detail .activities .inline-comment.panel>.panel-heading .actions a {color: #BBB; margin-right: 4px;}
+.request-detail .activities .inline-comment.panel>.panel-heading:hover .actions a {color: #666;}
+.request-detail .activities .inline-comment.panel {margin-bottom: 4px;}
+
+.request-detail .activities .activity.non-discussion>.activity>.summary .fa {background: white;}
+.request-detail .activities .activity>div>.fa {vertical-align: middle; margin: 0 8px 0 -16px; font-size: 24px;}
+.request-detail .activities .activity>.update>.fa {margin: 0 8px 0 -15px; font-size: 20px;}
+.request-detail .activities .activity>.discard>.fa {color: #F93333;}
+.request-detail .activities .activity>.integrate>.fa {color: #35A612; margin-left: -20px;}
+.request-detail .activities .activity>.approve>.fa {color: #35A612; margin-left: -18px;}
+.request-detail .activities .activity>.disapprove>.fa {color: #F93333; margin-left: -18px;}
+.request-detail .activities .activity>.undo-review>.fa {color: #666; margin-left: -14px;}
+.request-detail .activities .activity>.reopen>.fa {color: #666; font-size: 30px; margin-left: -20px; margin-right: 7px;}
+
+.request-detail>.updates>.update {padding: 12px; margin: 20px 0; border: 1px solid #DDD; border-radius: 4px;}
+.request-detail>.updates>.update>.summary .actions .fa {font-size: 16px;}
+.request-detail>.updates>.update>.summary>.reviews>.review {margin-left: 12px; white-space: nowrap; position: relative;}
+
+.request-detail>.updates>.update>.commits td {padding-top: 8px; padding-bottom: 8px;
+ color: #999; border-top: 1px dashed #CCC;}
+.request-detail>.updates>.update>.commits tr.rebased td a {color: #AAA;}
+.request-detail>.updates>.update>.commits tr.rebased img.avatar {opacity: 0.5;}
+.request-detail>.updates>.update>.commits td.avatar {width: 1px;}
+.request-detail>.updates>.update>.commits td.avatar img {width: 36px; height: 36px;}
+.request-detail>.updates>.update>.commits a {color: #666;}
+.request-detail>.updates>.update>.commits a.subject {font-weight: bold;}
+.request-detail>.updates>.update>.commits td.detail {padding-left: 8px; padding-right: 8px;}
+.request-detail>.updates>.update>.commits td.status {text-align: right;}
+.request-detail>.updates>.update>.commits td.status>div:first-child {white-space: nowrap;}
+.request-detail>.updates>.update>.commits tr:hover td {background: #F7ECB9;}
+.request-detail>.updates>.update>.commits .commit-message>.full {margin-bottom: 4px;}
+
+.request-detail .compare>.head {background: #F2F2F2; z-index: 90; padding: 8px;
+ border: 1px solid #DDD;}
+.request-detail .compare>.head>.changed-toggle {margin-right: 12px; padding-top: 4px;}
+.request-detail .compare>.head>.outdated-alert {padding-top: 2px; color: #CF9115; font-size: 16px;}
+.request-detail .compare>.head>.pull-left:FIRST-CHILD {margin-right: 16px;}
+.request-detail .compare>.head>.pull-left:LAST-CHILD {margin-top: 3px;}
+
+.content>.commit-choice {max-height: 600px; padding: 8px 0; overflow-y: scroll;}
+.content>.commit-choice a {text-decoration: none; color: #333; display: block; padding: 8px;}
+.content>.commit-choice li {border-bottom: 1px dotted #BBB;}
+.content>.commit-choice li:hover {background: #FDF2C3;}
+.content>.commit-choice a .commit {font-family: Consolas, 'Liberation Mono', Courier, monospace;}
+.content>.commit-choice a .subject {font-size: 12px; color: #999;}
+table.old-vs-new td {padding: 0 8px;}
+table.old-vs-new td.old {width: 140px; text-align: left;}
+table.old-vs-new td.new {width: 140px; text-align: right;}
+table.old-vs-new td.vs {width: 1px; text-align: center; font-weight: bold;}
+
+table.verifications td {vertical-align: top; white-space: nowrap; color: #444;}
+table.verifications {margin-bottom: 1px;}
+table.verifications .fa {display: none;}
+table.verifications tr.passed .fa-check {display: inline; color: #5CB85C;}
+table.verifications tr.not-passed .fa-times {display: inline; color: #D9534F;}
+table.verifications tr.ongoing .fa-cog {display: inline; color: #F0AD4E;}
+.conflict-resolve-instruction {padding: 8px; width: 400px;}
+
+/* GATE KEEPER SETTING PAGE */
+.gate-keeper-tip {margin: 0 20px 20px 20px;}
+.gate-keeper-add.well {font-size:16px;}
+.gate-keeper-add .fa {margin-left: 8px;}
+.gate-keeper-add:hover, .gate-keeper-add:focus {background-color: #EBEBEB; border-color: #ADADAD; cursor: pointer;}
+.gate-keeper-selector {width: 600px; max-height: 600px; overflow: auto;}
+.gate-keeper-selector .panel {border: none; border-radius: 0;}
+.gate-keeper-selector .panel-heading {border-top: 1px solid #CCCCCC; border-radius: 0;}
+.gate-keeper-selector .panel-group>.panel:first-child>.panel-heading {border-top: none;}
+.gate-keeper-selector .panel-heading.collapsed:hover, .gate-keeper-selector .panel-heading.collapsed:focus {
+ border-color: #999999; background-color: #E0E0E0; cursor: pointer;}
+.gate-keeper-selector .panel-group .panel + .panel {margin-top: 0px;}
+.gate-keeper-selector .fa {width: 20px;}
+.gate-keeper-description {font-size: 13px; color: #888888;}
+.gate-keeper-item {margin-bottom: 6px; padding: 4px; border: 1px solid white;}
+.gate-keeper-item:hover, .gate-keeper-item:focus {background-color: #EBEBEB; cursor: pointer;
+ border: 1px solid #ADADAD; border-radius: 4px;}
+.gate-keeper-name {font-size: 15px; margin-top: -4px;}
+.gate-keeper-editor {max-height: 600px; overflow: auto;}
+.gate-keeper-editor .gate-keeper-name {font-weight: bold; font-size: 16px; margin-top: 0; margin-bottom: 4px;}
+.gate-keeper-editor .fa {width: 20px; margin-right: 8px; margin-top: 4px;}
+.gate-keeper .panel-title {font-size: 14px;}
+.gate-keeper .panel-heading {padding: 8px;}
+.gate-keeper .fa {margin-left: 8px; cursor: pointer;}
+.gate-keeper .gate-keeper-add {margin: 0px; padding: 8px; font-size: 14px;}
+.gate-keeper .reflection {margin-bottom: 0;}
+
+.gate-keeper.panel {border: 1px solid #BBBBBB;}
+.gate-keeper.panel>.panel-heading {border-color: #BBBBBB;}
+.gate-keeper.panel.disabled, .gate-keeper.panel.disabled .panel {color: #AAA;}
+.gate-keeper.panel.disabled>.panel-heading, .gate-keeper.panel.disabled .panel-heading {color: #AAA;}
+.gate-keeper.panel.disabled .fa {color: inherit;}
+.gate-keeper td.name {font-weight: normal !important; background-color: #F0F0F0 !important;}
+.gate-keeper table.viewer {font-size: 13px !important; color: #444444;}
+.gate-keeper table.children {width: 100%;}
+.gate-keeper td.child {vertical-align: top; padding-right: 12px;}
+.gate-keeper table.children>tbody>tr>td.child:last-child {padding-right: 0;}
+.gate-keeper.panel .panel-body {overflow:auto;}
+.gate-keeper table.ifthen {width: 100%;}
+.gate-keeper td.ifthen {vertical-align: top;}
+.gate-keeper td.ifthen.connector {width:1px;}
+.gate-keeper td.ifthen.connector .fa {margin: 0 6px 0 8px; color: #666666; font-size: 36px;}
+
+/* INTEGRATION POLICY AND CHANGE SUBSCRIPTION PAGE */
+.integration-policies .handle, .change-subscriptions .handle {cursor: move; margin-right: 8px;}
+.integration-policies .panel-heading a, .change-subscriptions .panel-heading a {color: #444; margin-right: 8px;}
+.integration-policies .add-new, .change-subscriptions .add-new {display: block; padding: 16px; background: #F2F2F2;
+ border: 1px solid #DDD; border-radius: 4px; font-size: 16px; color: #444; margin-bottom: 16px;}
+.integration-policies a.add-new:hover, .change-subscriptions a.add-new:hover {
+ text-decoration: none; background-color: #EBEBEB; border-color: #ADADAD;}
+.integration-policies a.add-new .fa {margin-left: 8px;}
+.integration-policies>.body>.help-block .fa {
+ position: absolute; font-size: 20px; color: #E6AF42; margin-top: 2px;}
+.integration-policies>.body>.help-block p, .change-subscriptions>.body>.help-block p {margin-left: 18px;}
\ No newline at end of file
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/js/page.js b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/base.js
similarity index 100%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/assets/js/page.js
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/base.js
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/cheatsheet.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/cheatsheet.html
similarity index 98%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/cheatsheet.html
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/cheatsheet.html
index 9c4b77a3fb..34b57e2401 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/cheatsheet.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/cheatsheet.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>ponticons v1.0.19 Cheatsheet</title>
+ <title>fontext v1.0.19 Cheatsheet</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<style>
@@ -59,12 +59,12 @@
#sidebar a { display: block; padding: 4px 20px; font-size: 13px; font-weight: 500; color: #999; }
#affix-nav li.active > a { color: #08f; }
</style>
- <link rel="stylesheet" href="css/ponticons.css" type="text/css" charset="utf-8" />
+ <link rel="stylesheet" href="fontext.css" type="text/css" charset="utf-8" />
</head>
<body data-spy="scroll">
<header class="navbar navbar-fixed-top bs-docs-nav" id="topbar" role="banner">
<div class="container">
- <h1 class="pull-left">ponticons</h1>
+ <h1 class="pull-left">fontext</h1>
<div id="sizes" class="pull-left">
<span class="btn-group">
<a class="btn btn-default" data-size="1x">1X</a>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/css/ponticons.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.css
similarity index 73%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/css/ponticons.css
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.css
index f6fe1fd0af..1d3e0aefe4 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/css/ponticons.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.css
@@ -1,5 +1,5 @@
-@font-face { font-family: "ponticons"; src: url("../fonts/ponticons.eot?v=1.0.19"); src: url("../fonts/ponticons.eot?v=1.0.19#iefix") format("embedded-opentype"), url("../fonts/ponticons.ttf?v=1.0.19") format("truetype"), url("../fonts/ponticons.woff?v=1.0.19") format("woff"), url("../fonts/ponticons.svg?v=1.0.19#ponticons") format("svg"); font-weight: normal; font-style: normal; }
-.fa-ext {font: normal 14px "ponticons"; display: inline-block; speak: none; text-transform: none; text-rendering: auto; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
+@font-face { font-family: "fontext"; src: url("fontext.eot?v=1.0.19"); src: url("fontext.eot?v=1.0.19#iefix") format("embedded-opentype"), url("fontext.ttf?v=1.0.19") format("truetype"), url("../fonts/ponticons.woff?v=1.0.19") format("woff"), url("fontext.svg?v=1.0.19#fontext") format("svg"); font-weight: normal; font-style: normal; }
+.fa-ext {font: normal 14px "fontext"; display: inline-block; speak: none; text-transform: none; text-rendering: auto; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
.fa-gitplex-logo:before { content: "\f100"; }
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/fonts/ponticons.eot b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.eot
similarity index 100%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/fonts/ponticons.eot
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.eot
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/fonts/ponticons.svg b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.svg
similarity index 100%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/fonts/ponticons.svg
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.svg
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/fonts/ponticons.ttf b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.ttf
similarity index 100%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/fonts/ponticons.ttf
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.ttf
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/fonts/ponticons.woff b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.woff
similarity index 100%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/assets/ponticons/fonts/ponticons.woff
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/base/fontext/fontext.woff
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/error/BaseErrorPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/error/BaseErrorPage.java
index 41d4e6578a..6d9dcb1044 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/error/BaseErrorPage.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/error/BaseErrorPage.java
@@ -2,7 +2,7 @@ package com.pmease.gitplex.web.page.error;
import org.apache.wicket.request.http.WebResponse;
-import com.pmease.gitplex.web.page.BasePage;
+import com.pmease.gitplex.web.page.base.BasePage;
@SuppressWarnings("serial")
public abstract class BaseErrorPage extends BasePage {
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/ServerInitPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/init/ServerInitPage.html
similarity index 100%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/page/ServerInitPage.html
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/init/ServerInitPage.html
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/ServerInitPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/init/ServerInitPage.java
similarity index 77%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/page/ServerInitPage.java
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/init/ServerInitPage.java
index e822fef0df..e28028aa2a 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/ServerInitPage.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/init/ServerInitPage.java
@@ -1,17 +1,21 @@
-package com.pmease.gitplex.web.page;
+package com.pmease.gitplex.web.page.init;
import java.util.ArrayList;
import java.util.List;
import org.apache.wicket.RestartResponseException;
+import org.apache.wicket.markup.head.CssHeaderItem;
+import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.basic.Label;
+import org.apache.wicket.request.resource.CssResourceReference;
import com.pmease.commons.util.init.InitStage;
import com.pmease.commons.util.init.ManualConfig;
import com.pmease.commons.wicket.component.wizard.ManualConfigStep;
import com.pmease.commons.wicket.component.wizard.Wizard;
import com.pmease.gitplex.core.GitPlex;
+import com.pmease.gitplex.web.page.base.BasePage;
@SuppressWarnings("serial")
public class ServerInitPage extends BasePage {
@@ -55,6 +59,12 @@ public class ServerInitPage extends BasePage {
return "Server Initialization";
}
+ @Override
+ public void renderHead(IHeaderResponse response) {
+ super.renderHead(response);
+ response.render(CssHeaderItem.forReference(new CssResourceReference(ServerInitPage.class, "server-init.css")));
+ }
+
@Override
protected int getPageRefreshInterval() {
if (initStage.getManualConfigs().isEmpty())
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/init/server-init.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/init/server-init.css
new file mode 100644
index 0000000000..6cbbba5e2a
--- /dev/null
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/init/server-init.css
@@ -0,0 +1,9 @@
+.server-init {
+ text-align: center;
+ width: 50%;
+ margin: 0 auto;
+}
+
+.server-init .message {
+ margin: 40px;
+}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/pullrequest/NewRequestPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/pullrequest/NewRequestPage.java
index 071322d2e5..5a65f87307 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/pullrequest/NewRequestPage.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/pullrequest/NewRequestPage.java
@@ -62,9 +62,9 @@ import com.pmease.gitplex.web.component.pullrequest.AssigneeChoice;
import com.pmease.gitplex.web.component.pullrequest.ReviewerAvatar;
import com.pmease.gitplex.web.component.pullrequest.ReviewerChoice;
import com.pmease.gitplex.web.model.ReviewersModel;
-import com.pmease.gitplex.web.page.LoginPage;
import com.pmease.gitplex.web.page.repository.NoCommitsPage;
import com.pmease.gitplex.web.page.repository.RepositoryPage;
+import com.pmease.gitplex.web.page.security.LoginPage;
@SuppressWarnings("serial")
public class NewRequestPage extends RepositoryPage {
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/LoginPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/security/LoginPage.html
similarity index 100%
rename from gitplex.web/src/main/java/com/pmease/gitplex/web/page/LoginPage.html
rename to gitplex.web/src/main/java/com/pmease/gitplex/web/page/security/LoginPage.html
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/security/LoginPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/security/LoginPage.java
new file mode 100644
index 0000000000..89b9d7e943
--- /dev/null
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/security/LoginPage.java
@@ -0,0 +1,8 @@
+package com.pmease.gitplex.web.page.security;
+
+import com.pmease.gitplex.web.page.base.BasePage;
+
+@SuppressWarnings("serial")
+public class LoginPage extends BasePage {
+
+}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/test/TestPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/test/TestPage.html
index 52347806c0..6e68fd39f6 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/test/TestPage.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/test/TestPage.html
@@ -1,2 +1,3 @@
<wicket:extend>
+ <i class="fa fa-ext fa-milestone"></i>
</wicket:extend>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/test/TestPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/test/TestPage.java
index 328e92692b..eeb83051cf 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/test/TestPage.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/test/TestPage.java
@@ -1,6 +1,6 @@
package com.pmease.gitplex.web.page.test;
-import com.pmease.gitplex.web.page.BasePage;
+import com.pmease.gitplex.web.page.base.BasePage;
@SuppressWarnings("serial")
public class TestPage extends BasePage {