Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Shortnex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jbs
Shortnex
Commits
e3543975
Commit
e3543975
authored
7 years ago
by
lordjbs
Browse files
Options
Downloads
Patches
Plain Diff
page update
parent
f890f5b9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
index.js
+0
-1
0 additions, 1 deletion
index.js
public/html/index.html
+32
-3
32 additions, 3 deletions
public/html/index.html
with
32 additions
and
4 deletions
index.js
+
0
−
1
View file @
e3543975
...
...
@@ -33,7 +33,6 @@ app.use(bodyParser.json());
app
.
use
(
bodyParser
.
urlencoded
({
extended
:
false
}));
app
.
use
(
function
(
req
,
res
,
next
)
{
console
.
log
(
"
req!!
"
);
ratelimit
.
request
(
req
,
res
,
next
);
});
...
...
This diff is collapsed.
Click to expand it.
public/html/index.html
+
32
−
3
View file @
e3543975
...
...
@@ -13,6 +13,26 @@
src=
"jquery.min.js"
></script>
</head>
<body>
<style>
body
{
display
:
flex
;
min-height
:
100vh
;
flex-direction
:
column
;
}
main
{
flex
:
1
0
auto
;
}
.middleContent
{
height
:
520px
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
text-align
:
center
;
margin-top
:
4%
;
margin-bottom
:
4%
;
}
</style>
<nav
class=
"green lighten-1"
role=
"navigation"
>
<div
class=
"nav-wrapper container"
>
<a
id=
"logo-container"
href=
"#"
class=
"brand-logo"
>
Shortnex
</a>
...
...
@@ -25,10 +45,10 @@
<a
href=
"#"
data-activates=
"nav-mobile"
class=
"button-collapse"
><i
class=
"material-icons"
>
menu
</i></a>
</div>
</nav>
<div
class=
"section no-pad-bot"
id=
"index-banner"
>
<div
class=
"section no-pad-bot
middleContent
"
id=
"index-banner"
>
<div
class=
"container"
>
<br><br>
<h1
class=
"header center
orange
-text"
>
Shorten a link.
</h1>
<h1
class=
"header center
green
-text"
>
Shorten a link.
</h1>
<div
class=
"row center"
>
<h5
class=
"header col s12 light"
id=
"u"
>
Shortened URL:
</h5>
</div>
...
...
@@ -48,11 +68,20 @@
</div>
</div>
</form>
<button
id=
"shortenz"
class=
"btn-large waves-effect waves-light
blue
"
onclick=
"pressed()"
>
Shorten!
</button>
<button
id=
"shortenz"
class=
"btn-large waves-effect waves-light
green
"
onclick=
"pressed()"
>
Shorten!
</button>
</div>
<br><br>
</div>
</div>
<footer
class=
"page-footer green"
>
<div
class=
"container"
>
</div>
<div
class=
"footer-copyright"
>
<div
class=
"container"
>
Shortnex | Made with
<
3
by
lordjbs.
</
div
>
</div>
</footer>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"
></script>
</body>
</html>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment