[c83adb]: / Allura / allura / templates / jinja_master / theme_macros.html  Maximize  Restore  History

Download this file

65 lines (51 with data), 2.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{%- macro header(username, userid, name, login_url, logout_url) %}
<header id="site-header">
<div class="wrapper grid_24">
<a href="http://www.perforce.com">Perforce Home</a>&nbsp;&nbsp;&nbsp;|<a href="http://forums.perforce.com">Forums</a> &nbsp;|<a href="http://p4ideax.com">P4IdeaX</a>
<div id="pflogo"><a href="/" title="Perforce Forge"></a></div>
<nav id="main-menu">
<ul>
</ul>
</nav>
<nav class="login_box"> {% if userid %}
<div class="logged"><a href="/auth/prefs/">Account</a><a href="{{logout_url}}">Log Out</a></br>
<a href="/u/{{username}}/">{{name}}</a></div>
{% else %}
<div class="notlogged">
<a href="/auth/create_account">Register</a>
<a href="{{login_url}}">Log In</a></div>
{% endif %}
</nav>
<nav class="create_box">Create a Project <select name="">
<option selected>Select a topic</option>
<option>APIs</option>
<option>Client</option>
<option>Misc</option>
<option>Plugins</option>
<option>Scripts</option>
<option>Server</option>
<option>Tools &amp; Utilities</option>
<option>Users</option>
<option>Web Extensions</option>
</select></nav>
<nav class="search_box"> Search
<input type="text" name="srch4">
<input type="submit" id="search_submit" style="float:none" value="Find">
</nav>
<hr class="clear clearfix">
</div>
</header>
{%- endmacro %}
{%- macro footer(year) %}
<footer id="site-footer">
<!--<nav>
This project is powered by <a href="http://sourceforge.net/p/allura/home/">Allura</a>.
</nav>-->
</footer>
{%- endmacro %}
{%- macro custom_js(path_to_static) %}
{%- endmacro %}
{%- macro custom_ga_js(user) %}
{%- endmacro %}
{%- macro extra_header(path_to_static) %}
{%- endmacro %}