Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 89b2f2502c5e05fcc1ce8c93538ab493e7857004
Author: Adam Samalik <asamalik(a)redhat.com>
Date: Tue Mar 11 15:46:05 2014 +0100
About Copr info on homepage
---------------------------------------------------------------
coprs_frontend/coprs/static/copr.css | 18 ++++++++++++++++++
coprs_frontend/coprs/templates/coprs/show.html | 15 +++++++++++++++
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/coprs_frontend/coprs/static/copr.css b/coprs_frontend/coprs/static/copr.css
index c5bee68..cb6621c 100644
--- a/coprs_frontend/coprs/static/copr.css
+++ b/coprs_frontend/coprs/static/copr.css
@@ -99,6 +99,24 @@ div.user-info .other-text {
font-size: 0.6em;
}
+div.about-copr {
+ width: 100%;
+ background-color: #ececec;
+ padding-top: 1em;
+ padding-bottom: 1em;
+
+ border-radius: 5px;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+}
+
+div.about-copr p {
+ padding-left: 1em;
+ padding-right: 1em;
+ margin-top: 0.3em;
+ margin-bottom: 0.3em;
+}
+
div.coprs-list-thin, div.coprs-list-thick {
float: left;
}
diff --git a/coprs_frontend/coprs/templates/coprs/show.html
b/coprs_frontend/coprs/templates/coprs/show.html
index 0971b0a..a3d041e 100644
--- a/coprs_frontend/coprs/templates/coprs/show.html
+++ b/coprs_frontend/coprs/templates/coprs/show.html
@@ -15,6 +15,21 @@
<p class="other-text">projects</p>
</div>
{% endif %}
+ {% if not g.user and not fulltext%}
+ <div class="about-copr">
+ <p>Copr is an easy-to-use automatic build system providing a package
repository as its output.</p>
+ <p>Start with making your own repository in these three
steps:</p>
+ <ol>
+ <li>choose an architecture and system you want to build
for</li>
+ <li>provide Copr with src.rpm packages available online</li>
+ <li>let Coper do all the work and wait for your new
repo</li>
+ </ol>
+ <p>For more information please visit <a
href="https://fedorahosted.org/copr/">Copr wiki</a></p>
+ </div>
+ {% endif %}
+ <div class="pagination">
+ {{ render_pagination(request, paginator) }}
+ </div>
<div class="coprs-list-{% if g.user %}thin{% else %}thick{% endif %}">
{% if g.user %}
<div class="add-copr">+