Usebility for Admins

Got some ideas as to how the calendar could be improved?
No bugs, no installation issues, just your ideas as to what could be added or changed in this Availability Calendar (remember, this is NOT a bookings calendar by default)

Usebility for Admins

Postby falkone » Sun Nov 27, 2011 12:17 pm

I've added some usebility for admins at the booking page. It makes the Key-
Description clickable, so that the "Click Method:" will be changed to the key you clicked.
insert in bookings.admin.php after line 90 (the closing tag from <div id="key_wrapper">)
Code: Select all
<script type="text/javascript">
/* <![CDATA[ */
   var Keys = new Array();
   $("id_predefined_state").getChildren().each(function(foo, index){
      Keys[foo.get("text")] = foo.get("value");
   });
   $("id_predefined_state").addEvent("change",function(event) {
      update();
   });
   $("key").addEvent("click:relay(li)", function(event,node){
      var key = node.get("text");
      if (key) {
         $("id_predefined_state").set("value", Keys[key]);
         update()
      }
   });
   function update() {
      var selected = $("id_predefined_state").getElement(":selected").get("text");
      $("key").getElements("li").each(function(foo, index){
         if (foo.get("text") == selected)
            foo.addClass("active")
         else
            foo.removeClass("active")
      });
      }
/* ]]> */
</script>

insert in admin-calendar.css (at the end - or somewhere else)
Code: Select all
.active span {color:red;text-decoration:underline;}
#key li {cursor:pointer;}
falkone
 
Posts: 2
Joined: Sun Nov 27, 2011 8:28 am

Re: Usebility for Admins

Postby rozzynaa » Sat Dec 10, 2011 7:42 am

How do I upload my iphone calendar into my yahoo calendar on my pc? My iphone calendar is fully populated with information. My yahoo calendar is blank but I'd like to sync the 2 calendars so I have a back up of my iphone.
____________________
market samurai ~ marketsamurai
rozzynaa
 
Posts: 1
Joined: Thu Dec 08, 2011 7:09 am


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron