Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added the Extension Repository formatting enhancements

  • Loading branch information...
commit a75deb9ec65f9866a786d518a7c4f9d4a5f1ac28 1 parent 73f9b64
Leo Feyer leofeyer authored
2  system/modules/rep_base/RepositorySettings.php
View
@@ -124,7 +124,7 @@
define('REPOSITORY_DOWNLOADS', 'system/modules/rep_server/RepositoryDownload.php?token=');
// HTML tags allowed in long texts
-define('REPOSITORY_TEXTTAGS', '<h3><h4><h5><h6><p><br><ol><ul><li><em><strong>');
+define('REPOSITORY_TEXTTAGS', '<h3><h4><h5><h6><p><pre><blockquote><br><ol><ul><li><em><strong>');
// # of searchtags allowed
define('REPOSITORY_SEARCHTAGS', 5);
2  system/modules/rep_client/themes/default/backend.css
View
@@ -1,2 +1,2 @@
/* Contao Repository :: Copyright (C) 2008-2010 Peter Koch :: LGPL license */
-.mod_repository .nowrap{white-space:nowrap}.mod_repository .middle,.mod_repository .middle *{vertical-align:middle}.mod_repository table.nested{width:100%;margin:0;border:0}.mod_repository table td.nopadding{vertical-align:top;padding:0!important}.color_green{color:#8ab858}.color_red{color:#c55}.color_blue{color:#5c9ac9}.color_darkorange{color:#f90}.extension_container{margin:12px}.mod_repository table{width:100%;margin:6px 0;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.mod_repository table th,.mod_repository table td{padding:3px 6px;background-color:#f9f9f9;text-align:left;line-height:1}.mod_repository table th{background-color:#fbf7f1}.mod_repository table tr.title th{padding:6px;background-color:#f0f0f0;border-bottom:1px solid #ddd}.mod_repository table tr.title span.leftblock{padding-top:2px;display:block;float:left}.mod_repository table tr.title span.leftblock a{color:#8ab858!important}.mod_repository table tr.title span.rightblock{display:block;float:right}.mod_repository table tr.description td{padding-top:8px;padding-bottom:10px;line-height:1.3}.mod_repository table tr.info th,.mod_repository table tr.info td{border-top:1px solid #fff;font-size:10px}.mod_repository table .listcol1,.mod_repository table .listcol3,.mod_repository table .viewcol1,.mod_repository table .viewcol3{width:23%}.mod_repository table .listcol2,.mod_repository table .viewcol2{width:27%}.mod_repository .col_functions{text-align:right}.mod_repository_view tr.description td{background-color:#fff;line-height:inherit}.mod_repository_view td.releasenotes{line-height:inherit!important}.mod_repository_view tr.description h2{margin-top:0}.mod_repository_view tr.description .image_container{float:right;padding-top:3px;padding-left:12px}.mod_repository_view tr.description img{padding:2px;border:1px solid #ccc}.mod_repository_view tr.description td{line-height:1.3}.mod_repository_view tr.description ul{margin:0 0 0 2.1em;padding:0}.mod_repository_view td.releasenotes{line-height:1.3!important}.mod_repository_view tr.spacer td{background-color:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd;line-height:4px}.buttonwrapper,.buttonwrapper *{vertical-align:middle}.mod_repository_submit form{display:inline}.mod_repository table.extension td.status-0,.mod_repository table.extension td.status-1,.mod_repository table.extension td.status-2{background-color:#ffe0e0}.mod_repository table.extension td.status-3,.mod_repository table.extension td.status-4,.mod_repository table.extension td.status-5,.mod_repository table.extension td.type-private{background-color:#ffffe0}.mod_repository table.extension td.status-6,.mod_repository table.extension td.status-7,.mod_repository table.extension td.status-8,.mod_repository table.extension td.type-commercial{background-color:#d0e8ff}.mod_repository table.extension td.status-9,.mod_repository table.extension td.type-free{background-color:#e0ffe0}.mod_repository div.ratebarframe{width:60px;float:left;background-color:#ffe0e0;border:1px solid #999;font-size:1px;line-height:1px}.mod_repository div.ratebar{width:10%;height:12px;background-color:#c0ffc0;font-size:1px}.mod_repository div.ratebartext{margin-left:65px}.mod_repository .installlog{margin-bottom:24px}.mod_repository .col_status,.mod_repository .installlog{line-height:1.2}.mod_repository .subtitle{margin-top:6px;font-weight:bold}.mod_repository .question{margin-top:3px}.mod_repository .fulltextsearch{width:180px}.mod_repository #sql_table{border:0}.mod_repository #sql_table td{background:#fff}.mod_repository #sql_table td.tl_col_0{padding-top:18px}.mod_repository #sql_table td.tl_col_1{width:18px;vertical-align:top}.mod_repository #sql_table td.tl_col_1,.mod_repository #sql_table td.tl_col_2{padding-bottom:3px}.mod_repository #sql_table pre{white-space:pre-wrap}.mod_repository #sql_table pre label{font-family:monospace}
+.mod_repository .nowrap{white-space:nowrap}.mod_repository .middle,.mod_repository .middle *{vertical-align:middle}.mod_repository table.nested{width:100%;margin:0;border:0}.mod_repository table td.nopadding{vertical-align:top;padding:0!important}.color_green{color:#8ab858}.color_red{color:#c55}.color_blue{color:#5c9ac9}.color_darkorange{color:#f90}.extension_container{margin:12px}.mod_repository table{width:100%;margin:6px 0;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.mod_repository table th,.mod_repository table td{padding:3px 6px;background-color:#f9f9f9;text-align:left;line-height:1}.mod_repository table th{background-color:#fbf7f1}.mod_repository table tr.title th{padding:6px;background-color:#f0f0f0;border-bottom:1px solid #ddd}.mod_repository table tr.title span.leftblock{padding-top:2px;display:block;float:left}.mod_repository table tr.title span.leftblock a{color:#8ab858!important}.mod_repository table tr.title span.rightblock{display:block;float:right}.mod_repository table tr.description td{padding-top:8px;padding-bottom:10px;line-height:1.3}.mod_repository table tr.info th,.mod_repository table tr.info td{border-top:1px solid #fff;font-size:10px}.mod_repository table .listcol1,.mod_repository table .listcol3,.mod_repository table .viewcol1,.mod_repository table .viewcol3{width:23%}.mod_repository table .listcol2,.mod_repository table .viewcol2{width:27%}.mod_repository .col_functions{text-align:right}.mod_repository_view li{margin-top:3px;margin-bottom:3px}.mod_repository_view tr.description td{background-color:#fff;line-height:inherit}.mod_repository_view td.releasenotes{line-height:inherit!important}.mod_repository_view tr.description h2{margin-top:0}.mod_repository_view tr.description h3,.mod_repository_view tr.description h4,.mod_repository_view tr.description h5,.mod_repository_view tr.description h6{margin-top:1.5em}.mod_repository_view tr.description pre{max-width:670px;overflow:auto;margin:0 3px 13px;padding:6px;background-color:#f6f6f6;border-radius:3px;font-family:Courier,monospace;line-height:1.25}.mod_repository_view tr.description blockquote{margin:0 0 12px;padding:6px;background-color:#ffc;border:1px solid #f90;border-radius:3px}.mod_repository_view tr.description .image_container{float:right;padding-top:3px;padding-left:12px}.mod_repository_view tr.description img{padding:2px;border:1px solid #ccc}.mod_repository_view tr.description td{line-height:1.3}.mod_repository_view tr.description ul{margin:0 0 0 2.1em;padding:0}.mod_repository_view td.releasenotes{line-height:1.3!important}.mod_repository_view tr.spacer td{background-color:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd;line-height:4px}.buttonwrapper,.buttonwrapper *{vertical-align:middle}.mod_repository_submit form{display:inline}.mod_repository table.extension td.status-0,.mod_repository table.extension td.status-1,.mod_repository table.extension td.status-2{background-color:#ffe0e0}.mod_repository table.extension td.status-3,.mod_repository table.extension td.status-4,.mod_repository table.extension td.status-5,.mod_repository table.extension td.type-private{background-color:#ffffe0}.mod_repository table.extension td.status-6,.mod_repository table.extension td.status-7,.mod_repository table.extension td.status-8,.mod_repository table.extension td.type-commercial{background-color:#d0e8ff}.mod_repository table.extension td.status-9,.mod_repository table.extension td.type-free{background-color:#e0ffe0}.mod_repository div.ratebarframe{width:60px;float:left;background-color:#ffe0e0;border:1px solid #999;font-size:1px;line-height:1px}.mod_repository div.ratebar{width:10%;height:12px;background-color:#c0ffc0;font-size:1px}.mod_repository div.ratebartext{margin-left:65px}.mod_repository .installlog{margin-bottom:24px}.mod_repository .col_status,.mod_repository .installlog{line-height:1.2}.mod_repository .subtitle{margin-top:6px;font-weight:bold}.mod_repository .question{margin-top:3px}.mod_repository .fulltextsearch{width:180px}.mod_repository #sql_table{border:0}.mod_repository #sql_table td{background:#fff}.mod_repository #sql_table td.tl_col_0{padding-top:18px}.mod_repository #sql_table td.tl_col_1{width:18px;vertical-align:top}.mod_repository #sql_table td.tl_col_1,.mod_repository #sql_table td.tl_col_2{padding-bottom:3px}.mod_repository #sql_table pre{white-space:pre-wrap}.mod_repository #sql_table pre label{font-family:monospace}
28 system/modules/rep_client/themes/default/backend_src.css
View
@@ -55,9 +55,37 @@
.mod_repository .col_functions { text-align:right; }
/* Details view */
+.mod_repository_view li
+{
+ margin-top:3px;
+ margin-bottom:3px;
+}
.mod_repository_view tr.description td { background-color:#fff; line-height:inherit; }
.mod_repository_view td.releasenotes { line-height:inherit !important; }
.mod_repository_view tr.description h2 { margin-top:0; }
+.mod_repository_view tr.description h3,.mod_repository_view tr.description h4,.mod_repository_view tr.description h5,.mod_repository_view tr.description h6
+{
+ margin-top:1.5em;
+}
+.mod_repository_view tr.description pre
+{
+ max-width:670px;
+ overflow:auto;
+ margin:0 3px 13px;
+ padding:6px;
+ background-color:#f6f6f6;
+ border-radius:3px;
+ font-family:Courier,monospace;
+ line-height:1.25;
+}
+.mod_repository_view tr.description blockquote
+{
+ margin:0 0 12px;
+ padding:6px;
+ background-color:#ffc;
+ border:1px solid #f90;
+ border-radius:3px;
+}
.mod_repository_view tr.description .image_container
{
float:right;
Please sign in to comment.
Something went wrong with that request. Please try again.