doc/ns3_html_theme/layout.html
changeset 8935 2ce1f6bd9f8e
parent 8917 ddcacf32e8ab
child 8936 7bf5bc2eb3e0
equal deleted inserted replaced
8934:bc42868d23a7 8935:2ce1f6bd9f8e
    20     
    20     
    21   {%- if theme_favicon %}
    21   {%- if theme_favicon %}
    22     <link rel="icon" type="image/ico" 
    22     <link rel="icon" type="image/ico" 
    23       href="{{ pathto('_static/'+theme_favicon, 1) }}" />
    23       href="{{ pathto('_static/'+theme_favicon, 1) }}" />
    24   {%- endif %}
    24   {%- endif %}
       
    25 
       
    26   <script type="text/javascript" src="_static/drop-down-menu.js"></script>
       
    27       
    25 {% endblock %}
    28 {% endblock %}
    26       
    29       
    27 {% block header %}
    30 {% block header %}
    28   <div id="titlearea">
    31   <div id="titlearea">
    29     <table cellspacing="0" cellpadding="0" width="100%">
    32     <table cellspacing="0" cellpadding="0" width="100%">
    30       <tbody>
    33       <tbody>
    31 	<tr style="height: 56px;">
    34 	<tr style="height: 56px;">
    32 	  <td id="projectlogo">
    35 	  <td id="projectlogo">
    33 	    <a href="{{ theme_homepage }}">
    36 	    <a href="{{theme_site + theme_homepage}}">
    34 	      <img alt="ns-3 Logo"
    37 	      <img alt="ns-3 Logo"
    35 		   src="{{ pathto('_static/' + theme_logo, 1)}}"/>
    38 		   src="{{ pathto('_static/' + theme_logo, 1)}}"/>
    36 	    </a>
    39 	    </a>
    37 	  </td>
    40 	  </td>
    38 	  <td id="projecttext">
    41 	  <td id="projecttext">
    39 	    <div id="projectbrief">{{ theme_projectbrief }} </div>
    42 	    <div id="projectbrief">{{ theme_projectbrief }} </div>
    40 	      <span id="projectnumber">{{ theme_projectnumber }}</span>
    43 	      <span id="projectnumber"><script type="text/javascript">document.write(rev)</script></span>
       
    44 	  </td>
       
    45 	      
       
    46 	  <td id="ns3-menu">
       
    47 	    <div class="menu">
       
    48 	      <ul >
       
    49 	        <li><a href="{{theme_site + theme_homepage}}">&nbsp;&nbsp;Home</a>
       
    50 	        </li>
       
    51 	        <li><a href="{{theme_site + theme_wiki}}">Wiki</a>
       
    52 	        </li>
       
    53 	        <li><span onmouseover="mopen('mDocs')" 
       
    54 		      onmouseout="mclosetime()">Docs &nbsp;&nbsp;&nbsp;&#x25BC;</span>
       
    55 		    <div id="mDocs"
       
    56 		        onmouseover="mcancelclosetime()" 
       
    57 		        onmouseout="mclosetime()">
       
    58 		      <a href="{{theme_site + theme_release + theme_manual}}">Manual</a><br/>
       
    59 		      <a href="{{theme_site + theme_release + theme_models}}">Models</a><br/>
       
    60 		      <a href="{{theme_site + theme_release + theme_doxygen}}">API</a><br/>
       
    61 	        </li>
       
    62 	        <li><span onmouseover="mopen('mTuts')" 
       
    63 		      onmouseout="mclosetime()">Tutorials &nbsp;&#x25BC;</span>
       
    64 		    <div id="mTuts" 
       
    65 		        onmouseover="mcancelclosetime()" 
       
    66 		        onmouseout="mclosetime()">
       
    67 		      <a href="{{theme_site + theme_release + theme_tutorial}}">English</a><br/>
       
    68 		      <a href="{{theme_site + theme_release + theme_tutport}}">Portuguese</a><br/>
       
    69 	        </li>
       
    70 	        <li><a href="{{theme_site + theme_bugzilla}}">Bugs</a>
       
    71 	        </li>
       
    72 	      </ul>
       
    73 	    </div>
    41 	  </td>
    74 	  </td>
    42 	  <td id="projectsection">
    75 	  <td id="projectsection">
    43 	    <span style="margin-right:10px">{{ docstitle }}</span>
    76 	    <span style="margin-right:10px">{{ docstitle }}</span>
    44 	  </td>
    77 	  </td>
    45 	</tr>
    78 	</tr>
    46       </tbody>
    79       </tbody>
    47     </table>
    80     </table>
    48   </div>
    81   </div>
       
    82 {% endblock %}
    49       
    83       
    50 {% endblock %}
       
    51 
       
    52 {% block rootrellink %}
    84 {% block rootrellink %}
    53     <li class="navelem"><a href="{{ theme_homepage }}">{{ theme_projectname }}</a><span class="navelem">&nbsp;</span></li>
    85     <li class="navelem"><a href="{{ theme_homepage }}">{{ theme_projectname }}</a><span class="navelem">&nbsp;</span></li>
    54     {{ super() }}
    86     {{ super() }}
    55 {% endblock %}
    87 {% endblock %}
    56       
    88