Skip to content

Commit

Permalink
remove unnecessary attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
emanehab99 committed Jun 27, 2024
1 parent 0e999a5 commit 0393c2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/lsst/cmservice/web_app/templates/group_details.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %} Group Details {% endblock %}
{% block content %}
<nav class="flex px-2 sm:px-4 lg:px-4" aria-label="Breadcrumb" xmlns="http://www.w3.org/1999/html">
<nav class="flex px-2 sm:px-4 lg:px-4" aria-label="Breadcrumb">
<ol role="list" class="flex items-center space-x-2">
<li>
<div class="flex items-center">
Expand All @@ -27,7 +27,7 @@
</ol>
</nav>
<div class="w-full">
<div class="overflow-hidden px-4 py-5 sm:p-6 relative w-1/2" xmlns="http://www.w3.org/1999/html">
<div class="overflow-hidden px-4 py-5 sm:p-6 relative w-1/2">
<div class="flex items-center">
<span class="text-2xl font-bold">{{group.name}}</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/lsst/cmservice/web_app/templates/step_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</ol>
</nav>
<div class="w-full">
<div class="overflow-hidden px-4 py-5 sm:p-6 relative w-1/2" xmlns="http://www.w3.org/1999/html">
<div class="overflow-hidden px-4 py-5 sm:p-6 relative w-1/2">
<div class="flex items-center">
<span class="text-2xl font-bold">{{step.name}}</span>
</div>
Expand Down
13 changes: 0 additions & 13 deletions src/lsst/cmservice/web_app/templates/steps.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{% extends "base.html" %}
{% block title %} Campaign Steps {% endblock %}
{% block content %}
<!--<div class="text-base px-4 sm:px-6 lg:px-8">HSC_WEEKLY</div>-->
<nav class="flex px-2 sm:px-4 lg:px-6" aria-label="Breadcrumb">
<ol role="list" class="flex items-center space-x-2">
<li>
Expand All @@ -17,16 +16,4 @@
{% include "step_card.html" %}
{% endfor %}
</div>
<script>
const getPercentageClass = (groups, total) => {
let ratioTo12 = Math.round(groups * 12 / total);
let percentageClass = "w-" + ratioTo12.toString() + "/12";
return percentageClass;
};
// var element = document.getElementById("completed");
// var myclass = getPercentageClass(800, 1000);
// console.log(myclass);
// element.classList.add("w-9/12");
// console.log("eman")
</script>
{% endblock %}

0 comments on commit 0393c2b

Please sign in to comment.