I'n able to use the Streams Dashboard successfully.

https://github.com/Graylog2/graylog2-stream-dashboard

When loading the app in a  browser I'd like the the "Server URL" field to 
be populated with a default value of my choice. (And if possible have the 
field as read only)

I've had a look at views/settings.html but my html skills are non-existent. 
See the extract from the settings.html below

        <div class="form-group">
          <label for="serverUrl">Server URL</label>
          <input type="url" ng-model="settings.serverUrl" required 
class="form-control" id="serverUrl" placeholder="Enter URL to Graylog2 
server">
        </div>
        <div class="form-group">
          <label for="username">Username</label>
          <input type="text" ng-model="settings.username" required 
class="form-control" id="username" placeholder="Enter Username">
        </div>
        <div class="form-group">
          <label for="password">Password</label>
          <input type="password" ng-model="settings.password" required 
class="form-control" id="password" placeholder="Password">
        </div>

is anyone able to edit the extract above to fulfil my requirements?

Thanks
Steve   

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to