* robots.txt: Web robots should not
index /Account/Login nor /Google/Login * Makefile: * GDate.cs: * YavscModel.csproj: * Resource.cs: * CalendarApi.cs: * GoogleController.cs: * CalendarListEntry.cs: * CalendarEventList.cs: * CalendarEntryList.cs: refactoring * style.css: another style * Index.aspx: cleanning * Index.aspx: code formatting * Login.aspx: Fixes the Page title * Web.config: Trying to fix the default directory index * Web.csproj: robots.txt creation * TextInput.cs: xml doc
This commit is contained in:
parent
e99c03e54a
commit
b2fdbc8d2e
16 changed files with 180 additions and 67 deletions
36
yavscModel/Google/CalendarEventList.cs
Normal file
36
yavscModel/Google/CalendarEventList.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
//
|
||||
// CalendarEventList.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// 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,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
|
||||
namespace Yavsc.Model.Google
|
||||
{
|
||||
|
||||
|
||||
public class CalendarEventList
|
||||
{
|
||||
|
||||
public string nextPageToken;
|
||||
public string nextSyncToken;
|
||||
|
||||
public Resource [] items ;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -101,18 +101,7 @@ namespace Yavsc.Model.Google
|
|||
/// <summary>
|
||||
/// Reminder.
|
||||
/// </summary>
|
||||
public class Reminder {
|
||||
/// <summary>
|
||||
/// Gets or sets the method.
|
||||
/// </summary>
|
||||
/// <value>The method.</value>
|
||||
public string method { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the minutes.
|
||||
/// </summary>
|
||||
/// <value>The minutes.</value>
|
||||
public int minutes { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the default reminders.
|
||||
/// </summary>
|
||||
|
|
@ -127,4 +116,17 @@ namespace Yavsc.Model.Google
|
|||
*/
|
||||
}
|
||||
|
||||
public class Reminder {
|
||||
/// <summary>
|
||||
/// Gets or sets the method.
|
||||
/// </summary>
|
||||
/// <value>The method.</value>
|
||||
public string method { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the minutes.
|
||||
/// </summary>
|
||||
/// <value>The minutes.</value>
|
||||
public int minutes { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
// CalendarEntry.cs
|
||||
// GDate.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
|
|
@ -18,16 +18,15 @@
|
|||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Yavsc.Model.Google
|
||||
{
|
||||
/// <summary>
|
||||
/// Calendar entry list.
|
||||
/// </summary>
|
||||
public class CalendarEntryList
|
||||
{
|
||||
|
||||
public class GDate {
|
||||
public DateTime date;
|
||||
public DateTime datetime;
|
||||
public string timeZone;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
36
yavscModel/Google/Resource.cs
Normal file
36
yavscModel/Google/Resource.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
//
|
||||
// Resource.cs
|
||||
//
|
||||
// Author:
|
||||
// Paul Schneider <paulschneider@free.fr>
|
||||
//
|
||||
// Copyright (c) 2015 Paul Schneider
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as published by
|
||||
// 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,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Yavsc.Model.Google
|
||||
{
|
||||
|
||||
public class Resource {
|
||||
public string id;
|
||||
public string location;
|
||||
public string status;
|
||||
public GDate start;
|
||||
public GDate end;
|
||||
public string recurence;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue