52 lines
2.7 KiB
HTML
52 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" dir="ltr" id="main_html">
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" charset="utf-8" />
|
|
<title id="title">Feature - {{feature['feature_name']}}</title>
|
|
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
|
|
|
|
|
<!-- Material Icons -->
|
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
|
<!-- Material Symbols - Outlined Set -->
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet" />
|
|
<!-- Material Symbols - Rounded Set -->
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded" rel="stylesheet" />
|
|
<!-- Material Symbols - Sharp Set -->
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp" rel="stylesheet" />
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/uikit.min.css') }}"/>
|
|
|
|
|
|
<script src="{{ url_for('static', filename='js/uikit.min.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='js/uikit-icons.min.js') }}"></script>
|
|
</head>
|
|
<body>
|
|
<div class="uk-container">
|
|
<div class="uk-section">
|
|
<div>
|
|
<h1>View/Edit Feature</h1>
|
|
<p class="uk-text-meta">Below you can view and edit <strong>{{feature['feature_name']}} as well as its elements.</strong></p>
|
|
</div>
|
|
<div class="uk-margin">
|
|
<label for="featureName">Feature Name</label>
|
|
<input id="featureName" class="uk-input" type="text" placeholder="" aria-label="Input" value="{{feature['feature_name']}}">
|
|
</div>
|
|
<div class="uk-margin">
|
|
<label for="featureDescription">Feature Description</label>
|
|
<textarea id="featureDescription" class="uk-textarea" rows="15"
|
|
uk-tooltip="It is possible to use html tags within descriptions that will be rendered in other parts of the system."
|
|
aria-label="Textarea" value="{{feature['feature_description']}}" autocomplete="off">{{feature['feature_description']}}</textarea>
|
|
</div>
|
|
<hr class="uk-divider-icon">
|
|
<div>
|
|
<button onclick="saveFeature()" class="uk-button uk-button-primary">Save Changes</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script src="{{ url_for('static', filename='js/featureHandler.js') }}"></script>
|
|
<script>
|
|
const feature_uuid = {{feature|tojson}}.feature_uuid;
|
|
</script>
|
|
</html> |