1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

[ticket/14492] Add basic layout for enabling viglink

PHPBB3-14492
This commit is contained in:
Marc Alexander
2016-01-30 12:21:30 +01:00
parent 267d1b15c4
commit c5e0635bc7
5 changed files with 80 additions and 2 deletions

View File

@@ -4,8 +4,21 @@
<h1>{L_SEND_STATISTICS}</h1>
<p>{L_EXPLAIN_SEND_STATISTICS}</p>
<div class="send-stats-row">
<div class="send-stats-col">
<div class="send-stats-tile">
<h2><p><i class="icon fa-bar-chart"></i>Send statistics</p></h2>
<p>{L_EXPLAIN_SEND_STATISTICS}</p>
</div>
</div>
<div class="send-stats-col">
<div class="send-stats-tile">
<h2><p class="viglink-header">VigLink</p></h2>
<p>{L_EXPLAIN_ENABLE_VIGLINK}</p>
</div>
</div>
</div>
<div style="clear: both; display: none;">
<script type="text/javascript">
//<![CDATA[
var iframect = 0;
@@ -60,5 +73,6 @@ function iframe_updated()
<div id="questionnaire-thanks" class="successbox">
<p><strong>{L_THANKS_SEND_STATISTICS}</strong><br /><br /><a href="{U_ACP_MAIN}">&laquo; {L_GO_ACP_MAIN}</a></p>
</div>
</div>
<!-- INCLUDE overall_footer.html -->

View File

@@ -2583,3 +2583,64 @@ fieldset.permissions .padding {
line-height: 25px;
font-weight: bold;
}
.send-stats-row {
margin: 25px -15px 0;
}
.send-stats-row h3 {
margin: 0;
text-align: center;
}
.send-stats-row:before {
display: table;
content: " ";
}
.send-stats-col {
width: 50%;
float: left;
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
box-sizing: border-box;
}
.send-stats-row > .send-stats-col:last-child {
padding-left: 0;
}
.send-stats-tile {
position: relative;
padding: 14px;
margin-bottom: 20px;
background-color: #eff0f2;
border-radius: 6px;
box-shadow: rgba(0,0,0,0.3) 1px 1px 5px;
}
.send-stats-tile h2 {
margin-top: 0;
text-align: center;
}
.send-stats-tile h2 > p {
display: inline-block;
}
.send-stats-tile i {
padding-right: 0.3em;
}
.viglink-header {
background: url('http://www.viglink.com/wp-content/uploads/2015/05/favicon-96x96.png') no-repeat 0 0;
padding-left: 30px;
background-size: 25px;
}
.icon {
font-family: FontAwesome;
font-style: normal;
}

View File

@@ -7,6 +7,7 @@
<!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title>
<link href="{T_FONT_AWESOME_LINK}" rel="stylesheet">
<link href="style/admin.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">