Skip to content

Commit

Permalink
current state
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Kuhlmay committed Jul 10, 2023
1 parent 0f9a8bc commit 969c1b5
Show file tree
Hide file tree
Showing 16 changed files with 233 additions and 102 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ indent_size = 4
# JSON-Files
[*.json]
indent_style = space
indent_size = 200
indent_size = 4

# ReST-Files
[{*.rst,*.rstt}]
Expand Down
23 changes: 16 additions & 7 deletions Build/Sources/components/ActionButtonsComponent.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import axios from "axios";
import {useState} from "react";
import React, {useState} from "react";
import {Error} from "./errors/Error";
import {Success} from "./errors/Success";
import {BootstrapModal} from "./modals/BootstrapModal";
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";

export const ActionButtonsComponent = (props) => {
const [errors, setErrors] = useState(null);
Expand Down Expand Up @@ -92,18 +93,26 @@ export const ActionButtonsComponent = (props) => {

return (
<div className="mb-2">
<div className="btn-group w-100" role="group" aria-label="Basic example">
<button
type="button"
className="btn btn-success"
id="eb-btn-save"
onClick={handleSave}
><FontAwesomeIcon className="me-1" icon="fa-solid fa-save" />Save</button>
<button
type="button"
className="btn btn-light text-dark"
id="eb-btn-save"
><FontAwesomeIcon className="me-1" icon="fa-solid fa-folder" />Open</button>
</div>
{/* <button
type="button"
className="btn btn-secondary me-2"
id="eb-btn-demo"
onClick={handleDemoInput}
>Demo Input</button>*/}
<button
type="button"
className="btn btn-success me-2"
id="eb-btn-save"
onClick={handleSave}
>Save</button>

{/* <button
type="button"
className="btn btn-danger"
Expand Down
2 changes: 1 addition & 1 deletion Build/Sources/components/ReactFlow/CustomModelNode.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const CustomModelNode = (props) => {
<div className="custom-model-node">
<div className="drag-handle"></div>
<div className="custom-model-node__header">
<input type="text" name="nodeTitle" placeholder={props.data.label}
<input type="text" name="nodeTitle" placeholder="Node title"
onChange={(e) => {
updateProperty("label", e.target.value);
}}
Expand Down
1 change: 1 addition & 0 deletions Resources/Public/Css/backend.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Resources/Public/Css/main.css

This file was deleted.

Loading

0 comments on commit 969c1b5

Please sign in to comment.