From c856345c6c0e8bc80fbc926cc2de15c1d8358a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Garc=C3=ADa=20Amor?= Date: Fri, 4 Aug 2017 11:57:38 +0200 Subject: [PATCH] Retab templates and simplify headers --- supysonic/templates/addfolder.html | 18 ++++-------------- supysonic/templates/adduser.html | 16 +++------------- supysonic/templates/change_mail.html | 16 +++------------- supysonic/templates/change_pass.html | 16 +++------------- supysonic/templates/change_username.html | 16 +++------------- supysonic/templates/folders.html | 16 +++------------- supysonic/templates/home.html | 16 +++------------- supysonic/templates/importusers.html | 18 ++++-------------- supysonic/templates/layout.html | 16 +++------------- supysonic/templates/login.html | 16 +++------------- supysonic/templates/playlist.html | 16 +++------------- supysonic/templates/playlists.html | 20 +++++--------------- supysonic/templates/profile.html | 16 +++------------- supysonic/templates/users.html | 16 +++------------- 14 files changed, 46 insertions(+), 186 deletions(-) diff --git a/supysonic/templates/addfolder.html b/supysonic/templates/addfolder.html index 8b5ee06..094a869 100644 --- a/supysonic/templates/addfolder.html +++ b/supysonic/templates/addfolder.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_folders %} @@ -41,6 +31,6 @@ - + {% endblock %} diff --git a/supysonic/templates/adduser.html b/supysonic/templates/adduser.html index 916d16a..a7d6170 100644 --- a/supysonic/templates/adduser.html +++ b/supysonic/templates/adduser.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_users %} diff --git a/supysonic/templates/change_mail.html b/supysonic/templates/change_mail.html index 938211e..e14d152 100644 --- a/supysonic/templates/change_mail.html +++ b/supysonic/templates/change_mail.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_users %} diff --git a/supysonic/templates/change_pass.html b/supysonic/templates/change_pass.html index 51bd59f..2b5e9d7 100644 --- a/supysonic/templates/change_pass.html +++ b/supysonic/templates/change_pass.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_users %} diff --git a/supysonic/templates/change_username.html b/supysonic/templates/change_username.html index ecfa391..16d2fe2 100644 --- a/supysonic/templates/change_username.html +++ b/supysonic/templates/change_username.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_users %} diff --git a/supysonic/templates/folders.html b/supysonic/templates/folders.html index ad2bdb1..3369cef 100644 --- a/supysonic/templates/folders.html +++ b/supysonic/templates/folders.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_folders %} diff --git a/supysonic/templates/home.html b/supysonic/templates/home.html index b2943d3..1c0fb2b 100644 --- a/supysonic/templates/home.html +++ b/supysonic/templates/home.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013, 2014 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_index %} diff --git a/supysonic/templates/importusers.html b/supysonic/templates/importusers.html index e81a3bd..bfe524b 100644 --- a/supysonic/templates/importusers.html +++ b/supysonic/templates/importusers.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_users %} @@ -35,6 +25,6 @@ - + {% endblock %} diff --git a/supysonic/templates/layout.html b/supysonic/templates/layout.html index 6569608..a0d0785 100644 --- a/supysonic/templates/layout.html +++ b/supysonic/templates/layout.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} diff --git a/supysonic/templates/login.html b/supysonic/templates/login.html index 1729852..29b1b39 100644 --- a/supysonic/templates/login.html +++ b/supysonic/templates/login.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block body %} diff --git a/supysonic/templates/playlist.html b/supysonic/templates/playlist.html index f7bc882..f9d22f4 100644 --- a/supysonic/templates/playlist.html +++ b/supysonic/templates/playlist.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_playlists %} diff --git a/supysonic/templates/playlists.html b/supysonic/templates/playlists.html index 246dd4b..b60d870 100644 --- a/supysonic/templates/playlists.html +++ b/supysonic/templates/playlists.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_playlists %} @@ -39,8 +29,8 @@ {{ p.name }} {{ p.tracks.count() }} {% if p.public %}{% else %}{% else %}{% endif %} diff --git a/supysonic/templates/profile.html b/supysonic/templates/profile.html index 4db84e6..578bc62 100644 --- a/supysonic/templates/profile.html +++ b/supysonic/templates/profile.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_users %} diff --git a/supysonic/templates/users.html b/supysonic/templates/users.html index f7977f7..4075515 100644 --- a/supysonic/templates/users.html +++ b/supysonic/templates/users.html @@ -1,21 +1,11 @@ {#- This file is part of Supysonic. - Supysonic is a Python implementation of the Subsonic server API. - Copyright (C) 2013 Alban 'spl0k' Féron - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Copyright (C) 2013-2017 Alban 'spl0k' Féron + 2017 Óscar García Amor - 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 Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + Distributed under terms of the GNU AGPLv3 license. -#} {% extends "layout.html" %} {% block navbar_users %}