lib/redis-browser/templates/index.slim in redis-browser-0.3.0 vs lib/redis-browser/templates/index.slim in redis-browser-0.3.1

- old
+ new

@@ -39,23 +39,12 @@ h4 Configure Redis Connection .modal-body .control-group label.control-label for="config-connection" Connection .controls - input type="text" id="config-connection" ng-model="config.connection" - span.help-block - | Examples: - code 127.0.0.1:6379 - | , - code= "/tmp/redis.sock" - | etc. + select id="config-connection" ng-model="config.connection" ng-options="name as name for (name, opts) in connections" ng-required="required" - .control-group - label.control-label for="config-database" Database - .controls - select id="config-database" ng-model="config.database" ng-options="i for i in config.databases" - .modal-footer span.alert.alert-error.pull-left ng-show="config.error" ' {{ config.error }} button.btn.btn-success type="submit" ng-click="config.save()" Save @@ -72,11 +61,9 @@ button.btn.btn-success ng-click="config.open()" Configure p.navbar-text.pull-right.connection-info ' Connected to strong ' {{ config.connection }} - small - ' ({{ config.database }}) .container-fluid .row-fluid .span3