| Index: Tools/GardeningServer/model/ct-repository-commit-list.html
|
| diff --git a/Tools/GardeningServer/model/ct-repository-commit-list.html b/Tools/GardeningServer/model/ct-repository-commit-list.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1c117a233f0bee0997883003bc296fd0959eb3ac
|
| --- /dev/null
|
| +++ b/Tools/GardeningServer/model/ct-repository-commit-list.html
|
| @@ -0,0 +1,22 @@
|
| +<!--
|
| +Copyright 2014 The Chromium Authors. All rights reserved.
|
| +Use of this source code is governed by a BSD-style license that can be
|
| +found in the LICENSE file.
|
| +-->
|
| +
|
| +<script>
|
| +function CTRepositoryCommitList(repository, commits) {
|
| + this.name = repository;
|
| + this.fingerprint = repository;
|
| + this.range = this._displayRange(commits);
|
| + this.commits = commits;
|
| + this.expanded = false;
|
| +}
|
| +
|
| +CTRepositoryCommitList.prototype._displayRange = function(commits) {
|
| + return commits.first().revision + " : " + commits.last().revision;
|
| +};
|
| +
|
| +CTRepositoryCommitList.uiStateProperties = ['expanded'];
|
| +
|
| +</script>
|
|
|