diff options
| author | michael pereira | 2011-03-21 15:19:23 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-21 15:19:23 +0100 |
| commit | 7eb49950cff52458fa4a4688099adfc59b6c0437 (patch) | |
| tree | 4fbe067cdd9853dcdadddd04bff726308e93151d /application/modules/fbgui/views/scripts | |
| parent | Preboot und BootISO fertig (diff) | |
| parent | fbgui: serialnumber von bootmedium wird berücksichtigt zur Gruppenfindung (diff) | |
| download | pbs2-7eb49950cff52458fa4a4688099adfc59b6c0437.tar.gz pbs2-7eb49950cff52458fa4a4688099adfc59b6c0437.tar.xz pbs2-7eb49950cff52458fa4a4688099adfc59b6c0437.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/fbgui/views/scripts')
| -rw-r--r-- | application/modules/fbgui/views/scripts/index/index.phtml | 52 | ||||
| -rw-r--r-- | application/modules/fbgui/views/scripts/index/start.phtml | 100 |
2 files changed, 109 insertions, 43 deletions
diff --git a/application/modules/fbgui/views/scripts/index/index.phtml b/application/modules/fbgui/views/scripts/index/index.phtml index 4b38f0a..b2b813d 100644 --- a/application/modules/fbgui/views/scripts/index/index.phtml +++ b/application/modules/fbgui/views/scripts/index/index.phtml @@ -1,43 +1,9 @@ -<style> - a:link, - a:visited - { - color: #0398CA; - } - - span#zf-name - { - color: #91BE3F; - } - - div#welcome - { - color: #FFFFFF; - background-image: url(http://framework.zend.com/images/bkg_header.jpg); - width: 600px; - height: 400px; - border: 2px solid #444444; - overflow: hidden; - text-align: center; - } - - div#more-information - { - background-image: url(http://framework.zend.com/images/bkg_body-bottom.gif); - height: 100%; - } -</style> -<div id="welcome"> - <h1>Welcome to the <span id="zf-name">Zend Framework!</span></h1> - - <h3>This is your project's main page</h3> - - <div id="more-information"> - <p><img src="http://framework.zend.com/images/PoweredBy_ZF_4LightBG.png" /></p> - <p> - Helpful Links: <br /> - <a href="http://framework.zend.com/">Zend Framework Website</a> | - <a href="http://framework.zend.com/manual/en/">Zend Framework Manual</a> - </p> - </div> -</div>
\ No newline at end of file +<table> +<?php foreach($this->entries as $entry):?> +<tr> + <td><?php echo $entry->getID();?></td> + <td><?php echo $entry->getTitle();?></td> + <td><a href='/fbgui/index/start/bme/<?php echo $entry->getID();?>'>take this</td> +</tr> +<?php endforeach; ?> +</table> diff --git a/application/modules/fbgui/views/scripts/index/start.phtml b/application/modules/fbgui/views/scripts/index/start.phtml new file mode 100644 index 0000000..a8f91fe --- /dev/null +++ b/application/modules/fbgui/views/scripts/index/start.phtml @@ -0,0 +1,100 @@ +<style> +/* position the bars and balls correctly (rotate them and translate them outward)*/ +.bar1 { + -moz-transform:rotate(0deg) translate(0, -40px); + -webkit-transform:rotate(0deg) translate(0, -40px);opacity:0.12; +} +.bar2 { + -moz-transform:rotate(45deg) translate(0, -40px); + -webkit-transform:rotate(45deg) translate(0, -40px);opacity:0.25; +} +.bar3 { + -moz-transform:rotate(90deg) translate(0, -40px); + -webkit-transform:rotate(90deg) translate(0, -40px);opacity:0.37; +} +.bar4 { + -moz-transform:rotate(135deg) translate(0, -40px); + -webkit-transform:rotate(135deg) translate(0, -40px);opacity:0.50; +} +.bar5 { + -moz-transform:rotate(180deg) translate(0, -40px); + -webkit-transform:rotate(180deg) translate(0, -40px);opacity:0.62; +} +.bar6 { + -moz-transform:rotate(225deg) translate(0, -40px); + -webkit-transform:rotate(225deg) translate(0, -40px);opacity:0.75; +} +.bar7 { + -moz-transform:rotate(270deg) translate(0, -40px); + -webkit-transform:rotate(270deg) translate(0, -40px);opacity:0.87; +} +.bar8 { + -moz-transform:rotate(315deg) translate(0, -40px); + -webkit-transform:rotate(315deg) translate(0, -40px);opacity:1; +} +#div4 { + position:relative; + + width:100px; + height:100px; + -moz-border-radius:100px; + -webkit-border-radius:100px; + margin:25px auto; + -moz-transform:scale(0.5); + -webkit-transform:scale(0.5); + + -webkit-animation-name: rotateThis; + -webkit-animation-duration:2s; + -webkit-animation-iteration-count:infinite; + -webkit-animation-timing-function:linear; +} +#div4 div { + width:20px; + height:20px; + background:#000; + -moz-border-radius:40px; + -webkit-border-radius:40px; + position:absolute; + left:40px; + top:40px; +} +/* add a shadow to the first */ +#div4 div { + -moz-box-shadow:black 0 0 4px; + -webkit-box-shadow:black 0 0 4px; +} +/* uncomment this to use css animation in webkit browsers */ +/* @-webkit-keyframes rotateThis { + from {-webkit-transform:scale(0.5) rotate(0deg);} + to {-webkit-transform:scale(0.5) rotate(360deg);} +} */ +</style> +<script> + + //simple script to rotate all spinners 45 degrees on each tick + //this works differently from the css transforms, which is smooth + + var count = 0; + function rotate() { + var elem4 = document.getElementById('div4'); + + elem4.style.MozTransform = 'scale(0.5) rotate('+count+'deg)'; + elem4.style.WebkitTransform = 'scale(0.5) rotate('+count+'deg)'; + if (count==360) { count = 0 } + count+=45; + window.setTimeout(rotate, 100); + } + window.setTimeout(rotate, 100); +</script> + + +<div id="div4"> + <div class="bar1"></div> + <div class="bar2"></div> + <div class="bar3"></div> + <div class="bar4"></div> + <div class="bar5"></div> + <div class="bar6"></div> + <div class="bar7"></div> + <div class="bar8"></div> +</div> |
