Browse Source

convert download button to dropdown

april1st
Alexandros Theodotou 4 years ago
parent
commit
9fd0fb5a3c
  1. 48
      locale/ja/LC_MESSAGES/messages.po
  2. 46
      locale/messages.pot
  3. 17
      static/styles.css
  4. 42
      template/index.html.j2

48
locale/ja/LC_MESSAGES/messages.po

@ -8,7 +8,7 @@ msgid "" @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-04-09 13:33+0100\n"
"POT-Creation-Date: 2019-04-15 07:52+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -22,7 +22,7 @@ msgstr "" @@ -22,7 +22,7 @@ msgstr ""
msgid "Zrythm"
msgstr ""
#: common/base.j2:6 template/index.html.j2:77
#: common/base.j2:6 template/index.html.j2:105
msgid "An highly automated, intuitive, Digital Audio Workstation (DAW)"
msgstr ""
@ -547,84 +547,86 @@ msgid "" @@ -547,84 +547,86 @@ msgid ""
"software</a> licensed under the GPLv3+."
msgstr ""
#: template/index.html.j2:59
msgid "Download Zrythm"
#: template/index.html.j2:60
#, fuzzy
#| msgid "Download Zrythm"
msgid "Download"
msgstr "ダウンロード"
#: template/index.html.j2:65
#: template/index.html.j2:93
msgid "Join &amp; support us!"
msgstr "応援する!"
#: template/index.html.j2:83
#: template/index.html.j2:111
msgid "Automated"
msgstr "自動化された"
#: template/index.html.j2:85
#: template/index.html.j2:113
msgid ""
"Built-in LFOs and envelopes to use for automating controls. Automation "
"curves for more detailed automation. Clips to loop your MIDI notes and "
"audio. And more."
msgstr ""
#: template/index.html.j2:95
#: template/index.html.j2:123
msgid "Intuitive"
msgstr "直感的"
#: template/index.html.j2:97
#: template/index.html.j2:125
msgid ""
"Zrythm tries to keep the interface clean and pleasant to work with, with "
"intuitive ways of getting work done enabling a faster workflow."
msgstr ""
#: template/index.html.j2:106
#: template/index.html.j2:134
msgid "Featureful"
msgstr "機能満々"
#: template/index.html.j2:109
#: template/index.html.j2:137
msgid ""
"Automation Curves, Busses, drag and drop LV2 Plugins and Audio files, "
"Arranger Minimap, etc."
msgstr ""
#: template/index.html.j2:122
#: template/index.html.j2:150
msgid "GNUnet aims to enable a secure and ethical Internet."
msgstr ""
#: template/index.html.j2:138
#: template/index.html.j2:166
msgid "Features"
msgstr "機能"
#: template/index.html.j2:147
#: template/index.html.j2:175
msgid "Feature 0"
msgstr ""
#: template/index.html.j2:150 template/index.html.j2:162
#: template/index.html.j2:172 template/index.html.j2:185
#: template/index.html.j2:195 template/index.html.j2:205
#: template/index.html.j2:178 template/index.html.j2:190
#: template/index.html.j2:200 template/index.html.j2:213
#: template/index.html.j2:223 template/index.html.j2:233
msgid "Cool."
msgstr "すごい。"
#: template/index.html.j2:159
#: template/index.html.j2:187
msgid "Feature 1"
msgstr ""
#: template/index.html.j2:170
#: template/index.html.j2:198
msgid "Feature 2"
msgstr ""
#: template/index.html.j2:183
#: template/index.html.j2:211
msgid "Feature 3"
msgstr ""
#: template/index.html.j2:193
#: template/index.html.j2:221
msgid "Feature 4"
msgstr ""
#: template/index.html.j2:203
#: template/index.html.j2:231
msgid "Feature 5"
msgstr ""
#: template/index.html.j2:218
#: template/index.html.j2:246
msgid "News"
msgstr "ニュース"

46
locale/messages.pot

@ -8,7 +8,7 @@ msgid "" @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-04-09 14:06+0100\n"
"POT-Creation-Date: 2019-04-15 08:05+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -21,7 +21,7 @@ msgstr "" @@ -21,7 +21,7 @@ msgstr ""
msgid "Zrythm"
msgstr ""
#: common/base.j2:6 template/index.html.j2:77
#: common/base.j2:6 template/index.html.j2:105
msgid "An highly automated, intuitive, Digital Audio Workstation (DAW)"
msgstr ""
@ -557,84 +557,84 @@ msgid "" @@ -557,84 +557,84 @@ msgid ""
"software</a> licensed under the GPLv3+."
msgstr ""
#: template/index.html.j2:59
msgid "Download Zrythm"
#: template/index.html.j2:60
msgid "Download"
msgstr ""
#: template/index.html.j2:65
#: template/index.html.j2:93
msgid "Join &amp; support us!"
msgstr ""
#: template/index.html.j2:83
#: template/index.html.j2:111
msgid "Automated"
msgstr ""
#: template/index.html.j2:85
#: template/index.html.j2:113
msgid ""
"Built-in LFOs and envelopes to use for automating controls. Automation "
"curves for more detailed automation. Clips to loop your MIDI notes and "
"audio. And more."
msgstr ""
#: template/index.html.j2:95
#: template/index.html.j2:123
msgid "Intuitive"
msgstr ""
#: template/index.html.j2:97
#: template/index.html.j2:125
msgid ""
"Zrythm tries to keep the interface clean and pleasant to work with, with "
"intuitive ways of getting work done enabling a faster workflow."
msgstr ""
#: template/index.html.j2:106
#: template/index.html.j2:134
msgid "Featureful"
msgstr ""
#: template/index.html.j2:109
#: template/index.html.j2:137
msgid ""
"Automation Curves, Busses, drag and drop LV2 Plugins and Audio files, "
"Arranger Minimap, etc."
msgstr ""
#: template/index.html.j2:122
#: template/index.html.j2:150
msgid "GNUnet aims to enable a secure and ethical Internet."
msgstr ""
#: template/index.html.j2:138
#: template/index.html.j2:166
msgid "Features"
msgstr ""
#: template/index.html.j2:147
#: template/index.html.j2:175
msgid "Feature 0"
msgstr ""
#: template/index.html.j2:150 template/index.html.j2:162
#: template/index.html.j2:172 template/index.html.j2:185
#: template/index.html.j2:195 template/index.html.j2:205
#: template/index.html.j2:178 template/index.html.j2:190
#: template/index.html.j2:200 template/index.html.j2:213
#: template/index.html.j2:223 template/index.html.j2:233
msgid "Cool."
msgstr ""
#: template/index.html.j2:159
#: template/index.html.j2:187
msgid "Feature 1"
msgstr ""
#: template/index.html.j2:170
#: template/index.html.j2:198
msgid "Feature 2"
msgstr ""
#: template/index.html.j2:183
#: template/index.html.j2:211
msgid "Feature 3"
msgstr ""
#: template/index.html.j2:193
#: template/index.html.j2:221
msgid "Feature 4"
msgstr ""
#: template/index.html.j2:203
#: template/index.html.j2:231
msgid "Feature 5"
msgstr ""
#: template/index.html.j2:218
#: template/index.html.j2:246
msgid "News"
msgstr ""

17
static/styles.css

@ -40,9 +40,9 @@ code { @@ -40,9 +40,9 @@ code {
}
/* hyperlinks and buttons */
#body_content a,
#body_content a:link,
#body_content a:visited {
#body_content a:not(.dropdown-link),
#body_content a:link:not(.dropdown-link),
#body_content a:visited:not(.dropdown-link) {
text-decoration: underline;
color: black;
}
@ -63,6 +63,17 @@ body { @@ -63,6 +63,17 @@ body {
padding-top: 3.5rem;
}
/* Added because there was some space between the button and the dropdown
* causing the dropdown to hide before hovering it */
.dropdown-menu {
margin-top: 0;
}
/* For the download button to go in the same line as the support us button */
.dropdown {
display: inline-block;
}
/*
Hover effects with this color don't work out!
See https://gnunet.org/bugs/view.php?id=5570

42
template/index.html.j2

@ -53,13 +53,41 @@ In the usual Composing -> Mixing -> Mastering workflow, Zrythm puts the most foc @@ -53,13 +53,41 @@ In the usual Composing -> Mixing -> Mastering workflow, Zrythm puts the most foc
Zrythm is <a href="http://www.gnu.org/philosophy/free-sw.html">free software</a> licensed under the GPLv3+.
{% endtrans %}
</p>
<p>
<a class="btn btn-primary btn-lg" href="https://software.opensuse.org//download.html?project=home%3Aalextee&package=zrythm">
<i class="fa fa-download"></i>
{% trans %}
Download Zrythm
{% endtrans %}
</a>
<p>
<div class="dropdown">
<button class="btn btn-primary btn-lg dropdown-toggle" type="button" data-toggle="dropdown">
<i class="fa fa-download"></i>
{% trans %}
Download
{% endtrans %}
</button>
<ul class="dropdown-menu">
<li>
<a href="https://git.zrythm.org/zrythm/zrythm/-/jobs/1151/artifacts/raw/build/win/Install_v0.4.003.exe" class="dropdown-link">
<button class="dropdown-item" >
<i class="fa fa-fw fa-windows"></i>
Windows 64-bit
</button>
</a>
</li>
<li>
<a href="https://software.opensuse.org//download.html?project=home%3Aalextee&package=zrythm" class="dropdown-link">
<button class="dropdown-item" >
<i class="fa fa-fw fa-linux"></i>
GNU/Linux
</button>
</a>
</li>
<li>
<a href="#" class="dropdown-link">
<button class="dropdown-item" >
<i class="fa fa-fw fa-apple"></i>
Mac OS
</button>
</a>
</li>
</ul>
</div>
<a class="btn btn-primary btn-lg" href="join-us.html">
<i class="fa fa-hand-peace-o"></i>
{% trans %}

Loading…
Cancel
Save