Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update layout: Color modes, jQuery removal, and more #186

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ insert_final_newline = true
indent_style = space
indent_size = 4

[*.html]
[*.{html,css,js}]
indent_style = space
indent_size = 2
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Once you have all dependencies, you can start development server:

./manage.py runserver

It will listed on port 8080 by default (you can change this by parameters).
It will listen on port 8000 by default (you can change this by parameters).

To run test-suite execute:

Expand Down Expand Up @@ -129,11 +129,11 @@ License

The website generator is licensed under GNU GPL version 2 or later.

Website itself uses some MIT licensed Javascript libraries:
Website itself uses some MIT licensed frontend libraries:

* jQuery <https://jquery.com/>
* Bootstrap <https://getbootstrap.com/>
* Colorbox <https://www.jacklmoore.com/colorbox/>
* Bootstrap 5 <https://getbootstrap.com>
* Bootstrap Icons <https://icons.getbootstrap.com>
* bs5-lightbox <https://trvswgnr.github.io/bs5-lightbox/>

The website content is licensed under Creative Commons
Attribution-Noncommercial-Share Alike 3.0 Unported License.
119 changes: 48 additions & 71 deletions data/awards.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,43 +27,36 @@
AWARDS = [
{
'image': 'images/awards/2021-database-management-software.png',
'link': (
'https://digital.com/database-management-software/#phpMyAdmin'
),
'link': 'https://digital.com/database-management-software/#phpMyAdmin',
'title': 'Best Database Management Software of 2021',
'text': '''
<p>phpMyAdmin was listed in
<a href="https://digital.com/">Digital.com's</a></p>
<p class="award"><a href="%(link)s">Best Database Management Software list</a></p>.
<p>in January 2021.</p>
<a href="https://digital.com/" target="_blank" rel="noopener">Digital.com's</a>
<a href="%(link)s" target="_blank" rel="noopener">Best Database Management Software list</a>
in January 2021.</p>
''',
'photos': [],
},
{
'image': 'images/awards/2017-hosting-advice.png',
'link': (
'https://www.hostingadvice.com/blog/'
'why-phpmyadmin-best-db-admin-tool-for-business/'
),
'link': 'https://www.hostingadvice.com/blog/why-phpmyadmin-best-db-admin-tool-for-business/',
'title': 'Best Database Admin Tool for Business Hosting',
'text': '''
<p>phpMyAdmin was awarded
<a href="https://www.hostingadvice.com/">HostingAdvice</a>'s</p>
<p class="award"><a href="%(link)s">Best Database Admin Tool for Business Hosting</a></p>.
<p>in January 2017.</p>
<a href="https://www.hostingadvice.com/" target="_blank" rel="noopener">HostingAdvice</a>'s
<a href="%(link)s" target="_blank" rel="noopener">Best Database Admin Tool for Business Hosting</a>
in January 2017.</p>
''',
'photos': [],
},
{
'image': 'images/awards/percona-live-logo.png',
'link': 'https://openlife.cc/'
'blogs/2013/april/mysql-community-awards-2013-and-winners-are',
'link': 'https://openlife.cc/blogs/2013/april/mysql-community-awards-2013-and-winners-are',
'title': '2013 MySQL Community Awards',
'text': '''
<p>At the <a href="%(link)s">2013 MySQL Community Awards</a> ceremony, our
project has won</p>
<p class="award">MySQL Application of the year 2013</p>
''',
<p>At the <a href="%(link)s" target="_blank" rel="noopener">2013 MySQL Community Awards</a> ceremony, our
project has won MySQL Application of the year 2013.</p>
''',
'photos': [
(
'images/awards/2013-community-awards-3.jpg',
Expand All @@ -87,11 +80,9 @@
'link': 'https://sourceforge.net/blog/cca06/',
'title': '2009 SourceForge.net Community Choice Awards',
'text': '''
<p>For the <a href="%(link)s">2009 SourceForge.net Community Choice Awards</a>,
phpMyAdmin was present in two categories:</p>
<p class="award">Best Tool or Utility for Developers (finalist)</p>
<p class="award">Best Tool or Utility for SysAdmins (winner)</p>
''',
<p>For the <a href="%(link)s" target="_blank" rel="noopener">2009 SourceForge.net Community Choice Awards</a>,
phpMyAdmin was present in two categories: Best Tool or Utility for Developers (finalist) and Best Tool or Utility for SysAdmins (winner).</p>
''',
'photos': [
(
'images/awards/sf_cca_2009_trophy.jpg',
Expand All @@ -105,23 +96,19 @@
'link': 'http://www.infoworld.com/',
'title': 'InfoWorld 2008 Best of Open Source Awards',
'text': '''
<p>Our project has won this <a href="%(link)s">Infoworld 2008 award:</a></p>
<p class="award">Best of open source platforms and middleware
(MySQL administration)</p>
''',
<p>Our project has won this <a href="%(link)s" target="_blank" rel="noopener">Infoworld 2008 award:</a>
Best of open source platforms and middleware (MySQL administration).</p>
''',
'photos': [],
},
{
'image': 'images/awards/sf_cca_2008_winner.png',
'link': 'https://sourceforge.net/blog/cca08',
'title': '2008 SourceForge.net Community Choice Awards',
'text': '''
<p>For the <a href="%(link)s">2008 SourceForge.net Community Choice Awards</a>,
phpMyAdmin was present in three categories:</p>
<p class="award">Best Tool or Utility for Developers (finalist)</p>
<p class="award">Best Tool or Utility for SysAdmins (winner)</p>
<p class="award">Most Likely to Be the Next $1B Acquisition (winner)</p>
''',
<p>For the <a href="%(link)s" target="_blank" rel="noopener">2008 SourceForge.net Community Choice Awards</a>,
phpMyAdmin was present in three categories: Best Tool or Utility for Developers (finalist), Best Tool or Utility for SysAdmins (winner), and Most Likely to Be the Next $1B Acquisition (winner).</p>
''',
'photos': [
(
'images/awards/sf_cca_2008_trophies.jpg',
Expand All @@ -135,11 +122,9 @@
'link': 'https://sourceforge.net/blog/cca07',
'title': '2007 SourceForge.net Community Choice Awards',
'text': '''
<p>For the <a href="%(link)s">2007 SourceForge.net Community Choice Awards</a>,
phpMyAdmin was present in two categories:</p>
<p class="award">Best Tool or Utility for Developers (nominated)</p>
<p class="award">Best Tool or Utility for SysAdmins (winner)</p>
''',
<p>For the <a href="%(link)s" target="_blank" rel="noopener">2007 SourceForge.net Community Choice Awards</a>,
phpMyAdmin was present in two categories: Best Tool or Utility for Developers (nominated) and Best Tool or Utility for SysAdmins (winner).</p>
''',
'photos': [
(
'images/awards/sf_cca_2007_trophy.jpg',
Expand All @@ -154,9 +139,8 @@
'title': '2006 Trophees du Libre',
'text': '''
<p>phpMyAdmin has won a Silver Trophy at the Third Trophees du Libre
(Free Software Awards) in the category</p>
<p class="award">PHP</p>
''',
(Free Software Awards) in the category PHP.</p>
''',
'photos': [
(
'images/awards/2006-trophees-marc.jpg',
Expand All @@ -171,55 +155,49 @@
'link': 'https://www.os2world.com/',
'title': '2005 OS2World.com Awards',
'text': '''
<p>For the <a href="%(link)s">5th Annual OS/2 World Awards</a>,
phpMyAdmin won in the category</p>
<p class="award">Best PHP Application</p>
''',
<p>For the <a href="%(link)s" target="_blank" rel="noopener">5th Annual OS/2 World Awards</a>,
phpMyAdmin won in the category Best PHP Application.</p>
''',
'photos': [],
},
{
'image': 'images/awards/sf_cca_2006_winner.png',
'link': 'https://sourceforge.net/blog/cca06/',
'title': '2006 SourceForge.net Community Choice Awards',
'text': '''
<p>For the first annual SourceForge.net <a href="%(link)s">Community Choice
Awards</a>, phpMyAdmin won the first place in two categories:</p>
<p class="award">Databases</p>
<p class="award">Sysadmin</p>
''',
<p>For the first annual SourceForge.net <a href="%(link)s" target="_blank" rel="noopener">Community Choice
Awards</a>, phpMyAdmin won the first place in two categories: Databases and Sysadmin.</p>
''',
'photos': [],
},
{
'image': 'images/awards/2006-phpmag-ger.png',
'link': 'https://www.phpmagazin.de/',
'title': 'PHP Magazin Reader\'s Choice Award 2006',
'text': '''
<p>phpMyAdmin was awarded the Reader's Choice Award 2006 in the category</p>
<p class="award">Best PHP-Tool / Best PHP-Application</p>
<p>by the readers of the <a href="%(link)s">German PHP Magazin</a>.</p>
''',
<p>phpMyAdmin was awarded the Reader's Choice Award 2006 in the category Best PHP-Tool / Best PHP-Application
by the readers of the <a href="%(link)s" target="_blank" rel="noopener">German PHP Magazin</a>.</p>
''',
'photos': [],
},
{
'image': 'images/awards/2005-phpmag-ger.gif',
'link': 'https://www.phpmagazin.de/',
'title': 'PHP Magazin Reader\'s Choice Award 2005',
'text': '''
<p>phpMyAdmin was awarded the Reader's Choice Award 2005 in the category</p>
<p class="award">Best PHP-Tool / Best PHP-Application</p>
<p>by the readers of the <a href="%(link)s">German PHP Magazin</a>.</p>
''',
<p>phpMyAdmin was awarded the Reader's Choice Award 2005 in the category Best PHP-Tool / Best PHP-Application
by the readers of the <a href="%(link)s" target="_blank" rel="noopener">German PHP Magazin</a>.</p>
''',
'photos': [],
},
{
'image': 'images/awards/2003-phpmag-ger.gif',
'link': 'https://www.phpmagazin.de/',
'title': 'PHP Magazin Reader\'s Choice Award 2003',
'text': '''
<p>phpMyAdmin was awarded the Reader's Choice Award 2003 in the category</p>
<p class="award">Best PHP-Tool / Best PHP-Application</p>
<p>by the readers of the <a href="%(link)s">German PHP Magazin</a>.</p>
''',
<p>phpMyAdmin was awarded the Reader's Choice Award 2003 in the category Best PHP-Tool / Best PHP-Application
by the readers of the <a href="%(link)s" target="_blank" rel="noopener">German PHP Magazin</a>.</p>
''',
'photos': [
(
'images/awards/2003-php-conf.jpg',
Expand All @@ -235,10 +213,9 @@
'link': 'https://www.phpmagazin.de/',
'title': 'International PHP Magazine Reader\'s Choice Award 2003',
'text': '''
<p>phpMyAdmin was awarded the Reader's Choice Award 2003 in the category</p>
<p class="award">Best PHP-Tool / Best PHP-Application</p>
<p>by the readers of the <a href="%(link)s">International PHP Magazine</a>.</p>
''',
<p>phpMyAdmin was awarded the Reader's Choice Award 2003 in the category Best PHP-Tool / Best PHP-Application
by the readers of the <a href="%(link)s" target="_blank" rel="noopener">International PHP Magazine</a>.</p>
''',
'photos': [
(
'images/awards/2003-php-conf.jpg',
Expand All @@ -255,11 +232,11 @@
'title': 'Sourceforge.net project of the month',
'text': '''
<p>phpMyAdmin was awarded
<a href="https://sourceforge.net">Sourceforge.net</a>'s</p>
<p class="award"><a href="%(link)s">Project of the month</a></p>
<p>in December 2002. Have a look at that <a href="%(link)s">article</a>, if you
<a href="https://sourceforge.net" target="_blank" rel="noopener">Sourceforge.net</a>'s
<a href="%(link)s" target="_blank" rel="noopener">Project of the month</a>
in December 2002. Have a look at that <a href="%(link)s" target="_blank" rel="noopener">article</a>, if you
want to learn about the early years of phpMyAdmin.</p>
''',
''',
'photos': [],
},
]
Expand Down
Loading