Skip to content

Commit 8220904

Browse files
Reorganize and add chosen
1 parent 8a73764 commit 8220904

File tree

13 files changed

+1250
-26
lines changed

13 files changed

+1250
-26
lines changed

GitHubAccess/css/chosen-sprite.png

646 Bytes
Loading
872 Bytes
Loading

GitHubAccess/css/chosen.min.css

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

GitHubAccess/css/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/* Generated by less 1.7.0 */
2+
.github-access .step1 {
3+
display: none;
4+
}
25
.github-access .errors {
36
margin: 10px 0 20px 0;
47
}

GitHubAccess/css/main.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
.github-access {
2+
.step1 {
3+
display: none;
4+
}
5+
26
.errors {
37
margin: 10px 0 20px 0;
48

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"title": "Clone Dialog",
3+
"buttons": [{
4+
"className": "left cancel",
5+
"id": "cancel",
6+
"text": "Cancel"
7+
}, {
8+
"className": "primary githubaccess-clone",
9+
"disabled": "disabled",
10+
"id": "clone",
11+
"text": "Clone Repository"
12+
}]
13+
}

GitHubAccess/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ define(function (require, exports, module) {
3434
GitHubManager = require("GitHubManager").GitHubManager,
3535
KeyBindingManager = brackets.getModule("command/KeyBindingManager");
3636

37+
require("thirdparty/chosen.jquery");
38+
3739
AppInit.htmlReady(function () {
3840
ExtensionUtils.loadStyleSheet(module, "css/main.css");
41+
ExtensionUtils.loadStyleSheet(module, "css/chosen.min.css");
3942

4043
var commandId = "GitHubAccess.init";
4144

GitHubAccess/templates/clone-dialog.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ <h1 class="dialog-title">{{title}}</h1>
1111
<button class="btn get-branches" data-button-id="get-branches">Get branches for Repository</button>
1212
</div><br/>
1313
<div class="step1 form-horizontal">
14+
<label>Branch to Clone:</label>
15+
<select style='margin-left: 0;' class='branch-selection'></select><br>
16+
<input type='text' placeholder='Folder to clone repo to'>
17+
<button class='btn select-folder' data-button-id='select-folder'>Select Folder</button>
1418
</div><br/>
1519
<div class="step2 form-horizontal">
1620
</div>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div class="github-access-files template modal">
2+
<div class="modal-header">
3+
<h1 class="dialog-title">{{title}}</h1>
4+
</div>
5+
<div class="modal-body">
6+
</div>
7+
<div class="modal-footer">
8+
</div>
9+
</div>

GitHubAccess/templates/fork-repo-dialog.html

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)