Skip to content

Commit

Permalink
Modifying advanced to use the same css and layout changes as simple i…
Browse files Browse the repository at this point in the history
…n order to put tabs one after the other and in correct order and matching layout.
  • Loading branch information
sfisher committed Jan 3, 2025
1 parent 987aff2 commit 9464daa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 23 deletions.
17 changes: 0 additions & 17 deletions static_src/stylesheets/main2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions templates/create/advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
{% block title %}{% block title-twitter %}{% trans "Create an Advanced Identifier" %}{% endblock %}{% endblock %}
{% block heading %}{% content_heading _("Create an Advanced Identifier") %}{% endblock %}
{% block content %}
<div class="tab create__tab">
<input class="tab__input" id="tab-1" type="radio" name="name" aria-checked="false"/>
<label class="tab__label" id="tab-1-label" for="tab-1" tabindex="0">{% trans "Simple" %}</label>
<input class="tab__input" id="tab-2" type="radio" name="name" checked="checked" aria-checked="true"/>
<label class="tab__label" for="tab-2" tabindex="0">{% trans "Advanced" %}</label>
<div class="tab__content">
<div class="tabsnew create__tab">
<div class="tabnew__header">
<input class="tabnew__input" id="tab-1" type="radio" name="name" aria-checked="false"/>
<label class="tabnew__label" id="tab-1-label" for="tab-1" tabindex="0">{% trans "Simple" %}</label>
<input class="tabnew__input" id="tab-2" type="radio" name="name" checked="checked" aria-checked="true"/>
<label class="tabnew__label" for="tab-2" tabindex="0">{% trans "Advanced" %}</label>
</div>
<div class="tabnew__content">
<form id="create_form" action="{% url "ui_create.advanced" %}" method="post" class="form-horizontal" role="form">
<input name="action" id="action" type="hidden" value="create"/>
<div class="row">
Expand Down

0 comments on commit 9464daa

Please sign in to comment.