Skip to content

Commit 7a13477

Browse files
committed
Requests, alignment and image size
1 parent 71df4de commit 7a13477

File tree

4 files changed

+21
-17
lines changed

4 files changed

+21
-17
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
.sign-packet {
22
float: right;
33
text-align: right;
4-
}
4+
}
5+
6+
.sign-button {
7+
float: right;
8+
}

packet/templates/active_packets.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ <h3 class="page-title">Active Packets</h3>
3131
<a href="/packet/{{ packet.freshman.rit_username }}">
3232
<img class="eval-user-img"
3333
alt="{{ packet.freshman.name }}"
34-
src="https://profiles.csh.rit.edu/image/{{ packet.freshman.rit_username }}"
35-
width="30"
36-
height="30"/> {{ get_freshman_name(packet.freshman.rit_username) }}
34+
src="https://www.gravatar.com/avatar/freshmen?d=mp&f=y"
35+
width="25"
36+
height="25"/> {{ get_freshman_name(packet.freshman.rit_username) }}
3737
</a>
3838
</td>
3939
<td>

packet/templates/packet.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ <h3>{{ freshman.name }}</h3>
1010
<div class="col">
1111
{% if (info.onfloor and info.uid != freshman.rit_username) or info.realm == "csh" %}
1212
{% if not packet_signed %}
13-
<button class="btn btn-primary sign-button alignright"
13+
<button class="btn btn-primary sign-button"
1414
data-freshman_uid="{{ freshman.rit_username }}"
1515
data-freshman_name="{{ freshman.name }}">Sign
1616
</button>
1717
{% else %}
18-
<button class="btn btn-primary alignright" disabled="disabled"><i
18+
<button class="btn btn-primary" disabled="disabled"><i
1919
class="fa fa-check"></i>&nbsp;Signed
2020
</button>
2121
{% endif %}
@@ -77,8 +77,8 @@ <h5>Upperclassmen Score</h5>
7777
{% endif %}
7878
<img class="eval-user-img" alt="{{ m['member'] }}"
7979
src="https://profiles.csh.rit.edu/image/{{ m['member'] }}"
80-
width="30"
81-
height="30"/> {{ get_display_name(m.member) }}
80+
width="25"
81+
height="25"/> {{ get_display_name(m.member) }}
8282
{% if info.realm == "csh" %}
8383
</a>
8484
{% endif %}
@@ -122,8 +122,8 @@ <h5>Upperclassmen Score</h5>
122122
{% endif %}
123123
<img class="eval-user-img" alt="{{ m['member'] }}"
124124
src="https://profiles.csh.rit.edu/image/{{ m['member'] }}"
125-
width="30"
126-
height="30"/> {{ get_display_name(m.member) }}
125+
width="25"
126+
height="25"/> {{ get_display_name(m.member) }}
127127
{% if info.realm == "csh" %}
128128
</a>
129129
{% endif %}
@@ -164,9 +164,9 @@ <h5>Upperclassmen Score</h5>
164164
<td>
165165
<a href="/packet/{{ m.freshman.rit_username }}">
166166
<img class="eval-user-img" alt="{{ m.freshman.rit_username }}"
167-
src="https://profiles.csh.rit.edu/image/{{ m.freshman.rit_username }}"
168-
width="30"
169-
height="30"/> {{ get_freshman_name(m.freshman.rit_username) }}
167+
src="https://www.gravatar.com/avatar/freshmen?d=mp&f=y"
168+
width="25"
169+
height="25"/> {{ get_freshman_name(m.freshman.rit_username) }}
170170
</a>
171171
</td>
172172
<td width="15%">
@@ -212,8 +212,8 @@ <h5>Upperclassmen Score</h5>
212212
{% endif %}
213213
<img class="eval-user-img" alt="{{ m['member'] }}"
214214
src="https://profiles.csh.rit.edu/image/{{ m['member'] }}"
215-
width="30"
216-
height="30"/> {{ get_display_name(m.member) }}
215+
width="25"
216+
height="25"/> {{ get_display_name(m.member) }}
217217
{% if info.realm == "csh" %}
218218
</a>
219219
{% endif %}

packet/templates/upperclassman.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ <h3 class="page-title">{{ get_display_name(member) }}</h3>
3131
<img class="eval-user-img"
3232
alt="{{ m.packet.freshman.name }}"
3333
src="https://profiles.csh.rit.edu/image/{{ m.packet.freshman.rit_username }}"
34-
width="30"
35-
height="30"/> {{ get_freshman_name(m.packet.freshman.name) }}
34+
width="25"
35+
height="25"/> {{ get_freshman_name(m.packet.freshman.name) }}
3636
</a>
3737
</td>
3838
<td>

0 commit comments

Comments
 (0)