Browse Source

Updates to docs

1.x
jlukic 10 years ago
parent
commit
2a2c46ff43
  1. 62
      server/documents/collections/form.html.eco
  2. 64
      server/documents/hotfix.html.eco
  3. 1
      server/documents/modules/progress.html.eco
  4. 2
      server/documents/modules/video.html.eco
  5. 2
      server/files/javascript/progress.js

62
server/documents/collections/form.html.eco

@ -1,6 +1,7 @@
---
layout : 'default'
css : 'form'
standalone : true
element : 'form'
elementType : 'collection'
@ -58,6 +59,67 @@ themes : ['Default', 'Flat', 'Chubby', 'GitHub']
</div>
</div>
</div>
<div class="two fields">
<div class="field">
<label>State</label>
<select class="ui search dropdown">
<option value="">State</option>
<option value="AL">Alabama</option>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
<option value="DC">District Of Columbia</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
<option value="IL">Illinois</option>
<option value="IN">Indiana</option>
<option value="IA">Iowa</option>
<option value="KS">Kansas</option>
<option value="KY">Kentucky</option>
<option value="LA">Louisiana</option>
<option value="ME">Maine</option>
<option value="MD">Maryland</option>
<option value="MA">Massachusetts</option>
<option value="MI">Michigan</option>
<option value="MN">Minnesota</option>
<option value="MS">Mississippi</option>
<option value="MO">Missouri</option>
<option value="MT">Montana</option>
<option value="NE">Nebraska</option>
<option value="NV">Nevada</option>
<option value="NH">New Hampshire</option>
<option value="NJ">New Jersey</option>
<option value="NM">New Mexico</option>
<option value="NY">New York</option>
<option value="NC">North Carolina</option>
<option value="ND">North Dakota</option>
<option value="OH">Ohio</option>
<option value="OK">Oklahoma</option>
<option value="OR">Oregon</option>
<option value="PA">Pennsylvania</option>
<option value="RI">Rhode Island</option>
<option value="SC">South Carolina</option>
<option value="SD">South Dakota</option>
<option value="TN">Tennessee</option>
<option value="TX">Texas</option>
<option value="UT">Utah</option>
<option value="VT">Vermont</option>
<option value="VA">Virginia</option>
<option value="WA">Washington</option>
<option value="WV">West Virginia</option>
<option value="WI">Wisconsin</option>
<option value="WY">Wyoming</option>
</select>
</div>
<div class="field"></div>
</div>
<div class="field">
<label>Biography</label>
<textarea></textarea>

64
server/documents/hotfix.html.eco

@ -11,7 +11,7 @@ standalone : true
<!-- TEST JS HERE !-->
<script>
$(document).ready(function() {
$('.ui.dropdown').dropdown();
$('.dropdown').dropdown();
});
</script>
@ -21,57 +21,15 @@ $(document).ready(function() {
</style>
<div class="main container" style="width: 1000px; margin: 0 auto;">
<div class="ui accordion">
<div class="active title">
<i class="dropdown icon"></i>
What is a dog?
</div>
<div class="active content">
<p>A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.</p>
</div>
<div class="title">
<i class="dropdown icon"></i>
What kinds of dogs are there?
</div>
<div class="content">
<p>There are many breeds of dogs. Each breed varies in size and temperament. Owners often select a breed of dog that they find to be compatible with their own lifestyle and desires from a companion.</p>
</div>
<div class="title">
<i class="dropdown icon"></i>
How do you acquire a dog?
</div>
<div class="content">
<p>Three common ways for a prospective owner to acquire a dog is from pet shops, private owners, or shelters.</p>
<p>A pet shop may be the most convenient way to buy a dog. Buying a dog from a private owner allows you to assess the pedigree and upbringing of your dog before choosing to take it home. Lastly, finding your dog from a shelter, helps give a good home to a dog who may not find one so readily.</p>
</div>
</div>
<div class="ui form">
<div class="ui menu">
<select class="ui search dropdown item" id="FundId" name="FundId">
<option value="">Select a Fund</option>
<option value="-4CRRvSHigsjdnwoflfp8w2">anbbb</option>
<option value="7VTzjodui7ipNPQAvn5kUA2">axbbb</option>
<option value="v-AYJV19r7ynfjwslQ35Fg2">acccc</option>
<option value="v-qdeV19r7ynfjwslQ35Fg2">acddd</option>
</select>
</div>
<div class="example">
<h4 class="ui header">Styled</h4>
<p>A styled accordion adds basic formatting</p>
<div class="ui styled accordion">
<div class="active title">
<i class="dropdown icon"></i>
What is a dog?
</div>
<div class="active content">
<p>A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.</p>
</div>
<div class="title">
<i class="dropdown icon"></i>
What kinds of dogs are there?
</div>
<div class="content">
<p>There are many breeds of dogs. Each breed varies in size and temperament. Owners often select a breed of dog that they find to be compatible with their own lifestyle and desires from a companion.</p>
</div>
<div class="title">
<i class="dropdown icon"></i>
How do you acquire a dog?
</div>
<div class="content">
<p>Three common ways for a prospective owner to acquire a dog is from pet shops, private owners, or shelters.</p>
<p>A pet shop may be the most convenient way to buy a dog. Buying a dog from a private owner allows you to assess the pedigree and upbringing of your dog before choosing to take it home. Lastly, finding your dog from a shelter, helps give a good home to a dog who may not find one so readily.</p>
</div>
</div>
</div>
</div>

1
server/documents/modules/progress.html.eco

@ -1,6 +1,7 @@
---
layout : 'default'
css : 'progress'
standalone : true
element : 'progress'
elementType : 'module'

2
server/documents/modules/video.html.eco

@ -5,7 +5,7 @@ element : 'video'
elementType : 'module'
title : 'Video'
description : 'A video is used to display moving visual images and related playback options'
description : 'A video displays moving images with playback controls'
type : 'UI Module'
status : 'Undocumented'

2
server/files/javascript/progress.js

@ -15,7 +15,7 @@ semantic.progress.ready = function() {
$buttons
.on('click', function() {
var
$progress = $(this).closest('.example').find('.progress')
$progress = $(this).closest('.example').find('.ui.progress')
;
if( $(this).hasClass('increment') ) {
$progress.progress('increment');

Loading…
Cancel
Save