theme.html 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. {# additional classes for the top navbar #}
  2. {% set masthead_class = "navbar-light masthead p-0" %}
  3. {# site title that shows in the head html element at the end #}
  4. {% set site_title = "src.fedoraproject.org" %}
  5. {% macro projectstring(plural=False) -%}
  6. {% if plural %}
  7. Packages
  8. {% else %}
  9. Package
  10. {% endif %}
  11. {% endmacro -%}
  12. {% set projecticon = "fa-archive" %}
  13. {% macro head_imports() %}
  14. <link rel="shortcut icon" type="image/vnd.microsoft.icon"
  15. href="{{ url_for('theme.static', filename='favicon.ico')}}?version={{ g.version}}"/>
  16. <link href="{{ url_for('theme.static', filename='fedora-bootstrap-1.3.0/fedora-bootstrap.min.css')}}?version={{ g.version}}"
  17. type="text/css" rel="stylesheet" />
  18. <link href="{{ url_for('theme.static', filename='fonts/fonts.css') }}?version={{ g.version}}"
  19. rel="stylesheet" type="text/css" />
  20. <link href="{{ url_for('theme.static', filename='fonts/hack_fonts/css/hack-extended.min.css') }}?version={{ g.version}}"
  21. type="text/css" rel="stylesheet" />
  22. <link href="{{ url_for('theme.static', filename='theme.css')}}?version={{ g.version}}"
  23. type="text/css" rel="stylesheet" />
  24. {% endmacro %}
  25. {% macro js_imports() %}
  26. <script src="{{ url_for('static', filename='vendor/bootstrap/bootstrap.bundle.min.js')}}?version={{ g.version}}"></script>
  27. {% endmacro %}
  28. {% macro browseheader_message(select) %}
  29. {% if select == 'projects' %}
  30. <div class="row justify-content-around">
  31. <div class="col-md-8">
  32. <div class="jumbotron bg-transparent m-0 py-4 text-center">
  33. <h1 class="display-5">Welcome to Fedora Package Sources</h1>
  34. <p class="lead">Fedora's repository for package maintenance.</p>
  35. </div>
  36. </div>
  37. </div>
  38. {% if not g.authenticated %}
  39. <section class="container p-t-2">
  40. <p>
  41. Welcome, if you're looking to download software to run, look at
  42. <a href="https://getfedora.org/">https://getfedora.org/</a>, or a
  43. <a href="https://mirrors.fedoraproject.org/">Fedora Mirror</a>.
  44. You can also find source RPMs for Fedora-packaged software there.
  45. The source code for building those packages is found here.
  46. </p>
  47. <p>
  48. If you are looking for RPM spec files, module and container definitions,
  49. Fedora-specific patches, tests, and so on, you're in the right place.
  50. You can browse <a href="/browse/projects/">packages</a> and
  51. <a href="/users">packagers</a> — and you can fork, improve, and submit
  52. pull requests.
  53. </p>
  54. <p>
  55. If you are already a package maintainer, feel free to consult the
  56. <a href="https://docs.pagure.org/pagure/usage.html">docs on using
  57. pagure</a>. If you'd like to become a package maintainer, see
  58. <a href="https://fedoraproject.org/wiki/Join_the_package_collection_maintainers">
  59. this guide</a>.
  60. </p>
  61. <p>
  62. Note that package issues are still tracked in
  63. <a href="https://bugzilla.redhat.com/">Bugzilla</a>,
  64. not with Pagure's issue feature.
  65. </p>
  66. <p>Here below are shortcuts for the different namespaces available:</p>
  67. <ul>
  68. <li><a href="/projects/rpms/*">RPMs</a></li>
  69. <li><a href="/projects/modules/*">modules</a></li>
  70. <li><a href="/projects/containers/*">containers</a></li>
  71. <li><a href="/projects/flatpaks/*">flatpaks</a></li>
  72. <li><a href="/projects/tests/*">tests</a></li>
  73. </ul>
  74. </section>
  75. {% endif %}
  76. {% endif %}
  77. {% endmacro %}
  78. {% macro footer() %}
  79. <div class="footer pt-4 text-white">
  80. <div class="container">
  81. <div class="d-flex align-items-center">
  82. <div>
  83. <div>Powered by <a href="https://pagure.io/pagure" class="notblue">Pagure</a> {{ g.version }}</div>
  84. <div>
  85. <a href="https://docs.pagure.org/pagure/usage/index.html" class="notblue">Documentation</a> &bull;
  86. <a href="https://pagure.io/pagure/new_issue" class="notblue">File an Issue</a> &bull;
  87. <a href="/about">About this Instance</a> &bull;
  88. <a href="{{ url_for('ui_ns.ssh_hostkey') }}" class="notblue">SSH Hostkey/Fingerprint</a>
  89. </div>
  90. </div>
  91. <div class="ml-auto text-right">
  92. <div>&copy; 2014-2019 Red Hat, Inc. and others.</div>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. {% endmacro %}
  98. {% macro about_page() %}
  99. <div class="container mt-5">
  100. <h1>About</h1>
  101. <p>This is an instance of Pagure, a git forge.</p>
  102. <p>If you experience a bug or security concern, please <a href="https://pagure.io/pagure/issues">submit an issue</a>.</p>
  103. <p>You may contact an administrator by emailing: <a href="mailto:{{ config['ADMIN_EMAIL'] }}">{{ config['ADMIN_EMAIL'] }}</a>.</p>
  104. <p><a href="https://lists.pagure.io/admin/lists/pagure-announce.lists.pagure.io/">Subscribe to announcements</a> about Pagure.</p>
  105. </div>
  106. {% endmacro %}
  107. {% macro about_page() %}
  108. <div class="container mt-5">
  109. <h1>About</h1>
  110. <p>Welcome to this <a href="https://pagure.io/pagure">pagure</a> instance.</p>
  111. <p>
  112. For any issue, wish or security concern, feel free to open a ticket,
  113. either with the <a href="https://pagure.io/fedora-infrastructure/issues">
  114. Fedora Infrastructure</a> or on the
  115. <a href="https://pagure.io/pagure/issues">upstream issue tracker</a>
  116. (please ensure the ticket is private if your concern is security-related
  117. on either tracker).
  118. </p>
  119. <p>
  120. You may contact an administrator by emailing:
  121. <a href="mailto:{{ config['ADMIN_EMAIL'] }}">
  122. {{ config['ADMIN_EMAIL'] }}
  123. </a>.
  124. </p>
  125. <p>Learn more or keep in touch about pagure via our mailing lists:</p>
  126. <ul>
  127. <li>
  128. <a href="https://lists.pagure.io/admin/lists/pagure-announce.lists.pagure.io/">pagure-annouce</a>
  129. </li>
  130. <li>
  131. <a href="https://lists.pagure.io/admin/lists/pagure-devel.lists.pagure.io/">pagure-devel</a>
  132. </li>
  133. </ul>
  134. <p>
  135. <a href="https://pagure.io/pagure">pagure</a> is a free software licensed
  136. under the <a href="https://www.gnu.org/licenses/gpl-2.0.txt">
  137. GNU General Public License (GPL) v2
  138. </a> or any later versions.
  139. </p>
  140. <p>
  141. This program is distributed in the hope that it will be useful, but
  142. WITHOUT ANY WARRANTY; without even the implied warranty of
  143. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  144. General Public License for details.
  145. </p>
  146. </div>
  147. {% endmacro %}