Skip to content
This repository was archived by the owner on May 2, 2018. It is now read-only.

Commit 1d920e6

Browse files
author
eugenio
committed
Dashboard Sidebar Populated + Language updated
1 parent 0ec28d2 commit 1d920e6

5 files changed

Lines changed: 84 additions & 7 deletions

File tree

admin/assets/css/admin.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,22 @@
6161
.metabox-holder .postbox.codeat .hndle span {
6262
text-align: center;
6363
display: block;
64+
}
65+
.metabox-holder .postbox.codeat.social {
66+
min-width: 270px;
67+
}
68+
.metabox-holder .postbox.codeat.social .inside a img {
69+
filter: invert(100%);
70+
}
71+
.metabox-holder .postbox.codeat.newsletter #mce-EMAIL {
72+
width: 100%;
73+
}
74+
.metabox-holder .postbox.codeat.newsletter #mc-embedded-subscribe {
75+
display: block;
76+
margin: 10px auto 0;
77+
}
78+
.metabox-holder .postbox.codeat.newsletter .mc-field-group label,
79+
.metabox-holder .postbox.codeat.newsletter .mce-success-response,
80+
.metabox-holder .postbox.codeat.newsletter {
81+
color: #fff;
6482
}

admin/views/admin.php

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,50 @@
120120
</div>
121121
</div>
122122
</div>
123-
123+
<!-- Begin MailChimp -->
124+
<div class="right-column-settings-page metabox-holder">
125+
<div class="postbox codeat newsletter">
126+
<h3 class="hndle"><span><?php _e( 'Codeat Newsletter', $this->plugin_slug ); ?></span></h3>
127+
<div class="inside">
128+
<!-- Begin MailChimp Signup Form -->
129+
<div id="mc_embed_signup">
130+
<form action="//codeat.us12.list-manage.com/subscribe/post?u=07eeb6c8b7c0e093817bd29d1&amp;id=8e8f10fb4d" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
131+
<div id="mc_embed_signup_scroll">
132+
<div class="mc-field-group">
133+
<label for="mce-EMAIL">Email Address </label>
134+
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
135+
</div>
136+
<div id="mce-responses" class="clear">
137+
<div class="response" id="mce-error-response" style="display:none"></div>
138+
<div class="response" id="mce-success-response" style="display:none"></div>
139+
</div>
140+
<div style="position: absolute; left: -5000px;" aria-hidden="true">
141+
<input type="text" name="b_07eeb6c8b7c0e093817bd29d1_8e8f10fb4d" tabindex="-1" value="">
142+
</div>
143+
<div class="clear">
144+
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
145+
</div>
146+
</div>
147+
</form>
148+
</div>
149+
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
150+
<script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
151+
</div>
152+
</div>
153+
</div>
154+
<!-- Begin Social Links -->
155+
<div class="right-column-settings-page metabox-holder">
156+
<div class="postbox codeat social">
157+
<h3 class="hndle"><span><?php _e( 'Follow us', $this->plugin_slug ); ?></span></h3>
158+
<div class="inside">
159+
<a href="https://facebook.com/codeatco/" target="_blank"><img src="http://i2.wp.com/codeat.co/wp-content/uploads/2016/02/social-facebook-outline.png?w=52" alt="facebook"></a>
160+
<a href="https://twitter.com/codeatco/" target="_blank"><img src="http://i0.wp.com/codeat.co/wp-content/uploads/2016/02/social-twitter-outline.png?w=52" alt="twitter"></a>
161+
<a href="https://linkedin.com/company/codeat/" target="_blank"><img src="http://i1.wp.com/codeat.co/wp-content/uploads/2016/02/social-linkedin-outline.png?w=52" alt="linkedin"></a>
162+
<a href="https://github.com/CodeAtCode/" target="_blank"><img src="http://i1.wp.com/codeat.co/wp-content/uploads/2016/02/social-github-outline.png?w=52" alt="github"></a>
163+
</div>
164+
</div>
165+
</div>
166+
<!-- Begin Plugin List -->
124167
<div class="right-column-settings-page metabox-holder">
125168
<div class="postbox codeat">
126169
<h3 class="hndle"><span><?php _e( 'A Codeat Plugin', $this->plugin_slug ); ?></span></h3>
@@ -133,4 +176,4 @@
133176
</div>
134177
</div>
135178
</div>
136-
</div>
179+
</div>

languages/glossary.pot

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Glossary by Codeat\n"
77
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
8-
"POT-Creation-Date: 2016-02-20 17:37+0100\n"
8+
"POT-Creation-Date: 2016-02-20 22:03+0100\n"
99
"PO-Revision-Date: 2014-07-07 18:52+0100\n"
1010
"Last-Translator: Mte90 <mte90net@gmail.com>\n"
1111
"Language-Team: Eugenio Petullà - Codeat <support@codeat.co>\n"
@@ -181,6 +181,14 @@ msgid "Import"
181181
msgstr ""
182182

183183
#: admin/views/admin.php:126
184+
msgid "Codeat Newsletter"
185+
msgstr ""
186+
187+
#: admin/views/admin.php:157
188+
msgid "Follow us"
189+
msgstr ""
190+
191+
#: admin/views/admin.php:169
184192
msgid "A Codeat Plugin"
185193
msgstr ""
186194

languages/it_IT.mo

129 Bytes
Binary file not shown.

languages/it_IT.po

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ msgid ""
44
msgstr ""
55
"Project-Id-Version: Glossary by Codeat\n"
66
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
7-
"POT-Creation-Date: 2016-02-20 17:38+0100\n"
8-
"PO-Revision-Date: 2016-02-20 18:02+0100\n"
7+
"POT-Creation-Date: 2016-02-20 22:04+0100\n"
8+
"PO-Revision-Date: 2016-02-20 22:04+0100\n"
9+
"Last-Translator: Eugenio Petullà <eugeniopetulla@yahoo.it>\n"
910
"Language-Team: Eugenio Petullà - Codeat <support@codeat.co>\n"
11+
"Language: it_IT\n"
1012
"MIME-Version: 1.0\n"
1113
"Content-Type: text/plain; charset=UTF-8\n"
1214
"Content-Transfer-Encoding: 8bit\n"
@@ -16,8 +18,6 @@ msgstr ""
1618
"esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
1719
"X-Poedit-Basepath: ..\n"
1820
"Plural-Forms: nplurals=2; plural=n != 1;\n"
19-
"Last-Translator: Eugenio Petullà <eugeniopetulla@yahoo.it>\n"
20-
"Language: it_IT\n"
2121
"X-Poedit-SearchPath-0: .\n"
2222
"X-Poedit-SearchPathExcluded-0: admin/includes/CMB2\n"
2323
"X-Poedit-SearchPathExcluded-1: includes/CPT_Core\n"
@@ -187,6 +187,14 @@ msgid "Import"
187187
msgstr "Importa"
188188

189189
#: admin/views/admin.php:126
190+
msgid "Codeat Newsletter"
191+
msgstr "Iscriviti alla Newsletter"
192+
193+
#: admin/views/admin.php:157
194+
msgid "Follow us"
195+
msgstr "Seguici sui social"
196+
197+
#: admin/views/admin.php:169
190198
msgid "A Codeat Plugin"
191199
msgstr "Un plugin di Codeat"
192200

0 commit comments

Comments
 (0)