mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Retab templates and simplify headers
This commit is contained in:
parent
4c6cb3a678
commit
c856345c6c
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_folders %}
|
{% block navbar_folders %}
|
||||||
@ -41,6 +31,6 @@
|
|||||||
<input type="text" class="form-control" id="path" name="path" value="{{ request.form.path }}" placeholder="Path" />
|
<input type="text" class="form-control" id="path" name="path" value="{{ request.form.path }}" placeholder="Path" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input type="submit" class="btn btn-default" />
|
<input type="submit" class="btn btn-default" />
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_users %}
|
{% block navbar_users %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_users %}
|
{% block navbar_users %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_users %}
|
{% block navbar_users %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_users %}
|
{% block navbar_users %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_folders %}
|
{% block navbar_folders %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_index %}
|
{% block navbar_index %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_users %}
|
{% block navbar_users %}
|
||||||
@ -35,6 +25,6 @@
|
|||||||
<label for="file">Users file</label>
|
<label for="file">Users file</label>
|
||||||
<input type="file" name="file" id="file" />
|
<input type="file" name="file" id="file" />
|
||||||
</div>
|
</div>
|
||||||
<input class="btn btn-default" type="submit" />
|
<input class="btn btn-default" type="submit" />
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_playlists %}
|
{% block navbar_playlists %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_playlists %}
|
{% block navbar_playlists %}
|
||||||
@ -39,8 +29,8 @@
|
|||||||
<td><a href="{{ url_for('playlist_details', uid = p.id) }}">{{ p.name }}</a></td>
|
<td><a href="{{ url_for('playlist_details', uid = p.id) }}">{{ p.name }}</a></td>
|
||||||
<td>{{ p.tracks.count() }}</td>
|
<td>{{ p.tracks.count() }}</td>
|
||||||
<td>{% if p.public %}<span class="glyphicon glyphicon-check"
|
<td>{% if p.public %}<span class="glyphicon glyphicon-check"
|
||||||
aria-label="Public playlist"></span>{% else %}<span
|
aria-label="Public playlist"></span>{% else %}<span
|
||||||
class="glyphicon glyphicon-unchecked"
|
class="glyphicon glyphicon-unchecked"
|
||||||
aria-label="Private playlist"></span>{% endif %}</td>
|
aria-label="Private playlist"></span>{% endif %}</td>
|
||||||
<td><a href="{{ url_for('playlist_delete', uid = p.id) }}" aria-label="Delete playlist">
|
<td><a href="{{ url_for('playlist_delete', uid = p.id) }}" aria-label="Delete playlist">
|
||||||
<span class="glyphicon glyphicon-remove-circle" aria-hidden="true" data-toggle="tooltip" data-placement="top" title="Delete playlist"></span></a></td>
|
<span class="glyphicon glyphicon-remove-circle" aria-hidden="true" data-toggle="tooltip" data-placement="top" title="Delete playlist"></span></a></td>
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_users %}
|
{% block navbar_users %}
|
||||||
|
@ -1,21 +1,11 @@
|
|||||||
{#-
|
{#-
|
||||||
This file is part of Supysonic.
|
This file is part of Supysonic.
|
||||||
|
|
||||||
Supysonic is a Python implementation of the Subsonic server API.
|
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
|
Copyright (C) 2013-2017 Alban 'spl0k' Féron
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
2017 Óscar García Amor
|
||||||
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,
|
Distributed under terms of the GNU AGPLv3 license.
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
-#}
|
-#}
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block navbar_users %}
|
{% block navbar_users %}
|
||||||
|
Loading…
Reference in New Issue
Block a user