Skip to content

Instantly share code, notes, and snippets.

@joshdcomp
Created January 8, 2013 21:17
Show Gist options
  • Save joshdcomp/4488029 to your computer and use it in GitHub Desktop.
Save joshdcomp/4488029 to your computer and use it in GitHub Desktop.
<div class="container content">
<?php
$devices_table = get_device_overview_data();
build_device_table($devices_table);
?>
</div> <!-- .cotnainer.content -->
//or, more significantly:
<?php
/*
FOOTER.php
*/
if($page_type === 'table'): ?>
<div class="controls">
<div class="pagination-controls bottom">
<span class="pag-summary">
Viewing <span class="num current">1-20</span> of <span class="num total">100</span>
</span>
<span class="pag-prefs">
<ul>
<li class="current-pref">20</li>
<li><a href="" class="middle">50</a></li>
<li><a href="login.html">View All</a></li>
</ul>
</span>
<span class="pag-nav">
<a href="" class="prev">
Previous Page
<!--important to not have space between the tags here-->
</a><a href="" class="next">
Next Page
</a>
</span>
</div> <!-- .pagination-controls -->
</div> <!-- .controls -->
<?php endif; ?>
</div><!-- .container.main_container -->
<?php import_scripts($libs); ?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment