Commit c93a3ce2 by bergquist

feat(playlist): make default timespan placeholder

parent 3d60d0df
......@@ -2,7 +2,7 @@
<div class="page-container" ng-form="playlistEditForm">
<div class="page">
<h4>Creating new playlist</h4><br><br>
<h2>Create new playlist</h2><br><br>
<div class="row" style="margin-bottom: 10px;">
<div>
<div class="tight-form">
......@@ -11,18 +11,18 @@
<strong>Title</strong>
</li>
<li>
<input type="text" required ng-model="playlist.title" class="input-xxlarge tight-form-input last">
<input type="text" required ng-model="playlist.title" class="input-xlarge tight-form-input">
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="tight-form">
<div class="tight-form last">
<ul class="tight-form-list">
<li class="tight-form-item" style="width: 100px">
<strong>Timespan</strong>
</li>
<li>
<input type="text" required ng-model="playlist.timespan" class="input-xxlarge tight-form-input last">
<input type="text" required ng-model="playlist.timespan" placeholder="5m" class="input-xlarge tight-form-input">
</li>
</ul>
<div class="clearfix"></div>
......
......@@ -24,9 +24,7 @@ function (angular, config, _) {
controller : 'PlaylistEditCtrl',
resolve: {
playlist: function() {
return {
timespan: '1m'
};
return {};
},
dashboards: function() {
return [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment