Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Content/HLStyling.js @ 6300

Last change on this file since 6300 was 6300, checked in by dkahn, 13 years ago

#1198 Added icon only styling option for buttons

File size: 793 bytes
Line 
1/*!
2Styling for heuristiclab via jQuery
3*/
4
5$(document).ready(
6
7function () {
8
9  $('input:submit, input:reset').each(function () {
10    $(this).replaceWith('<button class="' + $(this).attr('class') + '" type="' + $(this).attr('type') + '">' + $(this).val() + '</button>');
11  });
12
13
14  $('.hl-dataTable').dataTable(
15  {
16    "bJQueryUI": true
17  }
18
19  );
20  $(".hl-dataTable").addClass("display");
21
22  $(".hl-button-text-plus").button({ icons: { primary: 'ui-icon-plus'} });
23  $(".hl-icon-delete").button({ icons: { primary: 'ui-icon-close' }, text: false });
24  $(".hl-icon-edit").button({ icons: { primary: 'ui-icon-pencil' }, text: false });
25 
26
27  $(".hl-button").hover(
28    function () {
29      $(this).fadeOut(100);
30      $(this).fadeIn(100);
31    }
32  );
33
34}
35);
36
Note: See TracBrowser for help on using the repository browser.