85 lines
2.1 KiB
Scheme
85 lines
2.1 KiB
Scheme
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>$Title » OpenStack Open Source Cloud Computing Software</title>
|
|
|
|
<% base_tag %>
|
|
|
|
<!-- Google Fonts -->
|
|
<link href='{$CurrentProtocol}fonts.googleapis.com/css?family=PT+Sans&subset=latin' rel='stylesheet' type='text/css'>
|
|
|
|
<!-- Framework CSS -->
|
|
<link rel="stylesheet" href="/themes/openstack/css/blueprint/screen.css" type="text/css" media="screen, projection">
|
|
<link rel="stylesheet" href="/themes/openstack/css/blueprint/print.css" type="text/css" media="print">
|
|
|
|
<!-- IE CSS -->
|
|
<!--[if lt IE 8]><link rel="stylesheet" href="/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
|
|
|
|
<!-- OpenStack Specific CSS -->
|
|
<% require themedCSS(main) %>
|
|
<link rel="stylesheet" href="/themes/openstack/css/dropdown.css" type="text/css" media="screen, projection, print">
|
|
</head>
|
|
<body id="$URLSegment">
|
|
|
|
<div class="container">
|
|
<div id="header">
|
|
<div class="span-5">
|
|
<h1 id="logo"><a href="/">Open Stack</a></h1>
|
|
</div>
|
|
<div class="span-19 last blueLine">
|
|
|
|
<div id="navigation" class="span-19">
|
|
<ul id="Menu1">
|
|
<li><a href="/sangria/">Sangria</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Page Content -->
|
|
|
|
<div class="container">
|
|
$Message
|
|
$Layout
|
|
</div>
|
|
|
|
|
|
<script type="text/javascript">
|
|
jQuery(document).ready(function($){
|
|
|
|
$('table.stories').tableDnD({
|
|
dragHandle: ".dragHandle"
|
|
});
|
|
|
|
|
|
$('form.UpdateStories').on('submit',function(e){
|
|
var i = 1;
|
|
$(this).find('.order').each(function(){
|
|
$(this).val(i);
|
|
i++;
|
|
})
|
|
});
|
|
|
|
$('td.userStoryTitle').click(function(e){
|
|
var target = $(e.target);
|
|
if(!target.is('input') && !target.is('a')){
|
|
var val = $(this).find('input[type=text]').val();
|
|
$(this).find('span').html( val ).toggle();
|
|
$(this).find('input').toggle();
|
|
}
|
|
});
|
|
|
|
$('td.userStoryTitle').blur(function(){
|
|
console.log($(this).val());
|
|
$(this).parent().find('span').html( $(this).val() );
|
|
});
|
|
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|