Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an Edit Button on the Home Page #1

Closed
Industry4 opened this issue May 17, 2023 · 2 comments
Closed

Add an Edit Button on the Home Page #1

Industry4 opened this issue May 17, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@Industry4
Copy link
Owner

Industry4 commented May 17, 2023

  • Set issue status to In Progress, over there -->

  • Edit File Home.cshtml at location: MultiPlug.Ext.FileImporter\src\MultiPlug.Ext.FileImporter\Controllers\Settings\Home\Home.cshtml

From:

<td class="span1">
    <a class="btn btn-red btn-deletefile" href="@Raw(Model.Context.Paths.Home)file/delete/?id=@Model.Extension.Model.Guid[i]">
        <i class="icon-trash"></i>
    </a>
</td>

To:

<td class="span2">
    <div class="btn-group">
        <a class="btn btn-blue" href="@Raw(Model.Context.Paths.Home)file/?id=@Model.Extension.Model.Guid[i]">
            <i class="icon-edit"></i>
        </a>
        <a class="btn btn-red btn-deletefile" href="@Raw(Model.Context.Paths.Home)file/delete/?id=@Model.Extension.Model.Guid[i]">
            <i class="icon-trash"></i>
        </a>
    </div>
</td>

Note: spanXX must always equal 12, so you must also alter the th and td values as the span has been changed from 1 (in the From example span1) to 2 (in the To example span2). Span is the width size.

  • Compile the .dll and Test your change.
  • Get your code change Code Reviewed by your supervisor.

Commit Message

Use the Commit Message of this issue: #1 and github will link the code change to this issue.

  • Set issue status to Done, over there -->
  • Close the issue below, stating any helpful notes in the comment for the end user.
@Industry4 Industry4 added enhancement New feature or request good first issue Good for newcomers labels May 17, 2023
@Industry4 Industry4 added this to the 1.0.2 milestone May 17, 2023
@Industry4 Industry4 changed the title Add an Edit Button on the Home Screen Add an Edit Button on the Home Page May 17, 2023
JBJ05 added a commit that referenced this issue May 22, 2023
@JBJ05
Copy link
Collaborator

JBJ05 commented May 22, 2023

Button Added.

@JBJ05 JBJ05 closed this as completed May 22, 2023
@Industry4
Copy link
Owner Author

User Interface

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Development

No branches or pull requests

2 participants