View unanswered posts | View active topics It is currently Sat May 18, 2013 8:21 pm



Reply to topic  [ 157 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 11  Next
New Skin for 1.24 
Author Message

Joined: Tue Mar 16, 2010 3:09 pm
Posts: 1
Location: Italy
Post 
craver84 wrote:
kylejohnson, thanks for your skin!

i've got a problem with Mootools, can anybody help me please?

Code:
MooTools not found! Please download from
http://mootools.net and install in ZoneMinder web root.




Skins are a little independent from the whole code structure.

In the script includes/functions.php of each skin there are some references to "mootools" scripts: simply old skins still have old script names.

To have them operate you have to edit and to change them in the same way you can see in the "classic" skin: tools/mootools/mootools-core.js and tools/mootools/mootools-more.js instead of tools/mootools/mootools-(version)-core-nc.js and tools/mootools/mootools-(version)-more-nc.js

For me this solved all mootools related problems. Hope this help.


Tue Mar 16, 2010 3:33 pm
Profile

Joined: Sun Aug 31, 2008 8:35 am
Posts: 78
Post 
thank you very much! that solved my problem!


Tue Mar 16, 2010 5:36 pm
Profile

Joined: Sun Aug 31, 2008 8:35 am
Posts: 78
Post 
Quote:
kylejohnson:
PROBLEMS:
* Functions requiring use of the checkbox (edit, delete, move) do not really work. You can still edit by clicking on the camera source
* I am pulling the still image from the Zones directory, so the zones are overlaid on the image.


REQUESTS:
* AJAX-y drag-and-drop of monitors for reordering


behind the image there are: name, events, hour ....
I think there is a bug: name is the same value of events
thanks


Tue Mar 16, 2010 5:59 pm
Profile

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
craver84 wrote:
Quote:
kylejohnson:
PROBLEMS:
* Functions requiring use of the checkbox (edit, delete, move) do not really work. You can still edit by clicking on the camera source
* I am pulling the still image from the Zones directory, so the zones are overlaid on the image.


REQUESTS:
* AJAX-y drag-and-drop of monitors for reordering


behind the image there are: name, events, hour ....
I think there is a bug: name is the same value of events
thanks


Could you post a screenshot of this? It is probably a CSS issue.


Thu Mar 18, 2010 2:50 pm
Profile WWW

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post Drag-and-Drop
I have finished working on the AJAX drag-and-drop of monitors. This replaces the up-down arrows of the classic skin.

Drag-and-Drop is provided by jQuery.

See the first post of this topic if you'd like to try it out.


Thu Mar 18, 2010 7:44 pm
Profile WWW
User avatar

Joined: Mon Mar 12, 2007 9:34 pm
Posts: 61
Location: Utah, USA
Post 
Mootools More has draggables and droppables using Drag.Move and the like. Would preclude having to introduce a new jlib too. Just a thought.


Thu Mar 18, 2010 11:26 pm
Profile

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
ammaross wrote:
Mootools More has draggables and droppables using Drag.Move and the like. Would preclude having to introduce a new jlib too. Just a thought.


Hmm, indeed you are right. I'll look more into mootools tomorrow.


Fri Mar 19, 2010 12:33 am
Profile WWW

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
Committed two more changes this morning.

1: Replaced the snapshot generation - was pulling the Zones.jpg file, now using the outputImageStill() function, so the zones are no longer overliad on top of the image on the console.
2: Added support for live monitor streaming in the console. If bandwidth is set to low || medium, you'll get the snapshot (which updates when the page is refreshed). if bandwidth is set to high, you'll get live streaming instead of the still.


Fri Mar 19, 2010 6:04 pm
Profile WWW

Joined: Sun Aug 31, 2008 8:35 am
Posts: 78
Post 
I've just tried the new version of your project, and I find it really great!
the live monitor streaming it's a great idea! good work!

two bugs I found:
1--> I have 2 cams. The color of the function (none = red, monitor = orange ....) and the source of the first cam depends of the state of the second.
My first cam is mocord ("mocord" should be in green), the second if none (red), but both are red

2--> maybe it's my fault, but I can't drag-and-drop the monitors or I don't know how to do it. I'm using Firefox 3.5.8

many thanks for your work!


Tue Mar 23, 2010 9:08 pm
Profile

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
craver84 wrote:
I've just tried the new version of your project, and I find it really great!
the live monitor streaming it's a great idea! good work!

two bugs I found:
1--> I have 2 cams. The color of the function (none = red, monitor = orange ....) and the source of the first cam depends of the state of the second.
My first cam is mocord ("mocord" should be in green), the second if none (red), but both are red

2--> maybe it's my fault, but I can't drag-and-drop the monitors or I don't know how to do it. I'm using Firefox 3.5.8

many thanks for your work!


I'm able to recreate your first problem and I'll see if I can fix that today.

As for drag-n-drop, do you have the following files?
zm/skins/new/js/jquery-1.4.2.min.js
zm/skins/new/js/jquery-ui-1.8rc3.custom.min.js

To drag, you simple drag any part of the monitor and it should work. I doubt you're doing something wrong. :)


Wed Mar 24, 2010 2:40 pm
Profile WWW

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
Committed the fix for the Function / Source color bug into git.


Wed Mar 24, 2010 2:57 pm
Profile WWW

Joined: Sun Aug 31, 2008 8:35 am
Posts: 78
Post 
now everything works great! thanks


Wed Mar 24, 2010 10:39 pm
Profile

Joined: Tue Aug 21, 2007 2:42 pm
Posts: 223
Location: Baltimore, MD
Post 
Looking for some thoughts on the following changes:

Image

I've separated the history from the monitors - similar to the classic skin - though cleaned up to present only the information relative to events. This is just a first draft but I think it is on the right path to an end-user friendly interface.

Comments? Suggestions?


Thu Mar 25, 2010 4:52 pm
Profile WWW

Joined: Sun Aug 31, 2008 8:35 am
Posts: 78
Post 
Hi kylejohnson,
I've just downloaded it with GIT .. I think is the new one because
there is the gray area on the top (that I really like!), but the history is not separated from the monitors.

I think that this layout it's a bit confusing. I love this layout because there are the images and so I don't have to read the monitor's name to find them. With the history separated from the monitor, is the same as before. When an end-user wants to have a look at the history, looks first at the image, and then click on the events.

I prefer them together, but it's only my opinion...


A bug?
When I click on source (of the monitor) and a new windows appears, but I can't navigate the tabs ( Source, Timestamp, Buffers, Misc). With the classic skin I can...


Thu Mar 25, 2010 6:00 pm
Profile

Joined: Sun Aug 31, 2008 8:35 am
Posts: 78
Post 
I have to upload and image, how can I do that? [/img]


Thu Mar 25, 2010 6:51 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 157 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 11  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group