Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
1a67ae6
Console Errors resolved
Sundraiz-Shah Jun 12, 2025
ab54a24
Spliting Foundation.JS WIP
Sundraiz-Shah Jun 16, 2025
db9a720
tagging , schema, dropdown, table spiliting are done
Sundraiz-Shah Jun 20, 2025
4815f67
download,UI and schema fetching
Sundraiz-Shah Jun 23, 2025
f65716c
Spliting JS bugs fiexd
Sundraiz-Shah Jun 27, 2025
7f7dbd4
Removed Unnecessary code lines
Sundraiz-Shah Jun 27, 2025
587aa5c
requiments update
Sundraiz-Shah Jun 30, 2025
961efd3
Removed Script from Index.html
Sundraiz-Shah Jul 2, 2025
5748abe
Issue 195 Tagging input goes to JSON complete
Sundraiz-Shah Jul 7, 2025
33d4fef
Merge branch 'master' into Splitting-foundation.js-into-multiples
Sundraiz-Shah Jul 7, 2025
cfdc1cb
Home page responsive (completed)
Sundraiz-Shah Jul 15, 2025
2dbd0d1
Resposive
Sundraiz-Shah Jul 25, 2025
5b31196
Css cleaned and Responsive
Sundraiz-Shah Jul 28, 2025
d19bc48
Enable keyboard navigation for option selection in dropdown lists #182
Sundraiz-Shah Jul 29, 2025
701b18f
Editable tags and Enable keyboard navigation in drop down list
Sundraiz-Shah Aug 1, 2025
d951b82
Merge changes
Sundraiz-Shah Aug 11, 2025
fd7c459
Merge branch 'master' into 189-Cleanup-CSS-Foundation
Sundraiz-Shah Aug 12, 2025
bd6e2e2
foundation CSS error fix
Sundraiz-Shah Aug 12, 2025
1f7b8c8
UI and description update
Sundraiz-Shah Aug 13, 2025
82084e2
Dropdown list appears on focus
Sundraiz-Shah Aug 14, 2025
d89b470
clicking outside create tag
Sundraiz-Shah Aug 20, 2025
27dcb69
Required taggable metadata fields marked red when values are removed
Sundraiz-Shah Aug 25, 2025
3401382
index.html updated
Sundraiz-Shah Sep 4, 2025
f4f3e52
Merge branch 'master' into 189-Cleanup-CSS-Foundation
Sundraiz-Shah Sep 4, 2025
79d8333
UI fix
Sundraiz-Shah Sep 11, 2025
e27affc
tab description on hover
Sundraiz-Shah Sep 11, 2025
9142139
UI fix, Tags field Interaction Fix
Sundraiz-Shah Sep 15, 2025
fcd1362
checkboxl fix
Sundraiz-Shah Sep 16, 2025
6698845
legal name tool tip fix
Sundraiz-Shah Sep 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion meta_creator/templates/meta_creator/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% load static %}

{% block content %}
<div class="error-container">
<div class="error-container container">
<h1>Something went wrong.</h1>
<p>We're sorry, but there was an error while processing your request.</p>
<p><strong>{{ error_message }}</strong></p>
Expand Down
145 changes: 91 additions & 54 deletions meta_creator/templates/meta_creator/index.html
Original file line number Diff line number Diff line change
@@ -1,67 +1,104 @@
{% extends 'base.html' %}

{% load static %}

{% block content %}
{% extends 'base.html' %} {% load static %} {% block content %}

<!-- Initial Form to get information from user and extract metadata -->
<div class="InitialFormContainer" id="firstpage">
<h3 class="mainHeader">
<a href="https://github.com/NFDI4Energy/SMECS"
target="_blank"
title="Open SMECS GitHub"
class="unstyled-link">
SMECS
</a>
</h3>
<p id="smecsSubtitle" title="SMECS"><b>S</b>oftware <b>M</b>etadata <b>E</b>xtraction and <b>C</b>uration <b>S</b>oftware</p>

<form id="form1" method="post" action="{% url 'meta_creator:getdata' %}">
{% csrf_token %}
<h6 class="custom-tooltip">
Project URL
<span class="tooltip-text">
The GitHub or GitLab repository URL
</span>
<i class="fa fa-info-circle" aria-hidden="true"></i>
</h6>

<input type="url" id="url_input" name="repo_url" placeholder="e.g.: https://github.com/NFDI4Energy/SMECS" value="" />
{% if error_message_url %}
<span id="url_error" class="error_message">{{ error_message_url }}</span>
{% endif %}
<div class="tooltip-container">
<h6 class="custom-tooltip">
Token Key
<span class="tooltip-text">
To extract metadata from GitLab repositories, a token is required.
This token is not needed for GitHub,
however, using one resolves rate limitations and allows for additional metadata extraction.
<br>
How to Generate a Token?
<br>
GitHub: Visit <a href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens" target="_blank">Managing your personal access tokens</a>
<br>
GitLab: Visit <a href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#create-a-personal-access-token" target="_blank">Create a personal access token</a>
</span>
<i class="fa fa-info-circle" aria-hidden="true"></i>
</h6>
<div class="InitialFormContainer container" id="firstpage">
<div class="row text-center">
<div class="col-12">
<h3 class="mainHeader">
<a
href="https://github.com/NFDI4Energy/SMECS"
target="_blank"
title="Open SMECS GitHub"
class="unstyled-link">
SMECS
</a>
</h3>
</div>
<div class="col-12">
<p id="smecsSubtitle" title="SMECS">
<b>S</b>oftware <b>M</b>etadata <b>E</b>xtraction and <b>C</b>uration
<b>S</b>oftware
</p>
</div>
<input type="text" id="token_input" name="personal_token_key" placeholder="(Optional) Enter your personal token key from GitHub or GitLab" value="" />
{% if error_message_token %}
<span id="token_error" class="error_message">{{ error_message_token }}</span>
{% endif %}
<button id="submitBtn" class="ExData" type="submit" title="Run the Extraction process">Extract Metadata</button>
</form>
<div class="col-12">
<form id="form1" method="post" action="{% url 'meta_creator:getdata' %}">
{% csrf_token %}
<h6 class="custom-tooltip">
Project URL
<span class="tooltip-text">
The GitHub or GitLab repository URL
</span>
<i class="fa fa-info-circle" aria-hidden="true"></i>
</h6>
<input
type="url"
id="url_input"
name="repo_url"
placeholder="e.g.: https://github.com/NFDI4Energy/SMECS"
value="" />
{% if error_message_url %}
<span id="url_error" class="error_message"
>{{ error_message_url }}</span
>
{% endif %}
<div class="tooltip-container">
<h6 class="custom-tooltip">
Token Key
<span class="tooltip-text">
To extract metadata from GitHub repositories token is not needed,
however, using one resolves rate limitations and allows for
additional metadata extraction.
<br />
How to Generate a Token?
<br />
GitHub: Visit
<a
href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens"
target="_blank"
>Managing your personal access tokens</a
>
<br />
GitLab: Visit
<a
href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#create-a-personal-access-token"
target="_blank"
>Create a personal access token</a
>
</span>
<i class="fa fa-info-circle" aria-hidden="true"></i>
</h6>
</div>
<input
type="text"
id="token_input"
name="personal_token_key"
placeholder="(Optional) Enter your personal token key from GitHub or GitLab"
value="" />
{% if error_message_token %}
<span id="token_error" class="error_message"
>{{ error_message_token }}</span
>
{% endif %}
<div class="d-grid col-4 mx-auto">
<button
id="submitBtn"
class="ExData btn"
type="submit"
title="Run the Extraction process">
Extract Metadata
</button>
</div>
</form>
</div>
</div>
</div>

<!-- Pop-up modal overlay for loading spinner -->
<div class="overlay" id="overlay">
<div class="loading-spinner">
<div class="spinner"></div>
<p>Extracting...</p>
<p>Extracting...</p>
</div>
</div>


{% endblock content %}
57 changes: 39 additions & 18 deletions meta_creator/templates/meta_creator/information.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,42 @@
{% extends 'base.html' %}
{% extends 'base.html' %} {% load static %} {% block content %}

{% load static %}

{% block content %}


<div class="info-page">
<div class="info-header">
<h3>What is SMECS ?</h3>
<div class="info-page container overflow-auto">
<div class="row">
<div class="col-12">
<div class="info-header text-center"><h3>What is SMECS ?</h3></div>
</div>
<div class="col-12">
<div class="info-content">
<p>
Software Metadata Extraction and Curation Software or SMECS is a web
application to extract and curate software metadata following the
CodeMeta software metadata standard.
</p>
<p>
SMECS facilitates the extraction of software metadata from
repositories on GitHub/GitLab. It offers a user-friendly graphical
user interface for visualizing the retrieved metadata. This empowers
Research Software Engineers (RSE) to curate the extracted metadata
according to their requirements. Ultimately, SMECS delivers the
curated metadata in JSON format, enhancing usability and
accessibility.
</p>
<p>
To get more information about this tool and to access the source code
please visit
<a href="https://github.com/NFDI4Energy/SMECS">SMECS GitHub</a>
</p>
</div>
</div>
<div class="d-grid col-3 mx-auto">
<button
class="TrySMECS btn"
title="Enter a specific URL and extract metadata"
onclick="window.location.href = '/'">
Try SMECS
</button>
</div>
</div>
<div class="info-content">
<p>Software Metadata Extraction and Curation Software or SMECS is a web application to extract and curate software metadata following the <a href="https://codemeta.github.io/">CodeMeta</a> <a href="https://raw.githubusercontent.com/codemeta/codemeta/3.0/codemeta.jsonld">version 3.0</a> software metadata standard.</p>
<p>SMECS facilitates the extraction of research software metadata from GitHub and GitLab repositories. It provides a user-friendly graphical interface for visualizing the retrieved metadata, enabling researchers and research software engineers to create high-quality metadata without reentering information already available elsewhere. The curated metadata is exported as CodeMeta-compliant JSON, ensuring integration with other tools and enhancing the discoverability, reuse, and impact of research software.
</p>
<p>To get more information about this tool and to access the source code please visit <a href="https://github.com/NFDI4Energy/SMECS">SMECS GitHub</a></p>
</div>
<button class="TrySMECS" title="Enter a specific URL and extract metadata" onclick="window.location.href = '/'">Try SMECS</button>
</div>

{% endblock content %}
{% endblock content %}
</div>
95 changes: 52 additions & 43 deletions meta_creator/templates/meta_creator/legals.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,50 +5,59 @@
{% block content %}


<div class="info-page" role="main">
<div class="info-header">
<h3>Legals/Impressum</h3>
<div class="info-page container" role="main">
<div class="row text-center ">
<div class="col-12">
<div class="info-header"> <h3>Legals/Impressum</h3></div>
</div>
</div>
<div class="info-content">
<h4>Address:</h4>
<address>
OFFIS e. V.<br>
Escherweg 2<br>
26121 Oldenburg<br>
Germany<br>
Telefon: +49 441 9722-0<br>
Fax: +49 441 9722-102<br>
E-Mail: <a href="mailto:institut@offis.de">institut@offis.de</a><br>
Internet: <a href="http://www.offis.de" target="_blank">www.offis.de</a>
</address>

<h4>Board Members</h4>
<p>
Prof. Dr. Sebastian Lehnhoff (Chairman)<br>
Prof. Dr. techn. Susanne Boll-Westermann<br>
Prof. Dr.-Ing. Andreas Hein<br>
Prof. Dr.-Ing. Astrid Nie&szlig;e
</p>

<h4>Register Court</h4>
<p>
Amtsgericht Oldenburg<br>
Registernummer VR 1956
</p>

<h4>VAT Identification Number</h4>
<p>
DE 811582102
</p>

<h4>Responsible in the sense of press law</h4>
<address>
Dr. J&uuml;rgen Meister<br>
OFFIS e.V.<br>
Escherweg 2<br>
26121 Oldenburg
</address>
<div class="row">
<div class="co1-6">
<h4>Address:</h4>
<address>
OFFIS e. V.<br>
Escherweg 2<br>
26121 Oldenburg<br>
Germany<br>
Telefon: +49 441 9722-0<br>
Fax: +49 441 9722-102<br>
E-Mail: <a href="mailto:institut@offis.de">institut@offis.de</a><br>
Internet: <a href="http://www.offis.de" target="_blank">www.offis.de</a>
</address>
</div>
<div class="col-12">
<h4>Board Members</h4>
<p>
Prof. Dr. Sebastian Lehnhoff (Chairman)<br>
Prof. Dr. techn. Susanne Boll-Westermann<br>
Prof. Dr.-Ing. Andreas Hein<br>
Prof. Dr.-Ing. Astrid Nie&szlig;e
</p>
</div>
<div class="col-12">
<h4>Register Court</h4>
<p>
Amtsgericht Oldenburg<br>
Registernummer VR 1956
</p>
</div>
<div class="col-12">
<h4>VAT Identification Number</h4>
<p>
DE 811582102
</p>
</div>
<div class="col-12">

<h4>Responsible in the sense of press law</h4>
<address>
Dr. J&uuml;rgen Meister<br>
OFFIS e.V.<br>
Escherweg 2<br>
26121 Oldenburg
</address>
</div>
</div>
</div>
</div>

{% endblock content %}
Loading