-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.0.8 - Fixed keypress when typing in the text area
v1.0.8 - Fixed keypress when typing in the text area
- Loading branch information
Showing
40 changed files
with
3,059 additions
and
2,451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"tabs":[{"id":"4dbb9d0e-1cd8-4914-b9bd-307f249cf6e1","pane":"main","current":true,"path":"F:\\Adc\\adc2-keyIn\\config.xml","type":"projectSettings","mode":"code"},{"id":"e45348f9-9a39-4d74-a5c7-3c38ad20bc45","pane":"main","path":"F:\\Adc\\adc2-keyIn\\resources\\static\\keyin.js","type":"file"}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Version 1.0.0 | ||
|
||
- Feature 1 | ||
Version 1.0.0 | ||
- Feature 1 | ||
- Feature 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# adc2-keyIn | ||
|
||
![screenshot](http://i.imgur.com/CmOP9mq.png) | ||
# adc2-keyIn | ||
|
||
![screenshot](http://i.imgur.com/CmOP9mq.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Describe your ADC here | ||
|
||
Tested in: | ||
List the browsers name and version where the ADC should work on. | ||
|
||
Dependencies: | ||
- Name of the 3rd party resource. Version. URL | ||
- Name of the 3rd party resource. Version. URL | ||
|
||
Notes: | ||
Describe your ADC here | ||
Tested in: | ||
List the browsers name and version where the ADC should work on. | ||
Dependencies: | ||
- Name of the 3rd party resource. Version. URL | ||
- Name of the 3rd party resource. Version. URL | ||
Notes: | ||
Special notes about incompatibility or warnings |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<div id="adc_{%= CurrentQuestion.Id %}" class="adc-default"> | ||
{% If CurrentQuestion.Type = "single" Then %} | ||
{%:= CurrentADC.GetContent("dynamic/single.html").ToText() %} | ||
{% ElseIf CurrentQuestion.Type = "multiple" Then %} | ||
{%:= CurrentADC.GetContent("dynamic/multiple.html").ToText() %} | ||
{% EndIf %} | ||
<div id="adc_{%= CurrentQuestion.Id %}" class="adc-default"> | ||
{% If CurrentQuestion.Type = "single" Then %} | ||
{%:= CurrentADC.GetContent("dynamic/single.html").ToText() %} | ||
{% ElseIf CurrentQuestion.Type = "multiple" Then %} | ||
{%:= CurrentADC.GetContent("dynamic/multiple.html").ToText() %} | ||
{% EndIf %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
{% | ||
Dim useList = (CurrentADC.PropValue("useList") = "1") ' Convert to boolean | ||
Dim inputName | ||
Dim inputValue | ||
Dim caption | ||
|
||
Dim i | ||
If useList Then | ||
|
||
inputName = CurrentQuestion.InputName("list") %} | ||
<select name="{%= inputName %}" multiple="multiple"> | ||
{% | ||
Dim attrSelected | ||
For i = 1 To CurrentQuestion.AvailableResponses.Count | ||
attrSelected = On(CurrentQuestion.AvailableResponses[i].IsSelected, "selected=\"selected\"", "") | ||
inputValue = CurrentQuestion.AvailableResponses[i].InputValue() | ||
caption = CurrentQuestion.AvailableResponses[i].Caption | ||
%} | ||
<option value="{%= inputValue %}">{%:= caption %}</option> | ||
{% Next %} | ||
</select> | ||
{% Else %} | ||
<table cellpadding="5" cellspacing="0" border="0"> | ||
{% | ||
Dim inputId | ||
Dim attrChecked | ||
For i = 1 To CurrentQuestion.AvailableResponses.Count | ||
inputName = CurrentQuestion.AvailableResponses[i].InputName() | ||
inputId = inputName.Replace(" ", "_") | ||
inputValue = CurrentQuestion.AvailableResponses[i].InputValue() | ||
attrChecked = On(CurrentQuestion.AvailableResponses[i].IsSelected, "checked=\"checked\"", "") | ||
caption = CurrentQuestion.AvailableResponses[i].Caption | ||
%} | ||
<tr> | ||
<td> | ||
<input type="checkbox" name="{%= inputName %}" id="{%= inputId %}" {%:= attrChecked %} /> | ||
</td><td> | ||
<label for="{%= inputId %}">{%:= caption %}</label><br /> | ||
</td> | ||
</tr> | ||
{% Next %} | ||
</table> | ||
{% | ||
Dim useList = (CurrentADC.PropValue("useList") = "1") ' Convert to boolean | ||
Dim inputName | ||
Dim inputValue | ||
Dim caption | ||
|
||
Dim i | ||
If useList Then | ||
|
||
inputName = CurrentQuestion.InputName("list") %} | ||
<select name="{%= inputName %}" multiple="multiple"> | ||
{% | ||
Dim attrSelected | ||
For i = 1 To CurrentQuestion.AvailableResponses.Count | ||
attrSelected = On(CurrentQuestion.AvailableResponses[i].IsSelected, "selected=\"selected\"", "") | ||
inputValue = CurrentQuestion.AvailableResponses[i].InputValue() | ||
caption = CurrentQuestion.AvailableResponses[i].Caption | ||
%} | ||
<option value="{%= inputValue %}">{%:= caption %}</option> | ||
{% Next %} | ||
</select> | ||
{% Else %} | ||
<table cellpadding="5" cellspacing="0" border="0"> | ||
{% | ||
Dim inputId | ||
Dim attrChecked | ||
For i = 1 To CurrentQuestion.AvailableResponses.Count | ||
inputName = CurrentQuestion.AvailableResponses[i].InputName() | ||
inputId = inputName.Replace(" ", "_") | ||
inputValue = CurrentQuestion.AvailableResponses[i].InputValue() | ||
attrChecked = On(CurrentQuestion.AvailableResponses[i].IsSelected, "checked=\"checked\"", "") | ||
caption = CurrentQuestion.AvailableResponses[i].Caption | ||
%} | ||
<tr> | ||
<td> | ||
<input type="checkbox" name="{%= inputName %}" id="{%= inputId %}" {%:= attrChecked %} /> | ||
</td><td> | ||
<label for="{%= inputId %}">{%:= caption %}</label><br /> | ||
</td> | ||
</tr> | ||
{% Next %} | ||
</table> | ||
{% EndIf %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
{% | ||
Dim useList = (CurrentADC.PropValue("useList") = "1") ' Convert to boolean | ||
Dim inputName = CurrentQuestion.InputName() | ||
Dim inputValue | ||
Dim caption | ||
Dim resource | ||
|
||
Dim i | ||
|
||
If useList Then %} | ||
<select name="{%= inputName %}"> | ||
<option value=""></option> | ||
{% | ||
Dim attrSelected | ||
For i = 1 To CurrentQuestion.AvailableResponses.Count | ||
attrSelected = On(CurrentQuestion.AvailableResponses[i].IsSelected, "selected=\"selected\"", "") | ||
inputValue = CurrentQuestion.AvailableResponses[i].InputValue() | ||
caption = CurrentQuestion.AvailableResponses[i].Caption | ||
%} | ||
<option value="{%= inputValue %}" {%:= attrSelected %}>{%:= caption %}</option> | ||
{% Next %} | ||
</select> | ||
{% Else %} | ||
|
||
<table cellpadding="5" cellspacing="0" border="0"> | ||
{% | ||
Dim inputId | ||
Dim attrChecked | ||
For i = 1 To CurrentQuestion.AvailableResponses.Count | ||
inputId = inputName + "_" + i | ||
attrChecked = On(CurrentQuestion.AvailableResponses[i].IsSelected, "checked=\"checked\"", "") | ||
inputValue = CurrentQuestion.AvailableResponses[i].InputValue() | ||
caption = CurrentQuestion.AvailableResponses[i].Caption | ||
resource = CurrentQuestion.AvailableResponses.ResourceURL[i] | ||
%} | ||
<tr> | ||
<td> | ||
<input type="radio" name="{%= inputName %}" id="{%= inputId %}" value="{%= inputValue %}" {%:= attrChecked %} /> | ||
</td><td> | ||
<label for="{%= inputId %}"> | ||
{% IF (resource <> "") Then %} | ||
<img src="{%= resource %}" style="vertical-align:middle" /> | ||
{% EndIf %} | ||
{%:= caption %}</label> | ||
</td> | ||
</tr> | ||
{% Next %} | ||
</table> | ||
{% EndIf %} | ||
{% | ||
Dim useList = (CurrentADC.PropValue("useList") = "1") ' Convert to boolean | ||
Dim inputName = CurrentQuestion.InputName() | ||
Dim inputValue | ||
Dim caption | ||
Dim resource | ||
|
||
Dim i | ||
|
||
If useList Then %} | ||
<select name="{%= inputName %}"> | ||
<option value=""></option> | ||
{% | ||
Dim attrSelected | ||
For i = 1 To CurrentQuestion.AvailableResponses.Count | ||
attrSelected = On(CurrentQuestion.AvailableResponses[i].IsSelected, "selected=\"selected\"", "") | ||
inputValue = CurrentQuestion.AvailableResponses[i].InputValue() | ||
caption = CurrentQuestion.AvailableResponses[i].Caption | ||
%} | ||
<option value="{%= inputValue %}" {%:= attrSelected %}>{%:= caption %}</option> | ||
{% Next %} | ||
</select> | ||
{% Else %} | ||
|
||
<table cellpadding="5" cellspacing="0" border="0"> | ||
{% | ||
Dim inputId | ||
Dim attrChecked | ||
For i = 1 To CurrentQuestion.AvailableResponses.Count | ||
inputId = inputName + "_" + i | ||
attrChecked = On(CurrentQuestion.AvailableResponses[i].IsSelected, "checked=\"checked\"", "") | ||
inputValue = CurrentQuestion.AvailableResponses[i].InputValue() | ||
caption = CurrentQuestion.AvailableResponses[i].Caption | ||
resource = CurrentQuestion.AvailableResponses.ResourceURL[i] | ||
%} | ||
<tr> | ||
<td> | ||
<input type="radio" name="{%= inputName %}" id="{%= inputId %}" value="{%= inputValue %}" {%:= attrChecked %} /> | ||
</td><td> | ||
<label for="{%= inputId %}"> | ||
{% IF (resource <> "") Then %} | ||
<img src="{%= resource %}" style="vertical-align:middle" /> | ||
{% EndIf %} | ||
{%:= caption %}</label> | ||
</td> | ||
</tr> | ||
{% Next %} | ||
</table> | ||
{% EndIf %} |
Oops, something went wrong.