diff --git a/roles/people/files/userdefs/404Error.html b/roles/people/files/userdefs/404Error.html new file mode 100755 index 0000000000..651b052408 --- /dev/null +++ b/roles/people/files/userdefs/404Error.html @@ -0,0 +1,6 @@ + +

Error 404

+ +

Sorry, the file you are looking for probably no longer exists.

+ + diff --git a/roles/people/files/userdefs/FOOTER.html b/roles/people/files/userdefs/FOOTER.html new file mode 100755 index 0000000000..79c8804a24 --- /dev/null +++ b/roles/people/files/userdefs/FOOTER.html @@ -0,0 +1,16 @@ + + +
+ +
+ + diff --git a/roles/people/files/userdefs/HEADER.html b/roles/people/files/userdefs/HEADER.html new file mode 100755 index 0000000000..b3df53e7a3 --- /dev/null +++ b/roles/people/files/userdefs/HEADER.html @@ -0,0 +1,30 @@ + + + + + Fedora People + + + + + +
+ + +
+
+
diff --git a/roles/people/files/userdefs/css/fedora.css b/roles/people/files/userdefs/css/fedora.css new file mode 100755 index 0000000000..66994f20fd --- /dev/null +++ b/roles/people/files/userdefs/css/fedora.css @@ -0,0 +1,154 @@ +* +{ + margin: 0; + padding: 0; +} + +html, body +{ + height: 100%; +} + +body +{ + height: 100%; + font-size: 76%; + background: #FFFFFF url(//fedoraproject.org/static/images/border-left.png) 0 0 repeat-y; +} + +a img +{ + border: none; +} + +#wrapper +{ + margin-left: 18px; + font: normal 2.3ex/1.5 sans-serif; + min-height: 100%; + background: #FFFFFF url(//fedoraproject.org/static/images/border-right.png) 100% 0 repeat-y; + padding-right: 18px; +} + +#head +{ + border-top: 10px solid #337ACC; + padding: 1ex 2ex 17px; + background: #FFFFFF url(//fedoraproject.org/static/images/line.png) 0 100% repeat-x; +} + +#head h1 a +{ + display: block; + text-indent: -9999px; + background: url(//fedoraproject.org/static/images/fedora-logo.png) 20px 50% no-repeat; + height: 73px; + width: 175px; + overflow: hidden; +} + +#content +{ + margin: 0 2ex; + background: red; + padding: 1ex 1ex 120px; + color: #666666; + background: #FFFFFF; +} + +#content h2 +{ + font-size: 3.25ex; +} + +#content h2 div { + font-size: 1ex; + font-weight: normal; +} + +#content h3 +{ + color: #337acc; + margin: 1.5ex 0; + font-size: 2.5ex; +} + +#content p +{ + margin: 1ex 5ex 1ex 0; +} + +#content img +{ + margin: auto; /* 2ex 0;*/ /* Fix by andreasn */ +} + +#content a +{ + color: #337ACC; +} + +#footer +{ + position: relative; + font: normal 1.5ex/1.5 sans-serif; + clear: both; + text-align: center; + background: #FFFFFF url(//fedoraproject.org/static/images/line-bottom.png) 0 0 repeat-x; + margin: -90px 0 0; + border-bottom: 10px solid #337ACC; + height: 80px; + color: #AAAAAA; +} + +#bottom +{ + background: #FFFFFF url(//fedoraproject.org/static/images/border-right.png) 100% 0 repeat-y; + margin-left: 18px; + padding-right: 18px; +} + +#footer ul +{ + list-style: none; +} + +#footer li +{ + display: inline; + border-left: 1px solid #AAAAAA; + padding: 0 0.75ex; + margin-left: -1px; +} + +#footer li.first +{ + border-left: none; +} + +#footer a +{ + color: #223344; +} + +#footer a:hover +{ + color: #112233; +} + +#footer .copy +{ + padding-top: 3ex; +} + +.ToolTip { + display: block; + position: absolute; + border: 1px solid black; + background-color: lightyellow; + width: 200px; +} + +.invisible { + display: none; +} diff --git a/roles/people/files/userdefs/css/style.css b/roles/people/files/userdefs/css/style.css new file mode 100755 index 0000000000..00692dead5 --- /dev/null +++ b/roles/people/files/userdefs/css/style.css @@ -0,0 +1,121 @@ +#sidebar +{ + float: left; + width: 25ex; + margin: 2ex 0; + background: #FFFFFF; +} + +#content +{ + margin-left: 25ex!important; +} + +#content ul +{ + list-style: square; + margin: 1ex 3ex; + line-height: 1; +} + +#content table +{ + border-collapse: collapse; +} + +#content th, #content td +{ + border: 1px solid #DDDDDD; + padding: 0.5ex 2ex; +} + +.nav +{ + margin: 0 10px; + padding: 0 1.5ex; +} + +.nav h2 +{ + border-bottom: 1px dotted #AAAAAA; + color: #444444; + font-size: 1.5ex; + margin: 2ex 0 1ex; + text-transform: uppercase; + font-weight: normal; +} + +.nav ul +{ + list-style: url(//fedoraproject.org/static/images/arrow.png); + margin-left: 15px; +} + +.nav li +{ + margin: 0.25ex 1ex; + color: #777777; + font-size: 1.5ex; +} + +.nav a +{ + font-weight: bold; + margin-right: 0.75ex; + color: #729FCF; +} + +#content h3 +{ + margin: 0!important; +} + +#pageLogin +{ + float: right; +} + +.pkglist +{ + border: 1px solid #CCCCCC; + width: 100%; + margin: 1.5ex 0; + text-align: center; +} + +.pkglist th, .pkglist td +{ + border: none!important; +} + +.pkglist table th, .pkglist table td +{ + border: 1px solid #CCCCCC; +} + +.actions +{ + list-style: none; + line-height: 1; + margin: 1ex 0!important; +} + +.actions li +{ + display: inline; + margin-right: 1ex; +} + +a.bodhi +{ + padding-left: 20px; + background: url(../images/bodhi.png) 0 50% no-repeat; +} + +a.koji +{ + padding-left: 20px; + background: url(../images/koji.png) 0 50% no-repeat; +} + + diff --git a/roles/people/tasks/main.yml b/roles/people/tasks/main.yml index 37e302a53e..2a6fd9f4f8 100644 --- a/roles/people/tasks/main.yml +++ b/roles/people/tasks/main.yml @@ -257,6 +257,11 @@ tags: - people +- name: copy static files for user pages + copy: src=userdefs/ dest=/srv/people/site/userdefs + tags: + - people + - name: setup script to make main fedorapeople.org index page copy: src=make-people-page.py dest=/usr/local/bin/make-people-page.py mode=755 tags: diff --git a/roles/people/templates/people.conf b/roles/people/templates/people.conf index 46a7e76b85..d8bcfec266 100644 --- a/roles/people/templates/people.conf +++ b/roles/people/templates/people.conf @@ -73,7 +73,7 @@ NameVirtualHost *:80 AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes FollowSymLinks IncludesNoExec - IndexOptions NameWidth=* FancyIndexing + IndexOptions NameWidth=* FancyIndexing +SuppressHTMLPreamble Require method GET POST OPTIONS @@ -111,8 +111,8 @@ NameVirtualHost *:80 AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec - HeaderName /_defaults/HEADER.shtml - ReadmeName /_defaults/FOOTER.shtml + HeaderName /_defaults/HEADER.html + ReadmeName /_defaults/FOOTER.html IndexOptions +FoldersFirst +IgnoreCase +NameWidth=* +SuppressIcon +VersionSort IndexOptions +XHTML +SuppressRules +SuppressHTMLPreamble @@ -192,8 +192,8 @@ NameVirtualHost *:80 Options IncludesNoExec - HeaderName /_defaults/HEADER.shtml - ReadmeName /_defaults/FOOTER.shtml + HeaderName /_defaults/HEADER.html + ReadmeName /_defaults/FOOTER.html IndexOptions +FoldersFirst +IgnoreCase +NameWidth=* +SuppressIcon +VersionSort IndexOptions +XHTML +SuppressRules +SuppressHTMLPreamble