Skip to content

Commit

Permalink
feat: publish first project
Browse files Browse the repository at this point in the history
  • Loading branch information
kdhttps committed Nov 28, 2023
1 parent 6a5a831 commit 5e852d3
Show file tree
Hide file tree
Showing 8 changed files with 229 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
### second
second
### first
first
1 change: 1 addition & 0 deletions code/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### Web folder
3 changes: 3 additions & 0 deletions code/co.basic.flow
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Flow co.basic
Basepath ""
Log "@info info"
168 changes: 168 additions & 0 deletions code/co.basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
{
"nodes": [
{
"width": 170,
"height": 121,
"id": "Agama-log-Node-694853b3-7819-48aa-aef6-61ca9e3024df",
"position": {
"x": 295,
"y": 87
},
"type": "log",
"data": {
"id": "Agama-log-Node-694853b3-7819-48aa-aef6-61ca9e3024df",
"type": "Agama-log-Node",
"parentId": "Agama-start-Flow-6bb0de85-d227-4aaa-89eb-d73196be76ea",
"whenCondition": "",
"inRepeatBlock": false,
"position": {
"x": 295,
"y": 87
},
"agamaData": {
"id": "Agama-log-Node-694853b3-7819-48aa-aef6-61ca9e3024df",
"type": "Agama-log-Node",
"hasSuccess": false,
"hasFailure": false,
"hasRepeat": false,
"hasComment": true,
"hasNoRepeat": false,
"isTopLevelFlow": true,
"whenCondition": "",
"inRepeatBlock": false,
"parentId": "Agama-start-Flow-6bb0de85-d227-4aaa-89eb-d73196be76ea",
"name": "",
"basepath": "",
"comment": "",
"notes": "",
"flowfilename": "",
"assignments": [
{
"variableTypeCheck": true,
"assignmentExpression": "",
"assignedVariableName": ""
}
],
"callType": "Call static method",
"arguments": [],
"logMessage": "\"info\"",
"templatePath": "",
"maxIteration": "",
"idpAuthEndpoint": "",
"variableField": "",
"conditionInputField": "",
"valueField": "",
"returnVariable": "",
"javaClassName": "",
"javaMethodName": "",
"javaVariableName": "",
"maxIterationVariableName": "",
"logLevel": "info",
"assignCallbackResult": "",
"displayName": "",
"nodeColor": "",
"exceptionVariableField": "",
"hasExtraData": false,
"configParams": "{}",
"nodeIcon": "octicon:log-16"
}
},
"selected": true,
"dragging": false,
"positionAbsolute": {
"x": 295,
"y": 87
}
},
{
"width": 170,
"height": 121,
"id": "Agama-start-Flow-6bb0de85-d227-4aaa-89eb-d73196be76ea",
"type": "start",
"sourcePosition": "right",
"data": {
"id": "Agama-start-Flow-6bb0de85-d227-4aaa-89eb-d73196be76ea",
"type": "Agama-start-Flow",
"position": {
"x": 95,
"y": 87
},
"inRepeatBlock": false,
"agamaData": {
"id": "Agama-start-Flow-6bb0de85-d227-4aaa-89eb-d73196be76ea",
"type": "Agama-start-Flow",
"hasSuccess": false,
"hasFailure": false,
"hasRepeat": false,
"hasComment": true,
"hasNoRepeat": false,
"isTopLevelFlow": true,
"inRepeatBlock": false,
"name": "",
"basepath": "",
"comment": "",
"notes": "",
"flowfilename": "",
"assignments": [],
"callType": "Call static method",
"arguments": [],
"logMessage": "",
"templatePath": "",
"maxIteration": "",
"idpAuthEndpoint": "",
"variableField": "",
"conditionInputField": "",
"valueField": "",
"returnVariable": "",
"javaClassName": "",
"javaMethodName": "",
"javaVariableName": "",
"maxIterationVariableName": "",
"logLevel": "",
"assignCallbackResult": "",
"displayName": "basic",
"nodeColor": "",
"exceptionVariableField": "",
"hasExtraData": false,
"configParams": "{}",
"flowname": "co.basic"
},
"skake": false
},
"position": {
"x": 95,
"y": 87
},
"selected": false,
"positionAbsolute": {
"x": 95,
"y": 87
},
"dragging": false
}
],
"edges": [
{
"id": "Agama-start-Flow-6bb0de85-d227-4aaa-89eb-d73196be76ea-Agama-log-Node-694853b3-7819-48aa-aef6-61ca9e3024df-8b0e7007-241f-489f-85ba-687ba0f68d4f",
"type": "straight",
"source": "Agama-start-Flow-6bb0de85-d227-4aaa-89eb-d73196be76ea",
"target": "Agama-log-Node-694853b3-7819-48aa-aef6-61ca9e3024df",
"label": "",
"labelBgPadding": [
8,
4
],
"labelBgBorderRadius": 4,
"labelBgStyle": {
"fill": "#FFCC00",
"color": "#fff",
"fillOpacity": 0.7
}
}
],
"viewport": {
"x": 10,
"y": 15,
"zoom": 1
}
}
1 change: 1 addition & 0 deletions lib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### Library folder
19 changes: 19 additions & 0 deletions project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"projectName": "first",
"description": "first",
"type": "community",
"author": "kdhttps",
"version": "0.0.1",
"authorWebsite": "https://github.com/kdhttps/second-ads-publish-testing",
"githubUri": "https://github.com/kdhttps/second-ads-publish-testing",
"license": "apache-2.0",
"lastUpdated": "1699527225205",
"tags": [
"openid-connect"
],
"noDirectLaunch": [],
"configs": {
"co.basic": {}
},
"name": "first"
}
1 change: 1 addition & 0 deletions web/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
### Code folder
34 changes: 34 additions & 0 deletions web/password.ftlh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[#ftl output_format="HTML"]
<!DOCTYPE html>
<html lang="en">
<head>



<style>* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;}</style>

</head>
<body>[#ftl output_format="HTML"]






<meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Password_Form
</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2/dist/tailwind.min.css" type="text/css"/><div class="md:h-screen bg-white relative flex flex-col justify-center items-center"><div class="md:border md:border-gray-300 bg-white md:shadow-lg shadow-none rounded p-10 align-middle"><div class="flex flex-col items-center space-y-3"><div class="flex"><img src="https://gluu.org/wp-content/uploads/2020/12/logo.png"/></div><span class="text-2xl font-semi-bold leading-normal">Form</span><p class="leading-normal">Enter your Password
</p></div><form method="post" class="my-8"><div class="relative mb-2"><label for="password" class="label mt-2 ml-1 leading-tighter text-gray-600 text-base cursor-text">
Password
</label><input type="password" id="password" name="password" autofocus class="w-full rounded px-3 border border-gray-300 pt-2 pb-2"/></div><div class="space-y-9"><div class="text-sm flex justify-center items-center"><button type="submit" class="py-2 px-6 rounded text-white btn bg-green-500 hover:bg-green-600">
Submit
</button></div></div></form></div></div></body><script>
function handleFormValidation() {
var password = document.getElementById('password').value
if (password === '') {
alert('Password is required')
return false
}
return true
}
</script>
</html>

0 comments on commit 5e852d3

Please # to comment.