* 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
|
|
@ -81,12 +81,11 @@ namespace Yavsc.Model.FrontOffice
|
|||
public bool MultiLine { get { return multiline; } set { multiline = value; } }
|
||||
|
||||
/// <summary>
|
||||
/// Tos the html.
|
||||
/// html representation of this input.
|
||||
/// </summary>
|
||||
/// <returns>The html.</returns>
|
||||
public override string ToHtml ()
|
||||
{
|
||||
|
||||
return MultiLine?
|
||||
string.Format ("<textarea id=\"{0}\" name=\"{1}\">{2}</textarea>", Id,Name,DefaultValue)
|
||||
: string.Format ("<input type=\"text\" id=\"{0}\" name=\"{1}\" value=\"{2}\"/>", Id,Name,DefaultValue);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue