Browse Source

Merge remote-tracking branch 'origin/master'

sisyphus
Dustin Falgout 9 years ago
parent
commit
8a2ddab072
  1. 3
      .gitmodules
  2. 25
      README.md
  3. 1
      themes/antergos
  4. 12
      themes/antergos/.gitignore
  5. 97
      themes/antergos/.tx/combine_translations.js
  6. 9
      themes/antergos/.tx/config
  7. 674
      themes/antergos/COPYING
  8. 9
      themes/antergos/Makefile.am
  9. 69
      themes/antergos/README.md
  10. 10
      themes/antergos/css/Makefile.am
  11. 590
      themes/antergos/css/style.css
  12. 7
      themes/antergos/css/vendor/Makefile.am
  13. 1239
      themes/antergos/css/vendor/bootstrap.min.css
  14. 4
      themes/antergos/fonts/Makefile.am
  15. 9
      themes/antergos/fonts/TTF/Makefile.am
  16. BIN
      themes/antergos/fonts/TTF/OpenSans-Light.ttf
  17. BIN
      themes/antergos/fonts/TTF/OpenSans-Regular.ttf
  18. 7
      themes/antergos/fonts/font-awesome/Makefile.am
  19. 4
      themes/antergos/fonts/font-awesome/font-awesome.min.css
  20. BIN
      themes/antergos/fonts/font-awesome/fontawesome-webfont.woff
  21. BIN
      themes/antergos/fonts/font-awesome/fontawesome-webfont.woff2
  22. 14
      themes/antergos/i18n/af.json
  23. 14
      themes/antergos/i18n/ar.json
  24. 1
      themes/antergos/i18n/az.json
  25. 14
      themes/antergos/i18n/be.json
  26. 14
      themes/antergos/i18n/bg.json
  27. 14
      themes/antergos/i18n/ca.json
  28. 14
      themes/antergos/i18n/cs.json
  29. 14
      themes/antergos/i18n/da.json
  30. 14
      themes/antergos/i18n/de.json
  31. 14
      themes/antergos/i18n/el.json
  32. 1
      themes/antergos/i18n/en.json
  33. 14
      themes/antergos/i18n/eo.json
  34. 14
      themes/antergos/i18n/es.json
  35. 14
      themes/antergos/i18n/et.json
  36. 14
      themes/antergos/i18n/eu.json
  37. 1
      themes/antergos/i18n/fa.json
  38. 14
      themes/antergos/i18n/fi.json
  39. 1
      themes/antergos/i18n/fr.json
  40. 14
      themes/antergos/i18n/gl.json
  41. 1
      themes/antergos/i18n/gu.json
  42. 14
      themes/antergos/i18n/he.json
  43. 14
      themes/antergos/i18n/hi.json
  44. 14
      themes/antergos/i18n/hr.json
  45. 14
      themes/antergos/i18n/hu.json
  46. 14
      themes/antergos/i18n/id.json
  47. 14
      themes/antergos/i18n/it.json
  48. 14
      themes/antergos/i18n/ja.json
  49. 1
      themes/antergos/i18n/ka.json
  50. 14
      themes/antergos/i18n/ko.json
  51. 14
      themes/antergos/i18n/lt.json
  52. 1
      themes/antergos/i18n/mk.json
  53. 14
      themes/antergos/i18n/mr.json
  54. 14
      themes/antergos/i18n/ms.json
  55. 1
      themes/antergos/i18n/nb.json
  56. 14
      themes/antergos/i18n/nl.json
  57. 14
      themes/antergos/i18n/pa.json
  58. 14
      themes/antergos/i18n/pl.json
  59. 14
      themes/antergos/i18n/pt.json
  60. 14
      themes/antergos/i18n/ro.json
  61. 14
      themes/antergos/i18n/ru.json
  62. 14
      themes/antergos/i18n/sk.json
  63. 14
      themes/antergos/i18n/sl.json
  64. 14
      themes/antergos/i18n/sr.json
  65. 14
      themes/antergos/i18n/sv.json
  66. 1
      themes/antergos/i18n/ta.json
  67. 14
      themes/antergos/i18n/tg.json
  68. 14
      themes/antergos/i18n/tl.json
  69. 14
      themes/antergos/i18n/tr.json
  70. 1
      themes/antergos/i18n/translations.json
  71. 14
      themes/antergos/i18n/uk.json
  72. 14
      themes/antergos/i18n/vi.json
  73. 1
      themes/antergos/i18n/xh.json
  74. 14
      themes/antergos/i18n/zh.json
  75. 14
      themes/antergos/i18n/zu.json
  76. 7
      themes/antergos/img/Makefile.am
  77. BIN
      themes/antergos/img/antergos-logo-user.png
  78. BIN
      themes/antergos/img/antergos.png
  79. BIN
      themes/antergos/img/fallback_bg.jpg
  80. BIN
      themes/antergos/img/screenshot1.jpg
  81. BIN
      themes/antergos/img/screenshot2.jpg
  82. BIN
      themes/antergos/img/screenshot3.jpg
  83. 266
      themes/antergos/index.html
  84. 6
      themes/antergos/index.theme
  85. 11
      themes/antergos/js/Makefile.am
  86. 806
      themes/antergos/js/greeter.js
  87. 1
      themes/antergos/js/translations.js
  88. 10
      themes/antergos/js/vendor/Makefile.am
  89. 7
      themes/antergos/js/vendor/bootstrap.min.js
  90. 4
      themes/antergos/js/vendor/jquery-2.1.4.min.js
  91. 74
      themes/antergos/js/vendor/moment-with-locales.min.js

3
.gitmodules vendored

@ -1,3 +0,0 @@
[submodule "themes/antergos"]
path = themes/antergos
url = git@github.com:antergos/lightdm-webkit-theme-antergos.git

25
README.md

@ -21,44 +21,19 @@
|**webkit2gtk-4.0** |webkitgtk|libwebkit2gtk-4.0-dev | webkitgtk4 | webkit2gtk3 |
|**dbus-glib-1** |dbus-glib|libdbus-glib-1-dev | dbus-glib | dbus-1-glib |
|**exo-csource** |exo |exo-utils | exo-devel | exo-tools |
|[**antergos-wallpapers**](http://antergos.com/antergos-wallpapers-0.6.zip)| N/A | N/A| N/A | N/A| N/A |
#### How To Build
The process is slightly different depending on how you obtain the source.
##### Use Git To Clone This Repo
```sh
cd /tmp
git clone https://github.com/Antergos/lightdm-webkit2-greeter.git greeter
cd greeter
git submodule init && git submodule update
./autogen.sh --prefix=/usr
make
```
##### Download Repo In Archive Format (tar.gz, zip, etc)
```sh
cd /tmp
wget https://github.com/Antergos/lightdm-webkit2-greeter/archive/release/latest.zip
unzip latest.zip
cd lightdm**/themes
rm -rf antergos
wget https://github.com/Antergos/lightdm-webkit-theme-antergos/archive/latest.zip
unzip latest.zip
mv lightdm** antergos
cd ..
./autogen.sh --prefix=/usr
make
```
#### How To Install
```sh
cd themes/antergos
sed -i 's|/usr/share/|/usr/share/lightdm-webkit/themes/|g' index.html
wget http://antergos.com/antergos-wallpapers-0.6.zip
unzip antergos**.zip
sudo make install --prefix=/usr
sudo cp -R antergos-wa** /usr/share/lightdm-webkit/themes/antergos/wallpapers
```
## Theme JavaScript API:

1
themes/antergos

@ -1 +0,0 @@
Subproject commit ab588973a4e5806c08e4506b0571137f8ed65777

12
themes/antergos/.gitignore vendored

@ -0,0 +1,12 @@
# Created by .ignore support plugin (hsz.mobi)
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion
*.iml
## Directory-based project format:
.idea/
node_modules/

97
themes/antergos/.tx/combine_translations.js

@ -0,0 +1,97 @@
/*
* Copyright © 2015-2016 Antergos
*
* combine_translations.js
*
* This file is part of lightdm-webkit2-greeter
*
* lightdm-webkit2-greeter is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,
* or any later version.
*
* lightdm-webkit2-greeter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* The following additional terms are in effect as per Section 7 of the license:
*
* The preservation of all legal notices and author attributions in
* the material or in the Appropriate Legal Notices displayed
* by works containing it is required.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
var fs = require( "fs" ),
path = require( 'path' ),
i18n_dir = process.argv[2] + '/i18n/',
translation_files = fs.readdirSync( i18n_dir ),
output = i18n_dir + 'translations.json',
translations = {};
function sortObj( obj, order ) {
"use strict";
var key,
tempArry = [],
i,
tempObj = {};
for ( key in obj ) {
tempArry.push( key );
}
tempArry.sort(
function( a, b ) {
return a.toLowerCase().localeCompare( b.toLowerCase() );
}
);
if ( order === 'desc' ) {
for ( i = tempArry.length - 1; i >= 0; i -- ) {
tempObj[ tempArry[ i ] ] = obj[ tempArry[ i ] ];
}
} else {
for ( i = 0; i < tempArry.length; i ++ ) {
tempObj[ tempArry[ i ] ] = obj[ tempArry[ i ] ];
}
}
return tempObj;
}
for ( var file of translation_files ) {
var abs_path = i18n_dir + file,
lang = file.replace( '.json', '' );
if ( 'translations.json' === file ) {
console.log( 'found' );
continue;
}
translations[ lang ] = JSON.parse( fs.readFileSync( abs_path, 'utf8' ) );
}
translations = sortObj( translations );
fs.writeFile( output, JSON.stringify( translations ), function( error ) {
if ( error ) {
console.error( "write error: " + error.message );
} else {
console.log( "Successful Write to " + output );
}
} );
fs.writeFile( i18n_dir.replace('/i18n/', '') + '/js/translations.js', 'window.ant_translations = ' + JSON.stringify( translations ), function( error ) {
if ( error ) {
console.error( "write error: " + error.message );
} else {
console.log( "Successful Write to " + i18n_dir.replace('/i18n/', '') + '/js/translations.js' );
}
} );
console.log( 'Done!' );

9
themes/antergos/.tx/config

@ -0,0 +1,9 @@
[main]
host = https://www.transifex.com
[antergos.lightdm-greeter-theme]
file_filter = i18n/<lang>.json
source_lang = en
source_file = i18n/en.json
type = KEYVALUEJSON

674
themes/antergos/COPYING

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

9
themes/antergos/Makefile.am

@ -0,0 +1,9 @@
antergosdir = $(THEME_DIR)/antergos
antergos_DATA = index.theme index.html COPYING README.md
SUBDIRS = css fonts img js
EXTRA_DIST = $(antergos_DATA)
DISTCLEANFILES = \
Makefile.in

69
themes/antergos/README.md

@ -0,0 +1,69 @@
# lightdm-webkit-theme-antergos
### Overview
This is the default theme included with [lightdm-webkit2-greeter](http://github.com/Antergos/lightdm-webkit2-greeter). If you are using the Webkit2 greeter, you already have this theme.
### Screenshots
<center>
<img src="img/screenshot1.jpg" alt="screenshot1" />
<hr/>
<img src="img/screenshot2.jpg" alt="screenshot2" />
<hr/>
<img src="img/screenshot3.jpg" alt="screenshot3" />
</center>
### Prerequisites
* lightdm-webkit2-greeter
### Installation
This theme is included with `lightdm-webkit2-greeter` which is installed by default for Antergos users. Non-Antergos users should see [lightdm-webkit2-greeter](https://github.com/Antergos/lightdm-webkit2-greeter/) for installation details.
#### ***NOTE:***
The last version of this theme which supported the legacy Webkit1 greeter was [v2.3.2](https://github.com/Antergos/lightdm-webkit-theme-antergos/releases/tag/2.3.2).
Versions of this theme later than ***2.3.2*** will not work with the legacy Webkit1 greeter. If you want to use the latest version of the theme you must use the Webkit2 greeter.
#### To use [v2.3.2](https://github.com/Antergos/lightdm-webkit-theme-antergos/releases/tag/2.3.2) of this theme with the legacy Webkit1 greeter:
1. Download [Antergos Theme](https://github.com/Antergos/lightdm-webkit-theme-antergos/archive/2.3.2.zip)
2. Unzip it. This should create a folder named like `Antergos-lightdm-webkit-theme-antergos-2.3.2`.
3. Rename this folder to `antergos` and copy move it to the themes directory (so that the complete path becomes `/usr/share/lightdm-webkit/themes/antergos`)
4. Edit `/etc/lightdm/lightdm-webkit-greeter.conf` and set the `webkit-theme` property to `antergos`:
```
[greeter]
webkit-theme=antergos
```
Optionally you can install the included font `Open Sans`.
Now if you restart your computer (or at least if you restart lightdm), the antergos greeter theme should be activated.
### User Icons Management
To change users icons:
1. Put an image file with the same name as the user's login into `/var/lib/AccountsService/icons/`
* eg. For user `john` whose home directory is `/home/john` the the full path to the user image would be:
`/var/lib/AccountsService/icons/john`
2. Create or edit `/var/lib/AccountsService/users/<userLogin>` and add a `Icon` property targeting the icon image you just created.
* eg. `/var/lib/AccountsService/users/john` would contain:
```
[User]
Language=en_US.utf8
XSession=cinnamon
SystemAccount=false
Icon=/var/lib/AccountsService/icons/john
```
This theme works well with 96x96 images.
### Translations
Translations are managed through [Transifex](https://www.transifex.com/faidoc/antergos). Please do not submit PR for translations.

10
themes/antergos/css/Makefile.am

@ -0,0 +1,10 @@
cssdir = $(THEME_DIR)/antergos/css
css_DATA = style.css
EXTRA_DIST = $(css_DATA)
SUBDIRS = vendor
DISTCLEANFILES = \
Makefile.in

590
themes/antergos/css/style.css

@ -0,0 +1,590 @@
/*
*
* Copyright © 2015-2016 Antergos
*
* style.css
*
* This file is part of lightdm-webkit2-greeter
*
* lightdm-webkit2-greeter is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,
* or any later version.
*
* lightdm-webkit2-greeter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* The following additional terms are in effect as per Section 7 of the license:
*
* The preservation of all legal notices and author attributions in
* the material or in the Appropriate Legal Notices displayed
* by works containing it is required.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* Global Styles */
@font-face {
font-family: 'Open Sans';
src: url('../fonts/TTF/OpenSans-Regular.ttf');
}
@font-face {
font-family: 'Open Sans Light';
src: url('../fonts/TTF/OpenSans-Light.ttf');
}
*:focus {
outline: none;
}
.hidden {
opacity: 0;
}
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background-color: #EAEAEA;
border-left: 1px solid #CCCCCC;
}
::-webkit-scrollbar-thumb {
background-color: #5D5D5D;
}
::-webkit-scrollbar-thumb:hover {
background-color: #757575;
}
.user-wrap2::-webkit-scrollbar {
width: 4px;
}
.user-wrap2::-webkit-scrollbar-track {
background-color: #EAEAEA;
border-left: 1px solid #CCCCCC;
}
.user-wrap2::-webkit-scrollbar-thumb {
background-color: #5D5D5D;
}
.user-wrap2::-webkit-scrollbar-thumb:hover {
background-color: #B3B3B3;
}
.close_wallpapers {
padding: 2px 10px !important;
}
html,
body {
height: 100%;
width: 100%;
background-color: #000000;
font-family: "Open Sans", sans-serif;
}
i {
font-size: 17px;
}
h3, .panel-heading {
font-family: "Open Sans", sans-serif;
font-size: 16px;
text-align: center;
font-weight: 400;
}
a {
text-decoration: none !important;
}
/* Background Switcher */
.bg-switch {
position: relative;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 250px;
margin: 40px auto auto;
padding: 0px 53px;
color: #F5F5F5;
}
.bg-switch h3 {
color: #f5f5f5;
}
.bg-switch .bgs .bg {
text-align: center;
text-decoration: none;
display: block;
max-height: 95px;
transition: background 0.4s ease-in;
margin-bottom: 12px;
}
.bg-switch .bgs .bg:hover {
background: rgba(255,255,255,0.3);
}
.bg-switch .bgs .bg.active div, .bg-switch .bgs .bg.active img {
border-color: #d6004b;
}
.bg-switch .bgs .bg div {
width: 145px;
height: 95px;
border: 2px solid #FFFFFF;
margin-bottom: 10px;
cursor: pointer;
transition: all 0.3s linear;
background-size: cover;
background-repeat: no-repeat;
}
.hovered {
text-decoration: none;
background-color: #ECF0F1;
}
#user-list2 {
width: 100%;
}
#user-list2 span {
font-size: 19px;
}
#user-list2 img {
width: 32px;
height: 32px;
margin-right: 10px;
}
#bg-switch-wrapper {
right: -250px;
width: 250px;
background: rgba(0, 0, 0, 0.5);
position: fixed;
height: 100%;
overflow-y: auto;
z-index: 1000;
transition: right 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.bg-switch-container {
position: absolute;
top: 0;
width: 250px;
list-style: none;
margin: 0;
padding: 0;
}
#bg-switch-toggle {
top: 0;
right: -2px;
position: fixed;
z-index: 1;
}
#bg-switch-wrapper.active {
right: 0px;
width: 250px;
overflow-x: hidden;
}
.toggle {
margin: 5px 20px 0 0;
}
/* Full Page Image Header Area */
.header {
display: table;
height: 100%;
width: 100%;
position: relative;
background-color: #000000;
background-size: cover !important;
background-repeat: no-repeat !important;
background-position: center !important;
transition: left 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
#user-target2 {
position: relative;
}
#user-target2 i {
right: -21px;
color: #2C3E50;
font-size: 14px;
}
#trigger i {
color: #2C3E50;
font-size: 14px;
position: relative;
top: 10px;
right: 5px;
}
/* Clock Widget */
.time {
font-family: "Open Sans Light", sans-serif;
font-size: 96px;
line-height: 1em;
text-decoration: none;
color: #3D73C5;
background-color: rgb(252, 247, 247);
transition: 1s ease-out;
position: relative;
top: 11px;
}
#panelfix {
max-height: 178px !important;
min-height: 178px;
}
.time-panel a {
display: block;
-webkit-animation: clkwiggle 7s infinite;
}
.time:hover {
cursor: pointer;
color: #77ADFF;
/* text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.7); */
}
.time-panel {
background-color: rgb(252, 247, 247) !important;
border-color: transparent !important;
}
.time-panel:target {
-webkit-animation: flip 0.5s ease-out;
}
.time-panel:target:after {
opacity: 0;
}
/* Login Dialog */
.welcome {
font-weight: 500;
font-size: 17px;
position: relative;
right: 9px;
}
.panel-heading img {
max-height: 30px;
width: auto;
}
.login-wrapper {
list-style-type: none;
display: table-row;
}
.login-cell {
display: table-cell;
vertical-align: middle;
}
.login-box {
min-height: 275px;
}
#panel-fix .panel-shadow, .panel-group, .panel-shadow {
box-shadow: none !important;
border: none !important;
}
.panel-default {
background-color: rgb(252, 247, 247);
}
.badge {
color: #2C3E50;
}
.badge, .badge i {
font-size: 10px !important;
display: none;
}
.list-group-item.hovered .badge,
.list-group-item.hovered .badge i {
display: block;
margin-top: 3px;
}
.panel-heading {
padding: 10px 20px !important;
background: #F1F1F1;
border-bottom-color: rgba(221,221,221, 0.35) !important;
}
.panel-footer {
height: 50px;
background: #F1F1F1;
border-top-color: rgba(221,221,221, 0.35);
}
#accordion {
margin-bottom: 10px;
}
#sessions, #actionsArea {
transition: all ease 3s;
}
.panel-body {
background-color: rgb(252, 247, 247);
padding: 10px;
}
.panel-footer {
padding: 5px 15px;
}
.panel-flow {
overflow: visible !important;
}
.password ul {
text-align: left;
}
div.password, div.status, div.timer {
text-align: center;
position: relative;
display: none;
width: 47%;
margin: 0 auto;
}
#passwordField {
margin-left: 1px;
}
.input-group-btn {
width: auto;
}
.form-control {
border-color: transparent !important;
}
input.password.form-control {
box-shadow: 0 1px #dddddd;
margin-top: -1px;
}
input.password.form-control:focus {
-webkit-box-shadow: inset 0 -2px 0 #2196F3 !important;
box-shadow: inset 0 -2px 0 #2196F3 !important;
border-bottom: 2px solid #2196F3 !important;
margin-top: 0;
}
#passwordArea .btn {
padding: 7px 12px;
}
#passwordArea .btn-group > .btn {
float: initial;
}
#logArea {
position: absolute;
top: 25%;
left: 5%;
width: 25%;
height: 50%;
display: none;
overflow: auto;
color: #FFFFFF;
background: rgba(0, 0, 0, 0.6);
border-radius: 10px;
font-size: 15px;
padding: 20px;
}
/* Animation */
@-webkit-keyframes bounce {
0% {
-webkit-transform: translateY(0);
}
100% {
-webkit-transform: translateY(-20px);
}
}
@-webkit-keyframes clkwiggle {
0% { -webkit-transform: rotate(0deg); }
1% { -webkit-transform: rotate(-2deg); }
1.5% { -webkit-transform: rotate(2deg); }
2% { -webkit-transform: rotate(0deg); }
2.5% { -webkit-transform: rotate(-2deg); }
3.5% { -webkit-transform: rotate(2deg); }
4% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(0deg); }
}
.random {
background: rgba(111, 111, 111, 0.65);
text-align: center;
display: table;
color: rgba(255, 255, 255, 0.72);
width: 145px;
height: 95px;
border: 2px solid #FFFFFF;
margin-bottom: 10px;
cursor: pointer;
padding-top: 28.5px;
}
.random span {
font-size: 18px;
}
.random:hover {
color: white;
background: rgba(111, 111, 111, 0.85);
}
.random.active {
border: 2px solid #3D73C5;
}
.user-wrap2 {
max-width: 50%;
margin: 0 auto;
display: -webkit-box;
overflow: visible;
}
#list-group {
padding: 0px;
overflow: visible;
}
@media (max-width: 1900px) {
.bg-switch {
position: relative;
width: 250px;
margin: 40px auto auto;
padding: 0px 74px;
}
.bg-switch .bgs .bg {
text-align: center;
text-decoration: none;
}
.bg-switch .bgs .bg img {
width: 102px;
height: 67px;
margin-bottom: 5px;
}
h3 {
margin-top: 10px;
margin-bottom: 8px;
}
#logArea {
top: 24%;
left: 2%;
}
.random {
width: 102px;
height: 67px;
margin-bottom: 5px;
padding-top: 18px;
}
}
.list-group-item {
padding: 5px 15px;
}
.list-group-item img {
position: relative;
bottom: 2px;
}
.list-group-item span:first-of-type {
position: relative;
top: 2px;
}
a.list-group-item:focus, a.list-group-item:hover, a.list-group-item.hovered {
position: relative;
-webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.1) inset;
box-shadow: 0 1px 0px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.1) inset;
outline: none;
margin: 0px 0;
background: #FFFFFF;
}
a.list-group-item:focus:before, a.list-group-item:focus:after,
a.list-group-item:hover:before, a.list-group-item:hover:after,
a.list-group-item.hovered:after, a.list-group-item.hovered:before {
content: "";
position: absolute;
z-index: -1;
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
top: 0;
bottom: 0;
left: 10px;
right: 10px;
border-radius: 10px;
}
a.list-group-item:focus:after, a.list-group-item:hover:after, a.list-group-item.hovered:after {
right: 10px;
left: auto;
-webkit-transform: skew(8deg) rotate(3deg);
transform: skew(8deg) rotate(3deg);
}
.input-group, #passwordArea table {
width: 100%;
margin-top: 5px;
}
.modal-title {
text-align: center;
padding-top: 20px;
}
.modal-footer {
text-align: center;
padding-bottom: 30px;
padding-left: 25px;
padding-right: 25px;
}
.modal-header {
padding-left: 25px;
padding-right: 25px;
}

7
themes/antergos/css/vendor/Makefile.am vendored

@ -0,0 +1,7 @@
vendordir = $(THEME_DIR)/antergos/css/vendor
vendor_DATA = bootstrap.min.css
EXTRA_DIST = $(vendor_DATA)
DISTCLEANFILES = \
Makefile.in

1239
themes/antergos/css/vendor/bootstrap.min.css vendored

File diff suppressed because it is too large Load Diff

4
themes/antergos/fonts/Makefile.am

@ -0,0 +1,4 @@
SUBDIRS = font-awesome TTF
DISTCLEANFILES = \
Makefile.in

9
themes/antergos/fonts/TTF/Makefile.am

@ -0,0 +1,9 @@
ttffontsdir = $(THEME_DIR)/antergos/fonts/TTF
ttffonts_DATA = \
OpenSans-Light.ttf \
OpenSans-Regular.ttf
EXTRA_DIST = $(ttffonts_DATA)
DISTCLEANFILES = \
Makefile.in

BIN
themes/antergos/fonts/TTF/OpenSans-Light.ttf

Binary file not shown.

BIN
themes/antergos/fonts/TTF/OpenSans-Regular.ttf

Binary file not shown.

7
themes/antergos/fonts/font-awesome/Makefile.am

@ -0,0 +1,7 @@
fawesomedir = $(THEME_DIR)/antergos/fonts/font-awesome
fawesome_DATA = font-awesome.min.css fontawesome-webfont.woff2 fontawesome-webfont.woff
EXTRA_DIST = $(fawesome_DATA)
DISTCLEANFILES = \
Makefile.in

4
themes/antergos/fonts/font-awesome/font-awesome.min.css vendored

File diff suppressed because one or more lines are too long

BIN
themes/antergos/fonts/font-awesome/fontawesome-webfont.woff

Binary file not shown.

BIN
themes/antergos/fonts/font-awesome/fontawesome-webfont.woff2

Binary file not shown.

14
themes/antergos/i18n/af.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Verifikasie misluk. Probeer asseblief weer.",
"background_options": "agtergrond Options",
"cancel": "kanselleer",
"confirm_system_action": "Is jy seker?",
"debug_log": "debug Meld",
"greeting": "Welkom!",
"hibernate": "hiberneer",
"random": "Random",
"reset": "herstel",
"restart": "Begin oor",
"shutdown": "Sit af",
"suspend": "opskort"
}

14
themes/antergos/i18n/ar.json

@ -0,0 +1,14 @@
{
"auth_failed": ".ﻯﺮﺧﺍ ﺓﺮﻣ ﻝﻭﺎﺣ .ﺔﻗﺩﺎﺼﻤﻟﺍ ﻞﺸﻓ !ﻩﻭﺍ ﻩﺍ",
"background_options": "ﺔﻴﻔﻠﺨﻟﺍ ﺕﺍﺭﺎﻴﺧ",
"cancel": "ءﺎﻐﻟﺇ",
"confirm_system_action": "؟ﺪﻛﺄﺘﻣ ﺖﻧﺃ ﻞﻫ",
"debug_log": "ﺢﻴﺤﺼﺘﻟﺍ ﻞﺠﺳ",
"greeting": "!ﻚﺑ أهلا",
"hibernate": "ﻡﺎﻧ",
"random": "ﻲﺋﺍﻮﺸﻋ",
"reset": "ﻦﻴﻴﻌﺗ ﺓﺩﺎﻋﺇ",
"restart": "ءﺪﺑ ﺓﺩﺎﻋﺇ",
"shutdown": "ﻖﻠﻏﺍ",
"suspend": "ﻖﻴﻠﻌﺗ"
}

1
themes/antergos/i18n/az.json

@ -0,0 +1 @@
{"auth_failed":"Oh Uh! Authentication bilmədi. Zəhmət olmasa bir daha cəhd edin.","background_options":"Ümumi Seçimlər","cancel":"ləğv etmək","confirm_system_action":"Sən əminsən?","debug_log":"debug Giriş","greeting":"Xoş gəlmisiniz!","hibernate":"qışlamaq","random":"təsadüfi","reset":"Reset","restart":"Yenidən başlamaq","shutdown":"Söndür","suspend":"dayandırmaq"}

14
themes/antergos/i18n/be.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Памылка аўтэнтыфікацыі. Калі ласка, паспрабуйце яшчэ раз.",
"background_options": "фонавыя Опцыі",
"cancel": "адмяніць",
"confirm_system_action": "Вы ўпэўненыя?",
"debug_log": "часопіс адладкі",
"greeting": "Сардэчна запрашаем!",
"hibernate": "зімаваць",
"random": "выпадковы",
"reset": "скід",
"restart": "Перазапуск",
"shutdown": "выключэнне",
"suspend": "прыпыніць"
}

14
themes/antergos/i18n/bg.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Неуспешна идентификация. Моля, опитайте отново.",
"background_options": "Опции Предистория",
"cancel": "Отказ",
"confirm_system_action": "Сигурен ли си?",
"debug_log": "Debug Log",
"greeting": "Добре дошла!",
"hibernate": "спя зимен сън",
"random": "произволен",
"reset": "Нулиране",
"restart": "Рестарт",
"shutdown": "Изключвам",
"suspend": "Задържане"
}

14
themes/antergos/i18n/ca.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh! Oh! Autenticació fallida. Si us plau, torneu-ho a provar.",
"background_options": "Opcions del fons",
"cancel": "Cancel·la",
"confirm_system_action": "N'esteu segur?",
"debug_log": "Registre de depuració",
"greeting": "Benvinguts!",
"hibernate": "Hiberna",
"random": "Aleatori",
"reset": "Restableix",
"restart": "Reinicia",
"shutdown": "Atura",
"suspend": "Suspèn"
}

14
themes/antergos/i18n/cs.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Ověření se nezdařilo. Prosím zkuste to znovu.",
"background_options": "Volby Pozadí",
"cancel": "Zrušit",
"confirm_system_action": "Jsi si jistý?",
"debug_log": "Debug Log",
"greeting": "Vítejte!",
"hibernate": "Hibernace",
"random": "Náhodný",
"reset": "Obnovit",
"restart": "Restart",
"shutdown": "Vypnout",
"suspend": "Pozastavit"
}

14
themes/antergos/i18n/da.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Godkendelse mislykkedes. Prøv igen.",
"background_options": "baggrund Valgmuligheder",
"cancel": "Ophæve",
"confirm_system_action": "Er du sikker?",
"debug_log": "debug Log",
"greeting": "Velkomst!",
"hibernate": "dvale",
"random": "Tilfældig",
"reset": "Nulstil",
"restart": "Genstart",
"shutdown": "Lukke ned",
"suspend": "Suspendere"
}

14
themes/antergos/i18n/de.json

@ -0,0 +1,14 @@
{
"auth_failed": "Die Authentifizierung ist fehlgeschlagen. Bitte erneut probieren.",
"background_options": "Hintergrund Optionen",
"cancel": "Abbrechen",
"confirm_system_action": "Sind Sie sich sicher?",
"debug_log": "Debug Log",
"greeting": "Willkommen!",
"hibernate": "Ruhezustand",
"random": "Zufällig",
"reset": "Reset",
"restart": "Neustart",
"shutdown": "Herunterfahren",
"suspend": "Bereitschaftsbetrieb"
}

14
themes/antergos/i18n/el.json

@ -0,0 +1,14 @@
{
"auth_failed": "Ωχ Ωχ! Ο έλεγχος ταυτότητας απέτυχε. Παρακαλώ δοκιμάστε ξανά.",
"background_options": "Επιλογές φόντου",
"cancel": "Ακύρωση",
"confirm_system_action": "Είσαι σίγουρος/η;",
"debug_log": "Αποσφαλμάτωση Εγγραφής",
"greeting": "Καλώς ήρθατε!",
"hibernate": "Αδρανοποίηση",
"random": "Τυχαίο",
"reset": "Επαναφορά",
"restart": "Επανεκκίνηση",
"shutdown": "Τερματισμός λειτουργίας",
"suspend": "Αναστολή"
}

1
themes/antergos/i18n/en.json

@ -0,0 +1 @@
{"auth_failed":"Uh Oh! Authentication failed. Please try again.","background_options":"Background Options","cancel":"Cancel","confirm_system_action":"Are you sure?","debug_log":"Debug Log","greeting":"Welcome!","hibernate":"Hibernate","random":"Random","reset":"Reset","restart":"Restart","shutdown":"Shutdown","suspend":"Suspend"}

14
themes/antergos/i18n/eo.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Aŭtentigo malsukcesis. Bonvolu reprovi.",
"background_options": "Fona Ebloj",
"cancel": "Rezignu",
"confirm_system_action": "Ĉu vi certas?",
"debug_log": "debug Ensalutu",
"greeting": "Bonvenon!",
"hibernate": "hiberna",
"random": "Random",
"reset": "Restarigi",
"restart": "Rekomenci",
"shutdown": "elŝaltita",
"suspend": "malakcepti"
}

14
themes/antergos/i18n/es.json

@ -0,0 +1,14 @@
{
"auth_failed": "¡Vaya! Error de autenticación. Por favor, vuelva a intentarlo.",
"background_options": "Opciones de fondo",
"cancel": "Cancelar",
"confirm_system_action": "¿Está seguro?",
"debug_log": "Registro de depuración de errores",
"greeting": "¡Bienvenido!",
"hibernate": "Hibernar",
"random": "Al azar",
"reset": "Reiniciar",
"restart": "Reiniciar",
"shutdown": "Apagar",
"suspend": "Suspender"
}

14
themes/antergos/i18n/et.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Tuvastamine ebaõnnestus. Palun proovi uuesti.",
"background_options": "Taust valikud",
"cancel": "Tühista",
"confirm_system_action": "Oled sa kindel?",
"debug_log": "Debug Logi",
"greeting": "Tere tulemast!",
"hibernate": "talveund magama",
"random": "juhuslik",
"reset": "Taasta",
"restart": "Taaskäivita",
"shutdown": "Lülita välja",
"suspend": "peatada"
}

14
themes/antergos/i18n/eu.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Egiaztapenak huts egin du. Mesedez, saiatu berriz.",
"background_options": "Aurrekariak Aukerak",
"cancel": "Utzi",
"confirm_system_action": "Zihur zaude?",
"debug_log": "Araztu hasi saioa",
"greeting": "Ongi etorri!",
"hibernate": "hibernatzeko",
"random": "Random",
"reset": "Berrezarri",
"restart": "Restart",
"shutdown": "Itzali",
"suspend": "Eseki"
}

1
themes/antergos/i18n/fa.json

@ -0,0 +1 @@
{"auth_failed":".ﺪﯿﻨﮐ ﺵﻼﺗ ﻩﺭﺎﺑﻭﺩ ﺎﻔﻄﻟ .ﺖﺳﺍ ﻩﺩﺭﻮﺧ ﺖﺴﮑﺷ ﺖﯾﻮﻫ ﺯﺍﺮﺣﺍ !ﻩﻭﺍ ﻩﻭﺍ","background_options":"ﻪﻨﯿﻣﺯ ﺲﭘ ﯼﺎﻫ ﻪﻨﯾﺰﮔ","cancel":"ﻮﻐﻟ","confirm_system_action":"؟ﺪﯿﺘﺴﻫ ﻦﺌﻤﻄﻣ ﺎﻤﺷ","debug_log":"ﺩﻭﺭﻭ ﯽﯾﺍﺩﺯ ﻝﺎﮑﺷﺍ","greeting":"!ﯼﺪﻣﺁ ﺵﻮﺧ","hibernate":"ﯽﻧﺎﺘﺴﻣﺯ ﺏﺍﻮﺧ","random":"ﯽﻓﺩﺎﺼﺗ","reset":"ﺩﺪﺠﻣ ﻢﯿﻈﻨﺗ","restart":"ﺩﺪﺠﻣ ﯼﺯﺍﺪﻧﺍ ﻩﺍﺭ","shutdown":"ﻥﺩﺮﮐ ﺵﻮﻣﺎﺧ","suspend":"ﻖﯿﻠﻌﺗ"}

14
themes/antergos/i18n/fi.json

@ -0,0 +1,14 @@
{
"auth_failed": "Voi ei! Todennus epäonnistui. Yritä uudelleen.",
"background_options": "tausta Valinnat",
"cancel": "Peruuttaa",
"confirm_system_action": "Oletko varma?",
"debug_log": "vianjäljityslokin",
"greeting": "Tervetuloa!",
"hibernate": "talvehtia",
"random": "satunnainen",
"reset": "asettaa uudelleen",
"restart": "Aloittaa alusta",
"shutdown": "Sammuttaa",
"suspend": "Keskeyttää"
}

1
themes/antergos/i18n/fr.json

@ -0,0 +1 @@
{"auth_failed":"Uh Oh! L'authentification a échoué. S'il vous plaît essayer à nouveau.","background_options":"Options de fond","cancel":"Annuler","confirm_system_action":"Es-tu sûr?","debug_log":"journal de débogage","greeting":"Bienvenue!","hibernate":"Hiberner","random":"aléatoire","reset":"Réinitialiser","restart":"Redémarrer","shutdown":"Fermer","suspend":"Suspendre"}

14
themes/antergos/i18n/gl.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Fallou a autenticación. Por favor, ténteo de novo.",
"background_options": "opcións de fondo",
"cancel": "cancelar",
"confirm_system_action": "Estás seguro?",
"debug_log": "debug Log",
"greeting": "Benvido!",
"hibernate": "hibernar",
"random": "aleatorio",
"reset": "Restaurar",
"restart": "restart",
"shutdown": "shutdown",
"suspend": "suspender"
}

1
themes/antergos/i18n/gu.json

@ -0,0 +1 @@
{"auth_failed":"ઓહ! પરમકરણ નિફળ થય. ફરરયતન કર.","background_options":"પઠભિિકલ","cancel":"રદ કર","confirm_system_action":"તમનતર?","debug_log":"ડબગ લગ","greeting":"આપનગત છ!","hibernate":"હયબરનટ","random":"રડમ","reset":"રટ","restart":"પભ","shutdown":"બધ કર","suspend":"બધ કર"}

14
themes/antergos/i18n/he.json

@ -0,0 +1,14 @@
{
"auth_failed": "אוי לא! האימות נכשל. נא לנסות שוב.",
"background_options": "אפשרויות רקע",
"cancel": "ביטול",
"confirm_system_action": "האם אתם בטוחים?",
"debug_log": "תיעוד Debug",
"greeting": "ברוכים הבאים!",
"hibernate": "מצב שינה",
"random": "אקראי",
"reset": "אתחול",
"restart": "הפעלה מחדש",
"shutdown": "כיבוי",
"suspend": "השעייה"
}

14
themes/antergos/i18n/hi.json

@ -0,0 +1,14 @@
{
"auth_failed": "उह ओह! परमकरण विफल ह। कपयन: परयस कर।",
"background_options": "पठभििकलप",
"cancel": "रदद करन",
"confirm_system_action": "क आपक यकन ह?",
"debug_log": "लग कबग कर",
"greeting": "आपकगत ह!",
"hibernate": "सतनि",
"random": "बि समझ",
"reset": "रट",
"restart": "प आरभ कर",
"shutdown": "बद करन",
"suspend": "निित"
}

14
themes/antergos/i18n/hr.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh oh! Provjera autentičnosti nije uspjela. Molim te pokušaj ponovno.",
"background_options": "Mogućnosti Pozadina",
"cancel": "Otkazati",
"confirm_system_action": "Jesi li siguran?",
"debug_log": "debug Prijava",
"greeting": "Dobrodošli!",
"hibernate": "hibernacija",
"random": "Slučajna",
"reset": "Poništi",
"restart": "Restart",
"shutdown": "Ugasiti",
"suspend": "Obustaviti"
}

14
themes/antergos/i18n/hu.json

@ -0,0 +1,14 @@
{
"auth_failed": "UH Oh! Sikertelen volt a hitelesítés. Kérlek próbáld újra.",
"background_options": "háttér beállításai",
"cancel": "Mégsem",
"confirm_system_action": "Biztos benne?",
"debug_log": "Debug Log",
"greeting": "Fogadtatás!",
"hibernate": "hibernate",
"random": "Véletlen",
"reset": "visszaállítása",
"restart": "Újraindítás",
"shutdown": "Lekapcsol",
"suspend": "felfüggesztheti"
}

14
themes/antergos/i18n/id.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh oh! Otentikasi gagal. Silakan coba lagi.",
"background_options": "latar Belakang Pilihan",
"cancel": "Membatalkan",
"confirm_system_action": "Apa kamu yakin?",
"debug_log": "Debug Log",
"greeting": "Menyambut!",
"hibernate": "Hibernate",
"random": "Acak",
"reset": "Atur ulang",
"restart": "Mengulang kembali",
"shutdown": "Matikan",
"suspend": "Menangguhkan"
}

14
themes/antergos/i18n/it.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Autenticazione fallita. Riprova.",
"background_options": "Opzioni sfondo",
"cancel": "Cancellare",
"confirm_system_action": "Sei sicuro?",
"debug_log": "Debug Log",
"greeting": "Ben arrivato!",
"hibernate": "Ibernazione",
"random": "Casuale",
"reset": "Reset",
"restart": "Riavviamento",
"shutdown": "Spegnimento",
"suspend": "Sospensione"
}

14
themes/antergos/i18n/ja.json

@ -0,0 +1,14 @@
{
"auth_failed": "ええとああ! 認証に失敗しました。 もう一度やり直してください。",
"background_options": "壁紙のオプション",
"cancel": "キャンセル",
"confirm_system_action": "よろしいですか?",
"debug_log": "デバッグログ",
"greeting": "ようこそ!",
"hibernate": "ハイバネート",
"random": "ランダム",
"reset": "リセット",
"restart": "再起動",
"shutdown": "シャットダウン",
"suspend": "サスペンド"
}

1
themes/antergos/i18n/ka.json

@ -0,0 +1 @@
{"auth_failed":"Uh Oh! იდენტიფიკაცია ვერ მოხერხდა. გთხოვთ კიდევ სცადეთ.","background_options":"Background პარამეტრები","cancel":"გაუქმება","confirm_system_action":"დარწმუნებული ხარ?","debug_log":"Debug შესვლა","greeting":"გამარჯობა!","hibernate":"hibernate","random":"შემთხვევითი","reset":"ხელახლა","restart":"გადატვირთვა","shutdown":"გათიშვა","suspend":"შეაჩეროს"}

14
themes/antergos/i18n/ko.json

@ -0,0 +1,14 @@
{
"auth_failed": "어 오! 인증 실패. 다시 시도하십시오.",
"background_options": "배경 옵션",
"cancel": "취소",
"confirm_system_action": "확실합니까?",
"debug_log": "디버그 로그",
"greeting": "환영!",
"hibernate": "최대 절전 모드",
"random": "닥치는대로의",
"reset": "리셋",
"restart": "재시작",
"shutdown": "일시 휴업",
"suspend": "매달다"
}

14
themes/antergos/i18n/lt.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Autentifikavimas nepavyko. Prašau, pabandykite dar kartą.",
"background_options": "Fono parinktys",
"cancel": "atšaukti",
"confirm_system_action": "Ar tu tuo tikras?",
"debug_log": "derinti Prisijungti",
"greeting": "Sveiki!",
"hibernate": "hibernate",
"random": "Atsitiktinės",
"reset": "Atstatyti",
"restart": "Perkrauti",
"shutdown": "Išjungti",
"suspend": "sustabdyti"
}

1
themes/antergos/i18n/mk.json

@ -0,0 +1 @@
{"auth_failed":"Ух О! Проверката за автентичност не успеа. Ве молиме обидете се повторно.","background_options":"Опции позадина","cancel":"Откажи","confirm_system_action":"Дали си сигурен?","debug_log":"debug Логирање","greeting":"Добредојдовте!","hibernate":"хибернираат","random":"Случајна","reset":"ресетирање","restart":"Рестарт","shutdown":"Исклучи","suspend":"суспендира"}

14
themes/antergos/i18n/mr.json

@ -0,0 +1,14 @@
{
"auth_failed": "अर! परमकरण अयशस. कपयरयतन कर.",
"background_options": "पवभ परय",
"cancel": "रदद कर",
"confirm_system_action": "त आह?",
"debug_log": "डबग करग",
"greeting": "आपलगत आह!",
"hibernate": "हयबरनट",
"random": "अवििट",
"reset": "रट कर",
"restart": "प कर",
"shutdown": "बद कर",
"suspend": "ससड"
}

14
themes/antergos/i18n/ms.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Pengesahan gagal. Sila cuba lagi.",
"background_options": "Pilihan Latar Belakang",
"cancel": "Batal",
"confirm_system_action": "Adakah anda pasti?",
"debug_log": "debug Log",
"greeting": "Selamat Datang!",
"hibernate": "hibernate",
"random": "Random",
"reset": "Set semula",
"restart": "Mula semula",
"shutdown": "Menutup",
"suspend": "Gantung"
}

1
themes/antergos/i18n/nb.json

@ -0,0 +1 @@
{"auth_failed":"UH oh! Autentisering mislyktes. Vær så snill, prøv på nytt.","background_options":"bakgrunns alternativer","cancel":"Kansellere","confirm_system_action":"Er du sikker?","debug_log":"Debug Log","greeting":"Velkommen!","hibernate":"Hibernate","random":"Tilfeldig","reset":"Tilbakestill","restart":"Omstart","shutdown":"Skru av","suspend":"Henge"}

14
themes/antergos/i18n/nl.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Verificatie is mislukt. Probeer opnieuw.",
"background_options": "achtergrond Opties",
"cancel": "Annuleer",
"confirm_system_action": "Weet je het zeker?",
"debug_log": "debug Log",
"greeting": "Welkom!",
"hibernate": "overwinteren",
"random": "toevallig",
"reset": "Reset",
"restart": "Herstart",
"shutdown": "Afsluiten",
"suspend": "opschorten"
}

14
themes/antergos/i18n/pa.json

@ -0,0 +1,14 @@
{
"auth_failed": "ਓ uh! ਪਰਮਿਕਤ ਅਸਫਲ ਰਹ. ਮੜ ਕਿਸ ਕਰ.",
"background_options": "ਪਿਠਭਣ",
"cancel": "ਰਦ ਕਰ",
"confirm_system_action": "ਤਿਸ ਹ?",
"debug_log": "ਡਗ ਲਗ",
"greeting": "ਸਆਗਤ ਹ!",
"hibernate": "ਹਈਬਰਨਟ",
"random": "ਬਤਰਤ",
"reset": "ਰਟ",
"restart": "ਮੜ-ਚ",
"shutdown": "ਸਟ ਡਉਨ",
"suspend": "ਮਤਲ"
}

14
themes/antergos/i18n/pl.json

@ -0,0 +1,14 @@
{
"auth_failed": "O o! Uwierzytelnianie nie powiodło się. Proszę spróbuj ponownie.",
"background_options": "Opcje tła",
"cancel": "Anuluj",
"confirm_system_action": "Jesteś pewny?",
"debug_log": "Debug Log",
"greeting": "Zapraszamy!",
"hibernate": "Hibernować",
"random": "Losowy",
"reset": "Nastawić",
"restart": "restart",
"shutdown": "Zamknąć",
"suspend": "Zawieszać"
}

14
themes/antergos/i18n/pt.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! A autenticação falhou. Por favor, tente novamente.",
"background_options": "Opções de Fundo",
"cancel": "Cancelar",
"confirm_system_action": "Você tem certeza?",
"debug_log": "Registo de Depuração",
"greeting": "Bem-vindo!",
"hibernate": "Hibernar",
"random": "Aleatório",
"reset": "Repor",
"restart": "Reiniciar",
"shutdown": "Desligar",
"suspend": "Suspender"
}

14
themes/antergos/i18n/ro.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Autentificare esuata. Vă rugăm să încercați din nou.",
"background_options": "Opțiuni de fundal",
"cancel": "Anula",
"confirm_system_action": "Esti sigur?",
"debug_log": "debug Log",
"greeting": "Bine ati venit!",
"hibernate": "hiberna",
"random": "Întâmplător",
"reset": "Reset",
"restart": "Repornire",
"shutdown": "Închide",
"suspend": "Suspenda"
}

14
themes/antergos/i18n/ru.json

@ -0,0 +1,14 @@
{
"auth_failed": "Ой! Ошибка аутентификации. Пожалуйста, попробуйте еще раз.",
"background_options": "Фоновые настройки",
"cancel": "Отмена",
"confirm_system_action": "Вы уверены?",
"debug_log": "Журнал отладки",
"greeting": "Добро пожаловать!",
"hibernate": "Гибернация",
"random": "Выборочно",
"reset": "Сброс",
"restart": "Перезагрузка",
"shutdown": "Выключить",
"suspend": "Приостановить"
}

14
themes/antergos/i18n/sk.json

@ -0,0 +1,14 @@
{
"auth_failed": "Ale nie! Overenie totožnosti zlyhalo. Prosím, skúste to znovu.",
"background_options": "Voľby pozadia",
"cancel": "Zrušiť",
"confirm_system_action": "Ste si istý?",
"debug_log": "Záznam ladenia",
"greeting": "Vitajte!",
"hibernate": "Hibernovať",
"random": "Náhodné",
"reset": "Obnoviť",
"restart": "Reštartovať",
"shutdown": "Vypnúť",
"suspend": "Uspať"
}

14
themes/antergos/i18n/sl.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Preverjanje pristnosti ni uspelo. Prosim poskusi znova.",
"background_options": "Možnosti ozadja",
"cancel": "Prekliči",
"confirm_system_action": "Ali si prepričan?",
"debug_log": "debug Log",
"greeting": "Dobrodošli!",
"hibernate": "hibernacija",
"random": "random",
"reset": "Ponastavi",
"restart": "Ponovni zagon",
"shutdown": "Ugasniti",
"suspend": "odloži"
}

14
themes/antergos/i18n/sr.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Аутхентицатион фаилед. Molim vas, pokušajte ponovo.",
"background_options": "Бацкгроунд Опције",
"cancel": "отказати",
"confirm_system_action": "Da li si siguran?",
"debug_log": "дебуг се",
"greeting": "Dobrodošao!",
"hibernate": "хибернирати",
"random": "случајан",
"reset": "Ресет",
"restart": "Ponovo pokreni",
"shutdown": "Isključi",
"suspend": "суспендовати"
}

14
themes/antergos/i18n/sv.json

@ -0,0 +1,14 @@
{
"auth_failed": "Hoppsan! Autentisering misslyckades. Var god försök igen.",
"background_options": "bakgrund Val",
"cancel": "Annullera",
"confirm_system_action": "Är du säker?",
"debug_log": "Debug Log",
"greeting": "Välkomna!",
"hibernate": "Övervintra",
"random": "Slumpmässig",
"reset": "Återställa",
"restart": "Omstart",
"shutdown": "Stäng ner",
"suspend": "Uppskjuta"
}

1
themes/antergos/i18n/ta.json

@ -0,0 +1 @@
{"auth_failed":"அட ட! அஙகரிிறத. தயவயறிகவ.","background_options":"பினணிிபஙகள","cancel":"ரத","confirm_system_action":"நவத உறி?","debug_log":"பிிி உளய","greeting":"வரவி!","hibernate":"ஓய","random":"ரடம","reset":"மடம","restart":"மறடககம","shutdown":"பணிிதம","suspend":"இடிதம"}

14
themes/antergos/i18n/tg.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Эй кош! Хатои. Лутфан, боз кӯшиш кунед.",
"background_options": "Имконот замина",
"cancel": "бекор",
"confirm_system_action": "Шумо мутмаъин ҳастед?",
"debug_log": "сознамоии English Русский",
"greeting": "Хуш омадед!",
"hibernate": "Hibernate",
"random": "ихтиёрӣ",
"reset": "Reset",
"restart": "Оғози дубора",
"shutdown": "Пӯшида шудан",
"suspend": "боздоштан"
}

14
themes/antergos/i18n/tl.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Nabigo ang pagpapatotoo. Pakisubukang muli.",
"background_options": "Mga Pagpipilian sa Background",
"cancel": "kanselahin",
"confirm_system_action": "Sigurado ka ba?",
"debug_log": "Debug Log",
"greeting": "Maligayang pagdating!",
"hibernate": "pagtulog sa panahon ng taglamig",
"random": "Random",
"reset": "I-reset ang",
"restart": "I-restart ang",
"shutdown": "pagpipinid",
"suspend": "Suspindihin"
}

14
themes/antergos/i18n/tr.json

@ -0,0 +1,14 @@
{
"auth_failed": "Ah ah! Kimlik doğrulama başarısız oldu. Lütfen tekrar deneyin.",
"background_options": "Geçmiş Seçenekleri",
"cancel": "İptal",
"confirm_system_action": "Emin misiniz?",
"debug_log": "Debug Günlüğü",
"greeting": "Hoşgeldiniz!",
"hibernate": "kış uykusuna yatmak",
"random": "rasgele",
"reset": "Reset",
"restart": "Tekrar başlat",
"shutdown": "Kapat",
"suspend": "Askıya"
}

1
themes/antergos/i18n/translations.json

File diff suppressed because one or more lines are too long

14
themes/antergos/i18n/uk.json

@ -0,0 +1,14 @@
{
"auth_failed": "Ой-ой! Помилка аутентифікації. Будь ласка спробуйте ще раз.",
"background_options": "фонові Опції",
"cancel": "Скасувати",
"confirm_system_action": "Ти впевнений?",
"debug_log": "Журнал налагодження",
"greeting": "Ласкаво просимо!",
"hibernate": "зимувати",
"random": "випадковий",
"reset": "Скидання",
"restart": "перезапуск",
"shutdown": "Закрити",
"suspend": "призупинити"
}

14
themes/antergos/i18n/vi.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Quá trình xác thực đã thất bại. Vui lòng thử lại.",
"background_options": "Tùy chọn nền",
"cancel": "hủy bỏ",
"confirm_system_action": "Bạn có chắc không?",
"debug_log": "debug Log",
"greeting": "Chào mừng!",
"hibernate": "Hibernate",
"random": "ngẫu nhiên",
"reset": "Thiết lập lại",
"restart": "Khởi động lại",
"shutdown": "Tắt",
"suspend": "đình chỉ"
}

1
themes/antergos/i18n/xh.json

@ -0,0 +1 @@
{}

14
themes/antergos/i18n/zh.json

@ -0,0 +1,14 @@
{
"auth_failed": "呃哦! 验证失败。 请再试一次。",
"background_options": "背景选项",
"cancel": "取消",
"confirm_system_action": "你确定?",
"debug_log": "调试日志",
"greeting": "欢迎!",
"hibernate": "过冬",
"random": "随机",
"reset": "重置",
"restart": "重启",
"shutdown": "关掉",
"suspend": "暂停"
}

14
themes/antergos/i18n/zu.json

@ -0,0 +1,14 @@
{
"auth_failed": "Uh Oh! Ukuqinisekisa kwehlulekile. Sicela uzame futhi.",
"background_options": "Izinketho Background",
"cancel": "Khansela",
"confirm_system_action": "Uqinisekile?",
"debug_log": "Debug Log",
"greeting": "Siyakwamukela!",
"hibernate": "ezilala ubusika bonke",
"random": "Random",
"reset": "Hlela",
"restart": "Restart",
"shutdown": "Vala shaqa",
"suspend": "Alime"
}

7
themes/antergos/img/Makefile.am

@ -0,0 +1,7 @@
imgdir = $(THEME_DIR)/antergos/img
img_DATA = antergos.png antergos-logo-user.png fallback_bg.jpg
EXTRA_DIST = $(img_DATA)
DISTCLEANFILES = \
Makefile.in

BIN
themes/antergos/img/antergos-logo-user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

BIN
themes/antergos/img/antergos.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
themes/antergos/img/fallback_bg.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

BIN
themes/antergos/img/screenshot1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
themes/antergos/img/screenshot2.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
themes/antergos/img/screenshot3.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

266
themes/antergos/index.html

@ -0,0 +1,266 @@
<!DOCTYPE html>
<!--
~
~ Copyright © 2015-2016 Antergos
~
~ index.html
~
~ This file is part of lightdm-webkit2-greeter
~
~ lightdm-webkit2-greeter is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License,
~ or any later version.
~
~ lightdm-webkit2-greeter is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ The following additional terms are in effect as per Section 7 of the license:
~
~ The preservation of all legal notices and author attributions in
~ the material or in the Appropriate Legal Notices displayed
~ by works containing it is required.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LightDM Webkit2 Greeter</title>
<meta name="description" content="Theme: antergos">
<meta name="author" content="Dustin Falgout">
<!--For testing the theme in a web browser -->
<script type="text/javascript" src="../tools/mock.js"></script>
<!-- Vendor CSS -->
<link rel="stylesheet" type="text/css" href="css/vendor/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="fonts/font-awesome/font-awesome.min.css"/>
<!-- Theme's CSS -->
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- Vendor JavaScript -->
<script src="js/vendor/jquery-2.1.4.min.js"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/vendor/moment-with-locales.min.js"></script>
<!-- Theme JavaScript -->
<script type="text/javascript" src="js/translations.js"></script>
<script type="text/javascript" src="js/greeter.js"></script>
</head>
<body>
<!-- BG Switcher -->
<a id="bg-switch-toggle" href="#" class="btn btn-primary btn-lg toggle close_wallpapers">
<i class="fa fa-bars"></i>
</a>
<div id="bg-switch-wrapper">
<div class="bg-switch-container">
<a id="bg-switch-close" href="#" class="btn btn-default btn-lg pull-right toggle close_wallpapers">
<i class="fa fa-times"></i>
</a>
<div class="bg-switch">
<h3 data-i18n="background_options">${i18n}</h3>
<div class="clearfix"></div>
<div class="bgs">
<a href="#" data-img="random" class="bg clearfix">
<div class="random">
<span data-i18n="random">${i18n}</span>
</div>
</a>
<!--Background thumbnails will be added here dynamically -->
</div>
</div>
</div>
</div>
<!-- /BG Switcher Sidebar -->
<!-- Full Page Image Header Area -->
<div id="top" class="header">
<div class="login-wrapper">
<div class="login-cell">
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<!-- Login Dialog -->
<div id="login" class="panel panel-default login-box">
<div class="panel-heading text-center">
<span class="pull-left">
<img src="img/antergos.png" data-greeter-config="logo" alt="Antergos"/>
</span> <span class="welcome"></span>
<span id="hostname" class="pull-right"></span>
</div>
<div id="panelfix" class="panel-body panel-shadow">
<div class="panel-group" id="accordion">
<div class="panel panel-default panel-shadow time-panel">
<div id="collapseOne" class="panel-collapse collapse in">
<div id="timewrap" class="panel-body panel-shadow time-panel text-center">
<a id="trigger" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
<!-- Clock Widget -->
<span id="current_time" class="time text-center"></span>
<i class="fa fa-toggle-up"></i> </a>
</div>
</div>
</div>
<div class="panel panel-default panel-shadow panel-flow">
<!-- User Selection Widget -->
<div id="collapseTwo" class="panel-collapse panel-shadow collapse">
<div id="list-group" class="panel-body panel-shadow panel-wrap">
<div class="user-wrap2">
<div id="user-list2" class="list-group"></div>
<a id="user-target2" class="user-toggle cancel_auth" data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
<i class="fa fa-toggle-down" style="position:absolute;"></i>
</a>
</div>
<!-- Password Input -->
<div id="passwordArea" class="password">
<table border="0" align="center">
<tr>
<td>
<div class="input-group">
<input id="passwordField" title="input password" type="password" class="password form-control"/>
<div class="input-group-btn">
<div class="btn-group">
<button class="btn btn-primary submit_passwd" type="button" title="submit password">
<i class="fa fa-sign-in"></i>
</button>
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" title="show options menu">
<i class="fa fa-caret-down"></i>
</button>
<ul class="dropdown-menu pull-right" title="options menu">
<li>
<a href="#" class="cancel_auth" data-i18n="cancel" title="cancel">
<i class="fa fa-times"></i> ${i18n}</a>
</li>
<li>
<a href="#" onclick="$(document.location.reload(true))" data-i18n="reset" title="reset">
<i class="fa fa-refresh"></i> ${i18n}</a>
</li>
<li>
<a href="#" data-i18n="debug_log" title="debug log">
<i class="fa fa-bug"></i> ${i18n}</a>
</li>
</ul>
</div>
</div>
</div>
</td>
</tr>
</table>
<div id="timerArea" class="timer">
<i class="fa fa-spinner"></i>
</div>
</div>
<!-- Status Area -->
<div id="statusArea" class="status">
<table border="0" align="center">
<tr>
<td>
<div class="alert alert-danger fade in">
<button type="button" class="close cancel_auth" data-dismiss="alert" aria-hidden="true">&nbsp;&times;</button>
<span id="showMsg"></span>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="panel-footer">
<div id="session-list" class="btn-group pull-left hidden">
<button type="button" class="btn btn-default selected"></button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-caret-down"></span></button>
<ul id="sessions" class="dropdown-menu"></ul>
</div>
<div id="actionsArea" class="btn-group pull-right"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="logArea" class="log"></div>
<div class="modal">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close fa fa-close" data-dismiss="modal" aria-hidden="true"></button>
<h4 class="modal-title" data-i18n="confirm_system_action">${i18n}</h4>
</div>
<!--<div class="modal-body">
</div>-->
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" data-i18n="cancel">${i18n}</button>
<button type="button" class="btn btn-primary"></button>
</div>
</div>
</div>
</div>
<!-- Custom JavaScript for the BG Switcher & Clock Toggle -->
<script>
$( "#bg-switch-close" ).click( function( e ) {
e.preventDefault();
$( "#bg-switch-wrapper" ).toggleClass( "active" );
$( this ).hide();
$( "#bg-switch-toggle" ).show();
} );
$( "#bg-switch-toggle" ).click( function( e ) {
e.preventDefault();
$( "#bg-switch-wrapper" ).toggleClass( "active" );
$( this ).hide();
$( "#bg-switch-close" ).show();
} );
$( '#collapseTwo' ).on( 'shown.bs.collapse', function() {
$( '#collapseTwo a' ).filter( ':not(.dropdown-menu *)' ).each( function( index ) {
var i = index + 1;
$( this ).attr( 'tabindex', i );
} );
} );
$( '#collapseTwo' ).on( 'hidden.bs.collapse', function() {
$( '#collapseTwo a' ).filter( ':not(.dropdown-menu *)' ).each( function( index ) {
$( this ).attr( 'tabindex', -1 );
} );
} );
</script>
</body>
</html>

6
themes/antergos/index.theme

@ -0,0 +1,6 @@
[theme]
name=Antergos
description=Antergos Theme
engine=lightdm-webkit2-greeter
url=index.html
session=cinnamon

11
themes/antergos/js/Makefile.am

@ -0,0 +1,11 @@
javascriptdir = $(THEME_DIR)/antergos/js
javascript_DATA = \
greeter.js \
translations.js
EXTRA_DIST = $(javascript_DATA)
SUBDIRS = vendor
DISTCLEANFILES = \
Makefile.in

806
themes/antergos/js/greeter.js

@ -0,0 +1,806 @@
/*
*
* Copyright © 2015-2016 Antergos
*
* greeter.js
*
* This file is part of lightdm-webkit2-greeter
*
* lightdm-webkit2-greeter is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,
* or any later version.
*
* lightdm-webkit2-greeter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* The following additional terms are in effect as per Section 7 of the license:
*
* The preservation of all legal notices and author attributions in
* the material or in the Appropriate Legal Notices displayed
* by works containing it is required.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* This is used to access our classes from within jQuery callbacks.
*/
var _self = null,
_bg_self = null,
_util = null;
/**
* Capitalize a string.
*
* @returns {string}
*/
String.prototype.capitalize = function() {
return this.charAt( 0 ).toUpperCase() + this.slice( 1 );
};
/**
* This should be the base class for all the theme's components. However, webkit's
* support of extending (subclassing) ES6 classes is not stable enough to use.
* For now we simply bind this class to a global variable for use in our other classes.
*/
class AntergosThemeUtils {
constructor() {
if ( null !== _util ) {
return _util;
}
_util = this;
this.debug = false;
this.lang = window.navigator.language.split( '-' )[ 0 ].toLowerCase();
this.translations = window.ant_translations;
this.$log_container = $('#logArea');
this.recursion = 0;
if ( 'undefined' === typeof window.navigator.languages ) {
window.navigator.languages = [ window.navigator.language ];
}
this.init_config_values();
}
/**
* Add text to the debug log element (accessible from the login screen).
*
* @param {string} text - To be added to the log.
*/
log( text ) {
if ( true === this.debug ) {
console.log( text );
}
$( '#logArea' ).append( `${text}<br/>` );
}
/**
* Get a key's value from localStorage. Keys can have two or more parts.
* For example: "ant:user:john:session".
*
* @param {...string} key_parts - Strings that are combined to form the key.
*/
cache_get() {
var key = `ant`;
for (var _len = arguments.length, key_parts = new Array(_len), _key = 0; _key < _len; _key++) {
key_parts[_key] = arguments[_key];
}
for ( var part of key_parts ) {
key += `:${part}`;
}
return localStorage.getItem( key );
}
/**
* Set a key's value in localStorage. Keys can have two or more parts.
* For example: "ant:user:john:session".
*
* @param {string} value - The value to set.
* @param {...string} key_parts - Strings that are combined to form the key.
*/
cache_set( value ) {
var key = `ant`;
for (var _len2 = arguments.length, key_parts = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
key_parts[_key2 - 1] = arguments[_key2];
}
for ( var part of key_parts ) {
key += `:${part}`;
}
return localStorage.setItem( key, value );
}
/**
* Get some values from `lightdm-webkit2-greeter.conf` and save them for later.
*/
init_config_values() {
var logo = '', user_image = '', background_images = [], background_images_dir = '';
if ( 'undefined' !== typeof( config ) ) {
logo = config.get_str( 'branding', 'logo' ) || '';
user_image = config.get_str( 'branding', 'user_image' ) || '';
this.debug = config.get_bool( 'greeter', 'debug_mode' );
this.debug = (true === this.debug) ? this.debug : false;
background_images_dir = config.get_str( 'branding', 'background_images' ) || '';
if ( background_images_dir ) {
background_images = greeterutil.dirlist( background_images_dir ) || [];
_util.log(background_images);
}
if ( background_images && background_images.length ) {
background_images = this.find_images( background_images );
}
}
this.logo = logo;
this.user_image = user_image;
this.background_images = background_images;
this.background_images_dir = background_images_dir;
}
find_images( dirlist ) {
var images = [],
subdirs = [];
for ( var file of dirlist ) {
if ( file.match( /(png|PNG)|(jpg|JPEG)|(bmp|BMP)/ ) ) {
images.push( file );
} else if ( ! file.match( /\w+\.\w+/ ) ) {
subdirs.push( file )
}
}
if ( subdirs.length && ! images.length && this.recursion < 3 ) {
this.recursion++;
for ( var dir of subdirs ) {
var list = greeterutil.dirlist( dir );
if ( list && list.length ) {
images.push.apply( images, this.find_images( list ) );
}
}
}
return images;
}
}
/**
* This class handles the theme's background switcher.
*/
class AntergosBackgroundManager {
constructor() {
if ( null !== _bg_self ) {
return _bg_self;
}
_bg_self = this;
this.current_background = _util.cache_get( 'background_manager', 'current_background' );
if ( ! _util.background_images_dir || ! _util.background_images ) {
_util.log( 'AntergosBackgroundManager: [ERROR] No background images detected.' );
$( '.header' ).fadeTo( 300, 0.5, function() {
$( '.header' ).css( "background-image", 'url(img/fallback_bg.jpg)' );
} ).fadeTo( 300, 1 );
}
return _bg_self;
}
/**
* Determine which background image should be displayed and apply it.
*/
initialize() {
if ( ! this.current_background ) {
// For backwards compatibility
if ( null !== localStorage.getItem( 'bgsaved' ) && '0' === localStorage.getItem( 'bgrandom' ) ) {
this.current_background = localStorage.getItem( 'bgsaved' );
_util.cache_set( this.current_background, 'background_manager', 'current_background' );
localStorage.removeItem( 'bgrandom' );
localStorage.removeItem( 'bgsaved' );
} else {
if ( '1' === localStorage.getItem( 'bgrandom' ) ) {
this.current_background = this.get_random_image();
_util.cache_set( 'true', 'background_manager', 'random_background' );
localStorage.removeItem( 'bgrandom' );
}
}
}
if ( ! this.current_background ) {
// For current and future versions
let current_background = _util.cache_get( 'background_manager', 'current_background' ),
random_background = _util.cache_get( 'background_manager', 'random_background' );
if ( 'true' === random_background || ! current_background ) {
current_background = this.get_random_image();
_util.cache_set( 'true', 'background_manager', 'random_background' );
}
this.current_background = current_background;
_util.cache_set( this.current_background, 'background_manager', 'current_background' );
}
this.do_background();
}
/**
* Set the background image to the value of `this.current_background`
*/
do_background() {
$( '.header' ).fadeTo( 300, 0.5, function() {
var tpl = `url(${_bg_self.current_background})`;
$( '.header' ).css( "background-image", tpl );
} ).fadeTo( 300, 1 );
}
/**
* Get a random background image from our images array.
*
* @returns str The absolute path to a background image.
*/
get_random_image() {
var random_bg;
random_bg = Math.floor( Math.random() * _util.background_images.length );
return _util.background_images[ random_bg ];
}
/**
* Setup the background switcher widget.
*/
setup_background_thumbnails() {
if ( _util.background_images && _util.background_images.length ) {
var old_bg_tpl = `url(${this.current_background})`;
/* TODO: Implement some form of pagination
*/
if ( _util.background_images.length > 20 ) {
_util.background_images = _util.background_images.splice(0, 20);
}
$('[data-img="random"]').click(this.background_selected_handler);
for ( var image_file of _util.background_images ) {
var $link = $( '<a href="#"><div>' ),
$img_el = $link.children( 'div' ),
img_url_tpl = `url(file://${image_file})`;
$link.addClass( 'bg clearfix' ).attr( 'data-img', img_url_tpl );
if ( image_file === this.current_background || image_file === old_bg_tpl ) {
var is_random = _util.cache_get( 'background_manager', 'random_background' );
if ('true' !== is_random ) {
$link.addClass( 'active' );
} else if ( 'true' === is_random ) {
$('[data-img="random"]').addClass('active');
}
}
$img_el.css( 'background-image', img_url_tpl );
$link.appendTo( $( '.bgs' ) ).click( this.background_selected_handler );
}
if ( ! $('.bg.active').length ) {
$('[data-img="random"]').addClass('active');
}
}
}
/**
* Handle background image selected event.
*
* @param event jQuery event object.
*/
background_selected_handler( event ) {
var img = $( this ).attr( 'data-img' );
$('.bg.active').removeClass('active');
$(this).addClass('active');
if ( 'random' === img ) {
_util.cache_set( 'true', 'background_manager', 'random_background' );
img = _bg_self.get_random_image();
} else {
_util.cache_set( 'false', 'background_manager', 'random_background' );
}
_util.cache_set( img, 'background_manager', 'current_background' );
_bg_self.current_background = img;
_bg_self.do_background();
}
}
/**
* This is the theme's main class object. It contains most of the theme's logic.
*/
class AntergosTheme {
constructor() {
if ( null !== _self ) {
return _self;
}
_self = this;
this.tux = 'img/antergos-logo-user.png';
this.user_list_visible = false;
this.auth_pending = false;
this.selected_user = null;
this.$user_list = $( '#user-list2' );
this.$session_list = $( '#sessions' );
this.$clock_container = $( '#collapseOne' );
this.$clock = $( "#current_time" );
this.$actions_container = $( "#actionsArea" );
this.$msg_area_container = $( '#statusArea' );
this.$msg_area = $( '#showMsg' );
this.background_manager = new AntergosBackgroundManager();
this.background_manager.initialize();
this.initialize();
return _self;
}
/**
* Initialize the theme.
*/
initialize() {
this.prepare_translations();
this.do_static_translations();
this.initialize_clock();
this.prepare_login_panel_header();
this.prepare_user_list();
this.prepare_session_list();
this.prepare_system_action_buttons();
this.register_callbacks();
this.background_manager.setup_background_thumbnails();
}
/**
* Register callbacks for the LDM Greeter as well as any others that haven't
* been registered elsewhere.
*/
register_callbacks() {
var events = 'shown.bs.collapse, hidden.bs.collapse';
this.$user_list.parents( '.collapse' ).on( events, this.user_list_collapse_handler );
$( document ).keydown( this.key_press_handler );
$( '.cancel_auth' ).click( this.cancel_authentication );
$( '.submit_passwd' ).click( this.submit_password );
$('[data-i18n="debug_log"]').click( this.show_log_handler );
window.show_prompt = this.show_prompt;
window.show_message = this.show_message;
window.start_authentication = this.start_authentication;
window.cancel_authentication = this.cancel_authentication;
window.authentication_complete = this.authentication_complete;
window.autologin_timer_expired = this.cancel_authentication;
}
/**
* Initialize the user list.
*/
prepare_user_list() {
var template;
// Loop through the array of LightDMUser objects to create our user list.
for ( var user of lightdm.users ) {
var last_session = _util.cache_get( 'user', user.name, 'session' ),
image_src = ( user.hasOwnProperty('image') && user.image && user.image.length ) ? user.image : _util.user_image;
if ( null === last_session ) {
// For backwards compatibility
last_session = localStorage.getItem( user.name );
if ( null === last_session ) {
// This user has never logged in before let's enable the system's default
// session.
last_session = lightdm.default_session;
}
_util.cache_set( last_session, 'user', user.name, 'session' );
}
_util.log( `Last session for ${user.name} was: ${last_session}` );
template = `
<a href="#" id="${user.name}" class="list-group-item ${user.name}" data-session="${last_session}">
<img src="${image_src}" class="img-circle" alt="${user.display_name}" />
<span>${user.display_name}</span>
<span class="badge"><i class="fa fa-check"></i></span>
</a>`;
// Register event handler here so we don't have to iterate over the users again later.
$( template ).appendTo( this.$user_list ).click( this.start_authentication ).on( 'error.antergos', this.user_image_error_handler );
} // END for ( var user of lightdm.users )
if ( $( this.$user_list ).children().length > 3 ) {
// Make the user list two columns instead of one.
$( this.$user_list ).css( 'column-count', '2' ).parent().css( 'max-width', '85%' );
}
}
/**
* Initialize the session selection dropdown.
*/
prepare_session_list() {
// Loop through the array of LightDMSession objects to create our session list.
for ( var session of lightdm.sessions ) {
var css_class = session.name.replace( / /g, '' ),
template;
_util.log( `Adding ${session.name} to the session list...` );
template = `
<li>
<a href="#" data-session-id="${session.key}" class="${css_class}">${session.name}</a>
</li>`;
$( template ).appendTo( this.$session_list ).click( this.session_toggle_handler );
} // END for (var session of lightdm.sessions)
$( '.dropdown-toggle' ).dropdown();
}
/**
* Initialize the system action buttons
*/
prepare_system_action_buttons() {
var actions = {
shutdown: "power-off",
hibernate: "asterisk",
suspend: "arrow-down",
restart: "refresh"
},
template;
for ( var action of Object.keys( actions ) ) {
var cmd = `can_${action}`;
template = `
<a href="#" id="${action}" class="btn btn-default ${action}" data-toggle="tooltip" data-placement="top" title="${action.capitalize()}" data-container="body">
<i class="fa fa-${actions[ action ]}"></i>
</a>`;
if ( lightdm[ cmd ] ) {
$( template ).appendTo( $( this.$actions_container ) ).click( this.system_action_handler );
}
} // END for (var [action, icon] of actions)
$( '[data-toggle=tooltip]' ).tooltip();
$( '.modal' ).modal( { show: false } );
}
/**
* Setup the clock widget.
*/
initialize_clock() {
var saved_format = _util.cache_get( 'clock', 'time_format' ),
format = (null !== saved_format) ? saved_format : 'LT';
moment.locale( window.navigator.languages );
this.$clock.html( moment().format( format ) );
setInterval( () => {
_self.$clock.html( moment().format( format ) );
}, 60000 );
}
/**
* Show the user list if its not already shown. This is used to allow the user to
* display the user list by pressing Enter or Spacebar.
*/
show_user_list() {
if ( $( this.$clock_container ).hasClass( 'in' ) ) {
$( '#trigger' ).trigger( 'click' );
}
if ( $( this.$user_list ).length <= 1 ) {
$( this.$user_list ).find( 'a' ).trigger( 'click', this );
}
}
prepare_login_panel_header() {
var greeting = (_util.translations.greeting) ? _util.translations.greeting : 'Welcome!',
logo = ( '' !== _util.logo ) ? _util.logo : 'img/antergos.png';
$( '.welcome' ).text( greeting );
$( '#hostname' ).append( lightdm.hostname );
$( '[data-greeter-config="logo"]' ).attr( 'src', logo );
}
prepare_translations() {
if ( ! _util.translations.hasOwnProperty( this.lang ) ) {
for ( var lang of window.navigator.languages ) {
if ( _util.translations.hasOwnProperty( lang ) ) {
this.lang = lang;
break;
}
}
}
if ( ! _util.translations.hasOwnProperty( this.lang ) ) {
this.lang = 'en';
}
_util.translations = _util.translations[ this.lang ];
}
/**
* Replace '${i18n}' with translated string for all elements that
* have the data-i18n attribute. This is for elements that are not generated
* dynamically (they can be found in index.html).
*/
do_static_translations() {
$( '[data-i18n]' ).each( function() {
var key = $( this ).attr( 'data-i18n' ),
html = $( this ).html(),
translated = _util.translations[ key ],
new_html = html.replace( '${i18n}', translated );
$( this ).html( new_html );
} );
}
/**
* Start the authentication process for the selected user.
*
* @param {object} event - jQuery.Event object from 'click' event.
*/
start_authentication( event ) {
var user_id = $( this ).attr( 'id' ),
selector = `.${user_id}`,
user_session = _util.cache_get( 'user', user_id, 'session' );
if ( _self.auth_pending || null !== _self.selected_user ) {
lightdm.cancel_authentication();
_util.log( `Authentication cancelled for ${_self.selected_user}` );
_self.selected_user = null;
}
_util.log( `Starting authentication for ${user_id}.` );
_self.selected_user = user_id;
// CSS hack to workaround webkit bug
if ( $( _self.$user_list ).children().length > 3 ) {
$( _self.$user_list ).css( 'column-count', 'initial' ).parent().css( 'max-width', '50%' );
}
$( selector ).addClass( 'hovered' ).siblings().hide();
$( '.fa-toggle-down' ).hide();
_util.log( `Session for ${user_id} is ${user_session}` );
$( `[data-session-id="${user_session}"]` ).parent().trigger( 'click', this );
$( '#session-list' ).removeClass( 'hidden' ).show();
$( '#passwordArea' ).show();
$( '.dropdown-toggle' ).dropdown();
_self.auth_pending = true;
lightdm.authenticate( user_id );
}
/**
* Cancel the pending authentication.
*
* @param {object} event - jQuery.Event object from 'click' event.
*/
cancel_authentication( event ) {
var selectors = [ '#statusArea', '#timerArea', '#passwordArea', '#session-list' ];
for ( var selector of selectors ) {
$( selector ).hide();
}
lightdm.cancel_authentication();
_util.log( 'Cancelled authentication.' );
// CSS hack to work-around webkit bug
if ( $( _self.$user_list ).children().length > 3 ) {
$( _self.$user_list ).css( 'column-count', '2' ).parent().css( 'max-width', '85%' );
}
$( '.hovered' ).removeClass( 'hovered' ).siblings().show();
$( '.fa-toggle-down' ).show();
_self.selected_user = null;
_self.auth_pending = false;
}
/**
* Called when the user attempts to authenticate (submits password).
* We check to see if the user successfully authenticated and if so tell the LDM
* Greeter to log them in with the session they selected.
*/
authentication_complete() {
var selected_session = $( '.selected' ).attr( 'data-session-id' ),
err_msg = _util.translations.auth_failed[ _self.lang ];
_self.auth_pending = false;
_util.cache_set( selected_session, 'user', lightdm.authentication_user, 'session' );
$( '#timerArea' ).hide();
if ( lightdm.is_authenticated ) {
// The user entered the correct password. Let's log them in.
$( 'body' ).fadeOut( 1000, () => {
lightdm.login( lightdm.authentication_user, selected_session );
} );
} else {
// The user did not enter the correct password. Show error message.
$('#showMsg').text(err_msg);
$( '#statusArea' ).show();
}
}
submit_password( event ) {
lightdm.respond( $( '#passwordField' ).val() );
$( '#passwordArea' ).hide();
$( '#timerArea' ).show();
}
session_toggle_handler( event ) {
var $session = $( this ).children( 'a' ),
session_name = $session.text(),
session_key = $session.attr( 'data-session-id' );
$session.parents( '.btn-group' ).find( '.selected' ).attr( 'data-session-id', session_key ).html( session_name );
}
key_press_handler( event ) {
var action;
switch ( event.which ) {
case 13:
action = _self.auth_pending ? _self.submit_password() : ! _self.user_list_visible ? _self.show_user_list() : 0;
_util.log( action );
break;
case 27:
action = _self.auth_pending ? _self.cancel_authentication() : 0;
_util.log( action );
break;
case 32:
action = (! _self.user_list_visible && ! _self.auth_pending) ? _self.show_user_list() : 0;
_util.log( action );
break;
default:
break;
}
}
system_action_handler() {
var action = $( this ).attr( 'id' ),
$modal = $( '.modal' );
$modal.find( '.btn-primary' ).text( _util.translations[ action ] ).click( action, ( event ) => {
$( this ).off( 'click' );
lightdm[ event.data ]();
} );
$modal.find( '.btn-default' ).click( () => {
$( this ).next().off( 'click' );
} );
$modal.modal( 'toggle' );
}
user_list_collapse_handler() {
_self.user_list_visible = _self.$user_list.hasClass( 'in' ) ? true : false;
}
user_image_error_handler( event ) {
$( this ).off( 'error.antergos' );
$( this ).attr( 'src', _self.tux );
}
show_log_handler( event ) {
if ( _util.$log_container.is( ':visible' ) ) {
_util.$log_container.hide();
} else {
_util.$log_container.show();
}
}
/**
* LightDM Callback - Show prompt to user.
*
* @param text
* @param type
*/
show_prompt( text, type ) {
if ( 'password' === type ) {
$( '#passwordField' ).val( "" );
$( '#passwordArea' ).show();
$( '#passwordField' ).focus();
}
}
/**
* LightDM Callback - Show message to user.
*
* @param text
* @param type
*/
show_message( text, type ) {
if ( text.length > 0 ) {
$( this.$msg_area ).html( text );
$( '#passwordArea' ).hide();
$( this.$msg_area_container ).show();
}
}
}
/**
* Initialize the theme once the window has loaded.
*/
$( window ).load( () => {
new AntergosThemeUtils();
new AntergosTheme();
} );

1
themes/antergos/js/translations.js

File diff suppressed because one or more lines are too long

10
themes/antergos/js/vendor/Makefile.am vendored

@ -0,0 +1,10 @@
jsvendordir = $(THEME_DIR)/antergos/js/vendor
jsvendor_DATA = \
jquery-2.1.4.min.js \
bootstrap.min.js \
moment-with-locales.min.js
EXTRA_DIST = $(jsvendor_DATA)
DISTCLEANFILES = \
Makefile.in

7
themes/antergos/js/vendor/bootstrap.min.js vendored

File diff suppressed because one or more lines are too long

4
themes/antergos/js/vendor/jquery-2.1.4.min.js vendored

File diff suppressed because one or more lines are too long

74
themes/antergos/js/vendor/moment-with-locales.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save