mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
This pull request implements UI for parameters and also allows to set the default value and type of a parameter. (Closes #583) Other changes in this pull request: - Loading/error state for dashboard widgets. - Refresh button on dashboard widgets (Closes #810). - Maintain sync between query/dashboard URL and current parameters, and preserve them when navigating. - Removed Pivot Table tab.
22 lines
785 B
HTML
22 lines
785 B
HTML
<div class="modal-header">
|
|
<button type="button" class="close" aria-label="Close" ng-click="close()"><span aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title">{{parameter.name}}</h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="form">
|
|
<div class="form-group">
|
|
<label>Title</label>
|
|
<input type="text" class="form-control" ng-model="parameter.title">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Type</label>
|
|
<select ng-model="parameter.type" class="form-control">
|
|
<option value="text">Text</option>
|
|
<option value="number">Number</option>
|
|
<option value="date">Date</option>
|
|
<option value="datetime-local">Date and Time</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|