Commit 43d0bea2 authored by Davis King's avatar Davis King

Cleaned up the html a lot. The page doesn't use tables for layout anymore.

parent af928c9a
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
This page documents library components that are all basically just implementations of
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
This page documents all the tools within the dlib library that relate
......
......@@ -10,7 +10,6 @@
<body>
<br/><br/>
<p>
One of the major goals of dlib is to have documentation that enables
someone to easily make use of its various components. Ideally,
......
......@@ -11,7 +11,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<h2>Compiling on Any Operating System Using CMake</h2>
The best way to compile a program that uses dlib is to use <a href="http://www.cmake.org">CMake</a>. For
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
This page contains a bunch of objects that implement various parts of compression algorithms.
They can be put together in different ways to construct many different algorithms.
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
Many of these containers were inspired by the work of the <a
href="http://www.cse.ohio-state.edu/~weide/rsrg/index.html">Reusable
......
body {margin:0px;}
/*
* Overall page layout stuff. It goes like:
*
* ============ page_header =============
* | |
* ============ top_content =============
* | | | |
* | main_menu | main_text | right_menu |
* | | | |
* ============ bottom_content ==========
* | |
* | . |
* | . |
* | . |
* | |
*/
body
{
margin:0px;
background-color: #EDF3EE;
width:62.5em;
margin-left: auto;
margin-right: auto;
}
#page_header {
height:59px;
text-align: left;
margin-top: 0.4em;
}
#top_content
{
width: 100%;
height: 900px;
display: table;
}
#top_content > div
{
display: table-cell;
}
#main_menu
{
width: fit-content;
padding-bottom: 6em; /* So the menu_footer always has room. */
}
#main_text
{
background-color: white;
border: 1px solid rgb(102,102,102);
width: 100%;
}
#main_text_title
{
margin-top: 10px;
margin-bottom: 20px;
text-align: center;
font-size: 2.1em;
font-weight: bold;
}
#main_text_body
{
vertical-align: top;
padding-left: 10px;
padding-right: 10px;
}
#right_menu
{
width: fit-content;
min-width: 9em;
}
div.menu
{
vertical-align: top;
position: relative;
background-color:#F5F5F5;
padding:7px;
border: 1px solid rgb(102,102,102);
}
div.menu_top {
}
div.menu_footer {
position: absolute;
bottom: 10px;
}
#bottom_content
{
}
/* ============================================================= */
pre {margin:0px;}
ul.tree li { list-style: none; margin-left:10px;}
......@@ -7,6 +103,7 @@ ul.tree li ul { margin-left:10px; padding:0px; }
li#term { list-style: none; }
div.component {
background-color:white;
border: 2px solid rgb(102,102,102);
......@@ -119,25 +216,6 @@ div.tdn {
clear: both;
}
body {
text-align: center;
}
div.entire_page_header {
width:62.5em;
height:59px;
text-align: left;
margin-top: 0.4em;
margin-left: auto;
margin-right: auto;
}
div.entire_page {
width:62.5em;
text-align: left;
margin-left: auto;
margin-right: auto;
clear:both;
}
a {
text-decoration: none;
......@@ -196,3 +274,4 @@ div {
font-weight: 400;
margin: 0;
}
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
In dlib, there are two types of graph representations. On the one
......
......@@ -9,7 +9,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<!-- **************************** EASY CONTRIBUTIONS **************************** -->
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
This page documents the functionality present in this library that deals with the
......
......@@ -9,7 +9,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
This page documents the core linear algebra tools included in dlib.
In particular, the three most important objects in this part of the library are the
......
......@@ -555,19 +555,8 @@
</top>
<bottom>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
Last Modified:<br/>
<last_modified_date/>
<br/>
<br/>
</bottom>
</menu>
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
This page documents library components that provide metaprogramming sorts of functionality. For
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<a href="ml_guide.svg"><img src="ml_guide.svg" width="100%"/></a>
<p>
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
This page documents tools built on top of the dlib <a href="api.html#sockets">sockets API</a>.
Therefore, all these tools are focused on providing some kind of higher level networking
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
This page documents library components that attempt to find the
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
......
......@@ -7,7 +7,6 @@
<!-- ************************************************************************* -->
<body>
<br/><br/>
<p>
This page documents the objects and functions that in some way deal with parsing or otherwise
......
......@@ -35,7 +35,6 @@
<!-- ************************************************************************* -->
<xsl:variable name="gray">#E3E3E3</xsl:variable>
<xsl:variable name="background_color">#EDF3EE</xsl:variable>
<!-- ************************************************************************* -->
<!-- ************************************************************************* -->
......@@ -83,9 +82,9 @@
<body bgcolor="{$background_color}">
<body>
<a name="top" />
<div class="entire_page_header">
<div id="page_header">
<xsl:if test="$is_chm != 'true'">
<div style="float:right;width:450px">
<script>
......@@ -104,20 +103,21 @@
</xsl:if>
<a href="http://dlib.net"><img src="dlib-logo.png"/></a>
</div>
<div class="entire_page">
<table bgcolor="white" height="100%" bordercolor="{$background_color}"
CELLSPACING="0" CELLPADDING="10" style="border:0px;margin-top:2px">
<tr height="100%">
<div id="top_content">
<div id="main_menu" class="menu">
<xsl:apply-templates select="document($main_menu)/doc/menu"/>
</div>
<!-- ************************************************************************* -->
<td VALIGN="TOP" width="100%" style="border: 1px solid rgb(102,102,102);" >
<xsl:if test="title">
<center><h1> <xsl:value-of select="title" /> </h1></center>
</xsl:if>
<xsl:apply-templates select="body"/>
<!-- ************************************************************************* -->
<div id="main_text">
<xsl:if test="title">
<div id="main_text_title"> <xsl:value-of select="title" /> </div>
</xsl:if>
<div id="main_text_body">
<xsl:apply-templates select="body"/>
<xsl:for-each select="questions">
<xsl:sort select="translate(@group,$lcletters, $ucletters)"/>
<xsl:if test="@group"><h2><xsl:value-of select="@group"/></h2></xsl:if>
......@@ -128,29 +128,32 @@
</xsl:for-each>
</ul>
</xsl:for-each>
</div>
</div>
</td>
<!-- ************************************************************************* -->
<xsl:choose>
<xsl:when test="menu/@from_file">
<xsl:apply-templates select="document(menu/@from_file)/doc/menu">
<xsl:with-param name="file_name" select="concat(substring-before(menu/@from_file,'.'),'.html')" />
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="menu"/>
</xsl:otherwise>
</xsl:choose>
<!-- ************************************************************************* -->
</tr>
</table>
<!-- ************************************************************************* -->
<xsl:choose>
<xsl:when test="menu/@from_file">
<div id="right_menu" class="menu">
<xsl:apply-templates select="document(menu/@from_file)/doc/menu">
<xsl:with-param name="file_name" select="concat(substring-before(menu/@from_file,'.'),'.html')" />
</xsl:apply-templates>
</div>
</xsl:when>
<xsl:otherwise>
<xsl:if test="menu">
<div id="right_menu" class="menu">
<xsl:apply-templates select="menu"/>
</div>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
<!-- ************************************************************************* -->
</div>
<div id="bottom_content">
<xsl:apply-templates select="components"/>
<xsl:apply-templates select="questions"/>
</div>
</body>
......@@ -209,21 +212,16 @@
<xsl:template match="menu">
<xsl:param name="file_name" />
<td BGCOLOR="#F5F5F5" style="padding:7px; border: 1px solid rgb(102,102,102);" VALIGN="TOP" height="100%">
<br/>
<table WIDTH="{@width}" height="100%">
<tr><td VALIGN="TOP">
<div class="menu_top">
<xsl:apply-templates select="top">
<xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates>
</td><td width="1"></td></tr>
<tr><td valign="bottom">
<xsl:apply-templates select="bottom">
<xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates>
</td></tr>
</table>
</td>
</div>
<div class="menu_footer">
<xsl:apply-templates select="bottom">
<xsl:with-param name="file_name" select="$file_name" />
</xsl:apply-templates>
</div>
</xsl:template>
<xsl:template match="item">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment