Browse Source

Changes from 1.4.1

1.x
jlukic 10 years ago
parent
commit
91ff4fc176
  1. 2
      docpad.coffee
  2. 127
      server/documents/hotfix.html.eco
  3. 5
      server/documents/index.html.eco
  4. 5
      server/documents/modules/dropdown.html.eco
  5. 4
      server/files/javascript/docs.js
  6. 1
      server/files/stylesheets/home.css

2
docpad.coffee

@ -29,7 +29,7 @@ docpadConfig = {
# Here are some old site urls that you would like to redirect from # Here are some old site urls that you would like to redirect from
oldUrls: [], oldUrls: [],
version: "1.4.0", version: "1.4.1",
# The default title of our website # The default title of our website
title: "Semantic UI" title: "Semantic UI"

127
server/documents/hotfix.html.eco

@ -11,9 +11,6 @@ standalone : true
<!-- TEST JS HERE !--> <!-- TEST JS HERE !-->
<script> <script>
$(document).ready(function() { $(document).ready(function() {
$('.ui.accordion').accordion();
$('.ui.dropdown').dropdown();
$('.right.sidebar').sidebar('attach events', '#sidebar', 'show');
$('.ui.dropdown').dropdown(); $('.ui.dropdown').dropdown();
}); });
</script> </script>
@ -24,87 +21,57 @@ $(document).ready(function() {
</style> </style>
<div class="main container" style="width: 1000px; margin: 0 auto;"> <div class="main container" style="width: 1000px; margin: 0 auto;">
<div class="ui inverted blue menu"> <div class="ui accordion">
<div class="row"> <div class="active title">
<div class="ui dropdown item"> <i class="dropdown icon"></i>
<i class="dropdown icon"></i> What is a dog?
Dropdown item </div>
<div class="ui inverted blue menu"> <div class="active content">
<a class="active item">Dropdown sub-item 1</a> <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>
<a class="item">Dropdown sub-item 2</a> </div>
<a class="item">Dropdown sub-item 3</a> <div class="title">
</div> <i class="dropdown icon"></i>
</div> What kinds of dogs are there?
</div> </div>
</div> <div class="content">
<column class='leftcolumn'>LEFT</column> <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>
<column class='rightcolumn'>
RIGHT
<div class='ui button blue' id='sidebar'>Sidebar</div>
</column>
</div>
<div class="ui vertical inverted borderless sidebar menu left overlay visible">
<div class="item">
<a class="ui logo icon image" href="/">
<img src="http://placehold.it/40/cc095c/000000">
</a>
<a href="/"><b>Acme Inc.</b></a>
</div>
<div class="ui inverted accordion item">
<h4 class="ui dividing inverted header">Content Menu</h4>
<a class="active title"><i class="dropdown icon"></i> Entry</a>
<div class="active content">
<form class="ui inverted form vertical segment" method="post">
<div class="field">
<label>Group</label>
<select class="ui fluid dropdown" id="test1" name="test"><option value="">Select...</option><option value="1">Global</option></select>
</div> </div>
<div class="field"> <div class="title">
<label>Type</label> <i class="dropdown icon"></i>
<select class="ui fluid dropdown" id="test2" name="test2"> How do you acquire a dog?
<option value="">Select...</option><option value="1">Text</option>
<option value="2">String</option>
<option value="3">Boolean</option>
</select>
</div> </div>
<div class="field"> <div class="content">
<button class="right labeled blue ui icon button" name="Commit" type="submit" value="Add">Add <p>Three common ways for a prospective owner to acquire a dog is from pet shops, private owners, or shelters.</p>
<i class='add circle icon'></i> <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>
</button>
</div> </div>
</form> </div>
</div> </div>
</div>
</div>
<section class="ui sidebar right">
<div class='widget' >
<div class='ui form' >
<form id='bulk_update_form' action='#xxx'>
<div class="field" >
<label>Change Status</label>
<select class="ui fluid selection dropdown" name='field1' value='0' >
<option value="1"> one </option>
<option value="2"> two </option>
</select>
</div>
<div class="field" > <div class="example">
<label>Change Owner</label> <h4 class="ui header">Styled</h4>
<select class="ui fluid selection dropdown" name='field2' value='0' > <p>A styled accordion adds basic formatting</p>
<option value="1"> one </option> <div class="ui styled accordion">
<option value="2"> two </option> <div class="active title">
</select> <i class="dropdown icon"></i>
</div> What is a dog?
</div>
<center class=''> <div class="active content">
<button class='ui button blue' id='mybutton'> <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>
Update </div>
</button> <div class="title">
</center> <i class="dropdown icon"></i>
</form> 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>
</div>
</section>

5
server/documents/index.html.eco

@ -1,6 +1,7 @@
--- ---
layout : 'homepage' layout : 'homepage'
css : 'index' css : 'index'
standalone : true
--- ---
<div class="following bar"> <div class="following bar">
<div class="ui page grid"> <div class="ui page grid">

5
server/documents/modules/dropdown.html.eco

@ -2195,6 +2195,11 @@ themes : ['Default']
<td>click</td> <td>click</td>
<td>Event used to trigger dropdown (Hover, Click, Custom Event)</td> <td>Event used to trigger dropdown (Hover, Click, Custom Event)</td>
</tr> </tr>
<tr>
<td>sortSelect</td>
<td>false</td>
<td>Whether to sort values when creating a dropdown automatically from a select element.</td>
</tr>
<tr> <tr>
<td>allowTab</td> <td>allowTab</td>
<td>true</td> <td>true</td>

4
server/files/javascript/docs.js

@ -203,7 +203,9 @@ semantic.ready = function() {
translatePage: function(languageCode, text, $choice) { translatePage: function(languageCode, text, $choice) {
languageDropdownUsed = true; languageDropdownUsed = true;
window.Transifex.live.translateTo(languageCode, true); if(window.Transifex !== undefined) {
window.Transifex.live.translateTo(languageCode, true);
}
}, },
showLanguageModal: function(languageCode) { showLanguageModal: function(languageCode) {

1
server/files/stylesheets/home.css

@ -253,6 +253,7 @@
box-shadow 0.5s ease, box-shadow 0.5s ease,
border 0.5s ease border 0.5s ease
; ;
will-change: transform;
} }
#example.index .following.bar > .menu .item { #example.index .following.bar > .menu .item {
transition: all 0.5s ease; transition: all 0.5s ease;

Loading…
Cancel
Save