4 <title>{{ hostname }} - {% block title %}{{ _(
"No title given") }}{% end block %}
</title>
5 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
6 <meta name=
"author" content=
"IPFire.org - Pakfire Development Team" />
9 <link rel=
"stylesheet" type=
"text/css" href=
"{{ static_url("css/bootstrap.min.css
") }}" />
10 <link rel=
"stylesheet" type=
"text/css" href=
"{{ static_url("css/style.css
") }}" />
11 <link href=
"https://fonts.googleapis.com/css?family=Ubuntu" rel=
"stylesheet" type=
"text/css">
13 <meta name=
"viewport" content=
"width=device-width, initial-scale=1, shrink-to-fit=no">
17 <nav class=
"navbar fixed-top navbar-expand-lg navbar-dark bg-dark">
18 <a class=
"navbar-brand" href=
"/">
19 {{ _(
"Pakfire Build Service") }}
21 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbarSupportedContent" aria-controls=
"navbarSupportedContent" aria-expanded=
"false" aria-label=
"Toggle navigation">
22 <span class=
"navbar-toggler-icon"></span>
25 <div class=
"collapse navbar-collapse" id=
"navbarSupportedContent">
26 <ul class=
"navbar-nav mr-auto">
28 <a class=
"nav-link" href=
"/packages">{{ _(
"Packages") }}
</a>
31 <a class=
"nav-link" href=
"/builds">{{ _(
"Builds") }}
</a>
33 <li class=
"nav-item dropdown">
34 <a class=
"nav-link dropdown-toggle" href=
"#" id=
"navbarDropdown" role=
"button" data-toggle=
"dropdown" aria-haspopup=
"true" aria-expanded=
"false">
37 <div class=
"dropdown-menu" aria-labelledby=
"navbarDropdown">
38 <a class=
"dropdown-item" href=
"/search">{{ _(
"Search") }}
</a>
39 <div class=
"dropdown-divider"></div>
40 <a class=
"dropdown-item" href=
"/distros">{{ _(
"Distributions") }}
</a>
41 <a class=
"dropdown-item" href=
"/builders">{{ _(
"Builders") }}
</a>
42 <a class=
"dropdown-item" href=
"/mirrors">{{ _(
"Mirrors") }}
</a>
43 <a class=
"dropdown-item" href=
"/keys">{{ _(
"Key Management") }}
</a>
45 <a class=
"dropdown-item" href=
"/users">{{ _(
"Users") }}
</a>
47 {% if current_user and current_user.is_admin() %}
48 <div class=
"dropdown-divider"></div>
49 <h6 class=
"dropdown-header">{{ _(
"Administration") }}
</h6>
50 <a class=
"dropdown-item" href=
"/sessions">{{ _(
"Sessions") }}
</a>
51 <a class=
"dropdown-item" href=
"/uploads">{{ _(
"Uploads") }}
</a>
56 <form class=
"form-inline my-2 my-lg-0" method=
"GET" action=
"/search">
58 class=
"form-control mr-sm-2 search-query typeahead-packages-autocomplete"
59 id=
"search" placeholder=
"{{ _("Search...
") }}"
60 aria-label=
"{{ _("Search...
") }}"
61 name=
"q" autocomplete=
"off">
64 <ul class=
"navbar-nav mr-auto">
65 <li class=
"nav-item dropdown">
66 <a class=
"nav-link dropdown-toggle" href=
"#" id=
"navbarDropdown" role=
"button" data-toggle=
"dropdown" aria-haspopup=
"true" aria-expanded=
"false">
67 {{ current_user.realname }}
69 <div class=
"dropdown-menu" aria-labelledby=
"navbarDropdown">
70 <a class=
"dropdown-item" href=
"/profile">{{ _(
"My profile") }}
</a>
71 <a class=
"dropdown-item" href=
"/profile/builds">{{ _(
"My builds") }}
</a>
72 <div class=
"dropdown-divider"></div>
73 {% if session and session.impersonated_user %}
74 <li class=
"dropdown-header">{{ _(
"Impersonated by") }}
</li>
75 <a class=
"dropdown-item" href=
"/user/{{ session.user.name }}">
76 {{ session.user.realname }}
79 <a class=
"dropdown-item" href=
"/logout">{{ _(
"Logout") }}
</a>
84 <ul class=
"navbar-nav mr-auto">
86 <a class=
"nav-link" href=
"/register">{{ _(
"Register") }}
</a>
88 <li class=
"nav-item dropdown">
89 <a class=
"nav-link dropdown-toggle" href=
"#" id=
"navbarDropdown" role=
"button" data-toggle=
"dropdown" aria-haspopup=
"true" aria-expanded=
"false">
92 <div class=
"dropdown-menu" aria-labelledby=
"navbarDropdown">
93 <form class=
"" action=
"/login" method=
"POST">
94 <div class=
"form-group dropdown-item">
95 {% raw xsrf_form_html() %}
96 <input class=
" form-control btn " type=
"text" name=
"name" placeholder=
"{{ _("Username
") }}">
98 <div class=
"form-group dropdown-item">
99 <input class=
"form-control btn " type=
"password" name=
"pass" placeholder=
"{{ _("Password
") }}">
101 <div class=
"form-group dropdown-item">
102 <input class=
"form-control btn btn-primary" type=
"submit" value=
"{{ _("Sign In
") }}">
105 <a class=
"dropdown-item" href=
"/password-recovery">
106 <small>{{ _(
"Forgot your password?") }}
</small>
116 {% block container %}
117 <div class=
"container container-body">
118 {% block body %}EMPTY BODY{% end block %}
120 {% module Footer() %}
124 <!-- include javascript files -->
125 <script src=
"{{ static_url("js/jquery.js
") }}"></script>
126 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
127 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
128 <script src=
"{{ static_url("js/prettify.js
") }}"></script>
129 <script src=
"{{ static_url("js/pbs.js
") }}"></script>