|
142 | 142 | <span class="invalid-feedback">{validationErrors['email']}</span> |
143 | 143 | </div> |
144 | 144 | </div> |
145 | | - <div class="row mb-3 has-validation"> |
146 | | - <label for="username" class="col-sm-3 col-form-label text-end"> |
147 | | - <strong>Username</strong> |
148 | | - </label> |
149 | | - <div class="col-sm-9"> |
150 | | - <input |
151 | | - autocomplete="off" |
152 | | - aria-autocomplete="none" |
153 | | - type="text" |
154 | | - class="form-control" |
155 | | - id="username" |
156 | | - class:is-invalid={formSubmitted && validationErrors['username']} |
157 | | - bind:value={user.username} |
158 | | - /> |
159 | | - <span class="invalid-feedback">{validationErrors['username']}</span> |
160 | | - </div> |
161 | | - </div> |
162 | 145 | {#if user.id && user.id !== $page.data.userInfo.id} |
163 | 146 | <div class="row mb-3"> |
164 | 147 | <div class="col-sm-9 offset-sm-3"> |
|
213 | 196 | bind:value={password} |
214 | 197 | class:is-invalid={formSubmitted && validationErrors['password']} |
215 | 198 | /> |
| 199 | + <span class="form-text">Create a new password for this Fractal user</span> |
216 | 200 | <span class="invalid-feedback">{validationErrors['password']}</span> |
217 | 201 | </div> |
218 | 202 | </div> |
|
233 | 217 | </div> |
234 | 218 | <div class="row mb-3 has-validation"> |
235 | 219 | <label for="slurmUser" class="col-sm-3 col-form-label text-end"> |
236 | | - <strong>Slurm user</strong> |
| 220 | + <strong>SLURM user</strong> |
237 | 221 | </label> |
238 | 222 | <div class="col-sm-9"> |
239 | 223 | <input |
|
243 | 227 | bind:value={user.slurm_user} |
244 | 228 | class:is-invalid={formSubmitted && validationErrors['slurm_user']} |
245 | 229 | /> |
| 230 | + <div class="form-text"> |
| 231 | + The user who will be impersonated by Fractal when running SLURM jobs |
| 232 | + </div> |
246 | 233 | <span class="invalid-feedback">{validationErrors['slurm_user']}</span> |
247 | 234 | </div> |
248 | 235 | </div> |
| 236 | + <div class="row mb-3 has-validation"> |
| 237 | + <label for="username" class="col-sm-3 col-form-label text-end"> |
| 238 | + <strong>Username</strong> |
| 239 | + </label> |
| 240 | + <div class="col-sm-9"> |
| 241 | + <input |
| 242 | + autocomplete="off" |
| 243 | + aria-autocomplete="none" |
| 244 | + type="text" |
| 245 | + class="form-control" |
| 246 | + id="username" |
| 247 | + class:is-invalid={formSubmitted && validationErrors['username']} |
| 248 | + bind:value={user.username} |
| 249 | + /> |
| 250 | + <span class="form-text"> |
| 251 | + Optional property (useful if the user creates their own tasks), not required if the SLURM |
| 252 | + user is set |
| 253 | + </span> |
| 254 | + <span class="invalid-feedback">{validationErrors['username']}</span> |
| 255 | + </div> |
| 256 | + </div> |
249 | 257 | <div class="row mb-3 has-validation"> |
250 | 258 | <label for="cacheDir" class="col-sm-3 col-form-label text-end"> |
251 | 259 | <strong>Cache dir</strong> |
|
258 | 266 | bind:value={user.cache_dir} |
259 | 267 | class:is-invalid={formSubmitted && validationErrors['cache_dir']} |
260 | 268 | /> |
| 269 | + <div class="form-text"> |
| 270 | + Absolute path to a user-owned folder that will be used as a cache for job-related files |
| 271 | + </div> |
261 | 272 | <span class="invalid-feedback">{validationErrors['cache_dir']}</span> |
262 | 273 | </div> |
263 | 274 | </div> |
|
0 commit comments