/matchRegex/templates/index.html
HTML | 71 lines | 59 code | 12 blank | 0 comment | 0 complexity | 61ab5f4726f16ae59e8363a5d07c9712 MD5 | raw file
- {% load static %}
-
- <!doctype html>
- <html>
-
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>MatchRegex</title>
- <link rel="icon" href="{% static 'images/logo.png' %}">
- <link rel="stylesheet" type="text/css" href="{% static 'style/style.css' %}">
- <link rel="stylesheet" type="text/css" href="{% static 'style/bootstrap.min.css' %}">
- <link rel="stylesheet" type="text/css" href="{% static 'style/bootstrap-theme.min.css' %}">
-
- <script src="{% static 'script/jquery.min.js' %}"></script>
- <script src="{% static 'script/bootstrap.min.js' %}"></script>
- <script src="{% static 'script/script.js' %}"></script>
- </head>
-
- <body class="container" style="background-image: url({% static 'images/background.jpg' %});">
- <header id="headingMain" >
- <h1>Match Regex</h1>
- <h4 style="font-size: medium; text-align: center; color: rgba(7,31,221,1);">Check your Regular expression patterns </h4>
- </header>
-
- <div id="mainArea" >
- <div id="regexInput">
- <h4 style="color:#FFFFFF; font-style: italic;">Enter Your Regular Expression Pattern Here</h4>
- <textarea class="form-control" cols="100" rows="6" autofocus wrap="hard" id="regexTextArea" style="resize:none;"></textarea>
- </div>
-
- <div id="stringInput">
- <h4 style="color:#FFFFFF; font-style: italic;">Enter Your Text to be matched Here</h4>
- <textarea class="form-control" cols="100" rows="6" autofocus wrap="hard" id="stringTextArea" style="resize:none;"></textarea>
- </div>
- <br>
- <div id="runButton" class="row">
- <div class="col-md-12 col-md-offset-11">
- <button class="btn btn-default btn-lg" type="button" onclick="ajaxCall()">Test</button>
- </div>
- </div>
-
- <div id="matchOutput">
- <h4 style="color:#FFFFFF; font-style: italic;">Matches </h4>
- <textarea class="form-control" cols="100" rows="6" autofocus readonly wrap="soft" id="matchTextArea" style="resize:none;"></textarea>
- </div>
- <br>
- </div>
- <br>
- <br>
- <hr>
- <br>
- <footer id="footerMain" class="row">
- <div id="logoFooter" class="col-md-4"><img src="{% static 'images/logo.png' %}" width="200" height="200" alt=""/></div>
-
- <div id="developerDetails" class="col-md-4">
- <br><br>
- <p style="color:#FF0000;">© Monik Raj Behera</p>
- <a href="mailto:bmonikraj@gmail.com">Email</a>
- <a href="https://github.com/bmonikraj" title="github" target="_blank">GitHub</a>
- </div>
-
- <div id="time_date" style="color: rgba(243,233,233,1); font-size:25px; font-style:bold;" class="col-md-4"><br><br><p id="timeDate"></p></div>
- </footer>
-
-
- <script type="text/javascript">
- setInterval(function(){document.getElementById('timeDate').innerHTML = Date().substring( 0, 24);},1000);
- </script>
-
- </body>
- </html>