7bf3476be9
* remove unused response-wrapping route and controller
* move to using the internal mounts endpoint for the secrets list and individual engine lookup
* remove errors about sys/mounts access because we don't need it anymore 🎉
* use modelFor instead of peekRecord for looking up the secret-engine
* remove test because we removed that error page - in the worst case scenario, a user will only have access to cubbyhole, but will see that in the secrets engines list
* make the dev CSP the same as the Go CSP
* update serializer to handle SSH responses as well as new engine fetches
* back out some changes to ttl-picker and field test object so that tests pass
* get rid of trailing space in the secret engine link
* add secrets-engine adapater tests for new query behavior
31 lines
837 B
Handlebars
31 lines
837 B
Handlebars
<label for="time-{{elementId}}" class="is-label {{labelClass}}">{{labelText}}</label>
|
|
<div class="field is-grouped">
|
|
<div class="control is-expanded">
|
|
<input
|
|
data-test-ttl-value
|
|
value={{time}}
|
|
id="time-{{elementId}}"
|
|
type="text"
|
|
name="time"
|
|
class="input"
|
|
oninput={{action 'changedValue' 'time'}}
|
|
/>
|
|
</div>
|
|
<div class="control is-expanded">
|
|
<div class="select is-fullwidth">
|
|
<select
|
|
data-test-ttl-unit
|
|
name="unit"
|
|
id="unit"
|
|
onchange={{action 'changedValue' 'unit'}}
|
|
>
|
|
{{#each unitOptions as |unitOption|}}
|
|
<option selected={{eq unit unitOption.value}} value={{unitOption.value}}>
|
|
{{unitOption.label}}
|
|
</option>
|
|
{{/each}}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|