File tree Expand file tree Collapse file tree 5 files changed +20
-8
lines changed
Expand file tree Collapse file tree 5 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -122,4 +122,5 @@ packet/static/mstile-310x150.png
122122packet /static /mstile-310x310.png
123123packet /static /mstile-70x70.png
124124packet /static /safari-pinned-tab.svg
125- packet /static /site.webmanifest
125+ packet /static /site.webmanifest
126+ faviconData.json
Original file line number Diff line number Diff line change 1+ .sign-packet {
2+ float : right ;
3+ text-align : right ;
4+ }
Original file line number Diff line number Diff line change @@ -3,4 +3,5 @@ $csh-pink: #b0197e;
33@import " partials/base" ;
44
55@import " components/switches" ;
6- @import " components/datatables" ;
6+ @import " components/datatables" ;
7+ @import " components/buttons" ;
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ def index(info=None):
2020 "name" : "Testiboi" ,
2121 "signatures" : 12 ,
2222 "uid" : 111
23+ },
24+ {
25+ "name" : "Ram Zallllllan" ,
26+ "signatures" : 69 ,
27+ "uid" : 420
2328 }
2429 ]
2530 return render_template ("active_packets.html" , info = info , freshmen = freshmen )
Original file line number Diff line number Diff line change @@ -28,10 +28,7 @@ <h3 class="page-title">Active Packets</h3>
2828 {% for m in freshmen %}
2929 < tr >
3030 < td >
31- < img class ="eval-user-img " alt ="{{ m['uid'] }} "
32- src ="https://profiles.csh.rit.edu/image/{{ m['uid'] }} "
33- width ="30 "
34- height ="30 "/> {{ m['name'] }}
31+ {{ m['name'] }}
3532 </ td >
3633 < td >
3734 < span class ="glyphicon glyphicon-ok-sign green eval-info-status "> </ span >
@@ -41,8 +38,12 @@ <h3 class="page-title">Active Packets</h3>
4138 < span class ="glyphicon glyphicon-ok-sign green eval-info-status "> </ span >
4239 {{ m['total_percent'] }}
4340 </ td >
44- < td >
45- Sign Packet Button
41+ < td class ="sign-packet " align ="right ">
42+ {# if not signed #}
43+ < button class ="btn btn-primary "> Sign</ button >
44+ {# else if signed #}
45+ < button class ="btn btn-primary " disabled ="disabled "> < i class ="fa fa-check "> </ i > Signed</ button >
46+ {# endif #}
4647 </ td >
4748 </ tr >
4849 {% endfor %}
You can’t perform that action at this time.
0 commit comments