Skip to content

The Unified and Autonomous Development Platform

Request compare page draft.

robin shinea7d692b3e805
diff --git a/commons.git/src/main/java/com/pmease/commons/git/FileChange.java b/commons.git/src/main/java/com/pmease/commons/git/Change.java
similarity index 58%
rename from commons.git/src/main/java/com/pmease/commons/git/FileChange.java
rename to commons.git/src/main/java/com/pmease/commons/git/Change.java
index 0c8771adb7..b74480e86e 100644
--- a/commons.git/src/main/java/com/pmease/commons/git/FileChange.java
+++ b/commons.git/src/main/java/com/pmease/commons/git/Change.java
@@ -3,14 +3,17 @@ package com.pmease.commons.git;
import java.io.Serializable;
import java.util.StringTokenizer;
+import org.eclipse.jgit.lib.FileMode;
import org.eclipse.jgit.util.QuotedString;
import com.google.common.base.Preconditions;
@SuppressWarnings("serial")
-public class FileChange implements Serializable {
+public class Change implements Comparable<Change>, Serializable {
- public enum Status {ADD, MODIFY, DELETE, RENAME, TYPE}
+ public enum Status {ADDED, MODIFIED, DELETED, RENAMED, UNCHANGED}
+
+ private final Status status;
private final String oldPath;
@@ -20,9 +23,7 @@ public class FileChange implements Serializable {
private final int newMode;
- private final Status status;
-
- public FileChange(Status status, String oldPath, String newPath, int oldMode, int newMode) {
+ public Change(Status status, String oldPath, String newPath, int oldMode, int newMode) {
this.status = status;
this.oldPath = oldPath;
this.newPath = newPath;
@@ -30,12 +31,12 @@ public class FileChange implements Serializable {
this.newMode = newMode;
}
- public FileChange(FileChange copy) {
- this.status = copy.status;
- this.oldPath = copy.oldPath;
- this.newPath = copy.newPath;
- this.oldMode = copy.oldMode;
- this.newMode = copy.newMode;
+ public Change(Change change) {
+ this.status = change.status;
+ this.oldPath = change.oldPath;
+ this.newPath = change.newPath;
+ this.oldMode = change.oldMode;
+ this.newMode = change.newMode;
}
public String getOldPath() {
@@ -60,19 +61,44 @@ public class FileChange implements Serializable {
@Override
public String toString() {
- if (status == Status.RENAME)
+ if (status == Status.RENAMED)
return status.name() + "\t" + oldPath + "->" + newPath;
- else if (status == Status.DELETE)
+ else if (status == Status.DELETED)
return status.name() + "\t" + oldPath;
else
return status.name() + "\t" + newPath;
}
+ public boolean isFolder() {
+ return oldMode == FileMode.TYPE_TREE || newMode == FileMode.TYPE_TREE;
+ }
+
+ @Override
+ public int compareTo(Change other) {
+ if (isFolder()) {
+ if (other.isFolder())
+ return getPath().compareTo(other.getPath());
+ else
+ return -1;
+ } else if (other.isFolder()) {
+ return 1;
+ } else {
+ return getPath().compareTo(other.getPath());
+ }
+ }
+
+ public String getPath() {
+ if (status == Status.DELETED)
+ return oldPath;
+ else
+ return newPath;
+ }
+
private static String dequoteFileName(String quotedFileName) {
return QuotedString.GIT_PATH.dequote(quotedFileName);
}
- public static FileChange parseRawLine(String rawLine) {
+ public static Change parseRawLine(String rawLine) {
Preconditions.checkArgument(rawLine.startsWith(":"));
StringTokenizer tokenizer = new StringTokenizer(rawLine.substring(1));
@@ -84,21 +110,17 @@ public class FileChange implements Serializable {
if (statusCode.startsWith("R")) {
String oldPath = dequoteFileName(tokenizer.nextToken("\t"));
String newPath = dequoteFileName(tokenizer.nextToken("\t"));
- return new FileChange(FileChange.Status.RENAME, oldPath, newPath, oldMode, newMode);
- } else if (statusCode.equals("M")) {
+ return new Change(Change.Status.RENAMED, oldPath, newPath, oldMode, newMode);
+ } else if (statusCode.equals("M") || statusCode.equals("T")) {
String oldPath, newPath;
oldPath = newPath = dequoteFileName(tokenizer.nextToken("\t"));
- return new FileChange(FileChange.Status.MODIFY, oldPath, newPath, oldMode, newMode);
+ return new Change(Change.Status.MODIFIED, oldPath, newPath, oldMode, newMode);
} else if (statusCode.equals("D")) {
String oldPath = dequoteFileName(tokenizer.nextToken("\t"));
- return new FileChange(FileChange.Status.DELETE, oldPath, null, oldMode, newMode);
- } else if (statusCode.equals("T")) {
- String oldPath, newPath;
- oldPath = newPath = dequoteFileName(tokenizer.nextToken("\t"));
- return new FileChange(FileChange.Status.TYPE, oldPath, newPath, oldMode, newMode);
+ return new Change(Change.Status.DELETED, oldPath, null, oldMode, newMode);
} else if (statusCode.equals("A")) {
String newPath = dequoteFileName(tokenizer.nextToken("\t"));
- return new FileChange(FileChange.Status.ADD, null, newPath, oldMode, newMode);
+ return new Change(Change.Status.ADDED, null, newPath, oldMode, newMode);
} else {
throw new RuntimeException("Unexpected status code: " + statusCode);
}
diff --git a/commons.git/src/main/java/com/pmease/commons/git/Commit.java b/commons.git/src/main/java/com/pmease/commons/git/Commit.java
index 24376a2b23..55990196d5 100644
--- a/commons.git/src/main/java/com/pmease/commons/git/Commit.java
+++ b/commons.git/src/main/java/com/pmease/commons/git/Commit.java
@@ -25,7 +25,7 @@ public class Commit extends BriefCommit {
private final List<String> parentHashes;
- private final List<FileChange> fileChanges;
+ private final List<Change> fileChanges;
public static class Builder {
String hash;
@@ -35,7 +35,7 @@ public class Commit extends BriefCommit {
PersonIdent author;
PersonIdent committer;
List<String> parents = Lists.newArrayList();
- List<FileChange> changes = Lists.newArrayList();
+ List<Change> changes = Lists.newArrayList();
public Builder hash(String hash) {
this.hash = hash;
@@ -74,7 +74,7 @@ public class Commit extends BriefCommit {
return this;
}
- public Builder changes(List<FileChange> changes) {
+ public Builder changes(List<Change> changes) {
this.changes = changes;
return this;
}
@@ -93,7 +93,7 @@ public class Commit extends BriefCommit {
public Commit(String hash, PersonIdent committer, PersonIdent author,
String subject, @Nullable String body,
@Nullable String note, List<String> parentHashes,
- List<FileChange> fileChanges) {
+ List<Change> fileChanges) {
super(hash, committer, author, subject);
this.body = body;
@@ -118,7 +118,7 @@ public class Commit extends BriefCommit {
return Collections.unmodifiableList(parentHashes);
}
- public List<FileChange> getFileChanges() {
+ public List<Change> getFileChanges() {
return Collections.unmodifiableList(fileChanges);
}
diff --git a/commons.git/src/main/java/com/pmease/commons/git/DiffTreeNode.java b/commons.git/src/main/java/com/pmease/commons/git/DiffTreeNode.java
deleted file mode 100644
index 3008f9a06f..0000000000
--- a/commons.git/src/main/java/com/pmease/commons/git/DiffTreeNode.java
+++ /dev/null
@@ -1,84 +0,0 @@
-package com.pmease.commons.git;
-
-import java.io.Serializable;
-
-import org.apache.commons.lang3.StringUtils;
-import org.eclipse.jgit.lib.FileMode;
-
-import com.google.common.base.Objects;
-
-@SuppressWarnings("serial")
-public class DiffTreeNode implements Comparable<DiffTreeNode>, Serializable {
-
- public enum Status {ADD, MODIFY, DELETE, UNCHANGE};
-
- private final Status status;
-
- private final String path;
-
- private final int oldMode;
-
- private final int newMode;
-
- private transient String name;
-
- public DiffTreeNode(Status status, String path, int oldMode, int newMode) {
- this.path = path;
- this.status = status;
- this.oldMode = oldMode;
- this.newMode = newMode;
- }
-
- public String getPath() {
- return path;
- }
-
- public String getName() {
- if (name == null) {
- if (path.contains("/"))
- name = StringUtils.substringAfterLast(path, "/");
- else
- name = path;
- }
- return name;
- }
-
- public Status getStatus() {
- return status;
- }
-
- public int getOldMode() {
- return oldMode;
- }
-
- public int getNewMode() {
- return newMode;
- }
-
- public boolean isFolder() {
- return oldMode == FileMode.TYPE_TREE || newMode == FileMode.TYPE_TREE;
- }
-
- @Override
- public int compareTo(DiffTreeNode other) {
- if (isFolder()) {
- if (other.isFolder())
- return getPath().compareTo(other.getPath());
- else
- return -1;
- } else if (other.isFolder()) {
- return 1;
- } else {
- return getPath().compareTo(other.getPath());
- }
- }
-
- @Override
- public String toString() {
- return Objects.toStringHelper(DiffTreeNode.class)
- .add("action", status)
- .add("path", path)
- .toString();
- }
-
-}
diff --git a/commons.git/src/main/java/com/pmease/commons/git/Git.java b/commons.git/src/main/java/com/pmease/commons/git/Git.java
index e859852ba5..35faebd883 100644
--- a/commons.git/src/main/java/com/pmease/commons/git/Git.java
+++ b/commons.git/src/main/java/com/pmease/commons/git/Git.java
@@ -1,5 +1,11 @@
package com.pmease.commons.git;
+import static com.pmease.commons.git.Change.Status.ADDED;
+import static com.pmease.commons.git.Change.Status.DELETED;
+import static com.pmease.commons.git.Change.Status.MODIFIED;
+import static com.pmease.commons.git.Change.Status.RENAMED;
+import static com.pmease.commons.git.Change.Status.UNCHANGED;
+
import java.io.File;
import java.io.Serializable;
import java.util.ArrayList;
@@ -28,6 +34,7 @@ import com.pmease.commons.git.command.CheckoutCommand;
import com.pmease.commons.git.command.CherryPickCommand;
import com.pmease.commons.git.command.CloneCommand;
import com.pmease.commons.git.command.CommitCommand;
+import com.pmease.commons.git.command.ConsumeCommand;
import com.pmease.commons.git.command.DeleteRefCommand;
import com.pmease.commons.git.command.FetchCommand;
import com.pmease.commons.git.command.InitCommand;
@@ -49,7 +56,6 @@ import com.pmease.commons.git.command.PushCommand;
import com.pmease.commons.git.command.RemoveCommand;
import com.pmease.commons.git.command.ResetCommand;
import com.pmease.commons.git.command.ShowCommand;
-import com.pmease.commons.git.command.ConsumeCommand;
import com.pmease.commons.git.command.ShowRefCommand;
import com.pmease.commons.git.command.ShowSymbolicRefCommand;
import com.pmease.commons.git.command.UpdateRefCommand;
@@ -169,135 +175,87 @@ public class Git implements Serializable {
* @param toRev
* revision to calculate file differences since fromRev
* @param path
- * path to list tree for. Note that if path is not empty and does not end with slash,
- * this method will diff this path itself between fromRev and toRev, instead of
- * diffing child entries under this path
+ * path to list tree under
+ * @param changes
+ * all changes between fromRev and toRev. This param is passed for performance reasons,
+ * in order not to calculate changes over and over again when expand nodes of a diff tree
* @return
* a list of tree node with appropriate actions set up to mark whether or not this
* tree node is modified, added, deleted or remaining the same
*/
- public List<DiffTreeNode> listTreeWithDiff(String fromRev, String toRev, @Nullable String path) {
+ public List<Change> listTree(String fromRev, String toRev, @Nullable String path, List<Change> changes) {
if (path == null)
path = "";
+
+ if (path.length() != 0 && !path.endsWith("/"))
+ path += "/";
- List<DiffTreeNode> diffs = new ArrayList<>();
+ List<Change> diffs = new ArrayList<>();
- if (path.length() == 0 || path.endsWith("/")) {
- Map<String, FileChange> changes = new HashMap<String, FileChange>();
-
- for (FileChange change: listFileChanges(fromRev, toRev, path, false)) {
- if (change.getStatus() == FileChange.Status.ADD) {
- changes.put(change.getNewPath(), change);
- } else if (change.getStatus() == FileChange.Status.DELETE) {
- changes.put(change.getOldPath(), change);
- } else if (change.getStatus() == FileChange.Status.MODIFY
- || change.getStatus() == FileChange.Status.TYPE) {
- changes.put(change.getOldPath(), change);
- } else {
- throw new IllegalStateException("Unexpected action: " + change.getStatus());
- }
- }
-
- Set<String> nodePathsInToRev = new HashSet<>();
- for (TreeNode each: listTree(toRev, path))
- nodePathsInToRev.add(each.getPath());
-
- Set<String> coveredFiles = new HashSet<>();
- for (TreeNode treeNode: listTree(fromRev, path)) {
- if (FileMode.TREE.equals(treeNode.getMode())) {
- String treePath = treeNode.getPath() + "/";
- DiffTreeNode diff = null;
- for (String changedFile: changes.keySet()) {
- if (changedFile.startsWith(treePath)) {
- coveredFiles.add(changedFile);
- diff = new DiffTreeNode(DiffTreeNode.Status.MODIFY, treeNode.getPath(),
+ Map<String, Change> changesMap = new HashMap<>();
+
+ for (Change change: changes) {
+ changesMap.put(change.getPath(), change);
+ if (change.getStatus() == RENAMED)
+ changesMap.put(change.getOldPath(), change);
+ }
+
+ Set<String> nodePathsInToRev = new HashSet<>();
+ for (TreeNode each: listTree(toRev, path))
+ nodePathsInToRev.add(each.getPath());
+
+ Set<String> coveredFiles = new HashSet<>();
+ for (TreeNode treeNode: listTree(fromRev, path)) {
+ if (FileMode.TREE.equals(treeNode.getMode())) {
+ String treePath = treeNode.getPath() + "/";
+ Change diff = null;
+ for (String changedFile: changesMap.keySet()) {
+ if (changedFile.startsWith(treePath)) {
+ coveredFiles.add(changedFile);
+ if (diff == null) {
+ diff = new Change(MODIFIED, treeNode.getPath(), treeNode.getPath(),
FileMode.TYPE_TREE, FileMode.TYPE_TREE);
- break;
- }
- }
- if (diff != null) {
- if (!nodePathsInToRev.contains(treeNode.getPath()))
- diff = new DiffTreeNode(DiffTreeNode.Status.DELETE, treeNode.getPath(),
- FileMode.TYPE_TREE, 0);
- } else {
- diff = new DiffTreeNode(DiffTreeNode.Status.UNCHANGE, treeNode.getPath(),
- FileMode.TYPE_TREE, FileMode.TYPE_TREE);
- }
- diffs.add(diff);
- } else {
- DiffTreeNode diff;
- FileChange change = changes.get(treeNode.getPath());
- if (change != null) {
- if (change.getStatus() == FileChange.Status.DELETE) {
- diff = new DiffTreeNode(DiffTreeNode.Status.DELETE, treeNode.getPath(),
- change.getOldMode(), change.getNewMode());
- } else {
- diff = new DiffTreeNode(DiffTreeNode.Status.MODIFY, treeNode.getPath(),
- change.getOldMode(), change.getNewMode());
}
- } else {
- diff = new DiffTreeNode(DiffTreeNode.Status.UNCHANGE, treeNode.getPath(),
- treeNode.getMode(), treeNode.getMode());
}
- diffs.add(diff);
}
- }
-
- Set<String> addedDirs = new HashSet<>();
- for (Map.Entry<String, FileChange> entry: changes.entrySet()) {
- String file = entry.getKey();
- FileChange change = entry.getValue();
- if (change.getStatus() == FileChange.Status.ADD && !coveredFiles.contains(file)) {
- String relativePath = file.substring(path.length());
- int index = relativePath.indexOf('/');
- if (index != -1) {
- addedDirs.add(path + relativePath.substring(0, index));
- } else {
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.ADD, file,
- change.getOldMode(), change.getNewMode()));
- }
+ if (diff != null) {
+ if (!nodePathsInToRev.contains(treeNode.getPath()))
+ diff = new Change(DELETED, treeNode.getPath(), null,
+ FileMode.TYPE_TREE, 0);
+ } else {
+ diff = new Change(UNCHANGED, treeNode.getPath(), treeNode.getPath(),
+ FileMode.TYPE_TREE, FileMode.TYPE_TREE);
}
- }
-
- for (String addedDir: addedDirs) {
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.ADD, addedDir,
- FileMode.TYPE_TREE, FileMode.TYPE_TREE));
- }
- } else {
- List<TreeNode> oldTree = listTree(fromRev, path);
- List<TreeNode> newTree = listTree(toRev, path);
- if (!oldTree.isEmpty()) {
- TreeNode oldNode = oldTree.iterator().next();
- if (!newTree.isEmpty()) {
- TreeNode newNode = newTree.iterator().next();
- if (oldNode.getMode() == FileMode.TYPE_TREE) {
- if (newNode.getMode() == FileMode.TYPE_TREE) {
- if (!listChangedFiles(fromRev, toRev, path).isEmpty())
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.MODIFY, path, oldNode.getMode(), newNode.getMode()));
- else
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.UNCHANGE, path, oldNode.getMode(), newNode.getMode()));
- } else {
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.DELETE, path, oldNode.getMode(), 0));
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.ADD, path, 0, newNode.getMode()));
- }
- } else if (newNode.getMode() == FileMode.TYPE_TREE) {
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.DELETE, path, oldNode.getMode(), 0));
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.ADD, path, 0, newNode.getMode()));
- } else if (oldNode.getMode() != newNode.getMode()) {
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.MODIFY, path, oldNode.getMode(), newNode.getMode()));
- } else if (!listChangedFiles(fromRev, toRev, path).isEmpty()) {
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.MODIFY, path, oldNode.getMode(), newNode.getMode()));
- } else {
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.UNCHANGE, path, oldNode.getMode(), newNode.getMode()));
- }
+ diffs.add(diff);
+ } else {
+ Change change = changesMap.get(treeNode.getPath());
+ if (change != null) {
+ if (change.getStatus() != RENAMED || change.getNewPath().equals(treeNode.getPath()))
+ diffs.add(change);
} else {
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.DELETE, path, oldNode.getMode(), 0));
+ diffs.add(new Change(UNCHANGED, treeNode.getPath(), treeNode.getPath(),
+ treeNode.getMode(), treeNode.getMode()));
}
- } else if (!newTree.isEmpty()) {
- TreeNode newNode = newTree.iterator().next();
- diffs.add(new DiffTreeNode(DiffTreeNode.Status.ADD, path, 0, newNode.getMode()));
}
}
+
+ Set<String> addedDirs = new HashSet<>();
+ for (Map.Entry<String, Change> entry: changesMap.entrySet()) {
+ String file = entry.getKey();
+ Change change = entry.getValue();
+ if ((change.getStatus() == ADDED || change.getStatus() == RENAMED && change.getNewPath().equals(file))
+ && !coveredFiles.contains(file) && file.startsWith(path)) {
+ String relativePath = file.substring(path.length());
+ int index = relativePath.indexOf('/');
+ if (index != -1)
+ addedDirs.add(path + relativePath.substring(0, index));
+ else
+ diffs.add(change);
+ }
+ }
+
+ for (String addedDir: addedDirs)
+ diffs.add(new Change(ADDED, null, addedDir, 0, FileMode.TYPE_TREE));
Collections.sort(diffs);
return diffs;
@@ -344,7 +302,7 @@ public class Git implements Serializable {
return new ListChangedFilesCommand(repoDir).fromRev(fromRev).toRev(toRev).path(path).call();
}
- public List<FileChange> listFileChanges(String fromRev, String toRev, @Nullable String path,
+ public List<Change> listFileChanges(String fromRev, String toRev, @Nullable String path,
boolean findRenames) {
return new ListFileChangesCommand(repoDir).fromRev(fromRev).toRev(toRev).path(path)
.findRenames(findRenames).call();
diff --git a/commons.git/src/main/java/com/pmease/commons/git/command/ListFileChangesCommand.java b/commons.git/src/main/java/com/pmease/commons/git/command/ListFileChangesCommand.java
index 140c1f72ed..f0e4193bcc 100644
--- a/commons.git/src/main/java/com/pmease/commons/git/command/ListFileChangesCommand.java
+++ b/commons.git/src/main/java/com/pmease/commons/git/command/ListFileChangesCommand.java
@@ -8,11 +8,11 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Preconditions;
-import com.pmease.commons.git.FileChange;
+import com.pmease.commons.git.Change;
import com.pmease.commons.util.execution.Commandline;
import com.pmease.commons.util.execution.LineConsumer;
-public class ListFileChangesCommand extends GitCommand<List<FileChange>> {
+public class ListFileChangesCommand extends GitCommand<List<Change>> {
private static final Logger logger = LoggerFactory.getLogger(ListFileChangesCommand.class);
@@ -49,11 +49,11 @@ public class ListFileChangesCommand extends GitCommand<List<FileChange>> {
}
@Override
- public List<FileChange> call() {
+ public List<Change> call() {
Preconditions.checkNotNull(toRev, "toRev has to be specified.");
Preconditions.checkNotNull(fromRev, "fromRev has to be specified.");
- final List<FileChange> fileChanges = new ArrayList<>();
+ final List<Change> fileChanges = new ArrayList<>();
Commandline cmd = cmd();
@@ -72,7 +72,7 @@ public class ListFileChangesCommand extends GitCommand<List<FileChange>> {
@Override
public void consume(String line) {
if (line.startsWith(":"))
- fileChanges.add(FileChange.parseRawLine(line));
+ fileChanges.add(Change.parseRawLine(line));
}
}, new LineConsumer() {
diff --git a/commons.git/src/main/java/com/pmease/commons/git/command/LogCommand.java b/commons.git/src/main/java/com/pmease/commons/git/command/LogCommand.java
index b355748c22..463057ed6c 100644
--- a/commons.git/src/main/java/com/pmease/commons/git/command/LogCommand.java
+++ b/commons.git/src/main/java/com/pmease/commons/git/command/LogCommand.java
@@ -12,7 +12,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.pmease.commons.git.Commit;
-import com.pmease.commons.git.FileChange;
+import com.pmease.commons.git.Change;
import com.pmease.commons.git.Git;
import com.pmease.commons.util.execution.Commandline;
import com.pmease.commons.util.execution.LineConsumer;
@@ -143,7 +143,7 @@ public class LogCommand extends GitCommand<List<Commit>> {
commitBuilder.note += "\n" + line;
} else if (rawBlock[0]) {
if (line.startsWith(":"))
- commitBuilder.fileChanges.add(FileChange.parseRawLine(line));
+ commitBuilder.fileChanges.add(Change.parseRawLine(line));
} else if (line.startsWith("subject:")) {
commitBuilder.summary = line.substring("subject:".length());
} else if (line.startsWith("hash:")) {
@@ -205,7 +205,7 @@ public class LogCommand extends GitCommand<List<Commit>> {
private List<String> parentHashes = new ArrayList<>();
- private List<FileChange> fileChanges = new ArrayList<>();
+ private List<Change> fileChanges = new ArrayList<>();
private Commit build() {
return new Commit(
diff --git a/commons.git/src/test/java/com/pmease/commons/git/GitTest.java b/commons.git/src/test/java/com/pmease/commons/git/GitTest.java
index d6c34a1a19..711db4df95 100644
--- a/commons.git/src/test/java/com/pmease/commons/git/GitTest.java
+++ b/commons.git/src/test/java/com/pmease/commons/git/GitTest.java
@@ -3,9 +3,10 @@ package com.pmease.commons.git;
import static org.junit.Assert.assertEquals;
import java.util.List;
-
import org.junit.Test;
+import static com.pmease.commons.git.Change.Status.*;
+
public class GitTest extends AbstractGitTest {
@Test
@@ -29,54 +30,53 @@ public class GitTest extends AbstractGitTest {
addFileAndCommit("dir3/file1", "dir3/file1", "dir3/file1");
addFileAndCommit("dir3/file2", "dir3/file2", "dir3/file2");
- List<DiffTreeNode> diffs = git.listTreeWithDiff("master", "dev", null);
+ List<Change> diffs = git.listTree("master", "dev", null, null);
assertEquals(7, diffs.size());
- assertEquals("dir1", diffs.get(0).getPath());
- assertEquals(DiffTreeNode.Status.MODIFY, diffs.get(0).getStatus());
- assertEquals("dir2", diffs.get(1).getPath());
- assertEquals(DiffTreeNode.Status.MODIFY, diffs.get(1).getStatus());
- assertEquals("dir3", diffs.get(2).getPath());
- assertEquals(DiffTreeNode.Status.ADD, diffs.get(2).getStatus());
- assertEquals("dir2", diffs.get(3).getPath());
- assertEquals(DiffTreeNode.Status.ADD, diffs.get(3).getStatus());
+ assertEquals("dir1", diffs.get(0).getNewPath());
+ assertEquals(MODIFIED, diffs.get(0).getStatus());
+ assertEquals("dir2", diffs.get(1).getNewPath());
+ assertEquals(MODIFIED, diffs.get(1).getStatus());
+ assertEquals("dir3", diffs.get(2).getNewPath());
+ assertEquals(ADDED, diffs.get(2).getStatus());
+ assertEquals("dir2", diffs.get(3).getNewPath());
+ assertEquals(ADDED, diffs.get(3).getStatus());
assertEquals(false, diffs.get(3).isFolder());
- assertEquals("file1", diffs.get(4).getPath());
- assertEquals(DiffTreeNode.Status.UNCHANGE, diffs.get(4).getStatus());
- assertEquals("file2", diffs.get(5).getPath());
- assertEquals(DiffTreeNode.Status.DELETE, diffs.get(5).getStatus());
- assertEquals("file3", diffs.get(6).getPath());
- assertEquals(DiffTreeNode.Status.ADD, diffs.get(6).getStatus());
+ assertEquals("file1", diffs.get(4).getNewPath());
+ assertEquals(UNCHANGED, diffs.get(4).getStatus());
+ assertEquals("file2", diffs.get(5).getOldPath());
+ assertEquals(DELETED, diffs.get(5).getStatus());
+ assertEquals("file3", diffs.get(6).getNewPath());
+ assertEquals(ADDED, diffs.get(6).getStatus());
- diffs = git.listTreeWithDiff("master", "dev", "dir2/");
+ diffs = git.listTree("master", "dev", "dir2/", null);
assertEquals(1, diffs.size());
- assertEquals("dir2/file1", diffs.get(0).getPath());
- assertEquals(DiffTreeNode.Status.DELETE, diffs.get(0).getStatus());
+ assertEquals("dir2/file1", diffs.get(0).getOldPath());
+ assertEquals(DELETED, diffs.get(0).getStatus());
- diffs = git.listTreeWithDiff("master", "dev", "dir3/");
+ diffs = git.listTree("master", "dev", "dir3/", null);
assertEquals(2, diffs.size());
- assertEquals("dir3/file1", diffs.get(0).getPath());
- assertEquals(DiffTreeNode.Status.ADD, diffs.get(0).getStatus());
- assertEquals("dir3/file2", diffs.get(1).getPath());
- assertEquals(DiffTreeNode.Status.ADD, diffs.get(1).getStatus());
+ assertEquals("dir3/file1", diffs.get(0).getNewPath());
+ assertEquals(ADDED, diffs.get(0).getStatus());
+ assertEquals("dir3/file2", diffs.get(1).getNewPath());
+ assertEquals(ADDED, diffs.get(1).getStatus());
- diffs = git.listTreeWithDiff("master", "dev", "dir3");
- assertEquals(1, diffs.size());
- assertEquals("dir3", diffs.get(0).getPath());
- assertEquals(DiffTreeNode.Status.ADD, diffs.get(0).getStatus());
-
rm("dir3/file1");
rm("dir3/file2");
commit("delete dir3");
- diffs = git.listTreeWithDiff("dev~1", "dev", null);
+ diffs = git.listTree("dev~1", "dev", null, null);
assertEquals(5, diffs.size());
- assertEquals("dir3", diffs.get(1).getPath());
- assertEquals(DiffTreeNode.Status.DELETE, diffs.get(1).getStatus());
+ assertEquals("dir3", diffs.get(1).getOldPath());
+ assertEquals(DELETED, diffs.get(1).getStatus());
- diffs = git.listTreeWithDiff("dev~1", "dev", "dir3");
- assertEquals(1, diffs.size());
- assertEquals("dir3", diffs.get(0).getPath());
- assertEquals(DiffTreeNode.Status.DELETE, diffs.get(0).getStatus());
+ addFileAndCommit("dir1/somefile", "hello world", "commit1");
+ removeFileAndCommit("dir1/somefile", "commit2");
+ addFileAndCommit("somefile2", "hello world", "commit3");
+
+ diffs = git.listTree("dev~2", "dev", null, null);
+ assertEquals(5, diffs.size());
+ assertEquals("somefile2", diffs.get(4).getNewPath());
+ assertEquals(RENAMED, diffs.get(4).getStatus());
}
}
diff --git a/commons.git/src/test/java/com/pmease/commons/git/command/ListFileChangesCommandTest.java b/commons.git/src/test/java/com/pmease/commons/git/command/ListFileChangesCommandTest.java
index 423d3e43ba..274e1abcf2 100644
--- a/commons.git/src/test/java/com/pmease/commons/git/command/ListFileChangesCommandTest.java
+++ b/commons.git/src/test/java/com/pmease/commons/git/command/ListFileChangesCommandTest.java
@@ -8,7 +8,7 @@ import org.apache.commons.lang3.SystemUtils;
import org.junit.Test;
import com.pmease.commons.git.AbstractGitTest;
-import com.pmease.commons.git.FileChange;
+import com.pmease.commons.git.Change;
public class ListFileChangesCommandTest extends AbstractGitTest {
@@ -19,13 +19,13 @@ public class ListFileChangesCommandTest extends AbstractGitTest {
removeFileAndCommit("file name with space", "2");
addFileAndCommit("another file name with space", "hello world", "3");
- List<FileChange> changes = git.listFileChanges("master~3", "master~2", null, true);
+ List<Change> changes = git.listFileChanges("master~3", "master~2", null, true);
assertEquals(1, changes.size());
assertEquals("file name with space", changes.get(0).getNewPath());
changes = git.listFileChanges("master~2", "master", null, true);
assertEquals(1, changes.size());
- assertEquals(FileChange.Status.RENAME, changes.get(0).getStatus());
+ assertEquals(Change.Status.RENAMED, changes.get(0).getStatus());
assertEquals("file name with space", changes.get(0).getOldPath());
assertEquals("another file name with space", changes.get(0).getNewPath());
@@ -37,7 +37,7 @@ public class ListFileChangesCommandTest extends AbstractGitTest {
changes = git.listFileChanges("master~1", "master", null, true);
assertEquals(1, changes.size());
- assertEquals(FileChange.Status.RENAME, changes.get(0).getStatus());
+ assertEquals(Change.Status.RENAMED, changes.get(0).getStatus());
assertEquals("file name with \"quote\" ", changes.get(0).getOldPath());
assertEquals(" another file name with \"quote\" ", changes.get(0).getNewPath());
}
diff --git a/commons.git/src/test/java/com/pmease/commons/git/command/LogCommandTest.java b/commons.git/src/test/java/com/pmease/commons/git/command/LogCommandTest.java
index 8932065e3a..89357644ce 100644
--- a/commons.git/src/test/java/com/pmease/commons/git/command/LogCommandTest.java
+++ b/commons.git/src/test/java/com/pmease/commons/git/command/LogCommandTest.java
@@ -9,7 +9,7 @@ import org.junit.Test;
import com.pmease.commons.git.AbstractGitTest;
import com.pmease.commons.git.Commit;
-import com.pmease.commons.git.FileChange;
+import com.pmease.commons.git.Change;
import com.pmease.commons.git.Git;
public class LogCommandTest extends AbstractGitTest {
@@ -43,7 +43,7 @@ public class LogCommandTest extends AbstractGitTest {
assertEquals("hello\nworld", commits.get(0).getNote());
assertEquals(commits.get(0).getFileChanges().size(), 2);
assertEquals(commits.get(0).getFileChanges().get(0).getNewPath(), "dir/file");
- assertEquals(commits.get(0).getFileChanges().get(0).getStatus(), FileChange.Status.ADD);
+ assertEquals(commits.get(0).getFileChanges().get(0).getStatus(), Change.Status.ADDED);
assertEquals(commits.get(0).getParentHashes().size(), 1);
assertEquals(commits.get(0).getParentHashes().iterator().next(), commits.get(1).getHash());
@@ -80,9 +80,9 @@ public class LogCommandTest extends AbstractGitTest {
addFileAndCommit("b2", "1111\n2222\n3333\n4444\n", "move b to b2");
List<Commit> commits = git.log("master~3", "master", null, 0, 0);
- FileChange change = commits.get(0).getFileChanges().get(0);
- assertEquals("RENAME\tb->b2", change.toString());
+ Change change = commits.get(0).getFileChanges().get(0);
+ assertEquals("RENAMED\tb->b2", change.toString());
change = commits.get(2).getFileChanges().get(1);
- assertEquals("ADD\ta2", change.toString());
+ assertEquals("ADDED\ta2", change.toString());
}
}
diff --git a/commons.wicket/src/main/java/com/pmease/commons/wicket/behavior/menu/ContentPanel.html b/commons.wicket/src/main/java/com/pmease/commons/wicket/behavior/menu/ContentPanel.html
index d3fc907704..a71e0205d3 100644
--- a/commons.wicket/src/main/java/com/pmease/commons/wicket/behavior/menu/ContentPanel.html
+++ b/commons.wicket/src/main/java/com/pmease/commons/wicket/behavior/menu/ContentPanel.html
@@ -1,7 +1,7 @@
<html xmlns:wicket>
<wicket:panel>
<ul>
- <li wicket:id="items"><a wicket:id="item" href="#"></a><div wicket:id="itemMenu"></div></li>
+ <li wicket:id="items"><a wicket:id="item" href="javascript:void(0);"></a><div wicket:id="itemMenu"></div></li>
</ul>
</wicket:panel>
</html>
\ No newline at end of file
diff --git a/gitplex.core/src/main/java/com/pmease/gitplex/core/manager/impl/DefaultPullRequestManager.java b/gitplex.core/src/main/java/com/pmease/gitplex/core/manager/impl/DefaultPullRequestManager.java
index e3a4f4facc..ca08b32fc8 100644
--- a/gitplex.core/src/main/java/com/pmease/gitplex/core/manager/impl/DefaultPullRequestManager.java
+++ b/gitplex.core/src/main/java/com/pmease/gitplex/core/manager/impl/DefaultPullRequestManager.java
@@ -293,6 +293,7 @@ public class DefaultPullRequestManager implements PullRequestManager {
request.git().updateRef(request.getBaseRef(), request.getBaseCommit(), null, null);
for (PullRequestUpdate update: request.getUpdates()) {
+ update.setDate(new Date(System.currentTimeMillis() + 1000));
pullRequestUpdateManager.save(update);
}
diff --git a/gitplex.core/src/main/java/com/pmease/gitplex/core/manager/impl/DefaultRepositoryManager.java b/gitplex.core/src/main/java/com/pmease/gitplex/core/manager/impl/DefaultRepositoryManager.java
index 3658f0cbc1..159d3c2ac9 100644
--- a/gitplex.core/src/main/java/com/pmease/gitplex/core/manager/impl/DefaultRepositoryManager.java
+++ b/gitplex.core/src/main/java/com/pmease/gitplex/core/manager/impl/DefaultRepositoryManager.java
@@ -97,7 +97,7 @@ public class DefaultRepositoryManager implements RepositoryManager {
dao.remove(repository);
- storageManager.getStorage(repository).delete();
+ FileUtils.deleteDir(storageManager.getStorage(repository));
}
@Sessional
diff --git a/gitplex.core/src/main/java/com/pmease/gitplex/core/model/Branch.java b/gitplex.core/src/main/java/com/pmease/gitplex/core/model/Branch.java
index 97971d3e57..1c83555255 100644
--- a/gitplex.core/src/main/java/com/pmease/gitplex/core/model/Branch.java
+++ b/gitplex.core/src/main/java/com/pmease/gitplex/core/model/Branch.java
@@ -4,6 +4,7 @@ import java.util.ArrayList;
import java.util.Collection;
import javax.annotation.Nullable;
+import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
@@ -32,7 +33,7 @@ public class Branch extends AbstractEntity {
@ManyToOne
private User updater;
- @OneToMany(mappedBy="target")
+ @OneToMany(mappedBy="target", cascade=CascadeType.REMOVE)
private Collection<PullRequest> incomingRequests = new ArrayList<PullRequest>();
@OneToMany(mappedBy="source")
diff --git a/gitplex.core/src/main/java/com/pmease/gitplex/core/model/PullRequest.java b/gitplex.core/src/main/java/com/pmease/gitplex/core/model/PullRequest.java
index ce9c6aa881..4a4ee3cf64 100644
--- a/gitplex.core/src/main/java/com/pmease/gitplex/core/model/PullRequest.java
+++ b/gitplex.core/src/main/java/com/pmease/gitplex/core/model/PullRequest.java
@@ -320,16 +320,17 @@ public class PullRequest extends AbstractEntity {
}
/**
- * Get list of sorted updates with base update removed.
+ * Get list of reversely sorted updates.
*
* @return
- * list of sorted updates ordered by id with base update removed
+ * list of sorted updates ordered by id reversely
*/
public List<PullRequestUpdate> getSortedUpdates() {
if (sortedUpdates == null) {
Preconditions.checkState(getUpdates().size() >= 1);
sortedUpdates = new ArrayList<PullRequestUpdate>(getUpdates());
Collections.sort(sortedUpdates);
+ Collections.reverse(sortedUpdates);
}
return sortedUpdates;
}
@@ -346,8 +347,7 @@ public class PullRequest extends AbstractEntity {
effectiveUpdates = new ArrayList<PullRequestUpdate>();
Git git = getTarget().getRepository().git();
- for (int i= getSortedUpdates().size()-1; i>=0; i--) {
- PullRequestUpdate update = getSortedUpdates().get(i);
+ for (PullRequestUpdate update: getSortedUpdates()) {
if (!git.isAncestor(update.getHeadCommit(), getTarget().getHeadCommit())) {
effectiveUpdates.add(update);
} else {
@@ -361,7 +361,7 @@ public class PullRequest extends AbstractEntity {
}
public PullRequestUpdate getLatestUpdate() {
- return getSortedUpdates().get(getSortedUpdates().size()-1);
+ return getSortedUpdates().get(0);
}
public Collection<String> findTouchedFiles() {
diff --git a/gitplex.core/src/main/java/com/pmease/gitplex/core/model/PullRequestUpdate.java b/gitplex.core/src/main/java/com/pmease/gitplex/core/model/PullRequestUpdate.java
index ae767cc2bc..cae76791b7 100644
--- a/gitplex.core/src/main/java/com/pmease/gitplex/core/model/PullRequestUpdate.java
+++ b/gitplex.core/src/main/java/com/pmease/gitplex/core/model/PullRequestUpdate.java
@@ -219,8 +219,8 @@ public class PullRequestUpdate extends AbstractEntity {
PullRequest request = getRequest();
int index = request.getSortedUpdates().indexOf(this);
- if (index > 0)
- baseCommit = request.getSortedUpdates().get(index-1).getHeadCommit();
+ if (index < request.getSortedUpdates().size()-1)
+ baseCommit = request.getSortedUpdates().get(index+1).getHeadCommit();
else
baseCommit = request.getBaseCommit();
}
@@ -247,10 +247,10 @@ public class PullRequestUpdate extends AbstractEntity {
}
/**
- * Get commits belonging to this update, descendantly ordered by commit date
+ * Get commits belonging to this update, ordered by commit date
*
* @return
- * commits belonging to this update
+ * commits belonging to this update ordered by commit date
*/
public List<Commit> getCommits() {
if (commits == null) {
diff --git a/gitplex.core/src/main/java/com/pmease/gitplex/core/model/Repository.java b/gitplex.core/src/main/java/com/pmease/gitplex/core/model/Repository.java
index a8d45f5f04..0d3e7917de 100644
--- a/gitplex.core/src/main/java/com/pmease/gitplex/core/model/Repository.java
+++ b/gitplex.core/src/main/java/com/pmease/gitplex/core/model/Repository.java
@@ -84,7 +84,7 @@ public class Repository extends AbstractEntity implements UserBelonging {
@OneToMany(mappedBy="repository", cascade=CascadeType.REMOVE)
private Collection<Branch> branches = new ArrayList<>();
- @OneToMany(mappedBy="forkedFrom", cascade=CascadeType.REMOVE)
+ @OneToMany(mappedBy="forkedFrom")
private Collection<Repository> forks = new ArrayList<>();
public User getOwner() {
diff --git a/gitplex.core/src/test/java/com/pmease/gitplex/core/model/PullRequestUpdateTest.java b/gitplex.core/src/test/java/com/pmease/gitplex/core/model/PullRequestUpdateTest.java
index fdc2979b50..e6859a992f 100644
--- a/gitplex.core/src/test/java/com/pmease/gitplex/core/model/PullRequestUpdateTest.java
+++ b/gitplex.core/src/test/java/com/pmease/gitplex/core/model/PullRequestUpdateTest.java
@@ -69,7 +69,7 @@ public class PullRequestUpdateTest extends AbstractGitTest {
target.setHeadCommit(bareGit.parseRevision("master", true));
Assert.assertEquals(bareGit.showRevision("dev~1").getHash(), request.getLatestUpdate().getReferentialCommit());
- Assert.assertEquals(bareGit.showRevision("master~1").getHash(), request.getSortedUpdates().get(0).getReferentialCommit());
+ Assert.assertEquals(bareGit.showRevision("master~1").getHash(), request.getSortedUpdates().get(1).getReferentialCommit());
}
@Test
@@ -116,7 +116,7 @@ public class PullRequestUpdateTest extends AbstractGitTest {
Commit referentialCommit = bareGit.showRevision(request.getLatestUpdate().getReferentialCommit());
Assert.assertTrue(referentialCommit.getParentHashes().contains(bareGit.showRevision("master").getHash()));
Assert.assertTrue(referentialCommit.getParentHashes().contains(bareGit.showRevision("dev~2").getHash()));
- Assert.assertEquals(bareGit.showRevision("master~1").getHash(), request.getSortedUpdates().get(0).getReferentialCommit());
+ Assert.assertEquals(bareGit.showRevision("master~1").getHash(), request.getSortedUpdates().get(1).getReferentialCommit());
}
@Test
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexMappings.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexMappings.java
index 03599a5694..bc21adb0e3 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexMappings.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/GitPlexMappings.java
@@ -52,7 +52,7 @@ import com.pmease.gitplex.web.page.repository.info.pullrequest.ClosedRequestsPag
import com.pmease.gitplex.web.page.repository.info.pullrequest.NewRequestPage;
import com.pmease.gitplex.web.page.repository.info.pullrequest.OpenRequestsPage;
import com.pmease.gitplex.web.page.repository.info.pullrequest.RequestActivitiesPage;
-import com.pmease.gitplex.web.page.repository.info.pullrequest.RequestChangesPage;
+import com.pmease.gitplex.web.page.repository.info.pullrequest.RequestComparePage;
import com.pmease.gitplex.web.page.repository.info.pullrequest.RequestUpdatesPage;
import com.pmease.gitplex.web.util.UrlUtils;
@@ -169,7 +169,7 @@ public class GitPlexMappings extends CompoundRequestMapper {
add(new PageParameterAwareMountedMapper(
"${user}/${repo}/pull-requests/${request}/updates", RequestUpdatesPage.class));
add(new PageParameterAwareMountedMapper(
- "${user}/${repo}/pull-requests/${request}/changes", RequestChangesPage.class));
+ "${user}/${repo}/pull-requests/${request}/compare", RequestComparePage.class));
add(new PageParameterAwareMountedMapper("${user}/${repo}/contributors",
ContributorsPage.class));
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
index 4727a4bc85..0f8edfe0ae 100644
--- 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
@@ -756,16 +756,23 @@ h2.section-title { margin: 18px 0; font-size: 16px; }
.dropdown-panel .directory-chooser .title {font-weight: bold; border-bottom: 1px solid #888888;}
.dropdown-panel .alert.empty-directory-choice {margin: 0px;}
-/* TREE DIFF */
-.diff-tree .added.dir {color: #05B505;}
-.diff-tree .deleted.dir {color: #FA7C7C;}
-.diff-tree .modified.dir {color: #DEB626;}
-.diff-tree .added.file {color: #05B505;}
-.diff-tree .deleted.file {color: #FA7C7C;}
-.diff-tree .modified.file {color: #DEB626;}
-.diff-tree .unchanged {color: #888;}
+/* TREE AND FILE DIFFS */
+.added.folder:before {content: "\f488"; color: #05B505;}
+.deleted.folder:before {content: "\f48a"; color: #FA7C7C;}
+.modified.folder:before {content: "\f489"; color: #DEB626;}
+.unchanged.folder:before {content: "\f486"; color: #888;}
+.added.file:before {content: "\f460"; color: #05B505;}
+.deleted.file:before {content: "\f462"; color: #FA7C7C;}
+.modified.file:before {content: "\f461"; color: #DEB626;}
+.renamed.file:before {content: "\f463"; color: #DEB626;}
+.unchanged.file:before {content: "\f45a"; color: #888;}
+
+.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;}
+
/* TEXT DIFF */
.text-diff>.panel-heading {z-index: 10;}
.text-diff>.panel-heading .pull-right {margin-left: 12px;}
@@ -893,7 +900,7 @@ ul.status-help li:last-child .description {border-bottom: none;}
.request-detail>.actions>div, .request-detail>.actions>.confirm>form>div {margin-bottom: 20px;}
-.request-detail .btn {margin-right: 8px;}
+.request-detail>.actions .btn {margin-right: 8px;}
.request-detail .activities>tbody>tr>td {
padding: 8px; border-top-style: solid; border-top-width: 2px;}
@@ -909,12 +916,21 @@ ul.status-help li:last-child .description {border-bottom: none;}
.request-detail .activities .fa-frown-o {color: #D9534F;}
.request-detail .activities td.detail {border-left: 2px solid #BBB;}
-.request-detail .changes .comparison-choices {margin-bottom: 16px;
- border-bottom: 1px dashed #CCC; padding-bottom: 16px;}
-.request-detail .changes .comparison-choices>div {font-weight: bold; margin-right: 36px;}
-.request-detail .changes .comparison-choices label {font-weight: bold; margin-top: 4px;
- margin-right: 8px; font-size: 16px; color: #666;}
-.request-detail .changes .comparison-choices select {font-weight: normal;}
+.request-detail .comparison-base {margin-right: 32px;}
+.request-detail .comparison-choices {border-bottom: 1px dashed #BBB; padding-bottom: 16px;}
+.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 .name {font-family: Consolas, 'Liberation Mono', Courier, monospace;}
+.content>.commit-choice a .subject {font-size: 12px; color: #999;}
+.request-detail .compare-result {margin-top: 16px;}
+.request-detail .compare-result>tbody>tr>td.nav {width: 1%;}
+.request-detail .compare-result>tbody>tr>td.nav .panel-heading {white-space: nowrap;}
+.request-detail .compare-result>tbody>tr>td.nav .panel-heading>span {margin-right: 16px;}
+.request-detail .compare-result>tbody>tr>td.content {padding-left: 16px;}
+.request-detail .compare-result a {padding: 2px;}
+.request-detail .compare-result a.active {background: #0F89E7; color: white; border-radius: 2px;}
.update-commits {margin: 0 0 0 -14px;}
.update-commits tr>td.handle {
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/cheatsheet.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/cheatsheet.html
index 3340579647..2348a226f7 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/cheatsheet.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/cheatsheet.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>ponticons v1.0.1 Cheatsheet</title>
+ <title>ponticons v1.0.9 Cheatsheet</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<style>
@@ -74,7 +74,7 @@
</span>
</div>
<div id="meta" class="pull-right">
- <small>version: 1.0.1 | 302 icons</small>
+ <small>version: 1.0.9 | 303 icons</small>
</div>
</div>
</header>
@@ -253,7 +253,7 @@
</section>
<section>
- <h2 id="arrows">Arrows <small>20 icons</small></h2>
+ <h2 id="arrows">Arrows <small>21 icons</small></h2>
<ul class="icon-list">
<li class="icon-list-item"><a><i class="fa fa-arrow-up"></i> <b>arrow-up</b> <b>F250</b></a></li>
@@ -295,6 +295,8 @@
<li class="icon-list-item"><a><i class="fa fa-triangle-right"></i> <b>triangle-right</b> <b>F263</b></a></li>
+<li class="icon-list-item"><a><i class="fa fa-arrow-back"></i> <b>arrow-back</b> <b>F264</b></a></li>
+
</ul>
</section>
@@ -425,7 +427,7 @@
</section>
<section>
- <h2 id="actions">Action Icons <small>37 icons</small></h2>
+ <h2 id="actions">Action Icons <small>36 icons</small></h2>
<ul class="icon-list">
<li class="icon-list-item"><a><i class="fa fa-heart"></i> <b>heart</b> <b>F410</b></a></li>
@@ -483,12 +485,8 @@
<li class="icon-list-item"><a><i class="fa fa-expand"></i> <b>expand</b> <b>F42B</b></a></li>
-<li class="icon-list-item"><a><i class="fa fa-expand-alt"></i> <b>expand-alt</b> <b>F42C</b></a></li>
-
<li class="icon-list-item"><a><i class="fa fa-collapse"></i> <b>collapse</b> <b>F42D</b></a></li>
-<li class="icon-list-item"><a><i class="fa fa-collapse-alt"></i> <b>collapse-alt</b> <b>F42E</b></a></li>
-
<li class="icon-list-item"><a><i class="fa fa-fold"></i> <b>fold</b> <b>F42F</b></a></li>
<li class="icon-list-item"><a><i class="fa fa-unfold"></i> <b>unfold</b> <b>F430</b></a></li>
@@ -501,11 +499,13 @@
<li class="icon-list-item"><a><i class="fa fa-share"></i> <b>share</b> <b>F434</b></a></li>
+<li class="icon-list-item"><a><i class="fa fa-share-alt"></i> <b>share-alt</b> <b>F435</b></a></li>
+
</ul>
</section>
<section>
- <h2 id="files">File Related Icons <small>42 icons</small></h2>
+ <h2 id="files">File Related Icons <small>43 icons</small></h2>
<ul class="icon-list">
<li class="icon-list-item"><a><i class="fa fa-file-pdf"></i> <b>file-pdf</b> <b>F451</b></a></li>
@@ -513,17 +513,15 @@
<li class="icon-list-item"><a><i class="fa fa-file-binary"></i> <b>file-binary</b> <b>F453</b></a></li>
-<li class="icon-list-item"><a><i class="fa fa-file-chart"></i> <b>file-chart</b> <b>F454</b></a></li>
-
<li class="icon-list-item"><a><i class="fa fa-file-code"></i> <b>file-code</b> <b>F455</b></a></li>
<li class="icon-list-item"><a><i class="fa fa-file-code-alt"></i> <b>file-code-alt</b> <b>F456</b></a></li>
<li class="icon-list-item"><a><i class="fa fa-file-image"></i> <b>file-image</b> <b>F457</b></a></li>
-<li class="icon-list-item"><a><i class="fa fa-file-link"></i> <b>file-link</b> <b>F458</b></a></li>
+<li class="icon-list-item"><a><i class="fa fa-file-symlink"></i> <b>file-symlink</b> <b>F458</b></a></li>
-<li class="icon-list-item"><a><i class="fa fa-file-openoffice"></i> <b>file-openoffice</b> <b>F459</b></a></li>
+<li class="icon-list-item"><a><i class="fa fa-file-media"></i> <b>file-media</b> <b>F459</b></a></li>
<li class="icon-list-item"><a><i class="fa fa-file-txt"></i> <b>file-txt</b> <b>F45A</b></a></li>
@@ -533,7 +531,7 @@
<li class="icon-list-item"><a><i class="fa fa-file-excel"></i> <b>file-excel</b> <b>F45D</b></a></li>
-<li class="icon-list-item"><a><i class="fa fa-file-powerpoint"></i> <b>file-powerpoint</b> <b>F45E</b></a></li>
+<li class="icon-list-item"><a><i class="fa fa-file-ppt"></i> <b>file-ppt</b> <b>F45E</b></a></li>
<li class="icon-list-item"><a><i class="fa fa-file-zip"></i> <b>file-zip</b> <b>F45F</b></a></li>
@@ -543,6 +541,8 @@
<li class="icon-list-item"><a><i class="fa fa-file-removed"></i> <b>file-removed</b> <b>F462</b></a></li>
+<li class="icon-list-item"><a><i class="fa fa-file-renamed"></i> <b>file-renamed</b> <b>F463</b></a></li>
+
<li class="icon-list-item"><a><i class="fa fa-folder"></i> <b>folder</b> <b>F480</b></a></li>
<li class="icon-list-item"><a><i class="fa fa-folder-link"></i> <b>folder-link</b> <b>F481</b></a></li>
@@ -565,6 +565,8 @@
<li class="icon-list-item"><a><i class="fa fa-folder-removed-o"></i> <b>folder-removed-o</b> <b>F48A</b></a></li>
+<li class="icon-list-item"><a><i class="fa fa-folder-renamed-o"></i> <b>folder-renamed-o</b> <b>F48B</b></a></li>
+
<li class="icon-list-item"><a><i class="fa fa-tag"></i> <b>tag</b> <b>F490</b></a></li>
<li class="icon-list-item"><a><i class="fa fa-tag-o"></i> <b>tag-o</b> <b>F491</b></a></li>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/css/ponticons.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/css/ponticons.css
index 2ab91fef82..62284cf9a6 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/css/ponticons.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/css/ponticons.css
@@ -1,5 +1,4 @@
-@font-face { font-family: "ponticons"; src: url("../fonts/ponticons.eot?v=1.0.1"); src: url("../fonts/ponticons.eot?v=1.0.1#iefix") format("embedded-opentype"), url("../fonts/ponticons.ttf?v=1.0.1") format("truetype"), url("../fonts/ponticons.woff?v=1.0.1") format("woff"), url("../fonts/ponticons.svg?v=1.0.1#ponticons") format("svg"); font-weight: normal; font-style: normal; }
-
+@font-face { font-family: "ponticons"; src: url("../fonts/ponticons.eot?v=1.0.9"); src: url("../fonts/ponticons.eot?v=1.0.9#iefix") format("embedded-opentype"), url("../fonts/ponticons.ttf?v=1.0.9") format("truetype"), url("../fonts/ponticons.woff?v=1.0.9") format("woff"), url("../fonts/ponticons.svg?v=1.0.9#ponticons") format("svg"); font-weight: normal; font-style: normal; }
.fa { font: normal normal 16px "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; }
/* makes the font 33% larger relative to the icon container */
@@ -37,16 +36,12 @@
@-moz-keyframes spin { 0% { -moz-transform: rotate(0deg); }
100% { -moz-transform: rotate(359deg); } }
-
@-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(359deg); } }
-
@-o-keyframes spin { 0% { -o-transform: rotate(0deg); }
100% { -o-transform: rotate(359deg); } }
-
@keyframes spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } }
-
.fa-rotate-90 { filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); }
.fa-rotate-180 { filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); }
@@ -269,6 +264,8 @@
.fa-triangle-right:before { content: "\f263"; }
+.fa-arrow-back:before { content: "\f264"; }
+
.fa-tick-round:before { content: "\f300"; }
.fa-times-round:before { content: "\f301"; }
@@ -427,12 +424,8 @@
.fa-expand:before { content: "\f42b"; }
-.fa-expand-alt:before { content: "\f42c"; }
-
.fa-collapse:before { content: "\f42d"; }
-.fa-collapse-alt:before { content: "\f42e"; }
-
.fa-fold:before { content: "\f42f"; }
.fa-unfold:before { content: "\f430"; }
@@ -445,23 +438,23 @@
.fa-share:before { content: "\f434"; }
+.fa-share-alt:before { content: "\f435"; }
+
.fa-file-pdf:before { content: "\f451"; }
.fa-file-audio:before { content: "\f452"; }
.fa-file-binary:before { content: "\f453"; }
-.fa-file-chart:before { content: "\f454"; }
-
.fa-file-code:before { content: "\f455"; }
.fa-file-code-alt:before { content: "\f456"; }
.fa-file-image:before { content: "\f457"; }
-.fa-file-link:before { content: "\f458"; }
+.fa-file-symlink:before { content: "\f458"; }
-.fa-file-openoffice:before { content: "\f459"; }
+.fa-file-media:before { content: "\f459"; }
.fa-file-txt:before { content: "\f45a"; }
@@ -471,7 +464,7 @@
.fa-file-excel:before { content: "\f45d"; }
-.fa-file-powerpoint:before { content: "\f45e"; }
+.fa-file-ppt:before { content: "\f45e"; }
.fa-file-zip:before { content: "\f45f"; }
@@ -481,6 +474,8 @@
.fa-file-removed:before { content: "\f462"; }
+.fa-file-renamed:before { content: "\f463"; }
+
.fa-folder:before { content: "\f480"; }
.fa-folder-link:before { content: "\f481"; }
@@ -503,6 +498,8 @@
.fa-folder-removed-o:before { content: "\f48a"; }
+.fa-folder-renamed-o:before { content: "\f48b"; }
+
.fa-tag:before { content: "\f490"; }
.fa-tag-o:before { content: "\f491"; }
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/css/ponticons.min.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/css/ponticons.min.css
index ce0fde3804..6c1840fcad 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/css/ponticons.min.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/css/ponticons.min.css
@@ -1 +1 @@
-@font-face{font-family:"ponticons";src:url("../fonts/ponticons.eot?v=1.0.1");src:url("../fonts/ponticons.eot?v=1.0.1#iefix") format("embedded-opentype"),url("../fonts/ponticons.ttf?v=1.0.1") format("truetype"),url("../fonts/ponticons.woff?v=1.0.1") format("woff"),url("../fonts/ponticons.svg?v=1.0.1#ponticons") format("svg");font-weight:normal;font-style:normal}.fa{font:normal normal 16px "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}.fa-lg{font-size:1.33333333em;line-height:0.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:0.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eeeeee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1)}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#ffffff}.fa-logo-gitplex:before{content:"\f000"}.fa-calendar-month:before{content:"\f110"}.fa-calendar-day:before{content:"\f111"}.fa-database:before{content:"\f115"}.fa-book:before{content:"\f116"}.fa-user:before{content:"\f117"}.fa-user-o:before{content:"\f118"}.fa-group:before{content:"\f119"}.fa-group-o:before{content:"\f11a"}.fa-tools:before{content:"\f11b"}.fa-wrench:before{content:"\f11c"}.fa-gear:before{content:"\f11d"}.fa-gears:before{content:"\f11e"}.fa-gears-alt:before{content:"\f11f"}.fa-settings:before{content:"\f120"}.fa-settings-alt:before{content:"\f121"}.fa-settings-alt-v:before{content:"\f122"}.fa-lock:before{content:"\f123"}.fa-unlock:before{content:"\f124"}.fa-unlock-alt:before{content:"\f125"}.fa-rss:before{content:"\f126"}.fa-key:before{content:"\f127"}.fa-key-alt:before{content:"\f128"}.fa-flag:before{content:"\f129"}.fa-buoy:before{content:"\f130"}.fa-puzzle:before{content:"\f131"}.fa-plug:before{content:"\f132"}.fa-dashboard:before{content:"\f133"}.fa-dashboard-alt:before{content:"\f134"}.fa-versions:before{content:"\f135"}.fa-package:before{content:"\f136"}.fa-steps:before{content:"\f137"}.fa-terminal:before{content:"\f138"}.fa-credit-card:before{content:"\f139"}.fa-globe:before{content:"\f13a"}.fa-globe-alt:before{content:"\f13b"}.fa-keyboard:before{content:"\f13c"}.fa-keyboard-alt:before{content:"\f13d"}.fa-key-tab:before{content:"\f13e"}.fa-location:before{content:"\f140"}.fa-markdown:before{content:"\f141"}.fa-pulse:before{content:"\f142"}.fa-servers:before{content:"\f143"}.fa-trash:before{content:"\f144"}.fa-trashcan:before{content:"\f145"}.fa-browser:before{content:"\f146"}.fa-clock:before{content:"\f147"}.fa-history:before{content:"\f148"}.fa-color-mode:before{content:"\f149"}.fa-ellipsis:before{content:"\f14a"}.fa-ellipsis-alt:before{content:"\f14b"}.fa-no-newline:before{content:"\f14c"}.fa-flame:before{content:"\f14d"}.fa-milestone:before{content:"\f14e"}.fa-rocket:before{content:"\f14f"}.fa-rocket-alt:before{content:"\f150"}.fa-beer:before{content:"\f151"}.fa-circuit-board:before{content:"\f152"}.fa-paintcan:before{content:"\f153"}.fa-microscope:before{content:"\f154"}.fa-telescope:before{content:"\f155"}.fa-law:before{content:"\f156"}.fa-megaphone:before{content:"\f157"}.fa-mortar-board:before{content:"\f158"}.fa-zap:before{content:"\f159"}.fa-squirrel:before{content:"\f15a"}.fa-light-bulb:before{content:"\f15b"}.fa-podium:before{content:"\f15c"}.fa-jersey:before{content:"\f15d"}.fa-briefcase:before{content:"\f15e"}.fa-gift:before{content:"\f15f"}.fa-ruby:before{content:"\f160"}.fa-bell:before{content:"\f161"}.fa-device-camera:before{content:"\f170"}.fa-device-video:before{content:"\f171"}.fa-device-desktop:before{content:"\f172"}.fa-device-mobile:before{content:"\f173"}.fa-os-apple:before{content:"\f180"}.fa-os-linux:before{content:"\f181"}.fa-os-windows:before{content:"\f182"}.fa-os-android:before{content:"\f183"}.fa-arrow-up:before{content:"\f250"}.fa-arrow-down:before{content:"\f251"}.fa-arrow-left:before{content:"\f252"}.fa-arrow-right:before{content:"\f253"}.fa-arrow-small-up:before{content:"\f254"}.fa-arrow-small-down:before{content:"\f255"}.fa-arrow-small-left:before{content:"\f256"}.fa-arrow-small-right:before{content:"\f257"}.fa-arrow-slim-up:before{content:"\f258"}.fa-arrow-slim-down:before{content:"\f259"}.fa-arrow-slim-left:before{content:"\f25a"}.fa-arrow-slim-right:before{content:"\f25b"}.fa-chevron-up:before{content:"\f25c"}.fa-chevron-down:before{content:"\f25d"}.fa-chevron-left:before{content:"\f25e"}.fa-chevron-right:before{content:"\f25f"}.fa-triangle-up:before{content:"\f260"}.fa-triangle-down:before{content:"\f261"}.fa-triangle-left:before{content:"\f262"}.fa-triangle-right:before{content:"\f263"}.fa-tick-round:before{content:"\f300"}.fa-times-round:before{content:"\f301"}.fa-question-round:before{content:"\f302"}.fa-plus-round:before{content:"\f303"}.fa-minus-round:before{content:"\f304"}.fa-info-round:before{content:"\f305"}.fa-warning-round:before{content:"\f306"}.fa-tick-circle:before{content:"\f307"}.fa-times-circle:before{content:"\f308"}.fa-question-circle:before{content:"\f309"}.fa-plus-circle:before{content:"\f30a"}.fa-minus-circle:before{content:"\f30b"}.fa-info-circle:before{content:"\f30c"}.fa-warning-circle:before{content:"\f30d"}.fa-warning-block:before{content:"\f30e"}.fa-warning-block-o:before{content:"\f30f"}.fa-alert:before{content:"\f310"}.fa-alert-o:before{content:"\f311"}.fa-plus-square-o:before{content:"\f312"}.fa-minus-square-o:before{content:"\f313"}.fa-mail:before{content:"\f340"}.fa-mail-alt:before{content:"\f341"}.fa-mail-read:before{content:"\f342"}.fa-mail-reply:before{content:"\f343"}.fa-mail-forward:before{content:"\f344"}.fa-mail-inbox:before{content:"\f345"}.fa-notification-center:before{content:"\f346"}.fa-mail-archive:before{content:"\f347"}.fa-playback-play:before{content:"\f380"}.fa-playback-pause:before{content:"\f381"}.fa-playback-fast-forward:before{content:"\f382"}.fa-playback-rewind:before{content:"\f383"}.fa-play-circle:before{content:"\f384"}.fa-stop-circle:before{content:"\f385"}.fa-pause-circle:before{content:"\f386"}.fa-fast-forward-circle:before{content:"\f387"}.fa-rewind-circle:before{content:"\f388"}.fa-jump-up:before{content:"\f390"}.fa-jump-down:before{content:"\f391"}.fa-jump-left:before{content:"\f392"}.fa-jump-right:before{content:"\f393"}.fa-move-left:before{content:"\f394"}.fa-move-right:before{content:"\f395"}.fa-volume-low:before{content:"\f396"}.fa-volume-medium:before{content:"\f397"}.fa-volume-high:before{content:"\f398"}.fa-volume-mute:before{content:"\f399"}.fa-chart-line:before{content:"\f400"}.fa-chart-pie:before{content:"\f401"}.fa-chart-area:before{content:"\f402"}.fa-chart-bar:before{content:"\f403"}.fa-heart:before{content:"\f410"}.fa-heart-o:before{content:"\f411"}.fa-bookmark:before{content:"\f412"}.fa-bookmark-alt:before{content:"\f413"}.fa-bookmarks:before{content:"\f414"}.fa-sign-out:before{content:"\f415"}.fa-sign-in:before{content:"\f416"}.fa-shutdown:before{content:"\f417"}.fa-plus:before{content:"\f418"}.fa-times:before{content:"\f419"}.fa-minus:before{content:"\f41a"}.fa-pencil:before{content:"\f41b"}.fa-circle-slash:before{content:"\f41c"}.fa-star:before{content:"\f41d"}.fa-star-o:before{content:"\f41e"}.fa-thumb-up:before{content:"\f41f"}.fa-thumb-down:before{content:"\f420"}.fa-thumb-up-o:before{content:"\f421"}.fa-thumb-down-o:before{content:"\f422"}.fa-sync:before{content:"\f423"}.fa-search:before{content:"\f424"}.fa-download:before{content:"\f425"}.fa-upload:before{content:"\f426"}.fa-pin:before{content:"\f427"}.fa-pushpin:before{content:"\f428"}.fa-pushpin-o:before{content:"\f429"}.fa-clippy:before{content:"\f42a"}.fa-expand:before{content:"\f42b"}.fa-expand-alt:before{content:"\f42c"}.fa-collapse:before{content:"\f42d"}.fa-collapse-alt:before{content:"\f42e"}.fa-fold:before{content:"\f42f"}.fa-unfold:before{content:"\f430"}.fa-contrast:before{content:"\f431"}.fa-redo:before{content:"\f432"}.fa-undo:before{content:"\f433"}.fa-share:before{content:"\f434"}.fa-file-pdf:before{content:"\f451"}.fa-file-audio:before{content:"\f452"}.fa-file-binary:before{content:"\f453"}.fa-file-chart:before{content:"\f454"}.fa-file-code:before{content:"\f455"}.fa-file-code-alt:before{content:"\f456"}.fa-file-image:before{content:"\f457"}.fa-file-link:before{content:"\f458"}.fa-file-openoffice:before{content:"\f459"}.fa-file-txt:before{content:"\f45a"}.fa-file-video:before{content:"\f45b"}.fa-file-word:before{content:"\f45c"}.fa-file-excel:before{content:"\f45d"}.fa-file-powerpoint:before{content:"\f45e"}.fa-file-zip:before{content:"\f45f"}.fa-file-added:before{content:"\f460"}.fa-file-modified:before{content:"\f461"}.fa-file-removed:before{content:"\f462"}.fa-folder:before{content:"\f480"}.fa-folder-link:before{content:"\f481"}.fa-folder-added:before{content:"\f482"}.fa-folder-modified:before{content:"\f483"}.fa-folder-removed:before{content:"\f484"}.fa-folder-submodule:before{content:"\f485"}.fa-folder-o:before{content:"\f486"}.fa-folder-link-o:before{content:"\f487"}.fa-folder-added-o:before{content:"\f488"}.fa-folder-modified-o:before{content:"\f489"}.fa-folder-removed-o:before{content:"\f48a"}.fa-tag:before{content:"\f490"}.fa-tag-o:before{content:"\f491"}.fa-tag-add:before{content:"\f492"}.fa-tag-remove:before{content:"\f493"}.fa-tag-alt:before{content:"\f494"}.fa-tags:before{content:"\f495"}.fa-comment:before{content:"\f496"}.fa-comments:before{content:"\f497"}.fa-comment-add:before{content:"\f498"}.fa-eye-open:before{content:"\f499"}.fa-eye-plus:before{content:"\f49a"}.fa-eye-times:before{content:"\f49b"}.fa-eye-slash:before{content:"\f49c"}.fa-commit:before{content:"\f500"}.fa-diff:before{content:"\f501"}.fa-diff-added:before{content:"\f502"}.fa-diff-ignored:before{content:"\f503"}.fa-diff-modified:before{content:"\f504"}.fa-diff-removed:before{content:"\f505"}.fa-diff-renamed:before{content:"\f506"}.fa-repo:before{content:"\f510"}.fa-repo-add:before{content:"\f511"}.fa-repo-remove:before{content:"\f512"}.fa-repo-cloned:before{content:"\f513"}.fa-repo-forked:before{content:"\f514"}.fa-repo-locked:before{content:"\f515"}.fa-repo-unlocked:before{content:"\f516"}.fa-repo-pull:before{content:"\f517"}.fa-repo-push:before{content:"\f518"}.fa-repo-force-push:before{content:"\f519"}.fa-repo-sync:before{content:"\f51a"}.fa-repo-mirror:before{content:"\f51b"}.fa-branch:before{content:"\f520"}.fa-branch-add:before{content:"\f521"}.fa-branch-remove:before{content:"\f522"}.fa-branch-branch:before{content:"\f523"}.fa-branch-pattern:before{content:"\f524"}.fa-branch-lock:before{content:"\f525"}.fa-branch-merge:before{content:"\f526"}.fa-branch-compare:before{content:"\f527"}.fa-pull-request-add:before{content:"\f528"}.fa-pull-request-reject:before{content:"\f529"}.fa-pull-request-accept:before{content:"\f52a"}.fa-pull-request-close:before{content:"\f52b"}.fa-bug:before{content:"\f550"}.fa-checklist:before{content:"\f551"}.fa-issue-opened:before{content:"\f552"}.fa-issue-reopened:before{content:"\f553"}.fa-issue-closed:before{content:"\f554"}.fa-font:before{content:"\f600"}.fa-font-bold:before{content:"\f601"}.fa-font-italic:before{content:"\f602"}.fa-table:before{content:"\f603"}.fa-align-center:before{content:"\f604"}.fa-align-left:before{content:"\f605"}.fa-align-right:before{content:"\f606"}.fa-align-justify:before{content:"\f607"}.fa-list-unordered:before{content:"\f608"}.fa-list-ordered:before{content:"\f609"}.fa-indent-left:before{content:"\f60a"}.fa-indent-right:before{content:"\f60b"}.fa-mention:before{content:"\f60c"}.fa-horizontal-rule:before{content:"\f60d"}.fa-image:before{content:"\f60e"}.fa-quote:before{content:"\f60f"}.fa-screen-full:before{content:"\f610"}.fa-screen-normal:before{content:"\f611"}.fa-link:before{content:"\f612"}.fa-link-alt:before{content:"\f613"}.fa-link-external:before{content:"\f614"}.fa-unlink:before{content:"\f615"}.fa-attachment:before{content:"\f616"}.fa-primitive-dot:before{content:"\f650"}.fa-primitive-square:before{content:"\f651"}.fa-tick:before{content:"\f652"}.fa-tick-o:before{content:"\f653"}.fa-checkbox-unchecked:before{content:"\f654"}.fa-checkbox-checked:before{content:"\f655"}.fa-checkbox-selected:before{content:"\f656"}.fa-radio-unchecked:before{content:"\f657"}.fa-radio-checked:before{content:"\f658"}.fa-bars-one:before{content:"\f659"}.fa-bars-two:before{content:"\f65a"}.fa-bars-three:before{content:"\f65b"}
+@font-face{font-family:"ponticons";src:url("../fonts/ponticons.eot?v=1.0.9");src:url("../fonts/ponticons.eot?v=1.0.9#iefix") format("embedded-opentype"),url("../fonts/ponticons.ttf?v=1.0.9") format("truetype"),url("../fonts/ponticons.woff?v=1.0.9") format("woff"),url("../fonts/ponticons.svg?v=1.0.9#ponticons") format("svg");font-weight:normal;font-style:normal}.fa{font:normal normal 16px "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}.fa-lg{font-size:1.33333333em;line-height:0.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:0.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eeeeee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1)}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#ffffff}.fa-logo-gitplex:before{content:"\f000"}.fa-calendar-month:before{content:"\f110"}.fa-calendar-day:before{content:"\f111"}.fa-database:before{content:"\f115"}.fa-book:before{content:"\f116"}.fa-user:before{content:"\f117"}.fa-user-o:before{content:"\f118"}.fa-group:before{content:"\f119"}.fa-group-o:before{content:"\f11a"}.fa-tools:before{content:"\f11b"}.fa-wrench:before{content:"\f11c"}.fa-gear:before{content:"\f11d"}.fa-gears:before{content:"\f11e"}.fa-gears-alt:before{content:"\f11f"}.fa-settings:before{content:"\f120"}.fa-settings-alt:before{content:"\f121"}.fa-settings-alt-v:before{content:"\f122"}.fa-lock:before{content:"\f123"}.fa-unlock:before{content:"\f124"}.fa-unlock-alt:before{content:"\f125"}.fa-rss:before{content:"\f126"}.fa-key:before{content:"\f127"}.fa-key-alt:before{content:"\f128"}.fa-flag:before{content:"\f129"}.fa-buoy:before{content:"\f130"}.fa-puzzle:before{content:"\f131"}.fa-plug:before{content:"\f132"}.fa-dashboard:before{content:"\f133"}.fa-dashboard-alt:before{content:"\f134"}.fa-versions:before{content:"\f135"}.fa-package:before{content:"\f136"}.fa-steps:before{content:"\f137"}.fa-terminal:before{content:"\f138"}.fa-credit-card:before{content:"\f139"}.fa-globe:before{content:"\f13a"}.fa-globe-alt:before{content:"\f13b"}.fa-keyboard:before{content:"\f13c"}.fa-keyboard-alt:before{content:"\f13d"}.fa-key-tab:before{content:"\f13e"}.fa-location:before{content:"\f140"}.fa-markdown:before{content:"\f141"}.fa-pulse:before{content:"\f142"}.fa-servers:before{content:"\f143"}.fa-trash:before{content:"\f144"}.fa-trashcan:before{content:"\f145"}.fa-browser:before{content:"\f146"}.fa-clock:before{content:"\f147"}.fa-history:before{content:"\f148"}.fa-color-mode:before{content:"\f149"}.fa-ellipsis:before{content:"\f14a"}.fa-ellipsis-alt:before{content:"\f14b"}.fa-no-newline:before{content:"\f14c"}.fa-flame:before{content:"\f14d"}.fa-milestone:before{content:"\f14e"}.fa-rocket:before{content:"\f14f"}.fa-rocket-alt:before{content:"\f150"}.fa-beer:before{content:"\f151"}.fa-circuit-board:before{content:"\f152"}.fa-paintcan:before{content:"\f153"}.fa-microscope:before{content:"\f154"}.fa-telescope:before{content:"\f155"}.fa-law:before{content:"\f156"}.fa-megaphone:before{content:"\f157"}.fa-mortar-board:before{content:"\f158"}.fa-zap:before{content:"\f159"}.fa-squirrel:before{content:"\f15a"}.fa-light-bulb:before{content:"\f15b"}.fa-podium:before{content:"\f15c"}.fa-jersey:before{content:"\f15d"}.fa-briefcase:before{content:"\f15e"}.fa-gift:before{content:"\f15f"}.fa-ruby:before{content:"\f160"}.fa-bell:before{content:"\f161"}.fa-device-camera:before{content:"\f170"}.fa-device-video:before{content:"\f171"}.fa-device-desktop:before{content:"\f172"}.fa-device-mobile:before{content:"\f173"}.fa-os-apple:before{content:"\f180"}.fa-os-linux:before{content:"\f181"}.fa-os-windows:before{content:"\f182"}.fa-os-android:before{content:"\f183"}.fa-arrow-up:before{content:"\f250"}.fa-arrow-down:before{content:"\f251"}.fa-arrow-left:before{content:"\f252"}.fa-arrow-right:before{content:"\f253"}.fa-arrow-small-up:before{content:"\f254"}.fa-arrow-small-down:before{content:"\f255"}.fa-arrow-small-left:before{content:"\f256"}.fa-arrow-small-right:before{content:"\f257"}.fa-arrow-slim-up:before{content:"\f258"}.fa-arrow-slim-down:before{content:"\f259"}.fa-arrow-slim-left:before{content:"\f25a"}.fa-arrow-slim-right:before{content:"\f25b"}.fa-chevron-up:before{content:"\f25c"}.fa-chevron-down:before{content:"\f25d"}.fa-chevron-left:before{content:"\f25e"}.fa-chevron-right:before{content:"\f25f"}.fa-triangle-up:before{content:"\f260"}.fa-triangle-down:before{content:"\f261"}.fa-triangle-left:before{content:"\f262"}.fa-triangle-right:before{content:"\f263"}.fa-arrow-back:before{content:"\f264"}.fa-tick-round:before{content:"\f300"}.fa-times-round:before{content:"\f301"}.fa-question-round:before{content:"\f302"}.fa-plus-round:before{content:"\f303"}.fa-minus-round:before{content:"\f304"}.fa-info-round:before{content:"\f305"}.fa-warning-round:before{content:"\f306"}.fa-tick-circle:before{content:"\f307"}.fa-times-circle:before{content:"\f308"}.fa-question-circle:before{content:"\f309"}.fa-plus-circle:before{content:"\f30a"}.fa-minus-circle:before{content:"\f30b"}.fa-info-circle:before{content:"\f30c"}.fa-warning-circle:before{content:"\f30d"}.fa-warning-block:before{content:"\f30e"}.fa-warning-block-o:before{content:"\f30f"}.fa-alert:before{content:"\f310"}.fa-alert-o:before{content:"\f311"}.fa-plus-square-o:before{content:"\f312"}.fa-minus-square-o:before{content:"\f313"}.fa-mail:before{content:"\f340"}.fa-mail-alt:before{content:"\f341"}.fa-mail-read:before{content:"\f342"}.fa-mail-reply:before{content:"\f343"}.fa-mail-forward:before{content:"\f344"}.fa-mail-inbox:before{content:"\f345"}.fa-notification-center:before{content:"\f346"}.fa-mail-archive:before{content:"\f347"}.fa-playback-play:before{content:"\f380"}.fa-playback-pause:before{content:"\f381"}.fa-playback-fast-forward:before{content:"\f382"}.fa-playback-rewind:before{content:"\f383"}.fa-play-circle:before{content:"\f384"}.fa-stop-circle:before{content:"\f385"}.fa-pause-circle:before{content:"\f386"}.fa-fast-forward-circle:before{content:"\f387"}.fa-rewind-circle:before{content:"\f388"}.fa-jump-up:before{content:"\f390"}.fa-jump-down:before{content:"\f391"}.fa-jump-left:before{content:"\f392"}.fa-jump-right:before{content:"\f393"}.fa-move-left:before{content:"\f394"}.fa-move-right:before{content:"\f395"}.fa-volume-low:before{content:"\f396"}.fa-volume-medium:before{content:"\f397"}.fa-volume-high:before{content:"\f398"}.fa-volume-mute:before{content:"\f399"}.fa-chart-line:before{content:"\f400"}.fa-chart-pie:before{content:"\f401"}.fa-chart-area:before{content:"\f402"}.fa-chart-bar:before{content:"\f403"}.fa-heart:before{content:"\f410"}.fa-heart-o:before{content:"\f411"}.fa-bookmark:before{content:"\f412"}.fa-bookmark-alt:before{content:"\f413"}.fa-bookmarks:before{content:"\f414"}.fa-sign-out:before{content:"\f415"}.fa-sign-in:before{content:"\f416"}.fa-shutdown:before{content:"\f417"}.fa-plus:before{content:"\f418"}.fa-times:before{content:"\f419"}.fa-minus:before{content:"\f41a"}.fa-pencil:before{content:"\f41b"}.fa-circle-slash:before{content:"\f41c"}.fa-star:before{content:"\f41d"}.fa-star-o:before{content:"\f41e"}.fa-thumb-up:before{content:"\f41f"}.fa-thumb-down:before{content:"\f420"}.fa-thumb-up-o:before{content:"\f421"}.fa-thumb-down-o:before{content:"\f422"}.fa-sync:before{content:"\f423"}.fa-search:before{content:"\f424"}.fa-download:before{content:"\f425"}.fa-upload:before{content:"\f426"}.fa-pin:before{content:"\f427"}.fa-pushpin:before{content:"\f428"}.fa-pushpin-o:before{content:"\f429"}.fa-clippy:before{content:"\f42a"}.fa-expand:before{content:"\f42b"}.fa-collapse:before{content:"\f42d"}.fa-fold:before{content:"\f42f"}.fa-unfold:before{content:"\f430"}.fa-contrast:before{content:"\f431"}.fa-redo:before{content:"\f432"}.fa-undo:before{content:"\f433"}.fa-share:before{content:"\f434"}.fa-share-alt:before{content:"\f435"}.fa-file-pdf:before{content:"\f451"}.fa-file-audio:before{content:"\f452"}.fa-file-binary:before{content:"\f453"}.fa-file-code:before{content:"\f455"}.fa-file-code-alt:before{content:"\f456"}.fa-file-image:before{content:"\f457"}.fa-file-symlink:before{content:"\f458"}.fa-file-media:before{content:"\f459"}.fa-file-txt:before{content:"\f45a"}.fa-file-video:before{content:"\f45b"}.fa-file-word:before{content:"\f45c"}.fa-file-excel:before{content:"\f45d"}.fa-file-ppt:before{content:"\f45e"}.fa-file-zip:before{content:"\f45f"}.fa-file-added:before{content:"\f460"}.fa-file-modified:before{content:"\f461"}.fa-file-removed:before{content:"\f462"}.fa-file-renamed:before{content:"\f463"}.fa-folder:before{content:"\f480"}.fa-folder-link:before{content:"\f481"}.fa-folder-added:before{content:"\f482"}.fa-folder-modified:before{content:"\f483"}.fa-folder-removed:before{content:"\f484"}.fa-folder-submodule:before{content:"\f485"}.fa-folder-o:before{content:"\f486"}.fa-folder-link-o:before{content:"\f487"}.fa-folder-added-o:before{content:"\f488"}.fa-folder-modified-o:before{content:"\f489"}.fa-folder-removed-o:before{content:"\f48a"}.fa-folder-renamed-o:before{content:"\f48b"}.fa-tag:before{content:"\f490"}.fa-tag-o:before{content:"\f491"}.fa-tag-add:before{content:"\f492"}.fa-tag-remove:before{content:"\f493"}.fa-tag-alt:before{content:"\f494"}.fa-tags:before{content:"\f495"}.fa-comment:before{content:"\f496"}.fa-comments:before{content:"\f497"}.fa-comment-add:before{content:"\f498"}.fa-eye-open:before{content:"\f499"}.fa-eye-plus:before{content:"\f49a"}.fa-eye-times:before{content:"\f49b"}.fa-eye-slash:before{content:"\f49c"}.fa-commit:before{content:"\f500"}.fa-diff:before{content:"\f501"}.fa-diff-added:before{content:"\f502"}.fa-diff-ignored:before{content:"\f503"}.fa-diff-modified:before{content:"\f504"}.fa-diff-removed:before{content:"\f505"}.fa-diff-renamed:before{content:"\f506"}.fa-repo:before{content:"\f510"}.fa-repo-add:before{content:"\f511"}.fa-repo-remove:before{content:"\f512"}.fa-repo-cloned:before{content:"\f513"}.fa-repo-forked:before{content:"\f514"}.fa-repo-locked:before{content:"\f515"}.fa-repo-unlocked:before{content:"\f516"}.fa-repo-pull:before{content:"\f517"}.fa-repo-push:before{content:"\f518"}.fa-repo-force-push:before{content:"\f519"}.fa-repo-sync:before{content:"\f51a"}.fa-repo-mirror:before{content:"\f51b"}.fa-branch:before{content:"\f520"}.fa-branch-add:before{content:"\f521"}.fa-branch-remove:before{content:"\f522"}.fa-branch-branch:before{content:"\f523"}.fa-branch-pattern:before{content:"\f524"}.fa-branch-lock:before{content:"\f525"}.fa-branch-merge:before{content:"\f526"}.fa-branch-compare:before{content:"\f527"}.fa-pull-request-add:before{content:"\f528"}.fa-pull-request-reject:before{content:"\f529"}.fa-pull-request-accept:before{content:"\f52a"}.fa-pull-request-close:before{content:"\f52b"}.fa-bug:before{content:"\f550"}.fa-checklist:before{content:"\f551"}.fa-issue-opened:before{content:"\f552"}.fa-issue-reopened:before{content:"\f553"}.fa-issue-closed:before{content:"\f554"}.fa-font:before{content:"\f600"}.fa-font-bold:before{content:"\f601"}.fa-font-italic:before{content:"\f602"}.fa-table:before{content:"\f603"}.fa-align-center:before{content:"\f604"}.fa-align-left:before{content:"\f605"}.fa-align-right:before{content:"\f606"}.fa-align-justify:before{content:"\f607"}.fa-list-unordered:before{content:"\f608"}.fa-list-ordered:before{content:"\f609"}.fa-indent-left:before{content:"\f60a"}.fa-indent-right:before{content:"\f60b"}.fa-mention:before{content:"\f60c"}.fa-horizontal-rule:before{content:"\f60d"}.fa-image:before{content:"\f60e"}.fa-quote:before{content:"\f60f"}.fa-screen-full:before{content:"\f610"}.fa-screen-normal:before{content:"\f611"}.fa-link:before{content:"\f612"}.fa-link-alt:before{content:"\f613"}.fa-link-external:before{content:"\f614"}.fa-unlink:before{content:"\f615"}.fa-attachment:before{content:"\f616"}.fa-primitive-dot:before{content:"\f650"}.fa-primitive-square:before{content:"\f651"}.fa-tick:before{content:"\f652"}.fa-tick-o:before{content:"\f653"}.fa-checkbox-unchecked:before{content:"\f654"}.fa-checkbox-checked:before{content:"\f655"}.fa-checkbox-selected:before{content:"\f656"}.fa-radio-unchecked:before{content:"\f657"}.fa-radio-checked:before{content:"\f658"}.fa-bars-one:before{content:"\f659"}.fa-bars-two:before{content:"\f65a"}.fa-bars-three:before{content:"\f65b"}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.eot b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.eot
index ea76c27630..2fbed96e07 100644
Binary files a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.eot and b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.eot differ
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.svg b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.svg
index 6f541b1561..8bd0fb19a6 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.svg
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.svg
@@ -1,13 +1,13 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
-2014-8-13: Created.
+2014-8-20: Created.
-->
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>
-Created by FontForge 20120731 at Wed Aug 13 14:26:27 2014
- By GG
-Created by GG with FontForge 2.0 (http://fontforge.sf.net)
+Created by FontForge 20120731 at Wed Aug 20 19:30:44 2014
+ By Luo Zhenyu
+Created by Luo Zhenyu with FontForge 2.0 (http://fontforge.sf.net)
</metadata>
<defs>
<font id="ponticons" horiz-adv-x="1024" >
@@ -21,7 +21,7 @@ Created by GG with FontForge 2.0 (http://fontforge.sf.net)
descent="-192"
bbox="-0.5 -193 1028 835"
underline-thickness="51.2"
- underline-position="10"
+ underline-position="-102.4"
unicode-range="U+F000-F65B"
/>
<missing-glyph />
@@ -37,6 +37,8 @@ d="M0 -128v128h896v-128h-896zM0 128v128h896v-128h-896zM0 384v128h896v-128h-896zM
d="M0 -128v128h896v-128h-896zM0 128v128h640v-128h-640zM0 384v128h768v-128h-768zM0 640v128h512v-128h-512z" />
<glyph glyph-name="fa-align-right" unicode="&#xf606;" horiz-adv-x="896"
d="M0 -128v128h896v-128h-896zM256 128v128h640v-128h-640zM128 384v128h768v-128h-768zM384 640v128h512v-128h-512z" />
+ <glyph glyph-name="fa-arrow-back" unicode="&#xf264;" horiz-adv-x="960"
+d="M960 400v-320h-96v224h-544v-160l-320 208l320 208v-160h640z" />
<glyph glyph-name="fa-arrow-down" unicode="&#xf251;" horiz-adv-x="640"
d="M640 384l-320 -384l-320 384h192v256h256v-256h192z" />
<glyph glyph-name="fa-arrow-left" unicode="&#xf252;" horiz-adv-x="640"
@@ -44,17 +46,17 @@ d="M640 448v-256h-256v-192l-384 320l384 320v-192h256z" />
<glyph glyph-name="fa-arrow-right" unicode="&#xf253;" horiz-adv-x="640"
d="M0 448h256v192l384 -320l-384 -320v192h-256v256z" />
<glyph glyph-name="fa-arrow-slim-down" unicode="&#xf259;" horiz-adv-x="768"
-d="M19 301c12 13 27 19 45 19s33 -6 45 -19l211 -210v613c0 19 6 34 19 45c11 13 26 19 45 19c36 0 64 -28 64 -64v-613l211 210c9 13 24 19 45 19s36 -6 45 -19c13 -12 19 -27 19 -45s-6 -33 -19 -45l-320 -320c-12 -13 -27 -19 -45 -19s-33 6 -45 19l-320 320
-c-13 12 -19 27 -19 45s6 33 19 45z" />
- <glyph glyph-name="fa-arrow-slim-left" unicode="&#xf25a;" horiz-adv-x="896"
-d="M339 -45l-320 320c-13 12 -19 27 -19 45s6 33 19 45l320 320c12 13 27 19 45 19s33 -6 45 -19c13 -10 19 -25 19 -45s-6 -35 -19 -45l-210 -211h613c17 0 33 -6 46 -18c12 -13 18 -29 18 -46c0 -36 -28 -64 -64 -64h-613l210 -211c13 -12 19 -27 19 -45
-c0 -36 -28 -64 -64 -64c-18 0 -33 6 -45 19z" />
- <glyph glyph-name="fa-arrow-slim-right" unicode="&#xf25b;" horiz-adv-x="896"
-d="M557 -45c-12 -13 -27 -19 -45 -19c-36 0 -64 28 -64 64c0 18 6 33 19 45l210 211h-613c-36 0 -64 28 -64 64c0 17 6 33 18 46c13 12 29 18 46 18h613l-210 211c-13 10 -19 25 -19 45s6 35 19 45c12 13 27 19 45 19s33 -6 45 -19l320 -320c13 -12 19 -27 19 -45
-s-6 -33 -19 -45z" />
- <glyph glyph-name="fa-arrow-slim-up" unicode="&#xf258;" horiz-adv-x="768"
-d="M19 339c-13 12 -19 27 -19 45s6 33 19 45l320 320c12 13 27 19 45 19s33 -6 45 -19l320 -320c13 -12 19 -27 19 -45s-6 -33 -19 -45c-9 -13 -24 -19 -45 -19s-36 6 -45 19l-211 210v-613c0 -36 -28 -64 -64 -64c-19 0 -34 6 -45 19c-13 11 -19 26 -19 45v613l-211 -210
+d="M749 365c13 -12 19 -27 19 -45s-6 -33 -19 -45l-320 -320c-12 -13 -27 -19 -45 -19s-33 6 -45 19l-320 320c-13 12 -19 27 -19 45s6 33 19 45c9 13 24 19 45 19s36 -6 45 -19l211 -210v485c0 36 28 64 64 64c19 0 34 -6 45 -19c13 -11 19 -26 19 -45v-485l211 210
+c12 13 27 19 45 19s33 -6 45 -19z" />
+ <glyph glyph-name="fa-arrow-slim-left" unicode="&#xf25a;" horiz-adv-x="768"
+d="M429 -45c-12 -13 -27 -19 -45 -19s-33 6 -45 19l-320 320c-13 12 -19 27 -19 45s6 33 19 45l320 320c12 13 27 19 45 19s33 -6 45 -19c13 -9 19 -24 19 -45s-6 -36 -19 -45l-210 -211h485c36 0 64 -28 64 -64c0 -19 -6 -34 -19 -45c-11 -13 -26 -19 -45 -19h-485
+l210 -211c13 -12 19 -27 19 -45s-6 -33 -19 -45z" />
+ <glyph glyph-name="fa-arrow-slim-right" unicode="&#xf25b;" horiz-adv-x="768"
+d="M339 -45c-13 12 -19 27 -19 45s6 33 19 45l210 211h-485c-19 0 -34 6 -45 19c-13 11 -19 26 -19 45c0 36 28 64 64 64h485l-210 211c-13 9 -19 24 -19 45s6 36 19 45c12 13 27 19 45 19s33 -6 45 -19l320 -320c13 -12 19 -27 19 -45s-6 -33 -19 -45l-320 -320
c-12 -13 -27 -19 -45 -19s-33 6 -45 19z" />
+ <glyph glyph-name="fa-arrow-slim-up" unicode="&#xf258;" horiz-adv-x="768"
+d="M749 275c-12 -13 -27 -19 -45 -19s-33 6 -45 19l-211 210v-485c0 -19 -6 -34 -19 -45c-11 -13 -26 -19 -45 -19c-36 0 -64 28 -64 64v485l-211 -210c-9 -13 -24 -19 -45 -19s-36 6 -45 19c-13 12 -19 27 -19 45s6 33 19 45l320 320c12 13 27 19 45 19s33 -6 45 -19
+l320 -320c13 -12 19 -27 19 -45s-6 -33 -19 -45z" />
<glyph glyph-name="fa-arrow-small-down" unicode="&#xf255;" horiz-adv-x="384"
d="M384 384l-192 -256l-192 256h128v128h128v-128h128z" />
<glyph glyph-name="fa-arrow-small-left" unicode="&#xf256;" horiz-adv-x="384"
@@ -84,16 +86,15 @@ c66 -24 100 -54 103 -91v-128h84h108z" />
d="M514 -42c20 0 40 -9 53 -22s22 -33 22 -53c0 -21 -9 -40 -22 -53s-33 -22 -53 -22c-21 0 -40 9 -53 22s-22 32 -22 53c0 20 9 40 22 53s32 22 53 22zM447 832h134v-63c69 -16 131 -55 175 -108c43 -53 70 -121 70 -196v-272l202 -175v-47h-1028v47l202 175v272
c0 75 27 143 71 196c43 53 105 92 174 108v63z" />
<glyph glyph-name="fa-book" unicode="&#xf116;" horiz-adv-x="960"
-d="M320 511c35 -1 63 -31 64 -64h-256c1 35 31 63 64 64h128zM320 255c35 -1 63 -31 64 -64h-256c1 35 31 63 64 64h128zM320 383c35 -1 63 -31 64 -64h-256c1 35 31 63 64 64h128zM768 511c33 -1 63 -29 64 -64h-256c1 33 29 63 64 64h128zM768 383c33 -1 63 -29 64 -64
-h-256c1 33 29 63 64 64h128zM896 543c0 17 -16 31 -48 42s-80 16 -144 16s-112 -5 -144 -16s-48 -25 -48 -42v-444c31 16 101 28 192 28s168 -11 192 -27v443zM448 543c0 17 -16 31 -48 42s-80 16 -144 16s-112 -5 -144 -16s-48 -25 -48 -42v-443c24 16 101 27 192 27
-s161 -12 192 -28v444zM713 671c83 -1 145 -10 186 -27s61 -34 61 -51v-586c-32 17 -118 47 -214 56c-60 4 -113 3 -160 -4s-71 -16 -74 -28c0 -16 -8 -31 -31 -32h-1h-1c-23 1 -31 16 -31 32c-3 12 -27 21 -74 28s-100 8 -160 4c-97 -9 -182 -39 -214 -56v586
-c0 17 20 34 61 51s103 26 186 27c81 -1 138 -7 170 -19s53 -24 63 -37c10 13 31 25 63 37s89 18 170 19zM768 255c33 -1 63 -29 64 -64h-256c1 33 29 63 64 64h128z" />
- <glyph glyph-name="fa-bookmark-alt" unicode="&#xf413;" horiz-adv-x="384"
-d="M192 192l-192 -320v832h384v-832z" />
- <glyph glyph-name="fa-bookmark" unicode="&#xf412;" horiz-adv-x="384"
-d="M316 507c7 6 5 9 -4 9l-88 1l-27 83c-3 9 -7 9 -10 0l-27 -83l-88 -1c-9 0 -11 -3 -4 -9l72 -52l-28 -83c-2 -9 1 -11 8 -7l72 52l72 -52c7 -4 10 -2 8 7l-28 83zM384 704v-768l-192 128l-192 -128v768h384z" />
- <glyph glyph-name="fa-bookmarks" unicode="&#xf414;" horiz-adv-x="512"
-d="M320 193l-192 -320v704h384v-704zM64 1l-64 -64v768h512v-64h-448v-640z" />
+d="M768 256c32 0 64 -30 64 -64h-256c0 32 30 64 64 64h128zM713 672c167 0 247 -46 247 -78v-586c-29 16 -120 49 -214 56c-115 9 -234 -9 -234 -32c0 -16 -8 -31 -31 -32h-1h-1c-23 1 -31 16 -31 32c0 23 -119 41 -234 32c-95 -8 -185 -40 -214 -56v586c0 32 80 78 247 78
+s209 -32 233 -56c24 24 66 56 233 56zM448 100v444s-64 59 -192 59s-192 -27 -192 -59v-443c22 15 103 27 192 27s162 -12 192 -28zM896 101v443s-64 59 -192 59s-192 -27 -192 -59v-444c30 16 103 28 192 28s170 -12 192 -27zM768 384c32 0 64 -30 64 -64h-256
+c0 32 30 64 64 64h128zM768 512c32 0 64 -30 64 -64h-256c0 32 30 64 64 64h128zM320 384c34 0 64 -32 64 -64h-256c0 34 32 64 64 64h128zM320 256c34 0 64 -32 64 -64h-256c0 34 32 64 64 64h128zM320 512c34 0 64 -32 64 -64h-256c0 34 32 64 64 64h128z" />
+ <glyph glyph-name="fa-bookmark-alt" unicode="&#xf413;" horiz-adv-x="512"
+d="M444 486c11 9 8 14 -6 14l-131 1l-41 124c-4 14 -10 14 -15 0l-40 -124l-132 -1c-13 0 -16 -5 -6 -14l108 -78l-42 -124c-3 -14 1 -17 12 -11l108 78l108 -78c10 -6 15 -3 12 11l-42 124zM512 768v-896l-256 224l-256 -224v896h512z" />
+ <glyph glyph-name="fa-bookmark" unicode="&#xf412;" horiz-adv-x="512"
+d="M256 192l-256 -320v896h512v-896z" />
+ <glyph glyph-name="fa-bookmarks" unicode="&#xf414;" horiz-adv-x="640"
+d="M384 192l-256 -320v768h512v-768zM64 0l-64 -64v832h640v-64h-576v-704z" />
<glyph glyph-name="fa-branch-add" unicode="&#xf521;" horiz-adv-x="768"
d="M64 -63c0 -19 14 -33 33 -33h62c19 0 33 14 33 33v62c0 19 -14 33 -33 33h-62c-19 0 -33 -14 -33 -33v-62zM64 577c0 -19 14 -33 33 -33h62c19 0 33 14 33 33v62c0 19 -14 33 -33 33h-62c-19 0 -33 -14 -33 -33v-62zM0 31c0 37 27 65 64 65v384c-37 0 -64 28 -64 65v126
c0 39 26 65 65 65h126c39 0 65 -26 65 -65v-126c0 -37 -27 -65 -64 -65v-192h160l64 64h96v-96l-80 -80c-11 -11 -23 -16 -38 -16h-202v-64c37 0 64 -28 64 -65v-126c0 -39 -26 -65 -65 -65h-126c-39 0 -65 26 -65 65v126zM512 544h-128v128h128v128h128v-128h128v-128h-128
@@ -188,10 +189,8 @@ s-63 -27 -64 -63s-28 -63 -64 -64h-34h-30zM704 32h64v-128c-1 -36 -28 -63 -64 -64h
<glyph glyph-name="fa-clock" unicode="&#xf147;" horiz-adv-x="896"
d="M448 0c181 4 316 139 320 320c-5 180 -140 315 -320 320c-180 -5 -315 -140 -320 -320c4 -181 139 -316 320 -320zM448 768c253 -7 441 -195 448 -448c-7 -253 -195 -441 -448 -448c-253 7 -441 195 -448 448c7 253 195 441 448 448zM384 576l64 64l64 -64v-192h128
l64 -64l-64 -64h-256v320z" />
- <glyph glyph-name="fa-collapse-alt" unicode="&#xf42e;" horiz-adv-x="768"
-d="M192 -32l192 192l192 -192h-384zM0 288h768v-64h-768v64zM0 416h768v-64h-768v64zM192 672h384l-192 -192z" />
- <glyph glyph-name="fa-collapse" unicode="&#xf42d;" horiz-adv-x="896"
-d="M512 32v-128h-128v128h-128l192 192l192 -192h-128zM128 352h640v-64h-640v64zM640 160v64h192v192h-192v64h256v-320h-256zM256 160h-256v320h256v-64h-192v-192h192v-64zM256 608h128v128h128v-128h128l-192 -192z" />
+ <glyph glyph-name="fa-collapse" unicode="&#xf42d;" horiz-adv-x="768"
+d="M192 704h384l-192 -192zM0 256h768v-64h-768v64zM0 384h768v-64h-768v64zM192 -128l192 192l192 -192h-384z" />
<glyph glyph-name="fa-color-mode" unicode="&#xf149;" horiz-adv-x="768"
d="M704 640h-640v-640zM768 704v-768h-768v768h768z" />
<glyph glyph-name="fa-comment-add" unicode="&#xf498;" horiz-adv-x="896"
@@ -259,10 +258,8 @@ d="M0 384c0 64 64 128 128 128h512c64 0 128 -64 128 -128v-128c0 -64 -64 -128 -128
c64 0 64 0 64 64s0 64 -64 64s-64 0 -64 -64s0 -64 64 -64z" />
<glyph glyph-name="fa-ellipsis" unicode="&#xf14a;" horiz-adv-x="512"
d="M448 256c-35 0 -64 29 -64 64s29 64 64 64s64 -29 64 -64s-29 -64 -64 -64zM256 256c-35 0 -64 29 -64 64s29 64 64 64s64 -29 64 -64s-29 -64 -64 -64zM64 256c-35 0 -64 29 -64 64s29 64 64 64s64 -29 64 -64s-29 -64 -64 -64z" />
- <glyph glyph-name="fa-expand-alt" unicode="&#xf42c;" horiz-adv-x="768"
-d="M192 160h384l-192 -192zM0 288h768v-64h-768v64zM0 416h768v-64h-768v64zM192 480l192 192l192 -192h-384z" />
- <glyph glyph-name="fa-expand" unicode="&#xf42b;" horiz-adv-x="896"
-d="M256 96h128v128h128v-128h128l-192 -192zM128 352h640v-64h-640v64zM640 160v64h192v192h-192v64h256v-320h-256zM256 160h-256v320h256v-64h-192v-192h192v-64zM512 544v-128h-128v128h-128l192 192l192 -192h-128z" />
+ <glyph glyph-name="fa-expand" unicode="&#xf42b;" horiz-adv-x="768"
+d="M192 64h384l-192 -192zM0 256h768v-64h-768v64zM0 384h768v-64h-768v64zM192 512l192 192l192 -192h-384z" />
<glyph glyph-name="fa-eye-open" unicode="&#xf499;"
d="M73 320c105 -161 266 -256 439 -256c172 0 334 95 438 256c-57 89 -129 156 -217 202c23 -41 35 -84 35 -129c0 -141 -115 -256 -256 -256s-256 115 -256 256c0 47 11 90 34 129c-88 -46 -160 -113 -217 -202zM338 393c0 -15 12 -27 27 -27c16 0 28 12 28 27
c0 67 52 119 119 119c15 0 27 12 27 27c0 16 -12 28 -27 28c-96 0 -174 -78 -174 -174zM11 359c108 177 302 290 501 290s392 -113 500 -290c8 -13 12 -26 12 -39s-4 -26 -12 -39c-108 -177 -301 -290 -500 -290s-393 113 -501 290c-7 13 -11 26 -11 39s4 26 11 39z" />
@@ -280,60 +277,53 @@ d="M338 312c0 -15 12 -26 28 -26c15 0 27 11 27 26c0 65 52 120 119 120c16 0 27 12
c-141 0 -256 115 -256 256c0 47 12 91 35 130c-88 -45 -161 -112 -218 -202c104 -160 267 -256 439 -256s335 96 439 256c-11 17 -18 27 -21 30l58 46c24 -30 36 -55 36 -76c0 -13 -4 -27 -11 -40c-108 -177 -301 -290 -501 -290c-199 0 -393 114 -501 290
c-7 13 -11 27 -11 40zM736 346l-96 96l96 96l-96 96l96 96l96 -96l96 96l96 -96l-96 -96l96 -96l-96 -96l-96 96z" />
<glyph glyph-name="fa-fast-forward-circle" unicode="&#xf387;"
-d="M576 480l224 -160l-224 -160v320zM320 480l224 -160l-224 -160v320zM96 320c0 -116 41 -214 122 -294c80 -81 178 -122 294 -122c231 0 416 185 416 416s-185 416 -416 416s-416 -185 -416 -416zM40 122c-27 61 -40 127 -40 198c0 142 50 263 150 363
-c95 95 225 149 362 149c136 0 267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -267 54 -362 150c-48 47 -85 102 -110 164z" />
- <glyph glyph-name="fa-file-added" unicode="&#xf460;" horiz-adv-x="896"
-d="M64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736zM384 256h-192v128h192v192h128v-192h192v-128h-192v-192h-128v192z" />
- <glyph glyph-name="fa-file-audio" unicode="&#xf452;" horiz-adv-x="896"
-d="M896 -192h-896v1024h672l224 -288v-736zM64 768v-896h768v640l-192 256h-576zM613 69c43 52 64 113 64 181c0 69 -21 129 -64 182c-15 18 -13 44 5 59s45 11 58 -7c56 -68 84 -146 84 -234c0 -87 -28 -165 -84 -234c-8 -10 -18 -15 -32 -15c-9 0 -18 3 -26 10
-c-18 13 -20 40 -5 58zM479 166c22 24 33 53 33 84c0 32 -11 60 -33 85c-17 17 -15 43 1 59c16 15 43 14 58 -2c38 -40 57 -87 57 -142c0 -54 -19 -101 -57 -141c-8 -8 -18 -13 -30 -13c-10 0 -20 4 -28 11c-16 16 -18 42 -1 59zM141 189v123c0 13 8 21 20 21h85l107 108
-c13 12 35 3 35 -15v-351c0 -10 -4 -16 -13 -19c-3 -1 -5 -2 -7 -2c-6 0 -11 2 -15 6l-107 108h-85c-12 0 -20 8 -20 21z" />
- <glyph glyph-name="fa-file-binary" unicode="&#xf453;" horiz-adv-x="896"
-d="M352 64v128h-64v-128h64zM544 64v128h-64v64h128v-192h64v-64h-192v64h64zM224 256h192v-256h-192v256zM608 384v128h-64v-128h64zM480 576h192v-256h-192v256zM224 384h64v128h-64v64h128v-192h64v-64h-192v64zM64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024
-h672l224 -288v-736z" />
- <glyph glyph-name="fa-file-chart" unicode="&#xf454;" horiz-adv-x="896"
-d="M128 64h192v-64h-192v64zM128 192h192v-64h-192v64zM383 159c0 79 52 141 128 157v-189h189c-16 -76 -78 -128 -157 -128c-88 0 -160 72 -160 160zM128 320h192v-64h-192v64zM575 380l16 3h16c88 0 160 -72 160 -160v-15c-1 -2 -1 -5 -1 -9l-2 -8h-189v189zM64 768v-896
-h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736z" />
- <glyph glyph-name="fa-file-code-alt" unicode="&#xf456;" horiz-adv-x="896"
-d="M512 0v57c19 0 34 6 45 17c13 9 19 22 19 40v114c0 16 16 29 32 29c-16 0 -32 13 -32 29v114c0 19 -13 38 -22 43c-16 9 -30 14 -42 14v57c33 0 64 -11 91 -33c25 -23 37 -50 37 -81v-86c0 -16 16 -28 32 -28h32v-58h-32c-16 0 -32 -12 -32 -28v-86
-c0 -64 -59 -114 -128 -114zM192 228v58h32c17 0 32 12 32 28v86c0 64 59 114 128 114v-57c-19 0 -34 -6 -45 -17c-13 -9 -19 -22 -19 -40v-114c0 -16 -15 -29 -32 -29c17 0 32 -13 32 -29v-114c0 -18 6 -31 19 -40c11 -11 26 -17 45 -17v-57c-35 0 -65 11 -90 34
-c-25 21 -38 48 -38 80v86c0 16 -15 28 -32 28h-32zM64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736z" />
- <glyph glyph-name="fa-file-code" unicode="&#xf455;" horiz-adv-x="896"
-d="M576 0l-64 64l128 128l-128 128l64 64l192 -192zM320 0l-192 192l192 192l64 -64l-128 -128l128 -128zM64 768v-896h768v640l-224 256h-544zM896 -192h-896v1024h640l256 -288v-736z" />
- <glyph glyph-name="fa-file-excel" unicode="&#xf45d;" horiz-adv-x="896"
-d="M229 66h42l121 176l-118 169h-42v66h180v-66h-47l66 -99c4 -5 8 -10 11 -14c1 -3 2 -5 3 -6h1l1 1c3 4 9 13 12 19l64 99h-46v66h174v-66h-42l-121 -175l119 -170h42v-66h-181v66h48l-67 100c-1 2 -2 4 -4 6c-2 1 -3 3 -3 5c-3 2 -6 7 -7 10h-1c-1 0 -1 -1 -2 -2
-c-1 -2 -3 -5 -5 -8c-2 -5 -4 -8 -6 -11l-64 -100h47v-66h-175v66zM64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736z" />
- <glyph glyph-name="fa-file-image" unicode="&#xf457;" horiz-adv-x="896"
-d="M128 128l192 128l128 -64l192 192l128 -192v-192h-640v128zM320 320c-71 0 -128 57 -128 128s57 128 128 128s128 -57 128 -128s-57 -128 -128 -128zM64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736z" />
- <glyph glyph-name="fa-file-link" unicode="&#xf458;" horiz-adv-x="896"
-d="M126 0c1 3 7 22 16 55c10 34 30 73 59 118c77 115 180 173 308 173v138l257 -230l-257 -238v155l-221 -27c-67 -24 -121 -72 -162 -144zM64 768v-896h768v640l-224 256h-544zM896 -192h-896v1024h640l256 -288v-736z" />
- <glyph glyph-name="fa-file-modified" unicode="&#xf461;" horiz-adv-x="896"
-d="M192 352l64 96l128 -96v160h128v-160l128 96l64 -96l-128 -96l128 -96l-64 -96l-128 96v-160h-128v160l-128 -96l-64 96l128 96zM64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736z" />
- <glyph glyph-name="fa-file-openoffice" unicode="&#xf459;" horiz-adv-x="896"
-d="M77 127c84 75 222 88 334 39c76 51 174 69 246 58c35 -5 65 -16 89 -31c-112 -4 -151 -10 -203 -35c-51 -24 -91 -57 -120 -100c-68 63 -167 91 -268 80l-20 -3c-13 -3 -26 -5 -39 -6c-6 0 -12 -1 -19 -2zM431 354c29 19 62 29 97 29c31 0 64 -8 98 -23
-c33 16 66 24 98 24c36 0 68 -9 95 -27c-79 8 -153 -13 -193 -60c-39 44 -118 65 -195 57zM64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736z" />
- <glyph glyph-name="fa-file-pdf" unicode="&#xf451;" horiz-adv-x="896"
-d="M148 18c11 6 24 17 40 33c18 20 38 47 59 81l-4 -4l-9 -8c-1 -1 -2 -2 -3 -2c-44 -37 -72 -71 -83 -100zM704 226h-37l-24 -2c45 -20 77 -30 98 -30c10 0 18 1 24 4l2 4c0 5 -3 9 -8 12c-9 6 -24 10 -43 11c-5 1 -9 1 -12 1zM357 234l-15 -26l-7 -13c51 19 111 36 179 49
-l-3 3l-3 2l-4 4l-3 2c-39 35 -67 70 -85 106l-5 -12c-1 -1 -1 -3 -2 -6s-2 -5 -3 -6c-16 -36 -24 -54 -25 -55l-17 -34c-3 -5 -5 -9 -7 -14zM409 592v-8c0 -35 4 -65 11 -89c21 31 21 96 10 117c-5 13 -11 20 -16 20c-1 0 -2 -2 -3 -7c0 -9 -1 -20 -1 -26c-1 -3 -1 -6 -1 -7
-zM106 21c0 5 0 7 1 8c9 35 37 64 105 108c5 2 8 4 9 5l24 13l5 2l18 9c3 3 7 9 10 17c1 3 2 5 3 6l13 25c14 25 24 44 29 55l3 5c5 9 10 19 15 30c0 1 1 2 2 3c3 5 5 9 6 11l8 17c1 1 2 5 5 11c3 5 6 13 10 23c4 9 8 19 13 29l6 16c-20 85 -30 143 -30 174c0 32 7 52 20 59
-c7 5 15 7 26 7h11c17 0 29 -9 36 -27l2 -5c0 -1 0 -2 1 -3l1 -2v-7c4 -13 0 -56 -7 -106c-3 -25 -5 -38 -5 -39l-3 -20c-1 -1 -2 -3 -2 -6l-2 -8c25 -63 53 -105 81 -131c13 -13 33 -28 60 -44c33 5 69 8 108 8c49 -3 79 -10 90 -21l4 -4c1 -3 2 -4 3 -5c3 -3 4 -10 4 -23
-c0 -7 0 -12 -1 -13c-1 -8 -3 -16 -8 -24l-4 -4c-3 -3 -4 -4 -5 -4l-12 -6h-4c-4 -1 -8 -2 -11 -2h-6c-45 0 -119 23 -178 56c-71 -8 -153 -27 -245 -58c-33 -59 -63 -102 -88 -129s-49 -41 -70 -41c-3 0 -7 1 -12 2c-3 0 -4 0 -5 1s-2 1 -3 1s-2 0 -3 1l-17 9
-c-3 1 -5 3 -6 6c-3 3 -5 8 -5 15zM64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736z" />
- <glyph glyph-name="fa-file-powerpoint" unicode="&#xf45e;" horiz-adv-x="896"
-d="M257 66h57v345h-57v66h229c34 0 61 -3 81 -11c52 -23 85 -75 85 -142c0 -34 -8 -64 -24 -91c-33 -53 -77 -63 -140 -63h-85v-104h57v-66h-203v66zM477 240c39 0 87 10 87 84c0 68 -44 83 -87 83h-74v-167h74zM64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672
-l224 -288v-736z" />
- <glyph glyph-name="fa-file-removed" unicode="&#xf462;" horiz-adv-x="896"
-d="M64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736zM704 192h-512v128h512v-128z" />
- <glyph glyph-name="fa-file-txt" unicode="&#xf45a;" horiz-adv-x="896"
-d="M704 0h-512v64h512v-64zM704 128h-512v64h512v-64zM704 256h-512v64h512v-64zM448 384h-256v64h256v-64zM64 768v-896h768v640l-224 256h-544zM896 -192h-896v1024h640l256 -288v-736z" />
- <glyph glyph-name="fa-file-video" unicode="&#xf45b;" horiz-adv-x="896"
-d="M544 288l160 160v-384l-160 160v64zM192 415c0 19 14 33 33 33h254c19 0 33 -14 33 -33v-318c0 -19 -14 -33 -33 -33h-254c-19 0 -33 14 -33 33v318zM64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736z" />
- <glyph glyph-name="fa-file-word" unicode="&#xf45c;" horiz-adv-x="896"
-d="M117 477h187v-66h-56l61 -272c2 -8 4 -18 5 -29l1 -13h2l3 13c0 2 1 7 2 14c1 6 2 11 3 15l89 338h71l90 -338c0 -4 2 -9 3 -16s2 -11 2 -13l2 -13h3l1 13c1 11 2 21 4 29l62 272h-56v66h186v-66h-43l-102 -411h-99l-79 302c-2 3 -3 9 -4 16s-1 11 -2 12l-2 15h-2
-c0 -3 -1 -8 -2 -15c-1 -10 -3 -20 -6 -28l-80 -302h-98l-102 411h-44v66zM64 768v-896h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736z" />
- <glyph glyph-name="fa-file-zip" unicode="&#xf45f;" horiz-adv-x="896"
-d="M288 128v-64h128v64h-128zM352 256v64h96v-288c0 -17 -15 -32 -32 -32h-128c-16 0 -32 16 -32 32v224h96zM256 384h96v-64h-96v64zM352 448h96v-64h-96v64zM256 512h96v-64h-96v64zM352 576h96v-64h-96v64zM256 640h96v-64h-96v64zM352 704h96v-64h-96v64zM64 768v-896
-h768v640l-192 256h-576zM896 -192h-896v1024h672l224 -288v-736z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM576 480l224 -160l-224 -160v320zM320 480l224 -160l-224 -160v320z" />
+ <glyph glyph-name="fa-file-added" unicode="&#xf460;" horiz-adv-x="768"
+d="M768 576v-704h-768v896h576zM704 512l-192 192h-448v-768h640v576zM320 224h-160v128h160v160h128v-160h160v-128h-160v-160h-128v160z" />
+ <glyph glyph-name="fa-file-audio" unicode="&#xf452;" horiz-adv-x="768"
+d="M426 510h45v-448h-45l-179 134h-90v180h90zM561 413c35 -37 53 -79 53 -127s-18 -90 -53 -127c-5 -4 -10 -6 -15 -6c-12 0 -23 11 -23 22c0 6 2 11 7 16c25 27 39 59 39 95s-14 68 -39 95c-5 5 -7 10 -7 16c0 12 11 22 23 22c5 0 10 -2 15 -6zM704 512l-192 192h-448
+v-768h640v576zM768 576v-704h-768v896h576z" />
+ <glyph glyph-name="fa-file-binary" unicode="&#xf453;" horiz-adv-x="768"
+d="M0 -128v896h576l192 -192v-704h-768zM704 512l-192 192h-448v-768h640v576zM320 320h-192v256h192v-256zM256 512h-64v-128h64v128zM256 64h64v-64h-192v64h64v128h-64v64h128v-192zM512 384h64v-64h-192v64h64v128h-64v64h128v-192zM576 0h-192v256h192v-256zM512 192
+h-64v-128h64v128z" />
+ <glyph glyph-name="fa-file-code-alt" unicode="&#xf456;" horiz-adv-x="768"
+d="M704 512l-192 192h-448v-768h640v576zM768 576v-704h-768v896h576zM129 228v58h32c17 0 32 12 32 28v86c0 64 59 114 128 114v-57c-19 0 -34 -6 -45 -17c-13 -9 -19 -22 -19 -40v-114c0 -16 -15 -29 -32 -29c17 0 32 -13 32 -29v-114c0 -18 6 -31 19 -40
+c11 -11 26 -17 45 -17v-57c-35 0 -65 11 -90 34c-25 21 -38 48 -38 80v86c0 16 -15 28 -32 28h-32zM449 0v57c19 0 34 6 45 17c13 9 19 22 19 40v114c0 16 16 29 32 29c-16 0 -32 13 -32 29v114c0 19 -13 38 -22 43c-16 9 -30 14 -42 14v57c33 0 64 -11 91 -33
+c25 -23 37 -50 37 -81v-86c0 -16 16 -28 32 -28h32v-58h-32c-16 0 -32 -12 -32 -28v-86c0 -64 -59 -114 -128 -114z" />
+ <glyph glyph-name="fa-file-code" unicode="&#xf455;" horiz-adv-x="768"
+d="M288 448l64 -64l-96 -96l96 -96l-64 -64l-160 160zM416 384l64 64l160 -160l-160 -160l-64 64l96 96zM576 768l192 -192v-704h-768v896h576zM704 -64v576l-192 192h-448v-768h640z" />
+ <glyph glyph-name="fa-file-excel" unicode="&#xf45d;" horiz-adv-x="768"
+d="M173 67h42l121 176l-118 169h-42v66h180v-66h-47l66 -99c4 -5 8 -10 11 -14c1 -3 2 -5 3 -6h1l1 1c3 4 9 13 12 19l64 99h-46v66h174v-66h-42l-121 -175l119 -170h42v-66h-181v66h48l-67 100c-1 2 -2 4 -4 6c-2 1 -3 3 -3 5c-3 2 -6 7 -7 10h-1c-1 0 -1 -1 -2 -2
+c-1 -2 -3 -5 -5 -8c-2 -5 -4 -8 -6 -11l-64 -100h47v-66h-175v66zM704 512l-192 192h-448v-768h640v576zM768 576v-704h-768v896h576z" />
+ <glyph glyph-name="fa-file-image" unicode="&#xf457;" horiz-adv-x="768"
+d="M288 320c-53 0 -96 43 -96 96s43 96 96 96s96 -43 96 -96s-43 -96 -96 -96zM640 0h-512v128l64 64l128 -64l192 192l128 -192v-128zM704 512l-192 192h-448v-768h640v576zM768 576v-704h-768v896h576z" />
+ <glyph glyph-name="fa-file-media" unicode="&#xf459;" horiz-adv-x="768"
+d="M576 768l192 -192v-704h-768v896h576zM704 -64v576l-192 192h-448v-768h640zM128 576h384l128 -128v-384h-128c0 71 -57 128 -128 128c71 0 128 57 128 128s-57 128 -128 128s-128 -57 -128 -128s57 -128 128 -128c-71 0 -128 -57 -128 -128h-128v512z" />
+ <glyph glyph-name="fa-file-modified" unicode="&#xf461;" horiz-adv-x="768"
+d="M164 325c-21 12 -28 39 -16 59l21 37c12 21 39 28 59 16l89 -52v104c0 23 20 43 44 43h43c23 0 43 -20 43 -43v-104l89 52c20 12 47 5 59 -16l21 -37c12 -20 5 -47 -15 -59l-90 -52l90 -51c20 -12 27 -39 15 -59l-21 -37c-12 -21 -39 -28 -59 -16l-89 52v-104
+c0 -23 -20 -43 -43 -43h-43c-24 0 -44 20 -44 43v104l-89 -52c-20 -12 -47 -5 -59 16l-21 37c-12 20 -5 47 16 59l89 51zM768 576v-704h-768v896h576zM704 512l-192 192h-448v-768h640v576z" />
+ <glyph glyph-name="fa-file-pdf" unicode="&#xf451;" horiz-adv-x="768"
+d="M576 768l192 -192v-704h-768v896h576zM64 704v-600c42 36 92 55 108 60c7 12 105 207 129 288c-23 79 -29 160 -16 209c7 28 22 39 35 43h-256zM347 397c-21 -81 -101 -233 -97 -227c84 37 148 46 232 59c-40 18 -77 18 -135 168zM704 -64v198c-8 -1 -14 -2 -24 -2
+c-41 3 -114 22 -168 49c-63 -7 -128 -19 -187 -34c-6 -2 -41 -14 -79 -29c-96 -161 -146 -182 -180 -182h-2v0h2h638zM704 247v265l-192 192h-162v0c28 0 59 -20 52 -73c0 0 4 -70 -13 -174c55 -158 120 -177 147 -190c28 3 55 5 79 5c35 0 65 -10 89 -25z" />
+ <glyph glyph-name="fa-file-ppt" unicode="&#xf45e;" horiz-adv-x="768"
+d="M768 576v-704h-768v896h576zM704 512l-192 192h-448v-768h640v576zM190 66h57v345h-57v66h229c34 0 61 -3 81 -11c52 -23 85 -75 85 -142c0 -34 -8 -64 -24 -91c-33 -53 -77 -63 -140 -63h-85v-104h57v-66h-203v66zM410 240c39 0 87 10 87 84c0 68 -44 83 -87 83h-74
+v-167h74z" />
+ <glyph glyph-name="fa-file-removed" unicode="&#xf462;" horiz-adv-x="768"
+d="M768 576v-704h-768v896h576zM704 512l-192 192h-448v-768h640v576zM576 224h-384v128h384v-128z" />
+ <glyph glyph-name="fa-file-renamed" unicode="&#xf463;" horiz-adv-x="768"
+d="M384 512l256 -192l-256 -192v128h-192v128h192v128zM768 576v-704h-768v896h576zM704 512l-192 192h-448v-768h640v576z" />
+ <glyph glyph-name="fa-file-symlink" unicode="&#xf458;" horiz-adv-x="768"
+d="M576 768l192 -192v-704h-768v896h576zM704 -64v576l-192 192h-448v-768h640zM384 384v128l256 -192l-256 -192v128c-125 0 -224 -56 -256 -192c0 209 107 320 256 320z" />
+ <glyph glyph-name="fa-file-txt" unicode="&#xf45a;" horiz-adv-x="768"
+d="M448 576v-64h-320v64h320zM576 768l192 -192v-704h-768v896h576zM704 -64v576l-192 192h-448v-768h640zM128 64v64h512v-64h-512zM128 192v64h512v-64h-512zM128 320v64h512v-64h-512z" />
+ <glyph glyph-name="fa-file-video" unicode="&#xf45b;" horiz-adv-x="768"
+d="M768 576v-704h-768v896h576zM704 512l-192 192h-448v-768h640v576zM448 288l160 128v-320l-160 128v64zM160 351c0 19 14 33 33 33h190c19 0 33 -14 33 -33v-190c0 -19 -14 -33 -33 -33h-190c-19 0 -33 14 -33 33v190z" />
+ <glyph glyph-name="fa-file-word" unicode="&#xf45c;" horiz-adv-x="768"
+d="M768 576v-704h-768v896h576zM704 512l-192 192h-448v-768h640v576zM256 384l21 -234l107 171l106 -170l22 233h-64v64h192v-64h-64l-32 -352h-64l-96 165l-96 -165h-64l-32 352h-64v64h192v-64h-64z" />
+ <glyph glyph-name="fa-file-zip" unicode="&#xf45f;" horiz-adv-x="768"
+d="M320 256h-64v64h64v-64zM320 384h-64v64h64v-64zM320 512h-64v64h64v-64zM192 448v64h64v-64h-64zM576 768l192 -192v-704h-768v896h576zM704 -64v576l-192 192h-192v-64h-64v64h-192v-768h640zM192 576v64h64v-64h-64zM192 320v64h64v-64h-64zM192 192v64h64v-64h64
+l64 -64v-128h-256v128zM320 128h-128v-64h128v64z" />
<glyph glyph-name="fa-flag" unicode="&#xf129;" horiz-adv-x="960"
d="M192 698c84 53 127 70 192 70c75 0 139 -18 192 -54s117 -54 192 -54c57 0 121 24 192 73v-596c-73 -49 -137 -73 -192 -73c-75 0 -139 18 -192 54s-117 54 -192 54c-57 0 -121 -23 -192 -70v596zM0 -192v960c0 36 28 64 64 64c17 0 33 -6 46 -18c12 -13 18 -29 18 -46
v-960h-128z" />
@@ -341,39 +331,39 @@ v-960h-128z" />
d="M313 791c213 -137 200 -301 115 -382c-18 -19 -27 -38 -27 -58c0 -21 10 -38 31 -51c55 -28 117 13 114 81c-9 100 24 161 116 169c-31 -67 -27 -121 10 -161c37 -41 59 -102 67 -183c1 -140 -86 -298 -293 -342c48 24 69 64 69 112c1 73 -52 127 -139 102
c-91 -27 -154 48 -119 176c-143 -137 -119 -326 18 -406c-311 87 -317 332 -217 472c35 46 73 84 114 115c41 30 77 60 109 91c57 56 80 133 32 265z" />
<glyph glyph-name="fa-fold" unicode="&#xf42f;" horiz-adv-x="896"
-d="M448 224l192 -192h-128v-192h-128v192h-128zM448 416l-192 192h128v192h128v-192h128zM896 480l-160 -160l160 -160v-64h-224l-64 64h192l-128 128h-448l-128 -128h192l-64 -64h-224v64l160 160l-160 160v64h224l64 -64h-192l128 -128h448l128 128h-192l64 64h224v-64z
-" />
- <glyph glyph-name="fa-folder-added-o" unicode="&#xf488;"
-d="M64 511v-510c0 -19 14 -33 33 -33h830c19 0 33 14 33 33v510c0 19 -14 33 -33 33h-830c-19 0 -33 -14 -33 -33zM320 320h128v128h128v-128h128v-128h-128v-128h-128v128h-128v128zM64 608h448v31c0 19 -14 33 -33 33h-382c-19 0 -33 -14 -33 -33v-31zM0 -31v702
-c0 39 26 65 65 65h446c39 0 65 -26 65 -65v-63h383c39 0 65 -26 65 -65v-574c0 -39 -26 -65 -65 -65h-894c-39 0 -65 26 -65 65z" />
- <glyph glyph-name="fa-folder-added" unicode="&#xf482;"
-d="M320 288v-128h128v-128h128v128h128v128h-128v128h-128v-128h-128zM64 608h448v31c0 19 -14 33 -33 33h-382c-19 0 -33 -14 -33 -33v-31zM0 -31v702c0 39 26 65 65 65h446c39 0 65 -26 65 -65v-63h383c39 0 65 -26 65 -65v-574c0 -39 -26 -65 -65 -65h-894
-c-39 0 -65 26 -65 65z" />
- <glyph glyph-name="fa-folder-link-o" unicode="&#xf487;"
-d="M64 511v-510c0 -19 14 -33 33 -33h830c19 0 33 14 33 33v510c0 19 -14 33 -33 33h-830c-19 0 -33 -14 -33 -33zM255 20c0 142 49 238 147 289c36 18 68 28 95 30l14 1v128l256 -192l-256 -192v128h-11c-132 -13 -214 -100 -245 -192zM64 608h448v31c0 19 -14 33 -33 33
-h-382c-19 0 -33 -14 -33 -33v-31zM0 -31v702c0 39 26 65 65 65h446c39 0 65 -26 65 -65v-63h383c39 0 65 -26 65 -65v-574c0 -39 -26 -65 -65 -65h-894c-39 0 -65 26 -65 65z" />
- <glyph glyph-name="fa-folder-link" unicode="&#xf481;"
-d="M255 20c31 92 113 179 245 192h11v-128l256 192l-256 192v-128l-14 -1c-27 -2 -59 -12 -95 -30c-98 -51 -147 -147 -147 -289zM64 608h448v31c0 19 -14 33 -33 33h-382c-19 0 -33 -14 -33 -33v-31zM0 -31v702c0 39 26 65 65 65h446c39 0 65 -26 65 -65v-63h383
-c39 0 65 -26 65 -65v-574c0 -39 -26 -65 -65 -65h-894c-39 0 -65 26 -65 65z" />
- <glyph glyph-name="fa-folder-modified-o" unicode="&#xf489;"
-d="M64 511v-510c0 -19 14 -33 33 -33h830c19 0 33 14 33 33v510c0 19 -14 33 -33 33h-830c-19 0 -33 -14 -33 -33zM288 336l48 80l112 -80v128h96v-128l112 80l48 -80l-112 -80l112 -80l-48 -80l-112 80v-128h-96v128l-112 -80l-48 80l112 80zM64 608h448v31
-c0 19 -14 33 -33 33h-382c-19 0 -33 -14 -33 -33v-31zM0 -31v702c0 39 26 65 65 65h446c39 0 65 -26 65 -65v-63h383c39 0 65 -26 65 -65v-574c0 -39 -26 -65 -65 -65h-894c-39 0 -65 26 -65 65z" />
- <glyph glyph-name="fa-folder-modified" unicode="&#xf483;"
-d="M288 336l112 -80l-112 -80l48 -80l112 80v-128h96v128l112 -80l48 80l-112 80l112 80l-48 80l-112 -80v128h-96v-128l-112 80zM64 608h448v31c0 19 -14 33 -33 33h-382c-19 0 -33 -14 -33 -33v-31zM0 -31v702c0 39 26 65 65 65h446c39 0 65 -26 65 -65v-63h383
-c39 0 65 -26 65 -65v-574c0 -39 -26 -65 -65 -65h-894c-39 0 -65 26 -65 65z" />
- <glyph glyph-name="fa-folder-o" unicode="&#xf486;"
-d="M64 511v-510c0 -19 14 -33 33 -33h830c19 0 33 14 33 33v510c0 19 -14 33 -33 33h-830c-19 0 -33 -14 -33 -33zM64 608h448v31c0 19 -14 33 -33 33h-382c-19 0 -33 -14 -33 -33v-31zM0 -31v702c0 39 26 65 65 65h446c39 0 65 -26 65 -65v-63h383c39 0 65 -26 65 -65v-574
-c0 -39 -26 -65 -65 -65h-894c-39 0 -65 26 -65 65z" />
- <glyph glyph-name="fa-folder-removed-o" unicode="&#xf48a;"
-d="M64 511v-510c0 -19 14 -33 33 -33h830c19 0 33 14 33 33v510c0 19 -14 33 -33 33h-830c-19 0 -33 -14 -33 -33zM320 288h384v-128h-384v128zM64 608h448v31c0 19 -14 33 -33 33h-382c-19 0 -33 -14 -33 -33v-31zM0 -31v702c0 39 26 65 65 65h446c39 0 65 -26 65 -65v-63
-h383c39 0 65 -26 65 -65v-574c0 -39 -26 -65 -65 -65h-894c-39 0 -65 26 -65 65z" />
- <glyph glyph-name="fa-folder-removed" unicode="&#xf484;"
-d="M320 320v-128h384v128h-384zM64 608h448v31c0 19 -14 33 -33 33h-382c-19 0 -33 -14 -33 -33v-31zM0 -31v702c0 39 26 65 65 65h446c39 0 65 -26 65 -65v-63h383c39 0 65 -26 65 -65v-574c0 -39 -26 -65 -65 -65h-894c-39 0 -65 26 -65 65z" />
- <glyph glyph-name="fa-folder-submodule" unicode="&#xf485;"
-d="M512 224h192v31c0 19 -14 33 -33 33h-126c-19 0 -33 -14 -33 -33v-31zM1024 -96h-576v383c0 39 26 65 65 65h190c39 0 65 -26 65 -65v-63h191c39 0 65 -26 65 -65v-255zM64 608h448v31c0 19 -14 33 -33 33h-382c-19 0 -33 -14 -33 -33v-31zM384 -96h-384v768
-c0 32 32 64 64 64h448c32 0 64 -32 64 -64v-64h384c32 0 64 -32 64 -64v-256h-127c-39 0 -65 26 -65 63c0 39 -26 65 -65 65h-318c-39 0 -65 -26 -65 -65v-447z" />
- <glyph glyph-name="fa-folder" unicode="&#xf480;"
-d="M64 608h448v31c0 19 -14 33 -33 33h-382c-19 0 -33 -14 -33 -33v-31zM0 -31v702c0 39 26 65 65 65h446c39 0 65 -26 65 -65v-63h383c39 0 65 -26 65 -65v-574c0 -39 -26 -65 -65 -65h-894c-39 0 -65 26 -65 65z" />
+d="M896 576v-64l-160 -160l160 -160v-64h-224l-64 64h192l-128 128h-448l-128 -128h192l-64 -64h-224v64l160 160l-160 160v64h224l64 -64h-192l128 -128h448l128 128h-192l64 64h224zM640 640l-192 -192l-192 192h128v192h128v-192h128zM256 64l192 192l192 -192h-128v-192
+h-128v192h-128z" />
+ <glyph glyph-name="fa-folder-added-o" unicode="&#xf488;" horiz-adv-x="896"
+d="M97 516c-19 0 -33 -14 -33 -33v-479h768v479c0 19 -14 33 -33 33h-702zM384 576v32c0 17 -17 32 -32 32h-256c-16 0 -32 -15 -32 -32v-32h320zM832 576c32 0 64 -32 64 -64v-576h-896v704c0 32 32 64 64 64h320c32 0 64 -32 64 -64v-32c0 -16 16 -32 32 -32h352zM256 324
+h128v128h128v-128h128v-128h-128v-128h-128v128h-128v128z" />
+ <glyph glyph-name="fa-folder-added" unicode="&#xf482;" horiz-adv-x="896"
+d="M384 576v32s-17 32 -32 32h-256s-32 -15 -32 -32v-32h320zM832 576c32 0 64 -32 64 -64v-576h-896v704s32 64 64 64h320s64 -32 64 -64v-32s16 -32 32 -32h352zM256 324v-128h128v-128h128v128h128v128h-128v128h-128v-128h-128z" />
+ <glyph glyph-name="fa-folder-link-o" unicode="&#xf487;" horiz-adv-x="896"
+d="M97 516c-19 0 -33 -14 -33 -33v-479h768v479c0 19 -14 33 -33 33h-702zM448 64l256 192l-256 192v-128c-149 0 -256 -111 -256 -320c32 136 131 192 256 192v-128zM64 608v-32h320v32c0 17 -17 32 -32 32h-256c-16 0 -32 -15 -32 -32zM832 576c32 0 64 -32 64 -64v-576
+h-896v704c0 32 32 64 64 64h320c32 0 64 -32 64 -64v-32c0 -16 16 -32 32 -32h352z" />
+ <glyph glyph-name="fa-folder-link" unicode="&#xf481;" horiz-adv-x="896"
+d="M448 64l256 192l-256 192v-128c-149 0 -256 -111 -256 -320c32 136 131 192 256 192v-128zM64 608v-32h320v32s-17 32 -32 32h-256c-16 0 -32 -15 -32 -32zM832 576c32 0 64 -32 64 -64v-576h-896v704s32 64 64 64h320c32 0 64 -32 64 -64v-32s16 -32 32 -32h352z" />
+ <glyph glyph-name="fa-folder-modified-o" unicode="&#xf489;" horiz-adv-x="896"
+d="M97 516c-19 0 -33 -14 -33 -33v-479h768v479c0 19 -14 33 -33 33h-702zM384 576v32c0 17 -17 32 -32 32h-256c-16 0 -32 -15 -32 -32v-32h320zM832 576c32 0 64 -32 64 -64v-576h-896v704c0 32 32 64 64 64h320c32 0 64 -32 64 -64v-32c0 -16 16 -32 32 -32h352zM224 324
+l48 80l112 -80v128h96v-128l112 80l48 -80l-112 -80l112 -80l-48 -80l-112 80v-128h-96v128l-112 -80l-48 80l112 80z" />
+ <glyph glyph-name="fa-folder-modified" unicode="&#xf483;" horiz-adv-x="896"
+d="M384 576v32s-17 32 -32 32h-256s-32 -15 -32 -32v-32h320zM832 576c32 0 64 -32 64 -64v-576h-896v704s32 64 64 64h320s64 -32 64 -64v-32s16 -32 32 -32h352zM224 324l112 -80l-112 -80l48 -80l112 80v-128h96v128l112 -80l48 80l-112 80l112 80l-48 80l-112 -80v128
+h-96v-128l-112 80z" />
+ <glyph glyph-name="fa-folder-o" unicode="&#xf486;" horiz-adv-x="896"
+d="M97 516c-19 0 -33 -14 -33 -33v-479h768v479c0 19 -14 33 -33 33h-702zM384 576v32c0 17 -17 32 -32 32h-256c-16 0 -32 -15 -32 -32v-32h320zM832 576c32 0 64 -32 64 -64v-576h-896v704c0 32 32 64 64 64h320c32 0 64 -32 64 -64v-32c0 -16 16 -32 32 -32h352z" />
+ <glyph glyph-name="fa-folder-removed-o" unicode="&#xf48a;" horiz-adv-x="896"
+d="M97 516c-19 0 -33 -14 -33 -33v-479h768v479c0 19 -14 33 -33 33h-702zM384 576v32c0 17 -17 32 -32 32h-256c-16 0 -32 -15 -32 -32v-32h320zM832 576c32 0 64 -32 64 -64v-576h-896v704c0 32 32 64 64 64h320c32 0 64 -32 64 -64v-32c0 -16 16 -32 32 -32h352zM256 324
+h384v-128h-384v128z" />
+ <glyph glyph-name="fa-folder-removed" unicode="&#xf484;" horiz-adv-x="896"
+d="M384 576v32s-17 32 -32 32h-256s-32 -15 -32 -32v-32h320zM832 576c32 0 64 -32 64 -64v-576h-896v704s32 64 64 64h320s64 -32 64 -64v-32s16 -32 32 -32h352zM256 324v-128h384v128h-384z" />
+ <glyph glyph-name="fa-folder-renamed-o" unicode="&#xf48b;" horiz-adv-x="896"
+d="M97 516c-19 0 -33 -14 -33 -33v-479h768v479c0 19 -14 33 -33 33h-702zM384 576v32c0 17 -17 32 -32 32h-256c-16 0 -32 -15 -32 -32v-32h320zM832 576c32 0 64 -32 64 -64v-576h-896v704c0 32 32 64 64 64h320c32 0 64 -32 64 -64v-32c0 -16 16 -32 32 -32h352zM448 452
+l256 -192l-256 -192v128h-256v128h256v128z" />
+ <glyph glyph-name="fa-folder-submodule" unicode="&#xf485;" horiz-adv-x="896"
+d="M384 544v32s-16 32 -32 32h-256s-32 -16 -32 -32v-32h320zM832 544c32 0 64 -32 64 -64v-128h-192c0 32 -32 64 -64 64h-256s-64 -32 -64 -64v-384h-320v640s32 64 64 64h320s64 -32 64 -64v-32s16 -32 32 -32h352zM576 224v32s-16 32 -32 32h-64s-32 -17 -32 -32v-32
+h128zM832 288c32 0 64 -32 64 -64v-256h-512v320s32 64 64 64h128s64 -32 64 -64h192z" />
+ <glyph glyph-name="fa-folder" unicode="&#xf480;" horiz-adv-x="896"
+d="M384 576v32s-17 32 -32 32h-256s-32 -15 -32 -32v-32h320zM832 576c32 0 64 -32 64 -64v-576h-896v704s32 64 64 64h320s64 -32 64 -64v-32s16 -32 32 -32h352z" />
<glyph glyph-name="fa-font-bold" unicode="&#xf601;"
d="M388 322v-430h96c43 0 80 3 112 12c31 9 58 23 78 40c21 17 37 38 47 66c10 27 15 58 15 94c0 37 -5 70 -15 98c-10 27 -27 49 -48 66c-20 19 -47 33 -78 42c-32 9 -68 12 -111 12h-96zM388 750v-344h88c39 0 72 2 101 10c28 7 51 19 70 32c19 15 33 32 42 54
s14 49 14 78s-5 55 -13 76c-9 21 -24 39 -41 54c-19 13 -42 23 -70 30c-29 7 -64 10 -103 10h-88zM0 832h595c61 0 116 -5 162 -16s83 -25 114 -46s54 -48 70 -80c15 -32 22 -67 22 -110c0 -31 -5 -58 -16 -82s-26 -45 -47 -64c-21 -17 -48 -31 -79 -42
@@ -453,10 +443,9 @@ d="M256 512v-384l-256 192zM0 -128v128h896v-128h-896zM384 128v128h512v-128h-512zM
<glyph glyph-name="fa-indent-right" unicode="&#xf60b;" horiz-adv-x="896"
d="M0 512l256 -192l-256 -192v384zM0 -128v128h896v-128h-896zM384 128v128h512v-128h-512zM384 384v128h512v-128h-512zM0 640v128h896v-128h-896z" />
<glyph glyph-name="fa-info-circle" unicode="&#xf30c;"
-d="M345 320c77 63 168 105 211 104c14 1 24 -7 29 -26c3 -20 1 -44 -8 -71l-43 -164c-4 -11 -5 -21 -3 -29c0 -5 3 -9 7 -8c2 -1 6 0 11 2c13 4 26 10 39 18l23 15l19 -23c-59 -61 -144 -106 -195 -109c-19 1 -32 9 -37 22c-8 17 -7 46 3 87l38 153c0 3 1 9 4 17
-c1 1 1 5 1 11c0 4 -2 7 -5 8c-26 -5 -52 -17 -78 -35zM468 562c0 41 37 76 90 77c41 -1 62 -22 62 -61c0 -43 -39 -76 -86 -75c-41 -1 -66 19 -66 59zM96 320c0 -117 41 -215 122 -294c79 -81 177 -122 294 -122c118 0 216 41 294 122c77 76 122 185 122 294
-c0 112 -43 219 -122 294c-75 79 -182 122 -294 122c-108 0 -218 -45 -294 -122c-81 -78 -122 -176 -122 -294zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
-c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM345 320c77 63 168 105 211 104c14 1 24 -7 29 -26c3 -20 1 -44 -8 -71l-43 -164c-4 -11 -5 -21 -3 -29c0 -5 3 -9 7 -8c2 -1 6 0 11 2c13 4 26 10 39 18l23 15l19 -23c-59 -61 -144 -106 -195 -109
+c-19 1 -32 9 -37 22c-8 17 -7 46 3 87l38 153c0 3 1 9 4 17c1 1 1 5 1 11c0 4 -2 7 -5 8c-26 -5 -52 -17 -78 -35zM468 562c0 41 37 76 90 77c41 -1 62 -22 62 -61c0 -43 -39 -76 -86 -75c-41 -1 -66 19 -66 59z" />
<glyph glyph-name="fa-info-round" unicode="&#xf305;"
d="M361 292c26 18 52 30 78 35c3 -1 5 -4 5 -8c0 -6 0 -10 -1 -11c-3 -8 -4 -14 -4 -17l-38 -153c-10 -41 -11 -70 -3 -87c5 -13 18 -21 37 -22c51 3 136 48 195 109l-19 23l-23 -15c-13 -8 -26 -14 -39 -18c-5 -2 -9 -3 -11 -2c-4 -1 -7 3 -7 8c-2 8 -1 18 3 29l43 164
c9 27 11 51 8 71c-5 19 -15 27 -29 26c-43 1 -134 -41 -211 -104zM468 562c0 -40 25 -60 66 -59c47 -1 86 32 86 75c0 39 -21 60 -62 61c-53 -1 -90 -36 -90 -77zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363
@@ -564,12 +553,12 @@ l64 -64l-64 -64v-64l-64 -64c79 -59 127 -151 128 -256c0 -16 -1 -32 -4 -47c41 -35
<glyph glyph-name="fa-milestone" unicode="&#xf14e;" horiz-adv-x="832"
d="M320 320h128v-512h-128v512zM448 704h-128v128h128v-128zM448 576h-128v-128h128v128zM832 512l-128 -128h-704v256h704z" />
<glyph glyph-name="fa-minus-circle" unicode="&#xf30b;"
-d="M256 384h512v-128h-512v128zM96 320c0 -117 41 -215 122 -294c79 -81 177 -122 294 -122c118 0 216 41 294 122c77 76 122 185 122 294c0 112 -43 219 -122 294c-75 79 -182 122 -294 122c-108 0 -218 -45 -294 -122c-81 -78 -122 -176 -122 -294zM40 518
-c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM256 384h512v-128h-512v128z" />
<glyph glyph-name="fa-minus-round" unicode="&#xf304;"
d="M768 256v128h-512v-128h512zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198z" />
- <glyph glyph-name="fa-minus-square-o" unicode="&#xf313;" horiz-adv-x="768"
-d="M576 288h-384v64h384v-64zM64 575v-510c0 -39 26 -65 65 -65h510c39 0 65 26 65 65v510c0 39 -26 65 -65 65h-510c-39 0 -65 -26 -65 -65zM0 67v506c0 76 55 131 131 131h506c76 0 131 -55 131 -131v-506c0 -76 -55 -131 -131 -131h-506c-76 0 -131 55 -131 131z" />
+ <glyph glyph-name="fa-minus-square-o" unicode="&#xf313;" horiz-adv-x="896"
+d="M704 256h-512v128h512v-128zM97 704c-19 0 -33 -14 -33 -33v-702c0 -19 14 -33 33 -33h702c19 0 33 14 33 33v702c0 19 -14 33 -33 33h-702zM0 703c0 38 27 65 65 65h766c38 0 65 -27 65 -65v-766c0 -38 -27 -65 -65 -65h-766c-38 0 -65 27 -65 65v766z" />
<glyph glyph-name="fa-minus" unicode="&#xf41a;" horiz-adv-x="512"
d="M0 256v128h512v-128h-512z" />
<glyph glyph-name="fa-mortar-board" unicode="&#xf158;" horiz-adv-x="1022"
@@ -583,9 +572,9 @@ d="M0 192v256h320v192l384 -320l-384 -320v192h-320zM832 640h192v-640h-192v640z" /
<glyph glyph-name="fa-no-newline" unicode="&#xf14c;"
d="M224 192c72 1 127 56 128 128c0 19 -4 36 -12 52l-168 -168c16 -8 33 -12 52 -12zM96 320c0 -19 4 -36 12 -52l168 168c-16 8 -33 12 -52 12c-72 -1 -127 -56 -128 -128zM224 544c127 -3 221 -97 224 -224c-3 -127 -97 -221 -224 -224c-127 3 -221 97 -224 224
c3 127 97 221 224 224zM1024 512v-192c-3 -31 -13 -49 -32 -56s-29 -9 -32 -8h-192v-128l-192 192l192 192v-128h128v128h128z" />
- <glyph glyph-name="fa-notification-center" unicode="&#xf346;"
-d="M784 320c-133 0 -240 107 -240 240s107 240 240 240s240 -107 240 -240s-107 -240 -240 -240zM0 3v634c0 76 55 131 131 131h253v-64h-255c-39 0 -65 -26 -65 -65v-638c0 -39 26 -65 65 -65h638c39 0 65 26 65 65v191h64v-189c0 -76 -55 -131 -131 -131h-634
-c-76 0 -131 55 -131 131z" />
+ <glyph glyph-name="fa-notification-center" unicode="&#xf346;" horiz-adv-x="896"
+d="M704 384c-106 0 -192 86 -192 192s86 192 192 192s192 -86 192 -192s-86 -192 -192 -192zM640 256h128v-253c0 -76 -55 -131 -131 -131h-506c-76 0 -131 55 -131 131v506c0 76 55 131 131 131h253v-128h-191c-38 0 -65 -27 -65 -65v-382c0 -38 27 -65 65 -65h382
+c38 0 65 27 65 65v191z" />
<glyph glyph-name="fa-os-android" unicode="&#xf183;" horiz-adv-x="866"
d="M716 489v-410c0 -37 -31 -68 -68 -68h-46v-140c0 -35 -28 -63 -63 -63s-64 28 -64 63v140h-84v-140c0 -35 -29 -63 -64 -63s-63 28 -63 63v140h-46c-37 0 -68 31 -68 68v410h566zM740 438c0 35 28 63 63 63s63 -28 63 -63v-265c0 -35 -28 -63 -63 -63s-63 28 -63 63v265z
M0 438c0 35 28 63 63 63c33 0 63 -28 63 -63v-265c0 -35 -28 -63 -63 -63s-63 28 -63 63v265zM546 621c5 -5 10 -7 17 -7c13 0 23 11 23 24s-10 24 -23 24s-24 -11 -24 -24c0 -7 2 -12 7 -17zM286 621c5 -5 10 -7 17 -7c13 0 24 11 24 24s-11 24 -24 24s-23 -11 -23 -24
@@ -619,16 +608,16 @@ d="M384 544c91 -1 166 -13 227 -37c60 -25 91 -55 93 -91c-4 181 -139 316 -320 320c
c36 1 63 28 64 64v115c-59 -31 -151 -51 -256 -51s-197 20 -256 51v-115c1 -36 28 -63 64 -64v-64c1 -36 28 -63 64 -63s63 27 64 63v32c0 19 13 32 32 32s32 -13 32 -32v-128c0 -19 13 -32 32 -32s32 13 32 32v160c0 19 13 32 32 32s32 -13 32 -32v-32c0 -19 13 -32 32 -32
s32 13 32 32v32zM384 800c217 -5 379 -167 384 -384v-64c-1 -36 -28 -63 -64 -64v-320c-2 -36 -33 -66 -93 -90c-61 -25 -136 -37 -227 -38c-91 1 -166 13 -226 38c-61 24 -92 54 -94 90v320c-36 1 -63 28 -64 64v64c5 217 167 379 384 384z" />
<glyph glyph-name="fa-pause-circle" unicode="&#xf386;"
-d="M576 512h128v-384h-128v384zM320 512h128v-384h-128v384zM96 320c0 -116 41 -214 122 -294c80 -81 178 -122 294 -122c231 0 416 185 416 416s-185 416 -416 416s-416 -185 -416 -416zM40 122c-27 61 -40 127 -40 198c0 142 50 263 150 363c95 95 225 149 362 149
-c136 0 267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -267 54 -362 150c-48 47 -85 102 -110 164z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM576 512h128v-384h-128v384zM320 512h128v-384h-128v384z" />
<glyph glyph-name="fa-pencil" unicode="&#xf41b;" horiz-adv-x="896"
d="M192 0h-64v64h-64v-128h128v64zM512 576l192 -192l-512 -512h-191l-1 192zM896 576l-128 -128l-192 192l128 128z" />
<glyph glyph-name="fa-pin" unicode="&#xf427;" horiz-adv-x="520"
d="M196 128c20 -2 43 -3 64 -3s44 1 64 3l-64 -320zM450 427c39 -20 70 -55 70 -88c0 -75 -101 -148 -260 -148s-260 74 -260 148c0 34 32 69 70 88c33 17 62 59 62 85v64c0 22 -12 39 -23 52c-15 13 -24 29 -24 45c0 53 61 95 175 95s175 -42 175 -95c0 -16 -9 -32 -24 -45
c-11 -13 -23 -30 -23 -52v-64c0 -26 29 -68 62 -85z" />
<glyph glyph-name="fa-play-circle" unicode="&#xf384;"
-d="M384 544l384 -224l-384 -224v448zM96 320c0 -116 41 -214 122 -294c80 -81 178 -122 294 -122c231 0 416 185 416 416s-185 416 -416 416s-416 -185 -416 -416zM40 122c-27 61 -40 127 -40 198c0 142 50 263 150 363c95 95 225 149 362 149c136 0 267 -54 363 -149
-c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -267 54 -362 150c-48 47 -85 102 -110 164z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM384 544l384 -224l-384 -224v448z" />
<glyph glyph-name="fa-playback-fast-forward" unicode="&#xf382;" horiz-adv-x="768"
d="M0 64v512l384 -256zM768 320l-384 -256v256v256z" />
<glyph glyph-name="fa-playback-pause" unicode="&#xf381;" horiz-adv-x="512"
@@ -641,14 +630,14 @@ d="M384 320l384 256v-512zM0 320l384 256v-256v-256z" />
d="M192 130l128 -127l-192 -193l-128 129zM209 357c23 83 70 165 141 247l444 -443c-61 -51 -119 -90 -175 -117c-111 -59 -252 -50 -344 41v1c-75 73 -97 163 -66 271zM873 172l-512 511l87 88l115 -116l178 180l91 -91l-179 -178l102 -102l178 179l91 -90l-179 -179
l115 -116z" />
<glyph glyph-name="fa-plus-circle" unicode="&#xf30a;"
-d="M256 384h192v192h128v-192h192v-128h-192v-192h-128v192h-192v128zM96 320c0 -117 41 -215 122 -294c79 -81 177 -122 294 -122c118 0 216 41 294 122c77 76 122 185 122 294c0 112 -43 219 -122 294c-75 79 -182 122 -294 122c-108 0 -218 -45 -294 -122
-c-81 -78 -122 -176 -122 -294zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM256 384h192v192h128v-192h192v-128h-192v-192h-128v192h-192v128z" />
<glyph glyph-name="fa-plus-round" unicode="&#xf303;"
d="M448 256v-192h128v192h192v128h-192v192h-128v-192h-192v-128h192zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -269 54 -362 150
c-96 93 -150 223 -150 362c0 71 13 137 40 198z" />
- <glyph glyph-name="fa-plus-square-o" unicode="&#xf312;" horiz-adv-x="768"
-d="M352 288h-160v64h160v160h64v-160h160v-64h-160v-160h-64v160zM64 575v-510c0 -39 26 -65 65 -65h510c39 0 65 26 65 65v510c0 39 -26 65 -65 65h-510c-39 0 -65 -26 -65 -65zM0 67v506c0 76 55 131 131 131h506c76 0 131 -55 131 -131v-506c0 -76 -55 -131 -131 -131
-h-506c-76 0 -131 55 -131 131z" />
+ <glyph glyph-name="fa-plus-square-o" unicode="&#xf312;" horiz-adv-x="896"
+d="M512 256v-192h-128v192h-192v128h192v192h128v-192h192v-128h-192zM97 704c-19 0 -33 -14 -33 -33v-702c0 -19 14 -33 33 -33h702c19 0 33 14 33 33v702c0 19 -14 33 -33 33h-702zM0 703c0 38 27 65 65 65h766c38 0 65 -27 65 -65v-766c0 -38 -27 -65 -65 -65h-766
+c-38 0 -65 27 -65 65v766z" />
<glyph glyph-name="fa-plus" unicode="&#xf418;" horiz-adv-x="640"
d="M640 384v-128h-256v-256h-128v256h-256v128h256v256h128v-256h256z" />
<glyph glyph-name="fa-podium" unicode="&#xf15c;" horiz-adv-x="768"
@@ -686,11 +675,10 @@ c26 0 63 3 111 9c37 6 71 10 100 11v-1l-2 -11c0 -3 0 -5 -1 -6c-1 -9 -2 -14 -2 -15
c-25 23 -51 34 -79 34c-45 0 -68 -25 -68 -76c0 -16 3 -40 10 -71c7 -26 10 -50 10 -71v-3c-13 0 -20 0 -21 -1c-14 -1 -34 -3 -59 -6c-53 -8 -97 -12 -132 -12c-56 0 -89 24 -89 68c0 29 11 55 34 78c23 25 34 53 34 84c0 63 -47 104 -116 104c-72 0 -125 -43 -125 -107
c0 -35 10 -65 30 -90c20 -28 30 -49 30 -64c0 -44 -41 -77 -100 -77c-39 0 -90 5 -151 15l-17 3c-2 0 -8 1 -17 2l-8 1c-1 0 -2 0 -3 1v631z" />
<glyph glyph-name="fa-question-circle" unicode="&#xf309;"
-d="M435 106c0 37 32 67 68 66l3 1c43 -3 68 -31 68 -72c-3 -39 -33 -66 -70 -65l-2 -1c-46 7 -68 30 -67 71zM327 428v4c1 67 25 117 74 150c35 19 71 28 106 27c51 1 97 -12 138 -39c40 -36 55 -67 55 -119c0 -30 -9 -57 -27 -80v-1c-5 -5 -8 -9 -9 -10
-c-4 -5 -8 -9 -13 -12l-16 -13l-18 -15l-29 -21c-16 -9 -26 -21 -29 -34l-2 -6c-1 -7 -2 -11 -2 -12v-12l-1 -4l-109 -1v10c0 8 1 17 2 26c0 14 2 27 7 39c2 5 5 10 9 14c7 8 24 22 50 43c6 5 13 11 22 16l10 7l2 1c3 4 6 6 7 6l2 2l4 4l1 2l4 4l7 12c4 6 7 13 8 20
-c1 1 1 4 1 10c0 11 -1 19 -4 24c0 1 0 2 -1 3l-3 9c-6 9 -11 16 -16 20c-12 6 -21 9 -27 10c-10 0 -16 0 -18 1c-29 -3 -48 -12 -55 -26c-11 -17 -17 -35 -17 -54v-6zM96 320c0 -117 41 -215 122 -294c79 -81 177 -122 294 -122c118 0 216 41 294 122c77 76 122 185 122 294
-c0 112 -43 219 -122 294c-75 79 -182 122 -294 122c-108 0 -218 -45 -294 -122c-81 -78 -122 -176 -122 -294zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
-c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM435 106c0 37 32 67 68 66l3 1c43 -3 68 -31 68 -72c-3 -39 -33 -66 -70 -65l-2 -1c-46 7 -68 30 -67 71zM327 428v4c1 67 25 117 74 150c35 19 71 28 106 27c51 1 97 -12 138 -39
+c40 -36 55 -67 55 -119c0 -30 -9 -57 -27 -80v-1c-5 -5 -8 -9 -9 -10c-4 -5 -8 -9 -13 -12l-16 -13l-18 -15l-29 -21c-16 -9 -26 -21 -29 -34l-2 -6c-1 -7 -2 -11 -2 -12v-12l-1 -4l-109 -1v10c0 8 1 17 2 26c0 14 2 27 7 39c2 5 5 10 9 14c7 8 24 22 50 43c6 5 13 11 22 16
+l10 7l2 1c3 4 6 6 7 6l2 2l4 4l1 2l4 4l7 12c4 6 7 13 8 20c1 1 1 4 1 10c0 11 -1 19 -4 24c0 1 0 2 -1 3l-3 9c-6 9 -11 16 -16 20c-12 6 -21 9 -27 10c-10 0 -16 0 -18 1c-29 -3 -48 -12 -55 -26c-11 -17 -17 -35 -17 -54v-6z" />
<glyph glyph-name="fa-question-round" unicode="&#xf302;"
d="M435 106c-1 -41 21 -64 67 -71l2 1c37 -1 67 26 70 65c0 41 -25 69 -68 72l-3 -1c-36 1 -68 -29 -68 -66zM440 427v6c0 19 6 37 17 54c7 14 26 23 55 26c2 -1 8 -1 18 -1c6 -1 15 -4 27 -10c5 -4 10 -11 16 -20l3 -9c1 -1 1 -2 1 -3c3 -5 4 -13 4 -24c0 -6 0 -9 -1 -10
c-1 -7 -4 -14 -8 -20l-7 -12l-4 -4l-1 -2l-4 -4l-2 -2l-2 -1c0 -1 0 -1 -1 -1l-4 -4l-2 -1l-10 -7c-9 -5 -16 -11 -22 -16c-26 -21 -43 -35 -50 -43c-4 -4 -7 -9 -9 -14c-5 -12 -7 -25 -7 -39c-1 -9 -2 -18 -2 -26v-10l109 1l1 4v12c0 1 1 5 2 12l2 6c3 13 13 25 29 34
@@ -742,8 +730,8 @@ v-702c0 -39 26 -65 65 -65h510c39 0 65 26 65 65v702c0 39 -26 65 -65 65h-510c-39 0
d="M640 -32h-448v64h448v-64zM256 160h-64v64h64v-64zM256 288h-64v64h64v-64zM256 416h-64v64h64v-64zM256 544h-64v64h64v-64zM128 671v-702c0 -39 26 -65 65 -65h510c39 0 65 26 65 65v702c0 39 -26 65 -65 65h-63v-512l-128 128l-128 -128v512h-191
c-39 0 -65 -26 -65 -65zM0 -95v830c0 39 26 65 65 65h702c39 0 65 -26 65 -65v-830c0 -39 -26 -65 -65 -65h-702c-39 0 -65 26 -65 65z" />
<glyph glyph-name="fa-rewind-circle" unicode="&#xf388;"
-d="M704 480v-320l-224 160zM448 480v-320l-224 160zM96 320c0 -116 41 -214 122 -294c80 -81 178 -122 294 -122c231 0 416 185 416 416s-185 416 -416 416s-416 -185 -416 -416zM40 122c-27 61 -40 127 -40 198c0 142 50 263 150 363c95 95 225 149 362 149
-c136 0 267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -267 54 -362 150c-48 47 -85 102 -110 164z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM704 480v-320l-224 160zM448 480v-320l-224 160z" />
<glyph glyph-name="fa-rocket-alt" unicode="&#xf150;" horiz-adv-x="881"
d="M608 606c-15 -15 -22 -34 -22 -57c0 -45 34 -80 78 -80s78 35 78 80s-35 80 -78 80c-20 0 -39 -8 -56 -23zM7 179l35 86l24 61c29 79 61 111 120 119c30 3 72 1 126 -6l45 58c27 35 66 76 119 123c133 115 260 165 383 148h4c3 -1 5 -2 7 -4l5 -5c0 -1 0 -2 1 -2l2 -8
c16 -120 -31 -249 -140 -386c-42 -52 -84 -95 -125 -128l-56 -46c13 -104 7 -162 -28 -201c-18 -19 -45 -36 -82 -51c-60 -24 -108 -44 -144 -61c-43 -16 -64 11 -48 48c3 7 11 30 25 69l11 31l4 12l-132 136c-1 0 -2 0 -3 -1s-2 -1 -4 -1c-1 0 -4 -1 -5 -2
@@ -776,9 +764,11 @@ d="M576 383v-128h128v128h-128zM0 255v128h512v31c0 19 14 33 33 33h190c19 0 33 -14
h512v-128h-512v-31c0 -19 -14 -33 -33 -33h-190c-19 0 -33 14 -33 33v31h-128zM192 703v-128h128v128h-128zM0 575v128h128v31c0 19 14 33 33 33h190c19 0 33 -14 33 -33v-31h512v-128h-512v-31c0 -19 -14 -33 -33 -33h-190c-19 0 -33 14 -33 33v31h-128z" />
<glyph glyph-name="fa-settings" unicode="&#xf120;" horiz-adv-x="896"
d="M704 63h128v-128h-128v128zM896 255v-128h-256v128h256zM832 319h-128v384h128v-384zM320 511h256v-128h-256v128zM384 319h128v-384h-128v384zM0 319h256v-128h-256v128zM512 575h-128v128h128v-128zM192 383h-128v320h128v-320zM64 127h128v-192h-128v192z" />
+ <glyph glyph-name="fa-share-alt" unicode="&#xf435;" horiz-adv-x="704"
+d="M476 463l-221 -106c0 -10 -3 -20 -6 -25l189 -131c15 12 45 25 74 25c71 0 128 -57 128 -128s-57 -128 -128 -128s-128 57 -128 128c0 11 1 18 4 28l-182 129c-22 -21 -47 -29 -78 -29c-71 0 -128 57 -128 128s57 128 128 128c38 0 71 -16 95 -42l224 106
+c0 71 58 124 129 124s128 -57 128 -128s-57 -128 -128 -128c-40 0 -76 20 -100 49z" />
<glyph glyph-name="fa-share" unicode="&#xf434;" horiz-adv-x="960"
-d="M800 128c88 0 160 -72 160 -160s-72 -160 -160 -160s-160 72 -160 160c0 10 0 19 2 28l-373 207c-29 -27 -67 -43 -109 -43c-88 0 -160 72 -160 160s72 160 160 160c42 0 80 -16 109 -43l373 207c-2 9 -2 18 -2 28c0 88 72 160 160 160s160 -72 160 -160
-s-72 -160 -160 -160c-44 0 -84 18 -113 47l-370 -206c2 -11 3 -22 3 -33s-1 -22 -3 -33l370 -206c29 29 69 47 113 47z" />
+d="M640 399c-210 0 -291 -59 -400 -235c0 0 12 402 400 402v147l320 -237l-320 -234v157zM720 5v157l80 79v-274c0 -23 -17 -40 -41 -40h-718c-24 0 -41 17 -41 40v548c0 23 17 40 41 40h279l-80 -79h-160v-471h640z" />
<glyph glyph-name="fa-shutdown" unicode="&#xf417;"
d="M150 682l103 -103c-33 -33 -60 -73 -78 -116c-18 -44 -29 -92 -29 -143c0 -101 40 -192 107 -259s158 -107 259 -107s192 40 259 107s107 158 107 259c0 51 -10 99 -28 143c-18 43 -46 83 -79 116l103 103c47 -47 84 -102 110 -163s40 -128 40 -199
c0 -141 -57 -270 -149 -362c-93 -93 -222 -150 -363 -150s-270 57 -362 150c-93 92 -150 221 -150 362c0 71 15 138 41 199s62 116 109 163zM439 832h146v-592h-146v592z" />
@@ -798,8 +788,8 @@ d="M666 207l59 -303l-277 149l-277 -149l59 303l-230 209l313 41l135 279l135 -279l3
d="M503 512c77 -3 135 -97 136 -224c-1 -34 -4 -71 -11 -111l-23 -144c-13 -91 -46 -158 -102 -161c-57 0 -94 49 -94 138c1 16 5 35 13 56c7 21 12 43 13 64c-1 35 -9 65 -24 89c-15 23 -24 51 -26 84c0 125 42 208 118 209zM136 768c76 -1 118 -84 118 -209
c-2 -33 -10 -61 -25 -84c-15 -24 -24 -54 -25 -89c1 -21 6 -43 14 -64c7 -21 11 -40 12 -56c-1 -89 -37 -138 -94 -138c-56 3 -89 70 -102 161l-23 144c-7 40 -10 77 -11 111c1 127 59 221 136 224z" />
<glyph glyph-name="fa-stop-circle" unicode="&#xf385;"
-d="M320 512h384v-384h-384v384zM96 320c0 -116 41 -214 122 -294c80 -81 178 -122 294 -122c231 0 416 185 416 416s-185 416 -416 416s-416 -185 -416 -416zM40 122c-27 61 -40 127 -40 198c0 142 50 263 150 363c95 95 225 149 362 149c136 0 267 -54 363 -149
-c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -267 54 -362 150c-48 47 -85 102 -110 164z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM320 512h384v-384h-384v384z" />
<glyph glyph-name="fa-sync" unicode="&#xf423;" horiz-adv-x="769"
d="M189 512c-63 -64 -88 -147 -76 -231l-113 23c-4 103 32 205 112 285c143 135 345 146 502 34l84 81l38 -269l-275 39l75 73c-111 69 -248 58 -347 -35zM768 336c4 -104 -32 -205 -112 -285c-143 -135 -345 -146 -502 -34l-84 -81l-38 269l275 -39l-75 -73
c111 -69 248 -58 347 35c63 64 88 147 76 231z" />
@@ -848,8 +838,8 @@ d="M0 -20v378c0 20 17 38 38 38h170c21 0 38 -18 38 -38v-378c0 -21 -17 -38 -38 -38
c14 14 25 43 29 58c2 7 4 18 7 34c6 31 8 45 19 68c12 24 26 40 47 40c36 0 66 -8 85 -20c18 -13 32 -36 38 -52s9 -44 10 -56v-22c0 -30 -10 -65 -17 -82c-4 -9 -9 -18 -16 -32c-2 -2 -3 -7 -6 -12c-6 -9 -9 -15 -12 -26h164c62 0 114 -53 114 -114c0 -34 -11 -63 -33 -88
c6 -17 9 -33 9 -46c1 -30 -7 -55 -25 -80c13 -44 -1 -97 -32 -126c7 -88 -41 -150 -146 -152h-21h-45h-10c-52 0 -123 15 -157 26c-17 5 -41 14 -72 24c-48 17 -79 25 -93 26c-21 0 -38 17 -38 38z" />
<glyph glyph-name="fa-tick-circle" unicode="&#xf307;"
-d="M288 384l128 -128l320 320l96 -96l-416 -416l-224 224zM96 320c0 -117 41 -215 122 -294c79 -81 177 -122 294 -122c118 0 216 41 294 122c77 76 122 185 122 294c0 112 -43 219 -122 294c-75 79 -182 122 -294 122c-108 0 -218 -45 -294 -122
-c-81 -78 -122 -176 -122 -294zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM288 384l128 -128l320 320l96 -96l-416 -416l-224 224zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363
+c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198z" />
<glyph glyph-name="fa-tick-o" unicode="&#xf653;" horiz-adv-x="768"
d="M80 256l176 -176l432 432l-48 48l-384 -384l-128 128zM768 512l-512 -512l-256 256l128 128l128 -128l384 384z" />
<glyph glyph-name="fa-tick-round" unicode="&#xf300;"
@@ -858,9 +848,8 @@ c0 71 13 137 40 198z" />
<glyph glyph-name="fa-tick" unicode="&#xf652;" horiz-adv-x="768"
d="M768 512l-512 -512l-256 256l128 128l128 -128l384 384z" />
<glyph glyph-name="fa-times-circle" unicode="&#xf308;"
-d="M423 329l-156 156l88 89l157 -157l157 157l88 -88l-156 -157l156 -157l-88 -88l-157 156l-157 -156l-88 88zM96 320c0 -117 41 -215 122 -294c79 -81 177 -122 294 -122c118 0 216 41 294 122c77 76 122 185 122 294c0 112 -43 219 -122 294c-75 79 -182 122 -294 122
-c-108 0 -218 -45 -294 -122c-81 -78 -122 -176 -122 -294zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362
-c0 71 13 137 40 198z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM423 329l-156 156l88 89l157 -157l157 157l88 -88l-156 -157l156 -157l-88 -88l-157 156l-157 -156l-88 88z" />
<glyph glyph-name="fa-times-round" unicode="&#xf301;"
d="M355 84l157 156l157 -156l88 88l-156 157l156 157l-88 88l-157 -157l-157 157l-88 -89l156 -156l-156 -157zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198z" />
@@ -873,8 +862,8 @@ l123 -127l122 33l32 125l-124 128c75 20 154 1 212 -59s76 -142 56 -219c-9 7 -7 4 5
d="M640 448v-512h128v512h-128zM448 448v-512h128v512h-128zM256 448v-512h128v512h-128zM192 512h640v-639c0 -39 -26 -65 -65 -65h-510c-39 0 -65 26 -65 65v639zM384 704h256c0 37 -28 64 -65 64h-126c-37 0 -65 -27 -65 -64zM1024 576h-1024c0 75 55 128 131 128h124
c37 0 65 27 65 64s28 64 65 64h254c37 0 65 -27 65 -64s28 -64 65 -64h128c73 0 127 -55 127 -128z" />
<glyph glyph-name="fa-trashcan" unicode="&#xf145;" horiz-adv-x="704"
-d="M640 640h-576v-64h576v64zM576 512h-64v-448v-64c-64 0 -64 0 -64 64v448h-64v-448v-64c-64 0 -64 0 -64 64v448h-64v-448v-64c-64 0 -64 0 -64 64v448h-64v-576h64h384v576zM640 704c64 0 64 0 64 -64v-64c0 -64 0 -64 -64 -64v-576c0 -64 0 -64 -64 -64h-448
-c-64 0 -64 0 -64 64v576c-64 0 -64 0 -64 64v64c0 64 0 64 64 64h256v64h64v-64h256z" />
+d="M640 704c35 0 64 -29 64 -64v-64c0 -35 -29 -64 -64 -64v-576c0 -35 -29 -64 -64 -64h-448c-35 0 -64 29 -64 64v576c-35 0 -64 29 -64 64v64c0 35 29 64 64 64h256v32s14 32 32 32s32 -14 32 -32v-32h256zM576 -32v544h-64v-480c0 -18 -14 -32 -32 -32s-32 14 -32 32
+v480h-64v-480c0 -18 -14 -32 -32 -32s-32 14 -32 32v480h-64v-480c0 -18 -14 -32 -32 -32s-32 14 -32 32v480h-64v-544c0 -18 14 -32 32 -32h384c18 0 32 14 32 32zM640 592v32c0 9 -7 16 -16 16h-544c-9 0 -16 -7 -16 -16v-32c0 -9 7 -16 16 -16h544c9 0 16 7 16 16z" />
<glyph glyph-name="fa-triangle-down" unicode="&#xf261;" horiz-adv-x="768"
d="M768 512l-384 -384l-384 384h768z" />
<glyph glyph-name="fa-triangle-left" unicode="&#xf262;" horiz-adv-x="384"
@@ -886,8 +875,8 @@ d="M768 128h-768l384 384z" />
<glyph glyph-name="fa-undo" unicode="&#xf433;" horiz-adv-x="896"
d="M156 651c76 80 188 117 292 117c247 0 448 -201 448 -448s-201 -448 -448 -448c-166 0 -311 90 -388 224l110 64c65 -95 159 -160 278 -160c177 0 320 143 320 320s-143 320 -320 320c-71 0 -129 -25 -182 -64l168 -136l-434 -120v448z" />
<glyph glyph-name="fa-unfold" unicode="&#xf430;" horiz-adv-x="896"
-d="M512 32h128l-192 -192l-192 192h128v192h128v-192zM896 544v-64l-160 -160l160 -160v-64h-320v64h224l-128 128h-448l-128 -128h224v-64h-320v64l160 160l-160 160v64h320v-64h-224l128 -128h448l128 128h-224v64h320zM384 608h-128l192 192l192 -192h-128v-192h-128v192
-z" />
+d="M384 448v192h-128l192 192l192 -192h-128v-192h-128zM576 576h320v-64l-160 -160l160 -160v-64h-320v64h224l-128 128h-448l-128 -128h224v-64h-320v64l160 160l-160 160v64h320v-64h-224l128 -128h448l128 128h-224v64zM512 256v-192h128l-192 -192l-192 192h128v192
+h128z" />
<glyph glyph-name="fa-unlink" unicode="&#xf615;" horiz-adv-x="960"
d="M6 159c-4 3 -6 8 -6 13c0 11 8 19 19 19h184c11 0 19 -8 19 -19s-8 -18 -19 -18h-184c-5 0 -10 1 -13 5zM10 541c0 46 16 86 49 117l84 85c32 31 71 47 117 47c47 0 86 -16 118 -49l193 -193c8 -8 16 -19 24 -32l-138 -10l-157 158c-11 10 -24 16 -40 16
c-15 0 -28 -6 -39 -16l-85 -84c-10 -11 -16 -24 -16 -39s6 -28 16 -39l158 -158l-10 -138c-13 8 -24 16 -32 24l-194 194c-32 32 -48 72 -48 117zM79 -81c-3 4 -5 8 -5 13s2 9 5 14l148 147c4 4 8 5 13 5c10 0 19 -8 19 -18c0 -5 -2 -9 -5 -13l-148 -148c-4 -3 -8 -5 -13 -5
@@ -910,23 +899,23 @@ d="M0 -17c0 43 8 59 39 76c126 72 217 120 273 145v147c-26 18 -39 47 -39 87v116c0
c-11 0 -19 9 -19 20v91z" />
<glyph glyph-name="fa-versions" unicode="&#xf135;" horiz-adv-x="896"
d="M192 575h128v-64h-64v-384h64v-64h-128v512zM768 511h-256v-384h256v384zM896 639v-640h-512v640h512zM0 511h128v-64h-64v-256h64v-64h-128v384z" />
- <glyph glyph-name="fa-volume-high" unicode="&#xf398;" horiz-adv-x="952"
-d="M448 -2h-64l-192 192h-192v256h192l192 192h64v-640zM775 696l44 32c84 -114 133 -255 133 -408c0 -154 -49 -294 -133 -408l-44 32c78 105 123 235 123 376c0 140 -45 271 -123 376zM684 10l-44 32c57 78 92 174 92 278s-35 201 -92 278l44 32c63 -87 102 -194 102 -310
-c0 -117 -39 -224 -102 -310zM542 108l-44 32c37 50 59 112 59 180c0 67 -22 130 -59 180l44 32c43 -59 70 -133 70 -212c0 -80 -27 -152 -70 -212z" />
- <glyph glyph-name="fa-volume-low" unicode="&#xf396;" horiz-adv-x="626"
-d="M556 111l-43 33c37 50 59 112 59 179s-22 129 -59 180l43 32c44 -59 70 -132 70 -212c0 -79 -26 -153 -70 -212zM430 0h-78l-192 192h-160v256h160l192 192h78v-640z" />
- <glyph glyph-name="fa-volume-medium" unicode="&#xf397;" horiz-adv-x="809"
-d="M706 13l-43 33c57 78 91 173 91 277s-34 200 -91 278l43 32c64 -87 103 -194 103 -310s-39 -223 -103 -310zM565 111l-44 33c37 50 60 112 60 179s-23 129 -60 180l44 32c43 -59 70 -132 70 -212c0 -79 -27 -153 -70 -212zM448 0h-64l-192 192h-192v256h192l192 192h64
-v-640z" />
- <glyph glyph-name="fa-volume-mute" unicode="&#xf399;" horiz-adv-x="832"
-d="M736 320l96 -96l-64 -64l-96 96l-96 -96l-64 64l96 96l-96 96l64 64l96 -96l96 96l64 -64zM430 0h-78l-192 192h-160v256h160l192 192h78v-640z" />
+ <glyph glyph-name="fa-volume-high" unicode="&#xf398;" horiz-adv-x="832"
+d="M128 448l256 192h64v-640h-64l-256 192h-128v256h128zM539 411c50 -50 50 -132 0 -182c-12 -12 -34 -12 -46 0s-12 34 0 46c25 25 25 65 0 90c-12 12 -12 34 0 46s34 12 46 0zM629 501c100 -100 100 -262 0 -362c-12 -12 -33 -12 -45 0s-12 33 0 45c75 75 75 197 0 272
+c-12 12 -12 33 0 45s33 12 45 0zM720 592c150 -150 150 -394 0 -544c-12 -12 -34 -12 -46 0s-12 34 0 46c125 125 125 327 0 452c-12 12 -12 34 0 46s34 12 46 0z" />
+ <glyph glyph-name="fa-volume-low" unicode="&#xf396;" horiz-adv-x="576"
+d="M539 411c25 -27 37 -57 37 -91s-12 -64 -37 -91c-7 -6 -14 -9 -23 -9c-17 0 -32 15 -32 32c0 9 3 16 9 23c13 13 19 28 19 45s-6 32 -19 45c-6 7 -9 14 -9 23c0 17 15 32 32 32c9 0 16 -3 23 -9zM384 640h64v-640h-64l-256 192h-128v256h128z" />
+ <glyph glyph-name="fa-volume-medium" unicode="&#xf397;" horiz-adv-x="704"
+d="M629 501c50 -53 75 -113 75 -181s-25 -128 -75 -181c-7 -6 -14 -9 -22 -9c-17 0 -33 15 -33 32c0 8 3 15 10 22c37 39 56 85 56 136s-19 97 -56 136c-7 7 -10 14 -10 23c0 16 16 31 33 31c8 0 15 -3 22 -9zM539 411c25 -27 37 -57 37 -91s-12 -64 -37 -91
+c-7 -6 -14 -9 -23 -9c-17 0 -32 15 -32 32c0 9 3 16 9 23c13 13 19 28 19 45s-6 32 -19 45c-6 7 -9 14 -9 23c0 17 15 32 32 32c9 0 16 -3 23 -9zM384 640h64v-640h-64l-256 192h-128v256h128z" />
+ <glyph glyph-name="fa-volume-mute" unicode="&#xf399;" horiz-adv-x="864"
+d="M128 448l256 192h64v-640h-64l-256 192h-128v256h128zM864 416l-96 -96l96 -96l-64 -64l-96 96l-96 -96l-64 64l96 96l-95 96l63 64l96 -96l96 96z" />
<glyph glyph-name="fa-warning-block-o" unicode="&#xf30f;"
d="M576 64h-128v128h128v-128zM576 256h-128v320h128v-320zM128 448v-256l256 -256h256l256 256v256l-256 256h-256zM320 -192l-320 320v384l320 320h384l320 -320v-384l-320 -320h-384z" />
<glyph glyph-name="fa-warning-block" unicode="&#xf30e;"
d="M448 192v-128h128v128h-128zM448 576v-320h128v320h-128zM320 -192l-320 320v384l320 320h384l320 -320v-384l-320 -320h-384z" />
<glyph glyph-name="fa-warning-circle" unicode="&#xf30d;"
-d="M448 192h128v-128h-128v128zM448 576h128v-320h-128v320zM96 320c0 -117 41 -215 122 -294c79 -81 177 -122 294 -122c118 0 216 41 294 122c77 76 122 185 122 294c0 112 -43 219 -122 294c-75 79 -182 122 -294 122c-108 0 -218 -45 -294 -122
-c-81 -78 -122 -176 -122 -294zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198z" />
+d="M512 -64c212 0 384 172 384 384s-172 384 -384 384s-384 -172 -384 -384s172 -384 384 -384zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150
+c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362c0 71 13 137 40 198zM448 192h128v-128h-128v128zM448 576h128v-320h-128v320z" />
<glyph glyph-name="fa-warning-round" unicode="&#xf306;"
d="M576 64v128h-128v-128h128zM576 256v320h-128v-320h128zM40 518c26 63 63 118 110 165c95 95 226 149 362 149s267 -54 363 -149c95 -96 149 -227 149 -363c0 -137 -54 -267 -149 -362c-100 -100 -221 -150 -363 -150c-139 0 -269 54 -362 150c-96 93 -150 223 -150 362
c0 71 13 137 40 198z" />
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.ttf b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.ttf
index 9cec76097b..0d7a1cc2a5 100644
Binary files a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.ttf and b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.ttf differ
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.woff b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.woff
index 46929a64cd..ff2c88ea8d 100644
Binary files a/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.woff and b/gitplex.web/src/main/java/com/pmease/gitplex/web/assets/pontfonts/fonts/ponticons.woff differ
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/comment/OldCommitCommentPanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/comment/OldCommitCommentPanel.html
index b5753724e5..dccdff266f 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/comment/OldCommitCommentPanel.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/comment/OldCommitCommentPanel.html
@@ -16,7 +16,7 @@
</div>
<div class="pull-right actions">
<span wicket:id="age"></span>
- <a wicket:id="editlink"><i class="fa fa-edit"></i></a>
+ <a wicket:id="editlink"><i class="fa fa-pencil"></i></a>
<a wicket:id="removelink"><i class="fa fa-delete"></i></a>
</div>
</div>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/BlobDiffInfo.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/BlobDiffInfo.java
index bdd94d7cc9..aeb7e8336c 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/BlobDiffInfo.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/BlobDiffInfo.java
@@ -1,61 +1,27 @@
package com.pmease.gitplex.web.component.diff;
-import java.io.Serializable;
-
-import com.pmease.commons.git.DiffTreeNode;
-import com.pmease.commons.git.FileChange;
-import com.pmease.commons.git.Git;
+import com.pmease.commons.git.Change;
@SuppressWarnings("serial")
-public class BlobDiffInfo implements Serializable {
-
- public enum Status {ADD, MODIFY, DELETE, RENAME, UNCHANGE}
-
- private final Status status;
-
- private final String oldPath;
-
- private final String newPath;
-
- private final int oldMode;
-
- private final int newMode;
+public class BlobDiffInfo extends Change {
private final String oldRevision;
private final String newRevision;
+ public BlobDiffInfo(Change change, String oldRevision, String newRevision) {
+ super(change);
+ this.oldRevision = oldRevision;
+ this.newRevision = newRevision;
+ }
+
public BlobDiffInfo(Status status, String oldPath, String newPath, int oldMode, int newMode,
String oldRevision, String newRevision) {
- this.status = status;
- this.oldPath = oldPath;
- this.newPath = newPath;
- this.oldMode = oldMode;
- this.newMode = newMode;
+ super(status, oldPath, newPath, oldMode, newMode);
this.oldRevision = oldRevision;
this.newRevision = newRevision;
}
- public Status getStatus() {
- return status;
- }
-
- public String getOldPath() {
- return oldPath;
- }
-
- public String getNewPath() {
- return newPath;
- }
-
- public int getOldMode() {
- return oldMode;
- }
-
- public int getNewMode() {
- return newMode;
- }
-
public String getOldRevision() {
return oldRevision;
}
@@ -64,32 +30,4 @@ public class BlobDiffInfo implements Serializable {
return newRevision;
}
- public static BlobDiffInfo from(Git git, DiffTreeNode node, String oldRevision, String newRevision) {
- Status status;
- if (node.getStatus() == DiffTreeNode.Status.ADD)
- status = Status.ADD;
- else if (node.getStatus() == DiffTreeNode.Status.DELETE)
- status = Status.DELETE;
- else if (node.getStatus() == DiffTreeNode.Status.UNCHANGE)
- status = Status.UNCHANGE;
- else
- status = Status.MODIFY;
- return new BlobDiffInfo(status, node.getPath(), node.getPath(), node.getOldMode(),
- node.getNewMode(), oldRevision, newRevision);
- }
-
- public static BlobDiffInfo from(Git git, FileChange change, String oldRevision, String newRevision) {
- Status status;
- if (change.getStatus() == FileChange.Status.ADD)
- status = Status.ADD;
- else if (change.getStatus() == FileChange.Status.DELETE)
- status = Status.DELETE;
- else if (change.getStatus() == FileChange.Status.MODIFY)
- status = Status.MODIFY;
- else
- status = Status.RENAME;
-
- return new BlobDiffInfo(status, change.getOldPath(), change.getNewPath(),
- change.getOldMode(), change.getNewMode(), oldRevision, newRevision);
- }
-}
+}
\ No newline at end of file
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/BlobDiffPanel.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/BlobDiffPanel.java
index 31697f3481..84f9134a9b 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/BlobDiffPanel.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/BlobDiffPanel.java
@@ -49,7 +49,7 @@ public class BlobDiffPanel extends Panel {
@Override
protected byte[] load() {
Git git = BlobDiffPanel.this.repoModel.getObject().git();
- if (diffInfo.getStatus() == BlobDiffInfo.Status.ADD)
+ if (diffInfo.getStatus() == BlobDiffInfo.Status.ADDED)
return null;
else
return git.read(diffInfo.getOldRevision(), diffInfo.getOldPath(), diffInfo.getOldMode());
@@ -62,9 +62,9 @@ public class BlobDiffPanel extends Panel {
@Override
protected byte[] load() {
Git git = BlobDiffPanel.this.repoModel.getObject().git();
- if (diffInfo.getStatus() == BlobDiffInfo.Status.DELETE)
+ if (diffInfo.getStatus() == BlobDiffInfo.Status.DELETED)
return null;
- else if (diffInfo.getStatus() != BlobDiffInfo.Status.UNCHANGE)
+ else if (diffInfo.getStatus() != BlobDiffInfo.Status.UNCHANGED)
return git.read(diffInfo.getNewRevision(), diffInfo.getNewPath(), diffInfo.getNewMode());
else
return oldContentModel.getObject();
@@ -72,6 +72,10 @@ public class BlobDiffPanel extends Panel {
};
}
+
+ public BlobDiffInfo getBlobDiffInfo() {
+ return diffInfo;
+ }
@Override
protected void onInitialize() {
@@ -80,7 +84,7 @@ public class BlobDiffPanel extends Panel {
int oldBlobType = diffInfo.getOldMode() & FileMode.TYPE_MASK;
int newBlobType = diffInfo.getNewMode() & FileMode.TYPE_MASK;
- if (diffInfo.getStatus() == BlobDiffInfo.Status.UNCHANGE) {
+ if (diffInfo.getStatus() == BlobDiffInfo.Status.UNCHANGED) {
add(new WebMarkupContainer("originalContent").setVisible(false));
add(new WebMarkupContainer("revisedContent").setVisible(false));
Fragment fragment = new Fragment("blobContent", "notChangedFrag", this);
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/ChangedFilesPanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/ChangedFilesPanel.html
new file mode 100644
index 0000000000..8db431d733
--- /dev/null
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/ChangedFilesPanel.html
@@ -0,0 +1,7 @@
+<wicket:panel>
+ <ul class="changed-files list-unstyled">
+ <li wicket:id="changes">
+ <a wicket:id="link"><span wicket:id="label"></span></a>
+ </li>
+ </ul>
+</wicket:panel>
\ No newline at end of file
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/ChangedFilesPanel.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/ChangedFilesPanel.java
new file mode 100644
index 0000000000..75d25ab206
--- /dev/null
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/ChangedFilesPanel.java
@@ -0,0 +1,58 @@
+package com.pmease.gitplex.web.component.diff;
+
+import java.util.List;
+
+import org.apache.wicket.behavior.AttributeAppender;
+import org.apache.wicket.markup.html.WebMarkupContainer;
+import org.apache.wicket.markup.html.basic.Label;
+import org.apache.wicket.markup.html.list.ListItem;
+import org.apache.wicket.markup.html.list.ListView;
+import org.apache.wicket.markup.html.panel.Panel;
+import org.apache.wicket.model.IModel;
+
+import com.pmease.commons.git.Change;
+
+@SuppressWarnings("serial")
+public abstract class ChangedFilesPanel extends Panel {
+
+ private final IModel<List<Change>> changesModel;
+
+ public ChangedFilesPanel(String id, IModel<List<Change>> changesModel) {
+ super(id);
+
+ this.changesModel = changesModel;
+ }
+
+ @Override
+ protected void onInitialize() {
+ super.onInitialize();
+
+ add(new ListView<Change>("changes", changesModel) {
+
+ @Override
+ protected void populateItem(ListItem<Change> item) {
+ Change change = item.getModelObject();
+ WebMarkupContainer link = newBlobLink("link", change);
+ if (change.getStatus() == Change.Status.ADDED) {
+ link.add(new Label("label", change.getNewPath()));
+ link.add(AttributeAppender.append("title", "Added"));
+ } else if (change.getStatus() == Change.Status.DELETED) {
+ link.add(new Label("label", change.getOldPath()));
+ link.add(AttributeAppender.append("title", "Deleted"));
+ } else if (change.getStatus() == Change.Status.MODIFIED) {
+ link.add(new Label("label", change.getNewPath()));
+ link.add(AttributeAppender.append("title", "Modified"));
+ } else {
+ link.add(new Label("label", change.getNewPath()));
+ link.add(AttributeAppender.append("title", "Renamed from " + change.getOldPath()));
+ }
+ item.add(link);
+ item.add(AttributeAppender.append("class", " file " + change.getStatus().name().toLowerCase()));
+ }
+
+ });
+ }
+
+ protected abstract WebMarkupContainer newBlobLink(String id, Change change);
+
+}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreeNode.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreeNode.java
new file mode 100644
index 0000000000..e3a2261daf
--- /dev/null
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreeNode.java
@@ -0,0 +1,35 @@
+package com.pmease.gitplex.web.component.diff;
+
+import java.io.Serializable;
+
+import com.pmease.commons.git.Change;
+
+@SuppressWarnings("serial")
+class DiffTreeNode implements Serializable {
+
+ private final Change change;
+
+ public DiffTreeNode(Change change) {
+ this.change = change;
+ }
+
+ public Change getChange() {
+ return change;
+ }
+
+ @Override
+ public int hashCode() {
+ return change.getPath().hashCode();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (obj instanceof DiffTreeNode) {
+ DiffTreeNode node = (DiffTreeNode) obj;
+ return node.getChange().getPath().equals(change.getPath());
+ } else {
+ return false;
+ }
+ }
+
+}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreePanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreePanel.html
index ebf3cdbc05..d5aa3832db 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreePanel.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreePanel.html
@@ -3,14 +3,6 @@
<div wicket:id="tree"></div>
</div>
<wicket:fragment wicket:id="nodeFrag">
- <span wicket:id="addedDir" class="added dir"><i class="fa fa-folder-added-o"></i></span>
- <span wicket:id="deletedDir" class="deleted dir"><i class="fa fa-folder-removed-o"></i></span>
- <span wicket:id="modifiedDir" class="modified dir"><i class="fa fa-folder-modified-o"></i></span>
- <span wicket:id="unchangedDir" class="unchanged dir"><i class="fa fa-folder-o"></i></span>
- <span wicket:id="addedFile" class="added file"><i class="fa fa-file-added"></i></span>
- <span wicket:id="deletedFile" class="deleted file"><i class="fa fa-file-removed"></i></span>
- <span wicket:id="modifiedFile" class="modified file"><i class="fa fa-file-modified"></i></span>
- <span wicket:id="unchangedFile" class="unchanged file"><i class="fa fa-file-txt"></i></span>
<a wicket:id="link"><span wicket:id="label"></span></a>
</wicket:fragment>
</wicket:panel>
\ No newline at end of file
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreePanel.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreePanel.java
index f92fe138ce..a90e50b7c5 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreePanel.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/DiffTreePanel.java
@@ -1,22 +1,28 @@
package com.pmease.gitplex.web.component.diff;
+import java.util.ArrayList;
import java.util.Iterator;
+import java.util.List;
+import jersey.repackaged.com.google.common.base.Splitter;
+
+import org.apache.commons.lang3.StringUtils;
import org.apache.wicket.Component;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.AjaxLink;
+import org.apache.wicket.behavior.AttributeAppender;
import org.apache.wicket.extensions.markup.html.repeater.tree.ITreeProvider;
import org.apache.wicket.extensions.markup.html.repeater.tree.NestedTree;
import org.apache.wicket.extensions.markup.html.repeater.tree.theme.HumanTheme;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.basic.Label;
-import org.apache.wicket.markup.html.link.Link;
import org.apache.wicket.markup.html.panel.Fragment;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;
-import com.pmease.commons.git.DiffTreeNode;
+import com.pmease.commons.git.Change;
+import com.pmease.commons.util.WordUtils;
import com.pmease.gitplex.core.model.Repository;
@SuppressWarnings("serial")
@@ -24,23 +30,41 @@ public abstract class DiffTreePanel extends Panel {
private final IModel<Repository> repoModel;
+ private final IModel<List<Change>> changesModel;
+
private final String fromRev;
private final String toRev;
- public DiffTreePanel(String id, IModel<Repository> repoModel, String fromRev, String toRev) {
+ private NestedTree<DiffTreeNode> tree;
+
+ public DiffTreePanel(String id, IModel<Repository> repoModel, IModel<List<Change>> changesModel,
+ String fromRev, String toRev) {
super(id);
this.repoModel = repoModel;
+ this.changesModel = changesModel;
this.fromRev = fromRev;
this.toRev = toRev;
}
+
+ public void reveal(Change change) {
+ String path = change.getPath();
+ StringBuilder expandPath = new StringBuilder();
+ for (String segment: Splitter.on('/').split(path)) {
+ if (expandPath.length() != 0)
+ expandPath.append('/');
+ expandPath.append(segment);
+ Change expandChange = new Change(Change.Status.UNCHANGED, expandPath.toString(), expandPath.toString(), 0, 0);
+ tree.expand(new DiffTreeNode(expandChange));
+ }
+ }
@Override
protected void onInitialize() {
super.onInitialize();
- add(new NestedTree<DiffTreeNode>("tree", new ITreeProvider<DiffTreeNode>() {
+ add(tree = new NestedTree<DiffTreeNode>("tree", new ITreeProvider<DiffTreeNode>() {
@Override
public void detach() {
@@ -48,17 +72,26 @@ public abstract class DiffTreePanel extends Panel {
@Override
public Iterator<? extends DiffTreeNode> getRoots() {
- return repoModel.getObject().git().listTreeWithDiff(fromRev, toRev, null).iterator();
+ List<DiffTreeNode> roots = new ArrayList<>();
+ for (Change change: repoModel.getObject().git().listTree(fromRev, toRev, null, changesModel.getObject())) {
+ roots.add(new DiffTreeNode(change));
+ }
+ return roots.iterator();
}
@Override
public boolean hasChildren(DiffTreeNode node) {
- return node.isFolder();
+ return node.getChange().isFolder();
}
@Override
public Iterator<? extends DiffTreeNode> getChildren(DiffTreeNode node) {
- return repoModel.getObject().git().listTreeWithDiff(fromRev, toRev, node.getPath() + "/").iterator();
+ List<DiffTreeNode> children = new ArrayList<>();
+ for (Change change: repoModel.getObject().git().listTree(
+ fromRev, toRev, node.getChange().getPath(), changesModel.getObject())) {
+ children.add(new DiffTreeNode(change));
+ }
+ return children.iterator();
}
@Override
@@ -78,25 +111,9 @@ public abstract class DiffTreePanel extends Panel {
protected Component newContentComponent(String id, IModel<DiffTreeNode> nodeModel) {
final DiffTreeNode node = nodeModel.getObject();
Fragment fragment = new Fragment(id, "nodeFrag", DiffTreePanel.this);
- fragment.add(new WebMarkupContainer("addedDir").setVisible(
- node.isFolder() && node.getStatus() == DiffTreeNode.Status.ADD));
- fragment.add(new WebMarkupContainer("deletedDir").setVisible(
- node.isFolder() && node.getStatus() == DiffTreeNode.Status.DELETE));
- fragment.add(new WebMarkupContainer("modifiedDir").setVisible(
- node.isFolder() && node.getStatus() == DiffTreeNode.Status.MODIFY));
- fragment.add(new WebMarkupContainer("unchangedDir").setVisible(
- node.isFolder() && node.getStatus() == DiffTreeNode.Status.UNCHANGE));
- fragment.add(new WebMarkupContainer("addedFile").setVisible(
- !node.isFolder() && node.getStatus() == DiffTreeNode.Status.ADD));
- fragment.add(new WebMarkupContainer("deletedFile").setVisible(
- !node.isFolder() && node.getStatus() == DiffTreeNode.Status.DELETE));
- fragment.add(new WebMarkupContainer("modifiedFile").setVisible(
- !node.isFolder() && node.getStatus() == DiffTreeNode.Status.MODIFY));
- fragment.add(new WebMarkupContainer("unchangedFile").setVisible(
- !node.isFolder() && node.getStatus() == DiffTreeNode.Status.UNCHANGE));
WebMarkupContainer link;
- if (node.isFolder()) {
+ if (node.getChange().isFolder()) {
link = new AjaxLink<Void>("link") {
@Override
@@ -108,11 +125,27 @@ public abstract class DiffTreePanel extends Panel {
}
};
+ fragment.add(AttributeAppender.append("class", " folder "));
+ } else {
+ link = newBlobLink("link", node.getChange());
+ fragment.add(AttributeAppender.append("class", " file "));
+ }
+ if (node.getChange().getStatus() == Change.Status.RENAMED) {
+ link.add(AttributeAppender.append("title", "Renamed from " + node.getChange().getOldPath()));
} else {
- link = newFileLink("link", node);
+ link.add(AttributeAppender.append("title",
+ WordUtils.capitalize(node.getChange().getStatus().name().toLowerCase())));
}
fragment.add(link);
- link.add(new Label("label", node.getName()));
+ fragment.add(AttributeAppender.append("class", node.getChange().getStatus().name().toLowerCase()));
+
+ String name;
+ if (node.getChange().getPath().contains("/"))
+ name = StringUtils.substringAfterLast(node.getChange().getPath(), "/");
+ else
+ name = node.getChange().getPath();
+
+ link.add(new Label("label", name));
return fragment;
}
@@ -120,11 +153,12 @@ public abstract class DiffTreePanel extends Panel {
});
}
- protected abstract Link<Void> newFileLink(String id, DiffTreeNode node);
+ protected abstract WebMarkupContainer newBlobLink(String id, Change change);
@Override
protected void onDetach() {
repoModel.detach();
+ changesModel.detach();
super.onDetach();
}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/TextDiffPanel.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/TextDiffPanel.java
index 8bc82aecfd..fc1c71629d 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/TextDiffPanel.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/component/diff/TextDiffPanel.java
@@ -328,7 +328,8 @@ public class TextDiffPanel extends Panel {
@Override
protected void onUpdate(AjaxRequestTarget target) {
onDiffOptionChanged();
- setResponsePage(getPage());
+ close(target);
+ target.add(TextDiffPanel.this);
}
@Override
@@ -366,7 +367,8 @@ public class TextDiffPanel extends Panel {
@Override
protected void onUpdate(AjaxRequestTarget target) {
onDiffOptionChanged();
- setResponsePage(getPage());
+ close(target);
+ target.add(TextDiffPanel.this);
}
@Override
@@ -404,7 +406,8 @@ public class TextDiffPanel extends Panel {
@Override
protected void onUpdate(AjaxRequestTarget target) {
onDiffOptionChanged();
- setResponsePage(getPage());
+ close(target);
+ target.add(TextDiffPanel.this);
}
@Override
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/TestPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/TestPage.java
index 588a4e7a24..ee8e87d66d 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/TestPage.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/TestPage.java
@@ -1,18 +1,12 @@
package com.pmease.gitplex.web.page;
-import org.apache.wicket.markup.html.WebMarkupContainer;
-import org.apache.wicket.markup.html.link.Link;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.LoadableDetachableModel;
import org.apache.wicket.request.mapper.parameter.PageParameters;
-import com.pmease.commons.git.DiffTreeNode;
import com.pmease.commons.hibernate.dao.Dao;
import com.pmease.gitplex.core.GitPlex;
import com.pmease.gitplex.core.model.Repository;
-import com.pmease.gitplex.web.component.diff.BlobDiffInfo;
-import com.pmease.gitplex.web.component.diff.BlobDiffPanel;
-import com.pmease.gitplex.web.component.diff.DiffTreePanel;
@SuppressWarnings("serial")
public class TestPage extends BasePage {
@@ -36,25 +30,6 @@ public class TestPage extends BasePage {
protected void onInitialize() {
super.onInitialize();
- add(new DiffTreePanel("test", repoModel, "dev~1", "dev") {
-
- @Override
- protected Link<Void> newFileLink(String id, final DiffTreeNode node) {
- return new Link<Void>(id) {
-
- @Override
- public void onClick() {
- TestPage.this.replace(new BlobDiffPanel("diff", repoModel,
- BlobDiffInfo.from(repoModel.getObject().git(), node, "dev~1", "dev")));
- }
-
- };
- }
-
- });
-
- add(new WebMarkupContainer("diff").setOutputMarkupId(true));
-
}
@Override
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/home/AccountHomePage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/home/AccountHomePage.html
index 6912f5511f..311f9cfeca 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/home/AccountHomePage.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/home/AccountHomePage.html
@@ -9,7 +9,7 @@
<h1 class="vcard-name">
<b wicket:id="fullname"></b>
<em wicket:id="username"></em>
- <a class="img-link has-tip" data-toggle="tooltip" data-placement="right" title="edit your profile"><i class="fa fa-edit"></i></a>
+ <a class="img-link has-tip" data-toggle="tooltip" data-placement="right" title="edit your profile"><i class="fa fa-pencil"></i></a>
</h1>
</div>
</td>
@@ -19,7 +19,7 @@
<li wicket:id="category"><a wicket:id="link"><wicket:container wicket:id="name"></wicket:container></a></li>
</ul>
<ul class="btn-list pull-right">
- <li><a class="btn btn-sm btn-gray"><i class="fa fa-edit"></i> Edit your profile</a></li>
+ <li><a class="btn btn-sm btn-gray"><i class="fa fa-pencil"></i> Edit your profile</a></li>
</ul>
</div>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/AccountTeamsPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/AccountTeamsPage.html
index 9f8d928999..7ef94e5eb3 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/AccountTeamsPage.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/AccountTeamsPage.html
@@ -27,7 +27,7 @@
<wicket:fragment wicket:id="namefrag">
<div class="name">
- <a wicket:id="link"><span wicket:id="name"></span> <i class="fa fa-edit" wicket:id="icon"></i></a>
+ <a wicket:id="link"><span wicket:id="name"></span> <i class="fa fa-pencil" wicket:id="icon"></i></a>
<b class="label label-builtin" wicket:id="builtin">built-in</b>
</div>
<div class="text-muted" wicket:id="summary"></div>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/AccountTeamsPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/AccountTeamsPage.java
index a26fc8a0cc..dd245ec722 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/AccountTeamsPage.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/AccountTeamsPage.java
@@ -113,7 +113,7 @@ public class AccountTeamsPage extends AccountSettingPage {
EditTeamPage.class,
EditTeamPage.newParams(team));
link.add(new Label("name", Model.of(team.getName())));
- link.add(new Icon("icon", "fa-edit"));
+ link.add(new Icon("icon", "fa-pencil"));
frag.add(link);
frag.add(new Label("summary", formatTeamDescription(team)));
frag.add(new Label("builtin", "built-in").setVisibilityAllowed(team.isBuiltIn()));
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/EditTeamPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/EditTeamPage.html
index af747429da..39b9f29d02 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/EditTeamPage.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/setting/teams/EditTeamPage.html
@@ -10,7 +10,7 @@
<div class="actionbar" role="toolbar">
<a wicket:id="backlink" class="btn"><i class="fa fa-arrow-slim-left"></i> Back to list</a>
<div class="btn-group">
- <a class="btn" href="javascript:void(0)" wicket:id="teamstoggle" data-toggle="dropdown"><i class="fa fa-edit"></i> Edit team <span class="caret"></span></a>
+ <a class="btn" href="javascript:void(0)" wicket:id="teamstoggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit team <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li wicket:id="teams">
<a wicket:id="editlink"><span wicket:id="name"></span></a>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/admin/RepoPermissionsPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/admin/RepoPermissionsPage.html
index e896fab269..ebf8cc9ce8 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/admin/RepoPermissionsPage.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/admin/RepoPermissionsPage.html
@@ -20,7 +20,7 @@
<wicket:fragment wicket:id="namefrag">
<div class="name">
- <a wicket:id="editlink"><span wicket:id="name"></span> <i class="fa fa-edit" wicket:id="icon"></i></a>
+ <a wicket:id="editlink"><span wicket:id="name"></span> <i class="fa fa-pencil" wicket:id="icon"></i></a>
</div>
</wicket:fragment>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/admin/gatekeeper/GateKeeperPanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/admin/gatekeeper/GateKeeperPanel.html
index 3db49b044b..a6079e88ee 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/admin/gatekeeper/GateKeeperPanel.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/admin/gatekeeper/GateKeeperPanel.html
@@ -2,7 +2,7 @@
<div wicket:id="container" class="gate-keeper panel panel-default ">
<div class="panel-heading clearfix">
<div wicket:id="title" class="panel-title pull-left"></div>
- <div wicket:id="edit" class="fa fa-edit pull-left" title="Edit this gate keeper"></div>
+ <div wicket:id="edit" class="fa fa-pencil pull-left" title="Edit this gate keeper"></div>
<div wicket:id="delete" class="fa fa-trash pull-left" title="Delete this gate keeper"></div>
<div wicket:id="enable" class="fa pull-left "></div>
<div wicket:id="editor"></div>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/code/commit/diff/CommentListPanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/code/commit/diff/CommentListPanel.html
index f5d3796227..00b0857fac 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/code/commit/diff/CommentListPanel.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/code/commit/diff/CommentListPanel.html
@@ -48,7 +48,7 @@
<span wicket:id="age"></span>
<div class="actions right">
- <a wicket:id="editlink"><i class="fa fa-edit"></i></a>
+ <a wicket:id="editlink"><i class="fa fa-pencil"></i></a>
<a wicket:id="removelink"><i class="fa fa-times"></i></a>
</div>
</div>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/code/tree/RepoDescribePanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/code/tree/RepoDescribePanel.html
index 8e0b9daf5d..7fc2af7449 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/code/tree/RepoDescribePanel.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/code/tree/RepoDescribePanel.html
@@ -5,7 +5,7 @@
<wicket:fragment wicket:id="label">
<span wicket:id="description"></span>
- <a wicket:id="editlink" href="javascript:void()" class="text-muted text-nowrap">- Edit <i class="fa fa-edit"></i></a>
+ <a wicket:id="editlink" href="javascript:void()" class="text-muted text-nowrap">- Edit <i class="fa fa-pencil"></i></a>
</wicket:fragment>
<wicket:fragment wicket:id="editor">
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestChangesPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestChangesPage.html
deleted file mode 100644
index 463405c3e5..0000000000
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestChangesPage.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<wicket:extend>
- <div class="changes">
- <div class="comparison-choices clearfix">
- <div class="comparison-base clearfix pull-left">
- <label class="pull-left">Comparision Base:</label>
- <div class="pull-left select">
- <select wicket:id="baseCommitChoice" class="form-control"></select>
- </div>
- </div>
- <div class="comparison-head clearfix pull-left">
- <label class="pull-left">Comparision Head:</label>
- <div class="pull-left select">
- <select wicket:id="headCommitChoice" class="form-control"></select>
- </div>
- </div>
- </div>
- <div wicket:id="diffView" class="diffs"></div>
- </div>
-</wicket:extend>
\ No newline at end of file
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestChangesPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestChangesPage.java
deleted file mode 100644
index 7438115b8b..0000000000
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestChangesPage.java
+++ /dev/null
@@ -1,194 +0,0 @@
-package com.pmease.gitplex.web.page.repository.info.pullrequest;
-
-import java.util.ArrayList;
-import java.util.LinkedHashMap;
-import java.util.List;
-
-import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.ajax.form.OnChangeAjaxBehavior;
-import org.apache.wicket.markup.html.form.DropDownChoice;
-import org.apache.wicket.markup.html.form.IChoiceRenderer;
-import org.apache.wicket.markup.html.panel.Panel;
-import org.apache.wicket.model.IModel;
-import org.apache.wicket.model.LoadableDetachableModel;
-import org.apache.wicket.request.mapper.parameter.PageParameters;
-
-import com.pmease.gitplex.core.model.IntegrationInfo;
-import com.pmease.gitplex.core.model.PullRequest;
-import com.pmease.gitplex.core.model.PullRequest.Status;
-import com.pmease.gitplex.web.page.repository.info.code.commit.diff.DiffViewPanel;
-
-@SuppressWarnings("serial")
-public class RequestChangesPage extends RequestDetailPage {
-
- private Panel diffView;
-
- private DropDownChoice<String> baseCommitSelector;
-
- private DropDownChoice<String> headCommitSelector;
-
- // base commit represents comparison base
- private String baseCommit;
-
- // head commit represents comparison head
- private String headCommit;
-
- // map commit name to comit hash
- private IModel<LinkedHashMap<String, String>> commitsModel =
- new LoadableDetachableModel<LinkedHashMap<String, String>>() {
-
- @Override
- protected LinkedHashMap<String, String> load() {
- LinkedHashMap<String, String> choices = new LinkedHashMap<>();
-
- PullRequest request = getPullRequest();
- IntegrationInfo mergeInfo = request.getIntegrationInfo();
- if (request.isOpen()
- && mergeInfo.getIntegrationHead() != null
- && !mergeInfo.getIntegrationHead().equals(mergeInfo.getRequestHead())) {
- choices.put(request.getIntegrationInfo().getIntegrationHead(), "Integration Preview");
- }
-
- for (int i=request.getSortedUpdates().size()-1; i>=0; i--)
- choices.put(request.getSortedUpdates().get(i).getHeadCommit(), "Head of Update #" + (i+1));
-
- String baseCommit = request.getBaseCommit();
- if (request.getTarget().getHeadCommit().equals(baseCommit)) {
- choices.put(request.getTarget().getHeadCommit(), "Target Branch Head");
- } else {
- String displayName = choices.get(request.getTarget().getHeadCommit());
- if (displayName != null) {
- choices.put(request.getTarget().getHeadCommit(), displayName + " (current head of target branch)");
- } else {
- choices.put(request.getTarget().getHeadCommit(), "Target Branch Head (current)");
- }
- choices.put(baseCommit, "Target Branch Head (original)");
- }
-
- return choices;
- }
-
- };
-
- public RequestChangesPage(PageParameters params) {
- super(params);
-
- baseCommit = params.get("base").toString();
- headCommit = params.get("head").toString();
- }
-
- @Override
- protected void onInitialize() {
- super.onInitialize();
-
- IModel<List<String>> commitChoices = new LoadableDetachableModel<List<String>>() {
-
- @Override
- protected List<String> load() {
- return new ArrayList<String>(commitsModel.getObject().keySet());
- }
-
- };
-
- IChoiceRenderer<String> choiceRenderer = new IChoiceRenderer<String>() {
-
- @Override
- public Object getDisplayValue(String object) {
- return commitsModel.getObject().get(object);
- }
-
- @Override
- public String getIdValue(String object, int index) {
- return object;
- }
-
- };
-
- baseCommitSelector = new DropDownChoice<String>("baseCommitChoice", new IModel<String>() {
-
- @Override
- public void detach() {
- }
-
- @Override
- public String getObject() {
- if (!commitsModel.getObject().containsKey(baseCommit)) {
- if (getPullRequest().getStatus() == Status.INTEGRATED)
- baseCommit = getPullRequest().getBaseCommit();
- else
- baseCommit = getPullRequest().getTarget().getHeadCommit();
- }
- return baseCommit;
- }
-
- @Override
- public void setObject(String object) {
- baseCommit = object;
- }
-
- }, commitChoices, choiceRenderer);
-
- baseCommitSelector.add(new OnChangeAjaxBehavior() {
-
- @Override
- protected void onUpdate(AjaxRequestTarget target) {
- target.add(diffView);
- }
- });
- add(baseCommitSelector);
-
- headCommitSelector = new DropDownChoice<String>("headCommitChoice", new IModel<String>() {
-
- @Override
- public void detach() {
- }
-
- @Override
- public String getObject() {
- if (!commitsModel.getObject().containsKey(headCommit)) {
- headCommit = getPullRequest().getLatestUpdate().getHeadCommit();
- }
- return headCommit;
- }
-
- @Override
- public void setObject(String object) {
- headCommit = object;
- }
-
- }, commitChoices, choiceRenderer);
-
- headCommitSelector.add(new OnChangeAjaxBehavior() {
-
- @Override
- protected void onUpdate(AjaxRequestTarget target) {
- target.add(diffView);
- }
-
- });
- add(headCommitSelector);
-
- add(diffView = new DiffViewPanel("diffView", repositoryModel,
- baseCommitSelector.getDefaultModelObjectAsString(),
- headCommitSelector.getDefaultModelObjectAsString()));
-
- diffView.setOutputMarkupId(true);
- }
-
- @Override
- public void onDetach() {
- commitsModel.detach();
-
- super.onDetach();
- }
-
- public static PageParameters params4(PullRequest request, String baseCommit, String headCommit) {
- PageParameters params = RequestDetailPage.params4(request);
-
- params.set("base", baseCommit);
- params.set("head", headCommit);
-
- return params;
- }
-
-}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestComparePage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestComparePage.html
new file mode 100644
index 0000000000..bc09108fd1
--- /dev/null
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestComparePage.html
@@ -0,0 +1,46 @@
+<wicket:extend>
+ <div class="compare">
+ <div class="comparison-choices clearfix">
+ <div class="comparison-base pull-left">
+ <label>Comparision Base:</label>
+ <span class="btn btn-default" wicket:id="baseSelector">
+ <i class="fa fa-commit"></i> <span wicket:id="label"></span> <i class="caret"></i>
+ </span>
+ <div wicket:id="baseChoices"></div>
+ </div>
+ <div class="comparison-head pull-left">
+ <label>Comparision Head:</label>
+ <span class="btn btn-default" wicket:id="headSelector">
+ <i class="fa fa-commit"></i> <span wicket:id="label"></span> <i class="caret"></i>
+ </span>
+ <div wicket:id="headChoices"></div>
+ </div>
+ </div>
+ <table class="compare-result">
+ <tr>
+ <td class="nav">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <span class="panel-title">Compare Result</span> <input wicket:id="changedOnly" type="checkbox"> changed only</input>
+ </div>
+ <div wicket:id="compareResult" class="panel-body"></div>
+ </div>
+ </td>
+ <td wicket:id="blobDiff" class="content"></td>
+ </tr>
+ </table>
+ </div>
+ <wicket:fragment wicket:id="commitChoiceFrag">
+ <ul class="commit-choice list-unstyled">
+ <li wicket:id="commits">
+ <a wicket:id="commit">
+ <div>
+ <i class="fa fa-commit"></i>
+ <span wicket:id="label" class="name"></span>
+ </div>
+ <div wicket:id="subject" class="subject"></div>
+ </a>
+ </li>
+ </ul>
+ </wicket:fragment>
+</wicket:extend>
\ No newline at end of file
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestComparePage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestComparePage.java
new file mode 100644
index 0000000000..8b0dc4220a
--- /dev/null
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestComparePage.java
@@ -0,0 +1,457 @@
+package com.pmease.gitplex.web.page.repository.info.pullrequest;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Map.Entry;
+import java.util.Objects;
+
+import javax.annotation.Nullable;
+
+import org.apache.wicket.Component;
+import org.apache.wicket.ajax.AjaxRequestTarget;
+import org.apache.wicket.ajax.form.OnChangeAjaxBehavior;
+import org.apache.wicket.ajax.markup.html.AjaxLink;
+import org.apache.wicket.markup.ComponentTag;
+import org.apache.wicket.markup.head.IHeaderResponse;
+import org.apache.wicket.markup.head.OnDomReadyHeaderItem;
+import org.apache.wicket.markup.html.WebMarkupContainer;
+import org.apache.wicket.markup.html.basic.Label;
+import org.apache.wicket.markup.html.form.CheckBox;
+import org.apache.wicket.markup.html.link.Link;
+import org.apache.wicket.markup.html.list.ListItem;
+import org.apache.wicket.markup.html.list.ListView;
+import org.apache.wicket.markup.html.panel.Fragment;
+import org.apache.wicket.model.IModel;
+import org.apache.wicket.model.LoadableDetachableModel;
+import org.apache.wicket.model.PropertyModel;
+import org.apache.wicket.request.mapper.parameter.PageParameters;
+import org.eclipse.jgit.lib.FileMode;
+
+import com.google.common.base.Preconditions;
+import com.pmease.commons.git.Change;
+import com.pmease.commons.git.Commit;
+import com.pmease.commons.git.GitUtils;
+import com.pmease.commons.git.TreeNode;
+import com.pmease.commons.wicket.behavior.TooltipBehavior;
+import com.pmease.commons.wicket.behavior.dropdown.DropdownBehavior;
+import com.pmease.commons.wicket.behavior.dropdown.DropdownPanel;
+import com.pmease.gitplex.core.model.IntegrationInfo;
+import com.pmease.gitplex.core.model.PullRequest;
+import com.pmease.gitplex.core.model.PullRequestUpdate;
+import com.pmease.gitplex.web.component.diff.BlobDiffInfo;
+import com.pmease.gitplex.web.component.diff.BlobDiffPanel;
+import com.pmease.gitplex.web.component.diff.ChangedFilesPanel;
+import com.pmease.gitplex.web.component.diff.DiffTreePanel;
+
+@SuppressWarnings("serial")
+public class RequestComparePage extends RequestDetailPage {
+
+ // base commit represents comparison base
+ private String baseCommit;
+
+ // head commit represents comparison head
+ private String headCommit;
+
+ private String filePath;
+
+ private boolean changedOnly = true;
+
+ // map commit name to comit hash
+ private IModel<Map<String, CommitDescription>> commitsModel =
+ new LoadableDetachableModel<Map<String, CommitDescription>>() {
+
+ @Override
+ protected LinkedHashMap<String, CommitDescription> load() {
+ LinkedHashMap<String, CommitDescription> choices = new LinkedHashMap<>();
+ PullRequest request = getPullRequest();
+
+ CommitDescription description = new CommitDescription("Base of Pull Request",
+ getRepository().git().showRevision(request.getBaseCommit()).getSubject());
+ choices.put(request.getBaseCommit(), description);
+
+ for (int i=request.getSortedUpdates().size()-1; i>=0; i--) {
+ PullRequestUpdate update = request.getSortedUpdates().get(i);
+ int updateNo = request.getSortedUpdates().size()-i;
+ int j = 0;
+ for (Commit commit: update.getCommits()) {
+ if (j == update.getCommits().size()-1)
+ description = new CommitDescription("Head of Update #" + updateNo, commit.getSubject());
+ else
+ description = new CommitDescription(null, commit.getSubject());
+ j++;
+ choices.put(commit.getHash(), description);
+ }
+ }
+
+ String targetHead = request.getTarget().getHeadCommit();
+ if (!choices.containsKey(targetHead)) {
+ description = new CommitDescription("Head of Target Branch",
+ getRepository().git().showRevision(targetHead).getSubject());
+ choices.put(targetHead, description);
+ }
+
+ IntegrationInfo integrationInfo = request.getIntegrationInfo();
+ if (request.isOpen()
+ && integrationInfo.getIntegrationHead() != null
+ && !integrationInfo.getIntegrationHead().equals(integrationInfo.getRequestHead())) {
+ Commit commit = getRepository().git().showRevision(request.getIntegrationInfo().getIntegrationHead());
+ choices.put(request.getIntegrationInfo().getIntegrationHead(),
+ new CommitDescription("Integration Preview", commit.getSubject()));
+ }
+
+ return choices;
+ }
+
+ };
+
+ private IModel<List<Change>> changesModel = new LoadableDetachableModel<List<Change>>() {
+
+ @Override
+ protected List<Change> load() {
+ return getRepository().git().listFileChanges(baseCommit, headCommit, null, true);
+ }
+
+ };
+
+ public RequestComparePage(PageParameters params) {
+ super(params);
+
+ baseCommit = params.get("base").toString();
+ headCommit = params.get("head").toString();
+
+ if (baseCommit != null) {
+ if (!commitsModel.getObject().containsKey(baseCommit))
+ throw new IllegalArgumentException("Commit '" + baseCommit + "' is not relevant to current pull request.");
+ } else {
+ baseCommit = getPullRequest().getBaseCommit();
+ }
+ if (headCommit != null) {
+ if (!commitsModel.getObject().containsKey(headCommit))
+ throw new IllegalArgumentException("Commit '" + headCommit + "' is not relevant to current pull request.");
+ } else {
+ headCommit = getPullRequest().getLatestUpdate().getHeadCommit();
+ }
+
+ filePath = params.get("path").toString();
+ }
+
+ @Override
+ protected void onInitialize() {
+ super.onInitialize();
+
+ WebMarkupContainer baseSelector = new WebMarkupContainer("baseSelector");
+ add(baseSelector);
+ baseSelector.add(new Label("label", new LoadableDetachableModel<String>() {
+
+ @Override
+ protected String load() {
+ CommitDescription description = commitsModel.getObject().get(baseCommit);
+ Preconditions.checkNotNull(description);
+ if (description.getName() != null)
+ return GitUtils.abbreviateSHA(baseCommit) + " - " + description.getName();
+ else
+ return GitUtils.abbreviateSHA(baseCommit);
+ }
+
+ }));
+ DropdownPanel baseChoicesDropdown = new DropdownPanel("baseChoices", false) {
+
+ @Override
+ protected Component newContent(String id) {
+ return new CommitChoicePanel(id, true);
+ }
+
+ };
+ add(baseChoicesDropdown);
+ baseSelector.add(new DropdownBehavior(baseChoicesDropdown).alignWithTrigger(0, 0, 0, 100));
+
+ baseSelector.add(new TooltipBehavior(new LoadableDetachableModel<String>() {
+
+ @Override
+ protected String load() {
+ CommitDescription description = commitsModel.getObject().get(baseCommit);
+ Preconditions.checkNotNull(description);
+ return description.getSubject();
+ }
+
+ }));
+
+ WebMarkupContainer headSelector = new WebMarkupContainer("headSelector");
+ add(headSelector);
+ headSelector.add(new Label("label", new LoadableDetachableModel<String>() {
+
+ @Override
+ protected String load() {
+ CommitDescription description = commitsModel.getObject().get(headCommit);
+ Preconditions.checkNotNull(description);
+ if (description.getName() != null)
+ return GitUtils.abbreviateSHA(headCommit) + " - " + description.getName();
+ else
+ return GitUtils.abbreviateSHA(headCommit);
+ }
+
+ }));
+ DropdownPanel headChoicesDropdown = new DropdownPanel("headChoices", false) {
+
+ @Override
+ protected Component newContent(String id) {
+ return new CommitChoicePanel(id, false);
+ }
+
+ };
+ add(headChoicesDropdown);
+ headSelector.add(new DropdownBehavior(headChoicesDropdown).alignWithTrigger(0, 0, 0, 100));
+
+ headSelector.add(new TooltipBehavior(new LoadableDetachableModel<String>() {
+
+ @Override
+ protected String load() {
+ CommitDescription description = commitsModel.getObject().get(headCommit);
+ Preconditions.checkNotNull(description);
+ return description.getSubject();
+ }
+
+ }));
+
+ add(new CheckBox("changedOnly", new PropertyModel<Boolean>(this, "changedOnly"))
+ .add(new OnChangeAjaxBehavior() {
+
+ @Override
+ protected void onUpdate(AjaxRequestTarget target) {
+ Component compareResult = newCompareResultComponent();
+ RequestComparePage.this.replace(compareResult);
+ target.add(compareResult);
+ }
+
+ }));
+
+ BlobDiffInfo blobDiffInfo = null;
+ List<Change> changes = changesModel.getObject();
+ if (filePath != null) {
+ for (Change change: changes) {
+ if (filePath.equals(change.getOldPath()) || filePath.equals(change.getNewPath())) {
+ blobDiffInfo = new BlobDiffInfo(change, baseCommit, headCommit);
+ break;
+ }
+ }
+ if (blobDiffInfo == null) {
+ List<TreeNode> result = getRepository().git().listTree(headCommit, filePath);
+ if (!result.isEmpty() && result.get(0).getMode() != FileMode.TYPE_TREE) {
+ TreeNode blobNode = result.get(0);
+ blobDiffInfo = new BlobDiffInfo(BlobDiffInfo.Status.UNCHANGED, filePath, filePath,
+ blobNode.getMode(), blobNode.getMode(), baseCommit, headCommit);
+ }
+ }
+ } else {
+ if (!changes.isEmpty())
+ blobDiffInfo = new BlobDiffInfo(changes.get(0), baseCommit, headCommit);
+ }
+ if (blobDiffInfo != null)
+ add(new BlobDiffPanel("blobDiff", repositoryModel, blobDiffInfo).setOutputMarkupId(true));
+ else
+ add(new WebMarkupContainer("blobDiff").setOutputMarkupId(true));
+
+ add(newCompareResultComponent());
+ }
+
+ private Component newCompareResultComponent() {
+ Component compareResult;
+ if (changedOnly) {
+ if (!changesModel.getObject().isEmpty()) {
+ compareResult = new ChangedFilesPanel("compareResult", changesModel) {
+
+ @Override
+ protected WebMarkupContainer newBlobLink(String id, Change change) {
+ return new BlobLink(id, change);
+ }
+ };
+ } else {
+ compareResult = new Label("compareResult", "<i class='fa fa-info-circle'></i> <em>Nothing changed</em>");
+ compareResult.setEscapeModelStrings(false);
+ }
+ } else {
+ compareResult = new DiffTreePanel("compareResult", repositoryModel, changesModel, baseCommit, headCommit) {
+
+ @Override
+ protected WebMarkupContainer newBlobLink(String id, final Change change) {
+ return new BlobLink(id, change);
+ }
+
+ @Override
+ protected void onInitialize() {
+ super.onInitialize();
+
+ BlobDiffInfo blobDiffInfo = getBlobDiffInfo();
+ if (blobDiffInfo != null)
+ reveal(blobDiffInfo);
+ }
+
+ };
+ }
+ compareResult.setOutputMarkupId(true);
+ return compareResult;
+ }
+
+ private BlobDiffInfo getBlobDiffInfo() {
+ Component panel = getPage().get("blobDiff");
+ if (panel instanceof BlobDiffPanel)
+ return ((BlobDiffPanel) panel).getBlobDiffInfo();
+ else
+ return null;
+ }
+
+ @Override
+ public void onDetach() {
+ commitsModel.detach();
+ changesModel.detach();
+
+ super.onDetach();
+ }
+
+ public static PageParameters params4(PullRequest request, String baseCommit, String headCommit, @Nullable String filePath) {
+ PageParameters params = RequestDetailPage.params4(request);
+
+ params.set("base", baseCommit);
+ params.set("head", headCommit);
+ if (filePath != null)
+ params.set("path", filePath);
+
+ return params;
+ }
+
+ private static class CommitDescription implements Serializable {
+ private final String name;
+
+ private final String subject;
+
+ public CommitDescription(final @Nullable String name, final String subject) {
+ this.name = name;
+ this.subject = subject;
+ }
+
+ public @Nullable String getName() {
+ return name;
+ }
+
+ public String getSubject() {
+ return subject;
+ }
+
+ }
+
+ private class CommitChoicePanel extends Fragment {
+
+ private final boolean forBase;
+
+ public CommitChoicePanel(String id, boolean forBase) {
+ super(id, "commitChoiceFrag", RequestComparePage.this);
+
+ this.forBase = forBase;
+ }
+
+ @Override
+ protected void onInitialize() {
+ super.onInitialize();
+
+ setOutputMarkupId(true);
+
+ IModel<List<Map.Entry<String, CommitDescription>>> model = new LoadableDetachableModel<List<Map.Entry<String, CommitDescription>>>() {
+
+ @Override
+ protected List<Entry<String, CommitDescription>> load() {
+ List<Entry<String, CommitDescription>> entries = new ArrayList<>();
+ entries.addAll(commitsModel.getObject().entrySet());
+ return entries;
+ }
+
+ };
+
+ add(new ListView<Map.Entry<String, CommitDescription>>("commits", model) {
+
+ @Override
+ protected void populateItem(final ListItem<Entry<String, CommitDescription>> item) {
+ Link<Void> link = new Link<Void>("commit") {
+
+ @Override
+ public void onClick() {
+ Map.Entry<String, CommitDescription> entry = item.getModelObject();
+ if (forBase) {
+ setResponsePage(RequestComparePage.class,
+ params4(getPullRequest(), entry.getKey(), headCommit, null));
+ } else {
+ setResponsePage(RequestComparePage.class,
+ params4(getPullRequest(), baseCommit, entry.getKey(), null));
+ }
+ }
+
+ };
+ Map.Entry<String, CommitDescription> entry = item.getModelObject();
+ String label = GitUtils.abbreviateSHA(entry.getKey());
+ if (entry.getValue().getName() != null)
+ label += " - " + entry.getValue().getName();
+ link.add(new Label("label", label));
+ if (entry.getValue().getSubject() != null)
+ link.add(new Label("subject", entry.getValue().getSubject()));
+ else
+ link.add(new WebMarkupContainer("subject").setVisible(false));
+ item.add(link);
+ }
+
+ });
+ }
+
+ @Override
+ public void renderHead(IHeaderResponse response) {
+ super.renderHead(response);
+ String script = String.format(""
+ + "$('#%s').closest('.dropdown-panel').on('show', function() {"
+ + " var $ul = $(this).find('ul');"
+ + " $ul.scrollTop($ul[0].scrollHeight);"
+ + "});", getMarkupId());
+ response.render(OnDomReadyHeaderItem.forScript(script));
+ }
+
+ }
+
+ private class BlobLink extends AjaxLink<Void> {
+
+ private final Change change;
+
+ public BlobLink(String id, Change change) {
+ super(id);
+
+ this.change = change;
+ }
+
+ @Override
+ protected void onComponentTag(ComponentTag tag) {
+ super.onComponentTag(tag);
+
+ BlobDiffInfo blobDiffInfo = getBlobDiffInfo();
+ if (blobDiffInfo != null
+ && Objects.equals(change.getOldPath(), blobDiffInfo.getOldPath())
+ && Objects.equals(change.getNewPath(), blobDiffInfo.getNewPath())) {
+ tag.put("class", "active");
+ }
+ }
+
+ @Override
+ public void onClick(AjaxRequestTarget target) {
+ BlobDiffPanel panel = new BlobDiffPanel("blobDiff", repositoryModel,
+ new BlobDiffInfo(change, baseCommit, headCommit));
+ panel.setOutputMarkupId(true);
+ RequestComparePage.this.replace(panel);
+
+ Component compareResult = getPage().get("compareResult");
+ String script = String.format("$('#%s').find('a.active').removeClass('active');", compareResult.getMarkupId());
+ target.prependJavaScript(script);
+
+ target.add(panel);
+ target.add(this);
+ }
+
+ }
+}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestDetailPage.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestDetailPage.html
index 45d315aeeb..41822d5103 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestDetailPage.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestDetailPage.html
@@ -5,7 +5,7 @@
<div wicket:id="id" class="id pull-left"></div>
<wicket:enclosure child="editTitle">
<div class="pull-left">
- <a wicket:id="editTitle" title="Edit title" class="fa fa-edit" href="javascript:void(0);"></a>
+ <a wicket:id="editTitle" title="Edit title" class="fa fa-pencil" href="javascript:void(0);"></a>
</div>
</wicket:enclosure>
<form wicket:id="titleEditor" class="pull-left form-inline">
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestDetailPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestDetailPage.java
index 243cdd7027..f7752da167 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestDetailPage.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestDetailPage.java
@@ -391,7 +391,7 @@ public abstract class RequestDetailPage extends RepositoryInfoPage implements Co
tabs.add(new RequestTab("Activities", RequestActivitiesPage.class));
tabs.add(new RequestTab("Updates", RequestUpdatesPage.class));
- tabs.add(new RequestTab("Changes", RequestChangesPage.class));
+ tabs.add(new RequestTab("Compare", RequestComparePage.class));
add(new Tabbable("tabs", tabs));
}
@@ -531,12 +531,13 @@ public abstract class RequestDetailPage extends RepositoryInfoPage implements Co
}
fragment.add(new Label("message", message));
- PageParameters params = RequestChangesPage.params4(
+ PageParameters params = RequestComparePage.params4(
request,
request.getLatestUpdate().getHeadCommit(),
- request.getIntegrationInfo().getIntegrationHead());
+ request.getIntegrationInfo().getIntegrationHead(),
+ null);
- Link<Void> link = new BookmarkablePageLink<Void>("preview", RequestChangesPage.class, params);
+ Link<Void> link = new BookmarkablePageLink<Void>("preview", RequestComparePage.class, params);
link.setVisible(!integrationInfo.getIntegrationHead().equals(integrationInfo.getRequestHead()));
fragment.add(link);
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestUpdatesPage.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestUpdatesPage.java
index 715d600d2a..eceab82e7f 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestUpdatesPage.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/RequestUpdatesPage.java
@@ -41,7 +41,9 @@ public class RequestUpdatesPage extends RequestDetailPage {
@Override
public List<PullRequestUpdate> load() {
- return getPullRequest().getSortedUpdates();
+ List<PullRequestUpdate> updates = new ArrayList<>(getPullRequest().getSortedUpdates());
+ Collections.reverse(updates);
+ return updates;
}
}) {
@@ -58,10 +60,11 @@ public class RequestUpdatesPage extends RequestDetailPage {
Fragment fragment = new Fragment(componentId, "updateInfoFrag", RequestUpdatesPage.this);
PullRequestUpdate update = item.getModelObject();
- PageParameters params = RequestChangesPage.params4(
- update.getRequest(), update.getBaseCommit(), update.getHeadCommit());
- Link<Void> updateLink = new BookmarkablePageLink<Void>("updateLink", RequestChangesPage.class, params);
- updateLink.add(new Label("updateNo", update.getRequest().getSortedUpdates().indexOf(update) + 1));
+ PageParameters params = RequestComparePage.params4(
+ update.getRequest(), update.getBaseCommit(), update.getHeadCommit(), null);
+ Link<Void> updateLink = new BookmarkablePageLink<Void>("updateLink", RequestComparePage.class, params);
+ List<PullRequestUpdate> updates = update.getRequest().getSortedUpdates();
+ updateLink.add(new Label("updateNo", updates.size() - updates.indexOf(update)));
fragment.add(updateLink);
fragment.add(new Label("date", DateUtils.formatAge(update.getDate())));
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/CloseActivityPanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/CloseActivityPanel.html
index 39b035360b..02f15fb773 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/CloseActivityPanel.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/CloseActivityPanel.html
@@ -3,7 +3,7 @@
<div wicket:id="comment" class="comment"></div>
<wicket:fragment wicket:id="viewFrag">
<div wicket:id="content" class="pull-left right-spacing"></div>
- <a wicket:id="edit" title="Edit comment" class="pull-left"><span class="fa fa-edit"></span></a>
+ <a wicket:id="edit" title="Edit comment" class="pull-left"><span class="fa fa-pencil"></span></a>
</wicket:fragment>
<wicket:fragment wicket:id="editFrag">
<textarea wicket:id="content" rows="6" class="form-control" placeholder="Leave a comment"></textarea>
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/CommentActivityPanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/CommentActivityPanel.html
index 5823c5debd..5e0ae9da8c 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/CommentActivityPanel.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/CommentActivityPanel.html
@@ -3,7 +3,7 @@
<div wicket:id="body" class="comment"></div>
<wicket:fragment wicket:id="viewFrag">
<div wicket:id="comment" class="pull-left right-spacing"></div>
- <a wicket:id="edit" title="Edit comment" class="pull-left right-spacing"><span class="fa fa-edit"></span></a>
+ <a wicket:id="edit" title="Edit comment" class="pull-left right-spacing"><span class="fa fa-pencil"></span></a>
<a wicket:id="delete" title="Delete comment" class="pull-left"><span class="fa fa-trash"></span></a>
</wicket:fragment>
<wicket:fragment wicket:id="editFrag">
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/OpenActivityPanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/OpenActivityPanel.html
index 2521af063e..6b5940b9dc 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/OpenActivityPanel.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/OpenActivityPanel.html
@@ -4,7 +4,7 @@
<wicket:fragment wicket:id="viewFrag">
<div class="clearfix">
<div wicket:id="content" class="pull-left right-spacing"></div>
- <a wicket:id="edit" title="Edit description" class="pull-left"><span class="fa fa-edit"></span></a>
+ <a wicket:id="edit" title="Edit description" class="pull-left"><span class="fa fa-pencil"></span></a>
</div>
</wicket:fragment>
<wicket:fragment wicket:id="editFrag">
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/VoteActivityPanel.html b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/VoteActivityPanel.html
index 8d44f080f9..d1d43f73d1 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/VoteActivityPanel.html
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/repository/info/pullrequest/activity/VoteActivityPanel.html
@@ -4,7 +4,7 @@
<wicket:fragment wicket:id="viewFrag">
<div class="clearfix">
<div wicket:id="content" class="pull-left right-spacing"></div>
- <a wicket:id="edit" title="Edit comment" class="pull-left"><span class="fa fa-edit"></span></a>
+ <a wicket:id="edit" title="Edit comment" class="pull-left"><span class="fa fa-pencil"></span></a>
</div>
</wicket:fragment>
<wicket:fragment wicket:id="editFrag">
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/service/FileBlob.java b/gitplex.web/src/main/java/com/pmease/gitplex/web/service/FileBlob.java
index c2f66bd5f4..3fe1900ac6 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/service/FileBlob.java
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/service/FileBlob.java
@@ -50,7 +50,7 @@ public class FileBlob implements Serializable {
}
public static FileBlob of(Repository repository, String revision, String file) {
- return GitPlex.getInstance(FileBlobService.class).get(repository, revision, file);
+ return GitPlex.getInstance(FileBlobService.class).get(repository, repository.defaultBranchIfNull(revision), file);
}
public boolean isText() {