File tree Expand file tree Collapse file tree 4 files changed +32
-23
lines changed Expand file tree Collapse file tree 4 files changed +32
-23
lines changed Original file line number Diff line number Diff line change 98
98
transform : translateY (-50% );
99
99
}
100
100
101
- button .plusBtn {
101
+ button .plusBtn span {
102
102
font-size : 24pt ;
103
- display : block;
103
+ font-family : monospace;
104
+ }
105
+
106
+ button .plusBtn {
104
107
width : 100% ;
105
108
max-width : 200px ;
106
109
padding : 0 ;
107
110
overflow : hidden;
108
- margin-top : 10px ;
109
111
}
110
112
111
113
/* Form Elements */
@@ -335,4 +337,4 @@ div.searchWrapper>* {
335
337
336
338
div .searchWrapper > * : hover {
337
339
background : var (--light_panel_background );
338
- }
340
+ }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ table.longTable tr:not(:last-child) {
16
16
17
17
table tr ,
18
18
table td {
19
- padding : 8 px 20px 8 px 4px ;
19
+ padding : 0 20px 0 4px ;
20
20
overflow : hidden;
21
21
white-space : nowrap;
22
22
}
@@ -139,4 +139,4 @@ tr.key>td:first-child {
139
139
tr .key > td : last-child {
140
140
border-top-right-radius : 10px ;
141
141
border-bottom-right-radius : 10px ;
142
- }
142
+ }
Original file line number Diff line number Diff line change 92
92
?>
93
93
94
94
<h1>Account Settings</h1>
95
- <hr>
96
95
96
+ <hr>
97
97
<h5>Account Details</h5>
98
-
99
- <p>
100
- <strong>Username</strong> <code><?php echo $ USER ->getUID (); ?> </code>
101
- <br>
102
- <strong>Organization</strong> <code><?php echo $ USER ->getOrg (); ?> </code>
103
- <br>
104
- <strong>Email</strong> <code><?php echo $ USER ->getMail (); ?> </code>
105
- </p>
98
+ <table>
99
+ <tr>
100
+ <th>Username</th>
101
+ <td><code><?php echo $ USER ->getUID (); ?> </code></td>
102
+ </tr>
103
+ <tr>
104
+ <th>Organization</th>
105
+ <td><code><?php echo $ USER ->getOrg (); ?> </code></td>
106
+ </tr>
107
+ <tr>
108
+ <th>Email</th>
109
+ <td><code><?php echo $ USER ->getMail (); ?> </code></td>
110
+ </tr>
111
+ </table>
106
112
107
113
<hr>
108
-
109
114
<h5>Account Status</h5>
110
115
116
+
111
117
<?php
112
118
113
119
$ isActive = count ($ USER ->getGroups ()) > 0 ;
162
168
?>
163
169
164
170
<hr>
165
-
166
171
<h5>SSH Keys</h5>
172
+
167
173
<?php
168
174
$ sshPubKeys = $ USER ->getSSHKeys (); // Get ssh public key attr
169
175
189
195
190
196
?>
191
197
192
- <button type="button" class="plusBtn btnAddKey">+</button>
198
+ <button type="button" class="plusBtn btnAddKey"><span> +</span> </button>
193
199
194
200
<hr>
201
+ <h5>Login Shell</h5>
195
202
196
203
<form action="" method="POST">
197
204
<input type="hidden" name="form_type" value="loginshell" />
205
212
<br>
206
213
<input id='submitLoginShell' type='submit' value='Set Login Shell' />
207
214
</form>
208
- <hr>
209
215
216
+ <hr>
210
217
<h5>Account Deletion</h5>
218
+
211
219
<?php
212
220
$ hasGroups = count ($ USER ->getGroups ()) > 0 ;
213
221
234
242
235
243
?>
236
244
237
- <hr>
238
-
239
245
<script>
240
246
const sitePrefix = '<?php echo $ CONFIG ["site " ]["prefix " ]; ?> ';
241
247
const ldapLoginShell = '<?php echo $ USER ->getLoginShell (); ?> ';
@@ -286,6 +292,7 @@ function enableOrDisableSubmitLoginShell() {
286
292
word-break: break-all;
287
293
width: calc(100% - 44px);
288
294
border-radius: 3px 0 0 3px;
295
+ font-family: monospace;
289
296
}
290
297
</style>
291
298
Original file line number Diff line number Diff line change 127
127
128
128
<?php
129
129
if ($ SQL ->accDeletionRequestExists ($ USER ->getUID ())) {
130
- echo "<button type='button' class='plusBtn btnAddPI' disabled>+</button> " ;
130
+ echo "<button type='button' class='plusBtn btnAddPI' disabled><span> +</span> </button> " ;
131
131
echo "<label>You cannot join a PI while you have requested account deletion.</label> " ;
132
132
} else {
133
- echo "<button type='button' class='plusBtn btnAddPI'>+</button> " ;
133
+ echo "<button type='button' class='plusBtn btnAddPI'><span> +</span> </button> " ;
134
134
}
135
135
?>
136
136
You can’t perform that action at this time.
0 commit comments