Version 0.1.7

This commit is contained in:
dmzx
2015-11-26 21:44:38 +01:00
parent 719661eb21
commit dd8abd5d9e
21 changed files with 999 additions and 134 deletions

View File

@@ -1,7 +1,38 @@
<!-- INCLUDECSS css/mchatacp.css -->
<!-- INCLUDE overall_header.html -->
<h1>{L_MCHAT_TITLE}</h1>
<p>{L_MCHAT_VERSION} {MCHAT_VERSION}</p>
<h1 class="ExtensionName"><!-- IF META_DISPLAY_NAME -->{META_DISPLAY_NAME}<!-- ENDIF --></h1>
<!-- IF S_VERSIONCHECK && S_UP_TO_DATE -->
<div class="description_bubble small_bubble" title="{UP_TO_DATE_MSG}">
<span class="description_name">{L_VERSION}</span>
<span class="description_value description_value_ok" id="meta_version">{META_VERSION}</span>
</div>
<!-- ELSE IF S_VERSIONCHECK && not S_UP_TO_DATE -->
<div class="description_bubble small_bubble" title="{UP_TO_DATE_MSG}">
<span class="description_name">{L_VERSION}</span>
<span class="description_value description_value_old" id="meta_version">{META_VERSION}</span>
</div>
<!-- ELSE -->
<div class="description_bubble small_bubble">
<span class="description_name">{L_VERSION}</span>
<span class="description_value" id="meta_version">{META_VERSION}</span>
</div>
<!-- ENDIF -->
<!-- IF S_VERSIONCHECK && not S_UP_TO_DATE -->
<!-- BEGIN updates_available -->
<fieldset>
<span class="requirements_title">{L_LATEST_VERSION}</span>
<div class="extension_latest_version_wrapper">
<strong class="extension_latest_version">{updates_available.current}</strong>
<!-- IF updates_available.download-->
<a href="{updates_available.download}" class="extension_author_link" title="{L_DOWNLOAD_LATEST}">{L_DOWNLOAD} {META_NAME} {LATEST_VERSION}</i></a>
<!-- ENDIF -->
<!-- IF updates_available.announcement -->
<a href="{updates_available.announcement}" class="extension_author_link" title="{L_ANNOUNCEMENT_TOPIC}">{L_RELEASE_ANNOUNCEMENT}</i></a>
<!-- ENDIF -->
</div>
</fieldset>
<!-- END updates_available -->
<!-- ENDIF -->
<!-- IF MCHAT_ERROR -->
<div class="errorbox"><h3>{L_WARNING}</h3>
<p>{MCHAT_ERROR}</p>

103
adm/style/css/mchatacp.css Normal file
View File

@@ -0,0 +1,103 @@
/* Extension details */
.requirements_title {
display: inline-block;
color: #115098;
font-weight: bold;
vertical-align: top;
margin-top: 8px;
font-size: 1.1em;
}
.description_bubble {
display: inline-block;
overflow: hidden;
border-radius: 15px;
border: 1px solid #D7D7D7;
margin-right: 20px;
text-align: center;
}
.description_name {
display: inline-block;
padding: 7px 15px;
}
.description_value {
display: inline-block;
padding: 6px 15px;
border-left: 1px solid #D7D7D7;
font-weight: bold;
font-size: 1.1em;
}
.description_value_ok {
display: inline-block;
padding: 6px 15px;
border: 0;
border-radius: 15px;
color: #edfbf7;
font-weight: bold;
font-size: 1.1em;
background: #228822;
background: -moz-linear-gradient(top, #92d992 0%, #228822 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #92d992), color-stop(100%, #228822));
background: -webkit-linear-gradient(top, #92d992 0%, #228822 100%);
background: -o-linear-gradient(top, #92d992 0%, #228822 100%);
background: -ms-linear-gradient(top, #92d992 0%, #228822 100%);
background: linear-gradient(to bottom, #92d992 0%, #228822 100%);
}
.description_value_old {
display: inline-block;
padding: 6px 15px;
border: 0;
border-radius: 15px;
color: #edfbf7;
font-weight: bold;
font-size: 1.1em;
background: #BC2A4D;
background: -moz-linear-gradient(top, #e08389 0%, #BC2A4D 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e08389), color-stop(100%, #BC2A4D));
background: -webkit-linear-gradient(top, #e08389 0%, #BC2A4D 100%);
background: -o-linear-gradient(top, #e08389 0%, #BC2A4D 100%);
background: -ms-linear-gradient(top, #e08389 0%, #BC2A4D 100%);
background: linear-gradient(to bottom, #e08389 0%, #BC2A4D 100%);
}
fieldset {
border-radius: 15px;
}
h1.ExtensionName {
color: #115098;
}
.big_bubble .description_name {
width: 90px;
}
.big_bubble .description_value {
width: 210px;
}
.small_bubble .description_name {
width: 70px;
}
.small_bubble .description_value {
width: 80px;
}
.extension_author_link {
display: inline-block;
padding: 6px 15px;
border-radius: 15px;
font-weight: bold;
font-size: 1.1em;
border: 1px solid #D7D7D7;
}
.extension_author_link:hover {
background-color: #115098;
color: #edfbf7;
border: 1px solid #115098;
}
.extension_latest_version_wrapper {
display: inline-block;
overflow: hidden;
border-radius: 15px;
margin-left: 5px;
text-align: center;
font-size: 1.1em;
}
.extension_latest_version {
display: inline-block;
padding: 5px 15px;
}