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 9898 transform : translateY (-50% );
9999}
100100
101- button .plusBtn {
101+ button .plusBtn span {
102102 font-size : 24pt ;
103- display : block;
103+ font-family : monospace;
104+ }
105+
106+ button .plusBtn {
104107 width : 100% ;
105108 max-width : 200px ;
106109 padding : 0 ;
107110 overflow : hidden;
108- margin-top : 10px ;
109111}
110112
111113/* Form Elements */
@@ -335,4 +337,4 @@ div.searchWrapper>* {
335337
336338div .searchWrapper > * : hover {
337339 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) {
1616
1717table tr ,
1818table td {
19- padding : 8 px 20px 8 px 4px ;
19+ padding : 0 20px 0 4px ;
2020 overflow : hidden;
2121 white-space : nowrap;
2222}
@@ -139,4 +139,4 @@ tr.key>td:first-child {
139139tr .key > td : last-child {
140140 border-top-right-radius : 10px ;
141141 border-bottom-right-radius : 10px ;
142- }
142+ }
Original file line number Diff line number Diff line change 9292?>
9393
9494<h1>Account Settings</h1>
95- <hr>
9695
96+ <hr>
9797<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>
106112
107113<hr>
108-
109114<h5>Account Status</h5>
110115
116+
111117<?php
112118
113119$ isActive = count ($ USER ->getGroups ()) > 0 ;
162168?>
163169
164170<hr>
165-
166171<h5>SSH Keys</h5>
172+
167173<?php
168174$ sshPubKeys = $ USER ->getSSHKeys (); // Get ssh public key attr
169175
189195
190196?>
191197
192- <button type="button" class="plusBtn btnAddKey">+</button>
198+ <button type="button" class="plusBtn btnAddKey"><span> +</span> </button>
193199
194200<hr>
201+ <h5>Login Shell</h5>
195202
196203<form action="" method="POST">
197204<input type="hidden" name="form_type" value="loginshell" />
205212<br>
206213<input id='submitLoginShell' type='submit' value='Set Login Shell' />
207214</form>
208- <hr>
209215
216+ <hr>
210217<h5>Account Deletion</h5>
218+
211219<?php
212220$ hasGroups = count ($ USER ->getGroups ()) > 0 ;
213221
234242
235243?>
236244
237- <hr>
238-
239245<script>
240246 const sitePrefix = '<?php echo $ CONFIG ["site " ]["prefix " ]; ?> ';
241247 const ldapLoginShell = '<?php echo $ USER ->getLoginShell (); ?> ';
@@ -286,6 +292,7 @@ function enableOrDisableSubmitLoginShell() {
286292 word-break: break-all;
287293 width: calc(100% - 44px);
288294 border-radius: 3px 0 0 3px;
295+ font-family: monospace;
289296 }
290297</style>
291298
Original file line number Diff line number Diff line change 127127
128128<?php
129129if ($ 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> " ;
131131 echo "<label>You cannot join a PI while you have requested account deletion.</label> " ;
132132} else {
133- echo "<button type='button' class='plusBtn btnAddPI'>+</button> " ;
133+ echo "<button type='button' class='plusBtn btnAddPI'><span> +</span> </button> " ;
134134}
135135?>
136136
You can’t perform that action at this time.
0 commit comments