mirror of
https://github.com/ansible/awx.git
synced 2026-07-10 07:48:05 -02:30
Created an Angular slider directive to support JQueryUI slider widget. Job Template page now uses a slider for Forks value. User can set the value with the slider or type in a value btwn 0 and 100. Additionally turned verbosity into a drop-down.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap-responsive.min.css" />
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}css/font-awesome.min.css" />
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}css/redmond/jquery-ui-1.10.3.custom.min.css" />
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}css/ansible-ui.css" />
|
||||
<link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.ico" />
|
||||
<script src="{{ STATIC_URL }}js/config.js"></script>
|
||||
@@ -214,13 +215,13 @@
|
||||
</div><!-- site footer -->
|
||||
|
||||
<script src="{{ STATIC_URL }}lib/jquery/jquery-1.9.1.min.js"></script>
|
||||
<script src="{{ STATIC_URL }}lib/jquery/jquery-ui-1.10.3.custom.min.js"></script>
|
||||
<script src="{{ STATIC_URL }}lib/twitter/bootstrap.min.js"></script>
|
||||
<script src="{{ STATIC_URL }}lib/jstree/jquery.jstree.js"></script>
|
||||
<script>
|
||||
$('a[data-toggle="tab"]').on('show', function (e) {
|
||||
var url = $(e.target).text();
|
||||
var regx = new RegExp('/\#\/' + url.toLowerCase().replace(/ /g,'_') + '/');
|
||||
|
||||
var loc = window.location.toString();
|
||||
if (! regx.test(loc)) {
|
||||
window.location = '#/' + url.toLowerCase().replace(/ /g,'_');
|
||||
|
||||
Reference in New Issue
Block a user