Minor UI changes

This commit is contained in:
Yash 2024-07-19 02:45:28 +05:30
parent 22bf15864e
commit eedc2668da
1 changed files with 22 additions and 35 deletions

View File

@ -7,47 +7,34 @@
<title>Show Form - {{ $form->title }}</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">
</head>
<body>
<div class="form_header">
<div class="form_header_left">
<a href="/forms"><img src="{{ asset('images/google-form.png') }}" class="form_header_icon" height="45px" width="40px" /></a>
<input type="text" name="title" id="form-title-nav" placeholder="Untitled Form" class="form_name" value="{{ $form->title }}" readonly />
<img src="{{ asset('images/folder.png') }}" alt="" class="form_header_icon" height="20px" width="20px" />
<img src="{{ asset('images/star.svg') }}" alt="" class="form_header_icon" />
</div>
<div class="form_header_right">
<span><img src="{{ asset('images/palette-svgrepo-com.svg') }}" alt="palette" height="20px" width="20px" /></span>
<span><img src="{{ asset('images/view.png') }}" alt="eye" height="20px" width="20px" onclick="previewForm()" /></span>
<span><img src="{{ asset('images/undo.png') }}" alt="" height="20px" width="20px" /></span>
<span><img src="{{ asset('images/forward.png') }}" alt="" height="20px" width="20px" /></span>
<button class="btn">Send</button>
<span><img src="{{ asset('images/menu.png') }}" alt="menu" height="30px" width="30px" /></span>
<span><img src="{{ asset('images/user.png') }}" alt="" height="30px" width="30px" /></span>
<nav class="bg-white p-4 shadow-sm">
<div class="mx-auto flex justify-between items-center">
<a href="{{ url('/') }}" style="color: rgb(103,58,183)"
class="text-3xl font-bold font-sans">LaraForms</a>
<div class="relative dropdown">
<button id="profileMenuButton" class="flex items-center focus:outline-none">
<img src="{{ asset('images/user.png') }}" alt="Profile"
class="w-10 h-10 rounded-full border-2 border-white">
</button>
<div id="profileMenu"
class="dropdown-menu hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-2">
<form method="POST" action="{{ route('logout') }}">
@csrf
<button type="submit" class="block px-4 py-2 text-gray-700 hover:bg-gray-200 w-full text-left">
Logout
</button>
</form>
</div>
</div>
<div class="container">
<div class="box">
<input type="radio" class="tab-toggle" name="tab-toggle" id="tab1" checked />
<input type="radio" class="tab-toggle" name="tab-toggle" id="tab2" />
<input type="radio" class="tab-toggle" name="tab-toggle" id="tab3" />
<ul class="tab-list">
<li class="tab-item">
<label class="tab-trigger" for="tab1"><b>Questions</b></label>
</li>
<li class="tab-item">
<label class="tab-trigger" for="tab2"><b>Responses</b></label>
</li>
<li class="tab-item">
<label class="tab-trigger" for="tab3"><b>Settings</b></label>
</li>
</ul>
</div>
</div>
</nav>
<div class="question_form bg-light p-4 rounded shadow-sm">
<div class="section">
<div class="question_title_section mb-4">