Skip to content

Commit

Permalink
Add Description to Module View (#13)
Browse files Browse the repository at this point in the history
* dependabot config to target dev

* Added description field to module view

* Converted row elements to expandable rows. Added data from empire API.

* Added bold tags and join to nested json objects

* Update src/views/Modules.vue

Co-Authored-By: Vincent Rose <vrose04@gmail.com>

Co-authored-by: Vince Rose <vrose04@gmail.com>
  • Loading branch information
logicsec and vinnybod authored Apr 13, 2020
1 parent cd7361c commit 2cca42f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "live"
target_branch: "dev"

20 changes: 19 additions & 1 deletion src/views/Modules.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,26 @@
<el-table
:data="filteredModules"
class="main-table"
@row-click="viewModule"
>
<el-table-column type="expand">
<template slot-scope="props">
<p><b>Name:</b> {{ props.row.Name }}</p>
<p><b>NeedsAdmin:</b> {{ props.row.NeedsAdmin }}</p>
<p><b>OpsecSafe:</b> {{ props.row.OpsecSafe }}</p>
<p><b>Language:</b> {{ props.row.Language }}</p>
<p><b>MinLanguageVersion:</b> {{ props.row.MinLanguageVersion }}</p>
<p><b>Background:</b> {{ props.row.Background }}</p>

<p><b>Author:</b></p>
<p>{{ props.row.Author.join(', ') }}</p>

<p><b>Description:</b></p>
<p>{{ props.row.Description }}</p>

<p><b>Comments:</b></p>
<p>{{ props.row.Comments.join('\n ') }}</p>
</template>
</el-table-column>
<el-table-column
prop="Name"
label="Name"
Expand Down

0 comments on commit 2cca42f

Please sign in to comment.