Possibility to disable stylesheets and javascript

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Possibility to disable stylesheets and javascript

Stefan Nagtegaal
Hello developers and other readers,

I am using owncloud for a while now, and IMO the only disadvantage of owncloud is that it's badly themed.
I would love to disable all stylesheets and javascript and write my own inside another theme.

At the moment i'm not aware of a way to disable the JS/CSS files so they do not load at all.

The current way of theming relies on overwriting the current styles, which is a pain in the a** due to the fact that there is a fair amount of custom positioning (absolute/relative) of quite *a lot* of elements.

So, is there a way to completely disable the CSS files and/or the JS, and prevent them from being parsed at all?

Kind regards,


Stefan
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Peter Chubb
>>>>> "Stefan" == Stefan Nagtegaal <[hidden email]> writes:

Stefan> Hello developers and other readers, I am using owncloud for a
Stefan> while now, and IMO the only disadvantage of owncloud is that
Stefan> it's badly themed.  I would love to disable all stylesheets
Stefan> and javascript and write my own inside another theme.

By the same tokem the OwnCloud website stops loading on some pof my
embedded devices because the page is too big -- even the login page
with all its jabvascript, style files, etc., is over 400kB.

As a future enhancement, I'd love to see it much leaner and meaner,
transferring a lot less data to the browser,


PeterC
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Jan-Christoph Borchardt-4
In reply to this post by Stefan Nagtegaal
Hey Stefan, thanks for the feedback. Could you elaborate on what you mean by badly themed? Do you think the design is off, or the files load too long, whatever it is please give details so we can work on improving it, instead of people needing to disable all CSS and JS.

Thanks!


On Wed, Feb 13, 2013 at 10:09 AM, Stefan Nagtegaal <[hidden email]> wrote:
Hello developers and other readers,

I am using owncloud for a while now, and IMO the only disadvantage of owncloud is that it's badly themed.
I would love to disable all stylesheets and javascript and write my own inside another theme.

At the moment i'm not aware of a way to disable the JS/CSS files so they do not load at all.

The current way of theming relies on overwriting the current styles, which is a pain in the a** due to the fact that there is a fair amount of custom positioning (absolute/relative) of quite *a lot* of elements.

So, is there a way to completely disable the CSS files and/or the JS, and prevent them from being parsed at all?

Kind regards,


Stefan
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud


_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Mark Alan
On Wed, 13 Feb 2013 10:30:00 +0100, Jan-Christoph Borchardt
<[hidden email]> wrote:

> Hey Stefan, thanks for the feedback. Could you elaborate on what you
> mean by badly themed? Do you think the design is off, or the files
> load too long, whatever it is please give details so we can work on
> improving it, instead of people needing to disable all CSS and JS.

Same problem here.

The design is regular, not good. To be good is should also be
slimmer.

Take the example of the login screen. Is it really needed to load almost
400 KB just to have a login screen? Why? Couldn’t it be done using a
simpler design to keep it under 64KB?

Thank you for a (very) good product.

M.
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Thomas Tanghus
In reply to this post by Stefan Nagtegaal
On Wednesday 13 February 2013 10:09:08 Stefan Nagtegaal wrote:
> I would love to disable all stylesheets
> and javascript and write my own inside another theme.

Disabling the stock javascript code would mean effectively disabling all web
apps in ownCloud practically all of the UI is javascript/HTML/css.
 
> At the moment i'm not aware of a way to disable the JS/CSS files so they do
> not load at all.

Well, you could use webkit on KDE ;)
https://bugs.kde.org/show_bug.cgi?id=314707

But seriously, ownCloud is evolving very radiply, and I think I can speak for
all of us saying that we would much rather prefer input on what can be
improved - perhaps even contributions - than people wanting to ditch what is
already there.

Also there is a new release coming out soon. Hopefully you will see some
improvements on the client side.

--
Best regards / Med venlig hilsen

Thomas Tanghus
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Stefan Nagtegaal
I would love to contribute back to the community!
I was a long time Drupal contributor for years, and one of my designs made it to be the main theme for this great CMS.

As I was a long time contributor, I did obtain a fair amount of CSS/PHP skills, although my JS/jQuery skills are not that good.

So, how does things work? I'm not into Git, because I am used building patches and diffs.
And how do I have to convince people to get my proposed changes inside the main theme, or an additional theme?

Kind regards,


Stefan

Op 13 feb. 2013, om 11:27 heeft Thomas Tanghus <[hidden email]> het volgende geschreven:

> On Wednesday 13 February 2013 10:09:08 Stefan Nagtegaal wrote:
>> I would love to disable all stylesheets
>> and javascript and write my own inside another theme.
>
> Disabling the stock javascript code would mean effectively disabling all web
> apps in ownCloud practically all of the UI is javascript/HTML/css.
>
>> At the moment i'm not aware of a way to disable the JS/CSS files so they do
>> not load at all.
>
> Well, you could use webkit on KDE ;)
> https://bugs.kde.org/show_bug.cgi?id=314707
>
> But seriously, ownCloud is evolving very radiply, and I think I can speak for
> all of us saying that we would much rather prefer input on what can be
> improved - perhaps even contributions - than people wanting to ditch what is
> already there.
>
> Also there is a new release coming out soon. Hopefully you will see some
> improvements on the client side.
>
> --
> Best regards / Med venlig hilsen
>
> Thomas Tanghus
> _______________________________________________
> Owncloud mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Jan-Christoph Borchardt-4
Stefan, Mark, contributions are always welcome. Especially if you know your way around performance optimization, it would be great if you can help to polish ownCloud there.

Git is pretty easy, you can learn it in a few minutes at http://try.github.com/levels/1/challenges/1
Then just clone the main repository https://github.com/owncloud/core, dabble around in the code and if you did something awesome, submit a pull request. You can mention me in the pull request via @jancborchardt so me and others will review it.

Thanks!




On Wed, Feb 13, 2013 at 12:20 PM, Stefan Nagtegaal <[hidden email]> wrote:
I would love to contribute back to the community!
I was a long time Drupal contributor for years, and one of my designs made it to be the main theme for this great CMS.

As I was a long time contributor, I did obtain a fair amount of CSS/PHP skills, although my JS/jQuery skills are not that good.

So, how does things work? I'm not into Git, because I am used building patches and diffs.
And how do I have to convince people to get my proposed changes inside the main theme, or an additional theme?

Kind regards,


Stefan

Op 13 feb. 2013, om 11:27 heeft Thomas Tanghus <[hidden email]> het volgende geschreven:

> On Wednesday 13 February 2013 10:09:08 Stefan Nagtegaal wrote:
>> I would love to disable all stylesheets
>> and javascript and write my own inside another theme.
>
> Disabling the stock javascript code would mean effectively disabling all web
> apps in ownCloud practically all of the UI is javascript/HTML/css.
>
>> At the moment i'm not aware of a way to disable the JS/CSS files so they do
>> not load at all.
>
> Well, you could use webkit on KDE ;)
> https://bugs.kde.org/show_bug.cgi?id=314707
>
> But seriously, ownCloud is evolving very radiply, and I think I can speak for
> all of us saying that we would much rather prefer input on what can be
> improved - perhaps even contributions - than people wanting to ditch what is
> already there.
>
> Also there is a new release coming out soon. Hopefully you will see some
> improvements on the client side.
>
> --
> Best regards / Med venlig hilsen
>
> Thomas Tanghus
> _______________________________________________
> Owncloud mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud


_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Mark Alan
In reply to this post by Stefan Nagtegaal
On Wed, 13 Feb 2013 12:20:24 +0100, Stefan Nagtegaal
<[hidden email]> wrote:

> I would love to contribute back to the community!
> I was a long time Drupal contributor for years, and one of my designs
> made it to be the main theme for this great CMS.

Stefan Nagtegaal of Drupal's Garland ?

It seems that Owncloud is gaining momentum...

Regards,

M.
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Stefan Nagtegaal
The one and only! :-)
I do think Owncloud is one of the best things since sliced bread, but I also think that the looks of it are not equal to its functionality.
Which is quite a bummer..

Stefan

Op 13 feb. 2013, om 13:03 heeft Mark Alan <[hidden email]> het volgende geschreven:

> On Wed, 13 Feb 2013 12:20:24 +0100, Stefan Nagtegaal
> <[hidden email]> wrote:
>
>> I would love to contribute back to the community!
>> I was a long time Drupal contributor for years, and one of my designs
>> made it to be the main theme for this great CMS.
>
> Stefan Nagtegaal of Drupal's Garland ?
>
> It seems that Owncloud is gaining momentum...
>
> Regards,
>
> M.
> _______________________________________________
> Owncloud mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Stefan Nagtegaal
In reply to this post by Stefan Nagtegaal
The one and only! :-)
I do think Owncloud is one of the best things since sliced bread, but I also think that the looks of it are not equal to its functionality.
Which is quite a bummer..

Stefan


Verzonden vanaf Samsung Mobile



-------- Oorspronkelijk bericht --------
Van: Mark Alan <[hidden email]>
Datum:
Aan: [hidden email]
Onderwerp: Re: [Owncloud] Possibility to disable stylesheets and javascript


On Wed, 13 Feb 2013 12:20:24 +0100, Stefan Nagtegaal
<[hidden email]> wrote:

> I would love to contribute back to the community!
> I was a long time Drupal contributor for years, and one of my designs
> made it to be the main theme for this great CMS.

Stefan Nagtegaal of Drupal's Garland ?

It seems that Owncloud is gaining momentum...

Regards,

M.
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

tharinduDG
Hi All,
At the moment is there a way to add custom themes like in joomla? If it is there, people can use light weight themes. Although the login screen is about 400kb, some of them will be in the browser cache that enables reuse. Therefore is it a large issue? Since most of the apps relies on javascript, disabling it could effect them badly.
Thank You


On Wed, Feb 13, 2013 at 6:28 PM, development <[hidden email]> wrote:
The one and only! :-)
I do think Owncloud is one of the best things since sliced bread, but I also think that the looks of it are not equal to its functionality.
Which is quite a bummer..

Stefan


Verzonden vanaf Samsung Mobile



-------- Oorspronkelijk bericht --------
Van: Mark Alan <[hidden email]>
Datum:
Aan: [hidden email]
Onderwerp: Re: [Owncloud] Possibility to disable stylesheets and javascript


On Wed, 13 Feb 2013 12:20:24 +0100, Stefan Nagtegaal
<[hidden email]> wrote:

> I would love to contribute back to the community!
> I was a long time Drupal contributor for years, and one of my designs
> made it to be the main theme for this great CMS.

Stefan Nagtegaal of Drupal's Garland ?

It seems that Owncloud is gaining momentum...

Regards,

M.
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud



_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Frank Karlitschek-3
ownCloud has theming support.
With custom themes you can replace any template, any image and you can extend and override existing styles.

The idea was that it makes it a lot easier for users to just change a few colors and other small things here and there. Writing a complete new userinterface as a theme is a huge amount of work and would result in a huge copy/paste job of existing styles anyways. So the idea was to use CSS as is is designed and load theme styles additionally instead of replacing existing css files.


Frank


On 13.02.2013, at 14:32, Tharindu Dhananjaya Galappaththi <[hidden email]> wrote:

> Hi All,
> At the moment is there a way to add custom themes like in joomla? If it is there, people can use light weight themes. Although the login screen is about 400kb, some of them will be in the browser cache that enables reuse. Therefore is it a large issue? Since most of the apps relies on javascript, disabling it could effect them badly.
> Thank You
>
>
> On Wed, Feb 13, 2013 at 6:28 PM, development <[hidden email]> wrote:
> The one and only! :-)
> I do think Owncloud is one of the best things since sliced bread, but I also think that the looks of it are not equal to its functionality.
> Which is quite a bummer..
>
> Stefan
>
>
> Verzonden vanaf Samsung Mobile
>
>
>
> -------- Oorspronkelijk bericht --------
> Van: Mark Alan <[hidden email]>
> Datum:
> Aan: [hidden email]
> Onderwerp: Re: [Owncloud] Possibility to disable stylesheets and javascript
>
>
> On Wed, 13 Feb 2013 12:20:24 +0100, Stefan Nagtegaal
> <[hidden email]> wrote:
>
> > I would love to contribute back to the community!
> > I was a long time Drupal contributor for years, and one of my designs
> > made it to be the main theme for this great CMS.
>
> Stefan Nagtegaal of Drupal's Garland ?
>
> It seems that Owncloud is gaining momentum...
>
> Regards,
>
> M.
> _______________________________________________
> Owncloud mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/owncloud
>
> _______________________________________________
> Owncloud mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/owncloud
>
>
> _______________________________________________
> Owncloud mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Bernhard Posselt
On 02/13/2013 02:45 PM, Frank Karlitschek wrote:

> ownCloud has theming support.
> With custom themes you can replace any template, any image and you can extend and override existing styles.
>
> The idea was that it makes it a lot easier for users to just change a few colors and other small things here and there. Writing a complete new userinterface as a theme is a huge amount of work and would result in a huge copy/paste job of existing styles anyways. So the idea was to use CSS as is is designed and load theme styles additionally instead of replacing existing css files.
>
>
> Frank
>
>
> On 13.02.2013, at 14:32, Tharindu Dhananjaya Galappaththi <[hidden email]> wrote:
>
>> Hi All,
>> At the moment is there a way to add custom themes like in joomla? If it is there, people can use light weight themes. Although the login screen is about 400kb, some of them will be in the browser cache that enables reuse. Therefore is it a large issue? Since most of the apps relies on javascript, disabling it could effect them badly.
>> Thank You
>>
>>
>> On Wed, Feb 13, 2013 at 6:28 PM, development <[hidden email]> wrote:
>> The one and only! :-)
>> I do think Owncloud is one of the best things since sliced bread, but I also think that the looks of it are not equal to its functionality.
>> Which is quite a bummer..
>>
>> Stefan
>>
>>
>> Verzonden vanaf Samsung Mobile
>>
>>
>>
>> -------- Oorspronkelijk bericht --------
>> Van: Mark Alan <[hidden email]>
>> Datum:
>> Aan: [hidden email]
>> Onderwerp: Re: [Owncloud] Possibility to disable stylesheets and javascript
>>
>>
>> On Wed, 13 Feb 2013 12:20:24 +0100, Stefan Nagtegaal
>> <[hidden email]> wrote:
>>
>>> I would love to contribute back to the community!
>>> I was a long time Drupal contributor for years, and one of my designs
>>> made it to be the main theme for this great CMS.
>> Stefan Nagtegaal of Drupal's Garland ?
>>
>> It seems that Owncloud is gaining momentum...
>>
>> Regards,
>>
>> M.
>> _______________________________________________
>> Owncloud mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/owncloud
>>
>> _______________________________________________
>> Owncloud mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/owncloud
>>
>>
>> _______________________________________________
>> Owncloud mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/owncloud
> _______________________________________________
> Owncloud mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/owncloud

Maybe it would be a better idea to improve the default style? You can
always use different branches to come up with something nice and if
people like it, it'll be merged.
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Possibility to disable stylesheets and javascript

Jan-Christoph Borchardt-4
In reply to this post by Stefan Nagtegaal
As I said, you’re welcome to join in and improve the looks. We know that the interface has its kinks, especially in the settings and in some apps. So if you have experience with interaction design, I’m happy to help you get contributing.



On Wed, Feb 13, 2013 at 1:08 PM, Stefan Nagtegaal <[hidden email]> wrote:
The one and only! :-)
I do think Owncloud is one of the best things since sliced bread, but I also think that the looks of it are not equal to its functionality.
Which is quite a bummer..

Stefan

Op 13 feb. 2013, om 13:03 heeft Mark Alan <[hidden email]> het volgende geschreven:

> On Wed, 13 Feb 2013 12:20:24 +0100, Stefan Nagtegaal
> <[hidden email]> wrote:
>
>> I would love to contribute back to the community!
>> I was a long time Drupal contributor for years, and one of my designs
>> made it to be the main theme for this great CMS.
>
> Stefan Nagtegaal of Drupal's Garland ?
>
> It seems that Owncloud is gaining momentum...
>
> Regards,
>
> M.
> _______________________________________________
> Owncloud mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud


_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud