6
6
< link rel ="stylesheet " type ="text/css " href ="./static/css/semantic.min.css ">
7
7
< script src ="./static/js/ghosttools.js "> </ script >
8
8
< script src ="./rivets.js "> </ script >
9
+ < script src ="./rivetsBinders.js "> </ script >
9
10
< style type ="text/css ">
10
11
# alert .onlyfirst : not (: first-child ){
11
12
display : none!important ;
37
38
# reminderInput .error {
38
39
border : 2px solid # db2828 ;
39
40
}
41
+
40
42
</ style >
41
43
42
44
56
58
</ div >
57
59
< div class ="item right ">
58
60
59
- < div > Remind me every < input id ="reminderInput " rv-value ="data.waitHours " rv-on-keyup ="changeCronJob " type ="text "> hours</ div >
60
- < div id ="refreshButton " rv-on-click ="refreshRepos "> < i id ="refreshIcon " class ="notched refresh icon "> </ i > </ div >
61
+ < div > Remind me every < input id ="reminderInput " rv-value ="app. data.waitHours " rv-on-keyup ="app. changeCronJob " type ="text "> hours</ div >
62
+ < div id ="refreshButton " rv-on-click ="app. refreshRepos "> < i id ="refreshIcon " class ="notched refresh icon "> </ i > </ div >
61
63
</ div >
62
64
</ div >
63
65
66
68
< h1 style ="margin: 0; " class ="ui inverted header ">
67
69
Git Panda
68
70
</ h1 >
69
- < h6 style ="margin-top: 0; "> By: olitomas.com</ h6 >
70
- < a rv-show ="data.isPaid " class ="ui teal tag label "> Unregistered</ a >
71
- < a rv-hide ="data.isPaid " class ="ui red tag label "> Unregistered</ a >
71
+ < h6 style ="margin-top: 0; "> By: < a href =" https:// olitomas.com" > olitomas.com </ a > </ h6 >
72
+ < a rv-show ="app. data.isPaid " class ="ui teal tag label "> Unregistered</ a >
73
+ < a id =" registerBtn " rv-hide ="app. data.isPaid " class ="ui red tag label "> Unregistered</ a >
72
74
73
75
74
76
</ div >
75
77
76
78
</ div >
77
79
78
- < div class ="ui container " rv-hide ="data.allClean ">
80
+ < div class ="ui container " rv-hide ="app. data.allClean ">
79
81
< div style ="margin-top: 20px; " class ="ui red message "> < i class ="attention icon "> </ i > You have git repos that need a little push (working tree not clean)</ div >
80
82
</ div >
81
83
@@ -93,11 +95,14 @@ <h6 style="margin-top: 0;">By: olitomas.com</h6>
93
95
</ th >
94
96
</ tr > </ thead >
95
97
< tbody >
96
- < tr rv-each-repo ="data.gitPaths " rv-show ="repo.workingTreeClean ">
98
+ < tr rv-each-repo ="app. data.gitPaths" rv-class-hidden =" repo.workingTreeClean | reverse " rv-show ="repo.workingTreeClean ">
97
99
< td class ="collapsing positive ">
98
- < i class ="folder icon "> </ i > {repo.name}
100
+ < i class ="folder icon "> </ i > {repo.name}
99
101
</ td >
100
- < td class ="ui right aligned " rv-on-click ="removeItem "> < div class ="ui button tiny center aligned "> < i class ="icon trash "> </ i > Remove</ div > </ td >
102
+ < td class ="ui right aligned ">
103
+ < div rv-on-click ="app.openItemInTerminal " class ="ui button tiny center aligned "> < i class ="icon terminal "> </ i > </ div >
104
+ < div rv-on-click ="app.openItemFolder " class ="ui button tiny center aligned "> < i class ="icon folder "> </ i > </ div >
105
+ < div rv-on-click ="app.removeItem " class ="ui button tiny center aligned "> < i class ="icon trash "> </ i > Remove</ div > </ td >
101
106
</ tr >
102
107
</ tbody >
103
108
</ table >
@@ -110,11 +115,11 @@ <h6 style="margin-top: 0;">By: olitomas.com</h6>
110
115
</ th >
111
116
</ tr > </ thead >
112
117
< tbody >
113
- < tr rv-each-repo ="data.gitPaths " rv-hide ="repo.workingTreeClean ">
118
+ < tr rv-each-repo ="app. data.gitPaths " rv-hide =" repo.workingTreeClean " rv-class-hidden ="repo.workingTreeClean ">
114
119
< td class ="collapsing negative ">
115
120
< i class ="folder icon "> </ i > {repo.name}
116
121
</ td >
117
- < td class ="ui right aligned " rv-on-click ="removeItem "> < div class ="ui button tiny center aligned "> < i class ="icon trash "> </ i > Remove</ div > </ td >
122
+ < td class ="ui right aligned " rv-on-click ="app. removeItem "> < div class ="ui button tiny center aligned "> < i class ="icon trash "> </ i > Remove</ div > </ td >
118
123
</ tr >
119
124
</ tbody >
120
125
</ table >
@@ -125,6 +130,6 @@ <h6 style="margin-top: 0;">By: olitomas.com</h6>
125
130
126
131
< script >
127
132
// You can also require other files to run in this process
128
- require ( './renderer.js' )
133
+ require ( './renderer.js' ) ;
129
134
</ script >
130
135
</ html >
0 commit comments