features.html.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php include '../../common/view/header.lite.html.php';?>
  2. <?php include '../../common/view/carousel.html.php';?>
  3. <?php js::set('features', $features);?>
  4. <main id='features'>
  5. <header>
  6. <ul class='nav nav-simple' id='featuresNav'>
  7. <?php foreach($features as $key => $feature): ?>
  8. <li <?php echo $key == 0 ? "class='active'" : '';?>><a class='slide-feature-to' data-slide-to='<?php echo $key;?>' href='#featuresCarousel'><?php echo $lang->misc->feature->$feature; ?></a></li>
  9. <?php endforeach;?>
  10. </ul>
  11. </header>
  12. <div id='featuresCarousel' class='carousel slide' data-ride='carousel' data-interval='false'>
  13. <ol class='carousel-indicators'>
  14. <?php if(count($features) > 1):?>
  15. <?php foreach($features as $key => $feature): ?>
  16. <li data-target='#featuresCarousel' data-slide-to='<?php echo $key;?>' <?php echo $key == 0 ? "class='active'" : ''?>></li>
  17. <?php endforeach;?>
  18. <?php endif;?>
  19. </ol>
  20. <div class='carousel-inner'>
  21. <?php foreach($features as $key => $feature): ?>
  22. <div class='item <?php echo $key == 0 ? 'active' : '';?>' style='height: 395px'>
  23. <?php if($feature == 'introduction'):?>
  24. <div class='article-content text-center'>
  25. <video src="<?php echo $lang->install->guideVideo;?>" height="320px" controls ="controls" id='guideVideo'></video>
  26. <div class='text-center' style='position:relative'>
  27. <p><?php echo $lang->install->introduction;?></p>
  28. <div class='download-file'>
  29. <a href='https://dl.zentao.net/zentao/zentaoconcept.pdf' target='_blank'><?php echo $lang->misc->feature->downloadFile;?></a>
  30. </div>
  31. </div>
  32. </div>
  33. <?php elseif($feature == 'tutorial'):?>
  34. <div class='text-center'>
  35. <?php echo $lang->misc->feature->tutorialDesc;?>
  36. <img class='text-center' src='<?php echo $config->webRoot . $lang->misc->feature->tutorialImage;?>' />
  37. </div>
  38. <?php elseif($feature == 'youngBlueTheme'):?>
  39. <div class='text-center'>
  40. <?php echo $lang->misc->feature->themeDesc;?>
  41. <img class='text-center' src='<?php echo $config->webRoot . $lang->misc->feature->youngBlueImage;?>' />
  42. </div>
  43. <?php elseif($feature == 'visions'):?>
  44. <div class='text-center'>
  45. <?php echo $lang->misc->feature->visionsDesc;?>
  46. <img class='text-center' src='<?php echo $config->webRoot . $lang->misc->feature->visionsImage;?>' />
  47. </div>
  48. <?php endif;?>
  49. </div>
  50. <?php endforeach;?>
  51. </div>
  52. </div>
  53. <footer>
  54. <button type='button' class='btn btn-primary btn-wide slide-feature-to-next btn-slide-next'><?php echo $lang->misc->feature->nextStep; ?></button>
  55. <button type='button' data-dismiss='modal' class='btn btn-primary btn-wide btn-close-modal'><?php echo $lang->misc->feature->close; ?></button>
  56. </footer>
  57. </main>
  58. <?php include '../../common/view/footer.lite.html.php';?>