superdesk/superdesk-client-core

View on GitHub
scripts/apps/users/activity-widget/configuration.html

Summary

Maintainability
Test Coverage
<div ng-controller="ActivityConfigController" class="widget-config">
    <form>
        <fieldset>
            <div class="form__group form__group--inline-label sd-margin-t--1 sd-margin-b--0">
                <div class="form__item form__item--auto-width">
                    <div class="sd-input sd-input--is-select">
                        <label class="sd-input__label" for="" translate>Number of items</label>
                        <select ng-model="configuration.maxItems" class="sd-input__select">
                            <option value="5">5</option>
                            <option value="10">10</option>
                            <option value="25">25</option>
                            <option value="50">50</option>
                        </select>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>
</div>