Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions app/src/themeroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -600,9 +600,13 @@
source: [ "c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl" ]
});

// Button
$( "#button" ).button();
$( "#radioset").buttonset();
$( "#button-icon" ).button({
icon: "ui-icon-gear",
showLabel: false
});
$( "#radioset input").checkboxradio();
$( "#controlgroup").controlgroup();

// Tabs
$( "#tabs" ).tabs();
Expand Down
17 changes: 17 additions & 0 deletions template/themeroller/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ <h2 class="demoHeaders">Autocomplete</h2>
<!-- Button -->
<h2 class="demoHeaders">Button</h2>
<button id="button">A button element</button>
<button id="button-icon">An icon-only button</button>
</form>

<!-- Chechboxradio -->
<h2 class="demoHeaders">Checkboxradio</h2>
<form style="margin-top: 1em;">
<div id="radioset">
<input type="radio" id="radio1" name="radio"><label for="radio1">Choice 1</label>
Expand All @@ -70,6 +75,18 @@ <h2 class="demoHeaders">Button</h2>
</div>
</form>

<!-- Controlgroup -->
<h2 class="demoHeaders">Controlgroup</h2>
<div id="controlgroup">
<label for="transmission-standard">Standard</label>
<input type="radio" name="transmission" id="transmission-standard">
<label for="transmission-automatic">Automatic</label>
<input type="radio" name="transmission" id="transmission-automatic">
<label for="insurance">Insurance</label>
<input type="checkbox" name="insurance" id="insurance">
<button>Book Now!</button>
</div>

<!-- Tabs -->
<h2 class="demoHeaders">Tabs</h2>
<div id="tabs">
Expand Down